[Nut-upsuser] problem with Mustek UPS - Freebsd
Luki
looky at poczta.fm
Mon Feb 4 14:40:12 UTC 2008
Daniel, thanks a lot for your help, now it works perfect, I was able to
connect to UPS via serial line and gather statistics, rest of
configuration left but the most important point achieved ;)
I have done exactly as you suggested to create /etc/devfs.rules file and
I have added "nut" user to dialer group. That's enough :)
Thank you
Best Regards
Lukasz
> The "FreeBSD way" would be to create the file /etc/devfs.rules and put..
> [root=100]
>
> add path 'cuadX' group nut mode 660
>
> and then put this in /etc/rc.conf
> devfs_system_ruleset="root"
>
> Then run this to install the rules
> /etc/rc.d/devfs restart
>
> Although since cuad is already owned by dialer and mod 0660 you can just
> create a nut user and add it to the dialer group, or build the port with
> NUT_GROUP=dialer.
>
> For USB I created /usr/local/etc/devd/nut.conf with entries like..
> attach 100 {
> device-name "ugen[0-9]+";
> match "vendor" "0x0463";
> match "product" "0xffff";
> action "chown uucp /dev/$device-name*; chmod 660 /dev/$device-name*";
> };
>
>
>
----------------------------------------------------------------------
Sprawdz, czy pasujesz do swojego partnera!
http://link.interia.pl/f1ce7
More information about the Nut-upsuser
mailing list