Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2001 23:30:02 -0700 (PDT)
From:      Trevin Chow <tmchow@sfu.ca>
To:        <questions@freebsd.org>
Subject:   Trouble getting NUT to work on 4.4
Message-ID:  <20010924231938.L9643-100000@benny.geektank.org>

next in thread | raw e-mail | index | archive | help
I'm trying to get NUT (/usr/ports/sysutils/nut) to work on my 4.4-Stable
system but am having trouble.

I'm following the directions in the /usr/local/share/doc/nut/INSTALL and
one of the first steps after installing is to run a particular command to
connect to the UPS.

My UPS is attached to my com1 port but when I try to access it with the
/usr/local/libexec/nut/genericups binary but am getting a bunch of errors.
Here are my attempts trying different serial ports:

-----------
# /usr/local/libexec/nut/genericups -t 7 /dev/cuaa0
Network UPS Tools - Generic UPS driver 0.50 (0.45.0)
UPS type: CyberPower Power99
Can't open /var/db/genericups-cuaa0: Permission denied
This program is currently running as uucp (UID 66)

# /usr/local/libexec/nut/genericups -t 7 /dev/cuaa1
Network UPS Tools - Generic UPS driver 0.50 (0.45.0)
UPS type: CyberPower Power99
Can't open /var/db/genericups-cuaa1: Permission denied
This program is currently running as uucp (UID 66)

# /usr/local/libexec/nut/genericups -t 7 /dev/cuaa2
Network UPS Tools - Generic UPS driver 0.50 (0.45.0)
UPS type: CyberPower Power99
Unable to open /dev/cuaa2: Device not configured

# /usr/local/libexec/nut/genericups -t 7 /dev/cuaa3
Network UPS Tools - Generic UPS driver 0.50 (0.45.0)
UPS type: CyberPower Power99
Unable to open /dev/cuaa3: Device not configured
----

Anyone setup NUT before on their system?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010924231938.L9643-100000>