On 01/09/2015 11:58 AM, Carlos E. R. wrote:
On 2015-01-09 16:26, James Knott wrote:
On 01/09/2015 08:50 AM, Carlos E. R. wrote:
Where is the disconnect occurring? At the server or ADSL modem? If the ISP shuts down the connection to the modem. the server might not know about it. I'm almost sure that the adsl modem tells the controlling software of any status change, such as the connection going down and the cause.
Most ADSL connections are connected via Ethernet. There is no such signal on Ethernet.
Another keep alive might be to do DHCP requests. That's simple enough to do. The dhcpcd -l option can be used to set a lease time independent of the server. So, if set to 3600 seconds, it would make a request every hour. which is one hour (top) that the server is unreachable.
My understanding is that the link drops if inactive after a while. If so, then periodic traffic will keep the link up, so long as something is sent before it drops. The OP already mentioned pings or fetchmail as a way to do that. If the DHCP requests are sufficient, then a minor editing of the line DHCLIENT_LEASE_TIME="" in /etc/sysconfig/network/dhcp and restarting dhcpcd is all that's required. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org