OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of da0 »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Topics - da0

Pages: [1]
1
General Discussion / nut service not starting
« on: July 28, 2018, 06:03:48 pm »

hello all,

I am a newbie with OPNsense and trying to connect my UPS to my router
OPNsense version is 18.1.13
UPS is APC back-UPS ES 700G

I installed os-nut plugin (v1.0) and connected my UPS to the router
kernel logs show UPS device is correctly detected:
Code: [Select]
ugen0.2: <APC Back-UPS ES 700G FW871.O2 .I USB FWO2> at usbus0

in web UI configuration, I enable NUT service with:
in general settings:
  enable NUT : ON
  service mode : standalone
  name : UPSName
in UPS type/USBHID-driver
  enable : ON
  extra arguments : port=auto

I apply configuration and try to leave NUT configuration page ... it takes long time (50 seconds, sometimes less)

next, going back to NUT configuration page : NUT is disabled ... configuration was not applied

from command line, I can see :
files in /usr/local/etc/nut are not modified

and running processes:
Code: [Select]
# ps aux | grep ups
root    69797   0.0  0.1   12564  2140  -  I    17:43     0:00.00 /usr/local/bin/upsc UPSName@127.0.0.1
root    95901   0.0  0.1   12564  2136  -  S    17:45     0:00.00 /usr/local/bin/upsc UPSName@127.0.0.1
root    96022   0.0  0.1   12564  2136  -  S    17:45     0:00.00 /usr/local/bin/upsc UPSName@127.0.0.1
root    96293   0.0  0.1   12564  2136  -  S    17:45     0:00.00 /usr/local/bin/upsc UPSName@127.0.0.1
root    96486   0.0  0.1   12564  2136  -  S    17:45     0:00.00 /usr/local/bin/upsc UPSName@127.0.0.1
root    96922   0.0  0.1 1080528  2832  0  S+   17:45     0:00.00 grep ups

after rebooting router, I still have same behavior

installing/reinstalling os-nut plugin changes nothing


am I missing some thing in my setup ?

is there somebody to help ?


regards,

Denis

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2