On 01/09/2015 09:09 AM, James Knott wrote:
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.
But why burden the dhcp server with a useless request, especially when taking that action might actually GET a new IP which would require teardown and reestablishment of any existing open sockets to remote targets. Granted that would usually (but not always) happen automatically, but you can induce a LOT of traffic if your ISP does not reissue the same IP. Further not all ISPs honour users requests as to lease times. Especially those short of IP addresses. You can start a ping at boot time with an INTERVAL of N seconds where n is calculated to be just shorter than the drop time, and all you impact is a tiny task in your machine and some tcp stack time on the ping target, and no disruption of open (but quiescent) sockets. Alternatively, open imap connection to a server supporting idled is usually sufficient unless the drop time is less than socket time-out, which is usually somewhere around 18 minutes. -- After all is said and done, more is said than done. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org