Re: [SLE] SuSeconfig.nut
Dear Joe, Think I need all the help I can get ;-). Found the place to give the input for the UPS in the sytem editor and gave the information about the UPS in. As the UPS is totaly unknown and made localy I have to try out the right setup. Some SuSe versions back as I had my first unsuccesful try with this UPS I had at least some kind of a response with genericups upstype 4. When I disconnected the UPS cable I ran into trouble. So that is the UPS type I want to start. It is said in the man pages of NUT that you have to watch the syslog. Fine, when, where and how. How do I monitor the the UPS. The UPS is not connected to my computer and I have a strong user connected for the tests when I disconnect the power. But first I have to know if NUT works at all. JM>On 05/25/2003 07:11 PM, Constant Brouerius van Nidek JM>wrote: JM>>Today I set aside for the installation of an UPS. JM>>Have worked through all the reading material and JM>>Is there a possibility to configure with Yast? JM>> JM>> JM>You can do most of the config, depending on which JM>version/UPS. ie, in JM>8.2, go to Yast>System>Editor for /etc/sysconfig files. JM> You should JM>install the NUT package as well, using YAST as well. I JM>am using it with JM>8.2, and have been since 6.4, so if you need help... ; JM>-) -- " If All Fails, READ THE DOCS ! " NTReader v0.36w(P)/Beta (Registered) in conjunction with Net-Tamer.
On 05/25/2003 11:08 PM, Constant Brouerius van Nidek wrote:
Found the place to give the input for the UPS in the sytem editor and gave the information about the UPS in.
Which version of SuSE?
As the UPS is totaly unknown and made localy I have to try out the right setup.
Do you at least have a basic schematic? I will assume it is only a contact closure type, but you need to know which signals Lo Bat and which is shutdown, and which is Online/OK.
I had at least some kind of a response with genericups upstype 4.
Response is good, but since it was unsuccessful, it still may not have been correct. If you get them wrong, it could cause you much grief (i.e. shutting down immediately, as soon as NUT is started, etc.).
When I disconnected the UPS cable I ran into trouble. So that is the UPS type I want to start.
Are you sure that one has the correct pinouts for the above signals?
It is said in the man pages of NUT that you have to watch the syslog. Fine, when, where and how.
console/xterm, with tail -f /var/log/messages.
How do I monitor the the UPS.
If it is a contact closure type, there isn't much to monitor. It is either Online or on Bat.
The UPS is not connected to my computer and I have a strong user connected for the tests when I disconnect the power. But first I have to know if NUT works at all.
I really didn't understand that one. Your data cable HAS to be connected to your computer to test, but for testing purposes do NOT plug your computer into the UPS (i.e power plug). Hope this gets you farther. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
On Sunday 25 May 2003 22:53, Joe Morris (NTM) wrote:
On 05/25/2003 11:08 PM, Constant Brouerius van Nidek wrote:
Found the place to give the input for the UPS in the sytem editor and gave the information about the UPS in.
Which version of SuSE?
Version 8.1, next week 8.2 I hope.
As the UPS is totaly unknown and made localy I have to try out the right setup.
Do you at least have a basic schematic? I will assume it is only a contact closure type, but you need to know which signals Lo Bat and which is shutdown, and which is Online/OK.
No scheme, nothing useful.
I had at least some kind of a response with genericups upstype 4.
Response is good, but since it was unsuccessful, it still may not have been correct. If you get them wrong, it could cause you much grief (i.e. shutting down immediately, as soon as NUT is started, etc.).
When I disconnected the UPS cable I ran into trouble. So that is the UPS type I want to start.
Are you sure that one has the correct pinouts for the above signals?
Hope so, try and error
It is said in the man pages of NUT that you have to watch the syslog. Fine, when, where and how.
console/xterm, with tail -f /var/log/messages.
How do I monitor the the UPS.
If it is a contact closure type, there isn't much to monitor. It is either Online or on Bat.
The UPS is not connected to my computer and I have a strong user connected for the tests when I disconnect the power. But first I have to know if NUT works at all.
I really didn't understand that one. Your data cable HAS to be connected to your computer to test, but for testing purposes do NOT plug your computer into the UPS (i.e power plug). Hope this gets you farther.
Right so. Computer is not connected to the UPS. On the UPS I have a tv set so I can check if after a certain time of use the right signal comes in. For the moment I am working on the permissions bigone:/home/cons # genericups -a myups Network UPS Tools - Generic UPS driver 0.60 (0.50.0) UPS type: Generic RUPS model This program is currently running as nobody (UID 65534) /dev/ttyS1 is owned by user root (UID 0), mode 0660 Change the port name, or fix the permissions or ownership of /dev/ttyS1 and try again. Unable to open /dev/ttyS1: Permission denied
On 05/26/2003 02:05 AM, Constant Brouerius van Nidek wrote:
No scheme, nothing useful.
OK. I think your address is in Indonesia. I am in the Philippines, so the UPS may also be here. What is the brand, and does it connect with a 9 pin serial connector to the computer.
Right so. Computer is not connected to the UPS. On the UPS I have a tv set so I can check if after a certain time of use the right signal comes in.
That will work, but it is not the best to try and hope for the best. You need to use a voltmeter on the cable to test the pinouts. Do you have a voltmeter?
For the moment I am working on the permissions
bigone:/home/cons # genericups -a myups Network UPS Tools - Generic UPS driver 0.60 (0.50.0) UPS type: Generic RUPS model This program is currently running as nobody (UID 65534) /dev/ttyS1 is owned by user root (UID 0), mode 0660 Change the port name, or fix the permissions or ownership of /dev/ttyS1 and try again. Unable to open /dev/ttyS1: Permission denied
I seem to remember that error, but my ttySx permissions are 0660 root.uucp, so changing the owner is not a good idea. Try adding it to uucp group. This will all probably change when you get 8.2. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
participants (2)
-
Constant Brouerius van Nidek
-
Joe Morris (NTM)