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.
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. If the network daemon can not be told to keep the connection alive no matter what, then you have to run a ping daemon or a host query or anything, perhaps every minute. And that's a kludge. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)