[Pkg-utopia-maintainers] Bug#492965: handle the "cat trips over the cable" case better
Adrian von Bidder
avbidder at fortytwo.ch
Wed Jul 30 09:22:02 UTC 2008
Sometimes, the network cable gets unplugged unwanted (or a WiFi connection
hiccups, or a switch is rebooted, ...) whereupon nm proceeds to deconfigure
the network interface. Obviously it will re-establish connection as soon
as the signal is back.
BUT: downloads, VPN, ... often/always fail as soon as the IP is going away.
Which can be extremely annoying.
Proposed fix: a grace period) 30 seconds? Optional? Tunable?) between the
network connection physically goes away and the network interface being
downed. And if connection comes back in that time,
* assume that it is the same connection
* check (trivial for WiFi, probably dhcp renew for DHCP, possibly stuff
like "ARP ping to the gateway" for static networks)
* if the check fails, reconfigure the interface.
So we get
* slightly longer delays in applications after network is disconnected
* much improved behaviour on short network outages.
OpenPGP encrypted mail welcome - my key: http://fortytwo.ch/gpg/92082481
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 388 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20080730/002873ff/attachment.pgp
More information about the Pkg-utopia-maintainers