Hi...
I'm almost to the point of pulling hair!
I was recently given a SOLA-330 UPS
However, it didn't come with the comms cable so I'm having some trouble
trying to find a pin-out for this UPS and secondly exactly what driver
to use with NUT ??
I've got the users manual for a SOLA-325 (from website) and this has a
pin-out for this model but clearly it's not the same for the 330 as I
have tried to make a simple cable using... ( RX &TX lines and ground
only, this cable I believe is my main problem!)
UPS - PC
1 - 2
2 - 3
4 - 5
And with this I then attempted to fire up NUT using the suggested driver
of "megatec" however I get the error message of "Communications
with UPS
ups at localhost lost" so clearly the driver is finding what it wants to
see! and then it informs that... "UPS ups at localhost is unavailable"
I
have also installed the CGI web interface and this just reports that
"[error: Connection failure: Connection refused]" (Doh)
So my configuration is as follows...
UPS.CONF
[ups]
driver = megatec
port = /dev/ttyS0
desc = SOLA-330
UPSD.CONF
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACL firewall 192.168.0.1/32
ACCEPT localhost
ACCEPT firewall
REJECT all
UPSMON.CONF
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/killpower
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
RUN_AS_USER root
HOSTS.CONF
MONITOR ups at localhost "IBM-eSERVER"
UPSD.USERS
[admin]
password = mypassword!
actions = SET
instcmds = ALL
[monuser]
password = mypassword!
allowfrom = localhost fileserver
upsmon master
[monslave]
password = mypassword!
allowfrom = firewall
The version of nut is from the Ubuntu 8.10 repositories (2.2.2) and the
server is running Ubuntu-Server 8.10
So what have I got so horribly wrong for things to make "ME" a little
grumpy! so any advice on this would renew my sanity!
Thanks...
Scott Evans VK7HSE
Phone: +61362291658
Mobile: +61417586157
scott at vk7hse.hobby-site.orgCommunications with UPS ups at localhost lost
http://www.vk7hse.hobby-site.org
PGP/GPG Key ID 74639624
--
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. This
message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately
by e-mail if you have received this e-mail by mistake and delete this e-mail
from your system. If you are not the intended recipient you are notified
that disclosing, copying, distributing or taking any action in reliance on the
contents of this information is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20090126/dbcc7d79/attachment.htm
Citeren Scott Evans <scott at vk7hse.hobby-site.org>:> I was recently given a SOLA-330 UPS > > However, it didn't come with the comms cable so I'm having some trouble > trying to find a pin-out for this UPS and secondly exactly what driver > to use with NUT ?? > > I've got the users manual for a SOLA-325 (from website) and this has a > pin-out for this model but clearly it's not the same for the 330 as I > have tried to make a simple cable using... ( RX &TX lines and ground > only, this cable I believe is my main problem!) > > UPS - PC > 1 - 2 > 2 - 3 > 4 - 5You'll probably need some other lines to, to make sure cable power is provided. In many cases, this is mandatory for reliable communication.> And with this I then attempted to fire up NUT using the suggested driver > of "megatec" however I get the error message of "Communications with UPS > ups at localhost lost" so clearly the driver is finding what it wants to > see! and then it informs that... "UPS ups at localhost is unavailable"This could be due to the above problem. Try if running the driver in debug mode like megatec -DDD -a ups reveals some additional information.> UPSD.CONF > ACL all 0.0.0.0/0 > ACL localhost 127.0.0.1/32 > ACL firewall 192.168.0.1/32This will only allow the external interface of the local machine. I don't think this is what you intended, since in that case you had better used 'localhost' instead. If you want other machines to connect to this server, you'll have to relax your netmask.> ACCEPT localhost > ACCEPT firewall > REJECT allBest regards, Arjen -- Please keep list traffic on the list
As I haven't found a suitable pin-out that seems to work with this UPS I'll have to abandon this project until some information forthcoming! My main issue is that until I can communicate with the UPS its pointless trying to debug software! (as I don't believe that NUT is at fault!) although an interesting point is that the UPS gets a mention in the supported list so this means that at least one person has had this working! (with the supplied cable I'm sure!) I have downloaded all the manuals available for UPS's from this brand and vintage and not surprisingly they all seem to be using a different set-up! I have also phoned the company that has since bought out SOLA to get very little help! although I was told that this UPS just uses a serial interface, No it does not! have tried that also! So this has been relegated to a rainy day project! Scott Evans VK7HSE Phone: +61362291658 Mobile: +61417586157 scott at vk7hse.hobby-site.org http://www.vk7hse.hobby-site.org PGP/GPG Key ID 74639624 -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20090127/a6cdfbb3/attachment-0001.htm