From: Michael K. <li...@mk...> - 2018-05-17 14:32:11
|
> Am 17.05.2018 um 16:12 schrieb David Kerr <da...@ke...>: > > Starting a thread among developers on this topic to record some observations. Now on day two of no power or internet and having got WAN failover working yesterday I have some observations... Hopefully the power gets back soon … > Status page still shows my eth0 IPv4 address, which is 192.168.100.10 issued by my cable modem as external network down. > > WAN failover status shows 192.168.100.1 as (bogus) primary gateway and 172.20.10.1 as accurate. But what is needed is external IP address. > > My ddclient uses eth0 as the external IPv4 address. So my dynamic DNS updates are all failing/bogus. Either I change to use an external site to determine my IP, or I do something in WAN failover script to change what ddclient does. Any thoughts as to best approach? I want something automatic that will work whether using primary or failover. Some of that stuff can be automated with the optional Action script: https://doc.astlinux.org/userdoc:tt_wan_failover#action_script_optional > I turn off my generator overnight and run network from a large UPS. According to syslog Astlinux decided to shutdown at 6am when upsmon determined low battery. I think it was at 20% left, but at that level I still have 90-120 minutes of runtime left. Is there a setting to change when Astlinux does the shutdown? I guess in "/etc/ups/upsmon.conf" (but no idea which is the right parameter). You can create your own file in "/mnt/kd/". > Thoughts? Michael http://www.mksolutions.info |