rosabox
Explorer
- Joined
- Jun 8, 2016
- Messages
- 77
I have a "new" UPS for my TrueNAS (TrueNAS-12.0-U8.1), it's an APC Smart-UPS 3000 RM and it has only a serial port.
As there is no serial port on the TrueNAS server, I'm using an USB to Serial converter (FTDI chip).
I plugged the converter, connected the UPS, configured the UPS service in TrueNAS and all was working fine.
But today I had to reboot the TrueNAS server and after the reboot I got: "connect failed: Connection failure: Connection refused"
After unplugging and replugging the USB to Serial converter, it again works fine.
I looked to me as a permissions problem.
The UPS is connected to /dev/cuaU0 with uucp/dialer owner, there is also /dev/ttyU0 with root/uucp owner created, when plugging the converter in and I think this device had a different (root/wheel) after the reboot.
I have tried to change the group from wheel to uucp but that didn't help.
After a boot there two serial ports /dev/cuau0 and /dev/cuau1, after replugging the converter, there is a "new" port /dev/cuaU0.
I'm out of ideas.
What could be the problem and how to fix it?
As there is no serial port on the TrueNAS server, I'm using an USB to Serial converter (FTDI chip).
I plugged the converter, connected the UPS, configured the UPS service in TrueNAS and all was working fine.
But today I had to reboot the TrueNAS server and after the reboot I got: "connect failed: Connection failure: Connection refused"
After unplugging and replugging the USB to Serial converter, it again works fine.
I looked to me as a permissions problem.
The UPS is connected to /dev/cuaU0 with uucp/dialer owner, there is also /dev/ttyU0 with root/uucp owner created, when plugging the converter in and I think this device had a different (root/wheel) after the reboot.
I have tried to change the group from wheel to uucp but that didn't help.
After a boot there two serial ports /dev/cuau0 and /dev/cuau1, after replugging the converter, there is a "new" port /dev/cuaU0.
I'm out of ideas.
What could be the problem and how to fix it?