Changes

Jump to navigation Jump to search
clarify USB
Line 3: Line 3:     
====Standard configuration====
 
====Standard configuration====
Obtain your configuration values <br />
+
If using USB just enable nut
 +
config setprop nut status enabled
 +
 
 +
If using a serial port you have to set a Model
 
Find your model here http://www.networkupstools.org/compat/stable.html <br />
 
Find your model here http://www.networkupstools.org/compat/stable.html <br />
 
Type is only used if your model is genericups <br />
 
Type is only used if your model is genericups <br />
note. /dev/ttyS0 = com1,
  −
see nut [http://www.networkupstools.org/faq/ FAQ] if using USB <br />
     −
set configuration values
   
  config setprop nut Device /dev/ttyS0
 
  config setprop nut Device /dev/ttyS0
 
  config setprop nut Model apcsmart  
 
  config setprop nut Model apcsmart  
Line 20: Line 20:  
apply changes and restart server
 
apply changes and restart server
 
  signal-event post-upgrade ; signal-event reboot  
 
  signal-event post-upgrade ; signal-event reboot  
 +
 +
alternatively
 +
expand-template /etc/sysconfig/ups
 +
expand-template /etc/ups/ups.conf
 +
expand-template /etc/ups/upssched.conf
 +
expand-template /etc/ups/upsmon.conf
 +
expand-template /etc/ups/upsd.users
 +
expand-template /etc/ups/upsd.conf
 +
upsd
 +
upsmon
    
confirm server is communicating with UPS
 
confirm server is communicating with UPS

Navigation menu