[Nut-upsuser] Sweex 1000VA UPS

Arjen de Korte nut+users at de-korte.org
Thu Nov 9 09:06:01 CET 2006


> radius1:/etc/nut# /lib/nut/genericups -a ups_name
> Network UPS Tools - Generic UPS driver 1.30 (2.0.1)
> No upstype set - see help text / man page!

The last line should ring a bell, don't you think so?

> radius1:/etc/nut# /lib/nut/genericups upstype=7 -a ups_name
> Network UPS Tools - Generic UPS driver 1.30 (2.0.1)
> No upstype set - see help text / man page!

Honestly, you didn't read the genericups man page, did you? You can't
specify an upstype like this (the correct way is explained in the man
page).

> My ups.conf looks like this:
>
> radius1:/etc/nut# cat ups.conf
> # Network UPS Tools: example ups.conf
> #
> user = nut
>
> [ups_name]
>         driver = genericups upstype=7
>         port = /dev/ttyS0
>         desc = "Sweex 1000VA UPS"

In short, each configuration parameter in this file should be on a
separate line, like the following:

[ups_name]
    driver = genericups
    upstype = 7
    port = /dev/ttyS0
    desc = "Sweex 1000VA UPS"

Also make sure that NUT is able to access the serial port, so you may want
to check permissions:

    ls -l /dev/ttyS0

Kind regards,
Arjen

PS  Please keep the mailinglist posted. Others may benefit from problems
(and solutions) you have with configuring NUT to get your UPS working.
-- 
Eindhoven - The Netherlands
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B  7A FE 7E C1 EE 88 BC 57




More information about the Nut-upsuser mailing list