instalace pro apc s usb kabelem (CS***, BE*** ,BF*** BR*** ,...) :

opkg update
opkg install kmod-usb-core
opkg install kmod-usb2
opkg install kmod-hid
opkg install kmod-hid-generic
opkg install kmod-usb-hid
opkg install usbutils
opkg install usb-modeswitch
opkg install libusb-1.0
opkg install libertas-usb-firmware
opkg install kmod-usb3
opkg install kmod-usb2-fsl
opkg install kmod-usb2
opkg install kmod-usb-uhci
opkg install kmod-usb-core
opkg install nut-driver-usbhid-ups
opkg install nut
opkg install libusb-compat
opkg install librt
opkg install apcupsd
opkg install nut-driver-apcsmart
opkg install nut-driver-apcupsd-ups

zeditovat /etc/apcupsd/apcupsd.conf

obsah by měl bejt takovýto:

UPSNAME ups1
UPSCABLE usb
UPSCABLE usb
UPSTYPE USB
DEVICE
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc
NOLOGINDIR /etc
BATTERYLEVEL 5
MINUTES 3
TIMEOUT 0
ANNOY 300
ANNOYDELAY 60
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 0.0.0.0
NISPORT 3551
EVENTSFILE /var/log/apcupsd.events
EVENTSFILEMAX 10
UPSCLASS standalone
UPSMODE disable
STATTIME 0
STATFILE /var/log/apcupsd.status
LOGSTATS off
DATATIME 0

-- upravit uložit a restartovat a vše by mělo fungovat
Vloženo: jos.sk @ 5:22:47 PM, 2016/12/26