Hi thanks for all the help with this. I may have now resolved this and got things working...
All I've ended up doing is making the slave the master and the master the slave! They now connect! What is strange though is that one machine is Ubuntu and one is Debian - with Debian as the Master things work no problem, without needing anything in hosts.allow at all. And Ubuntu is quite happy as the slave and shows the connection etc. The other way round as you know from my previous posts and Debian as the slave just won't connect to the Ubuntu box... So this may just be an Ubuntu issue with 14.04LTS. But I'm happy as it doesn't matter to me which is master or slave, so this will be fine without us having to get to the bottom of the problem. The only other thing I wanted to check with everyone is just that all the slaves will powerdown when the battery is low by default. Do I need to set up any settings, or if there are no lines in a config file will this just happen and the defaults are fr this to happen anyway? Thanks once again for all the help and suggestions. Much appreciated. On 25 November 2016 at 16:32, Tim Dawson <[email protected]> wrote: > Try ALL:ALL in /etc/hosts.allow temporarily. If that still doesn't work, > it's likely something else. If it does, only then screw with creating > narrow rules . . . > > - Tim > > On November 25, 2016 6:37:02 AM CST, Roger Price <[email protected]> > wrote: >> >> On Fri, 25 Nov 2016, Jonah Naylor wrote: >> >> upsd : ipaddressofclientgoeshere >>> >> >> If it were me I would write >> >> upsd : ipaddressofclient :\ >> spawn (/bin/mail -r hosts.allow@localhost\ >> -s '%s@%h accepted access to %d from %c'\ >> sysadmin@somedomain) & : ALLOW >> >> upsd : ALL :\ >> spawn (/bin/mail -r hosts.allow@localhost\ >> -s '%s@%h refused access to %d from %c'\ >> sysadmin@somedomain) & : DENY >> >> so I get a trace of what happens, at least during testing. >> >> ups : [email protected]/32 monuser@masterstaticIP >>> monuser@slavestaticIP >>> >> >> I'm not sure what you are trying to do here. In any case, the >> daemon_list should specify upsd, not ups. See man 5 hosts_access. >> >> Rogr >> >> ------------------------------ >> >> Nut-upsuser mailing list >> [email protected] >> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser >> >> > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity. > > _______________________________________________ > Nut-upsuser mailing list > [email protected] > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser >
_______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

