Markku Kolkka wrote:
david walcroft kirjoitti viestissään (lähetysaika sunnuntai, 25.
syyskuuta 2005 00:37):
># If the UPS is locally attached set it to "yes"
>SERVER=yes
># Model of the UPS (filename to call for it, without path)
># Example - one of
># apcsmart - APC SMartUPS and similar
># fentonups - Fenton UPS
># optiups
># bestups
># genericups
># ups-trust425+625
># upsdrvctl
># You MUST change this, or set SERVER to "no"
># To support multiple drivers, set MODEL=upsdrvctl
>MODEL=Powermate-3105
The "MODEL" parameter does _not_ mean the actual model of your
ups, you must set it to the nut driver used for your UPS (or
"upsdrvctl").
># UPS device - needed if UPS is locally attached
>DEVICE=/dev/ttyS0
Wasn't your UPS connected through USB, not the serial port?
Ok, I'll set up with MODEL=genericups, but I'm not sure what USB uses
for connections <socket> <port> and how to determine the same for a
config file.
Thanks for all you help Markku.
david