This post is probably of interest only to me, and I'm posting it just because I'm getting tired of remembering where I stored this tidbit on my Mac.
Our home router is a Protectli box running pfSense firewall/router software; the Protectli box is connected to a CyberPower UPS. Within pfSense, you can install the Network UPS Tools package (called NUT in pfSense) to monitor and report on the UPS; here's how it looks in the overview screen:
After recently updating to a newer Protectli box, however, all I saw was a message that read "Cannot communicate with UPS" (or something close to that). I knew I had a fix for this issue somewhere, but I couldn't remember where. Today I found it, so also today, it goes on my blog so I'll always know where it is…
If there happens to be more than one person out there with my setup, and your CyberPower UPS isn't talking to the NUT plug-in in pfSense, here's the fix:
- Login via Terminal to the pfSense box, then use item (8) to exit to the shell.
- Run these two commands:
$ /usr/local/sbin/upsdrvctl -u root start $ service devd restart
- Exit the connection to your pfSense box.
Once I did the above, communications were restored and the status box returned.