[Nut-upsuser] NUT with PowerWalker vi 400 se (usb).

Никита Шишков nick at uploader.ru
Mon Jul 7 20:12:54 UTC 2008


Здравствуйте, Charles.

Вы писали 4 июля 2008 г., 0:07:56:

> [Please keep the list CC'd. Thanks.]

> On Jul 3, 2008, at 2:36 PM, Никита Шишков wrote:

>> Здравствуйте, Charles.
>>
>> Вы писали 3 июля 2008 г., 22:14:59:
>>
>>> On Thu, Jul 3, 2008 at 12:27 PM, Никита Шишков  
>>> <nick at uploader.ru> wrote:
>>>> Hi.
>>>> I'm from Russia.
>>>> I try to use NUT with PowerWalker vi 400 se (usb).
>>>> I use FreeBSD 7.0 (amd64) and megatec_usb driver.
>>>> Settingup the NUT with FreeBSD installation procedure (Thierry  
>>>> Thomas, from FreeBSD).
>>
>>> Can you point us to the procedure that you followed?
>>
>>
>> 1.
>> install with usb support
>> cd /usr/ports/sysutils/nut/ && make install clean
>>
>> 2.
>> edit rc.conf
>> nut_enable="YES"
>> nut_upslog_enable="YES"
>> nut_upsmon_enable="YES"
>>
>> 3.
>> ups.conf
>> [ups_name]
>>         driver = megatec_usb
>>         port = /dev/usb0
>> 4.
>> cp upsd.conf.sample upsd.conf
>>
>> 5.
>> upsd.users
>>         # Supervision user
>>         [admin]
>>                 password = mypass
>>                 allowfrom = localhost
>>                 actions = SET
>>                 instcmds = ALL
>>
>>         # Protection user
>>         [monuser]
>>                 password  = mypass
>>                 allowfrom = localhost
>>                 upsmon master
>> 6.
>> upsmon.conf
>> MONITOR ups_name at localhost 1 monuser mypass master
>>
>> 7.
>> devfs.rules
>> [nut_usb=10]
>> #and I try [nut_usb=01] or [nut_usb=0] or [nut_usb=00] because i dont
>> #understand what is it.

> I am not too familiar with devfs, but "10" may just be a priority here.

>> add path 'uhib0' group wheel user uucp mode 0660

> The device name should be 'uhid0'. After you plug in the UPS, what  
> does 'ls -l /dev/uhid0' say?

>> devfs.conf
>> perm    usb0    0660
>> own     usb0    root:uucp
>>
>> 8.
>> rc.conf add
>> devfs_system_ruleset="nut_usb"
>>
>> restart devfs: /etc/rc.d/devfs restart
>>
>> 9.
>> Start
>> /usr/local/etc/rc.d/nut start
>>
>> No support device found...

> Is this procedure listed online somewhere? Or is it part of the ports
> collection?


> The device name should be 'uhid0'. After you plug in the UPS, what
> does 'ls -l /dev/uhid0' say?

This command said: uucp wheel /dev/uhid0

> Is this procedure listed online somewhere? Or is it part of the ports
> collection?

This procedure listed on http://people.freebsd.org/~thierry/nut_FreeBSD_HowTo.txt

Now, I try to establish the equipment on freebsd 6.3 i386

Can You help me?


-- 
С уважением,
 Никита Шишков                           mailto:nick at uploader.ru





More information about the Nut-upsuser mailing list