Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21986 ideas, 135057 comments, 2615221 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #983: Ethernet IP Adress shouldn't vanish immediately if network cable is unplugged.

Written by meshugga the 29 Feb 08 at 05:46. Category: Internet & Networking. Related project: Nothing/Others. Status: New
Rationale
Most networking applications don't mind if there are lost packets due to removing the network cable shortly.

Yet, removing the network cable removes the IP from the interface immediately and breaks all running network applications. This doesn't need to be, there could be a grace time and even a popup along the lines of "please plugin your network cable within 10 seconds or chose another network connection on the same network to retain network connections" to make live easier.
Tags: (none)

126
votes
closed
Solution #1: Auto-generated solution of idea #983
Written by meshugga the 29 Feb 08 at 05:46.
Ubuntu Brainstorm was updated in January 2009. Since the idea #983 was submitted before this update, its rationale and solution are not separated. Please vote accordingly, and if you have the necessary rights, please separate the rationale from the solution. Thanks!

Propose your solution

Attachments
No attachments.


Duplicates


Comments
Hawke wrote on the 29 Feb 08 at 19:01
IMO, a timeout equal to the system's TCP timeout would be appropriate.

rawsausage wrote on the 1 Mar 08 at 17:12
The default TCP timeout is rather large.

gianBaldoni wrote on the 2 Mar 08 at 22:33
The fundamental idea is sound to a certain degree. How do you make sure the machine plugged back in is the same one that was unplugged?

It does seem reasonable to expect security to take precedence over convenience in this case.

refdoc wrote on the 4 Mar 08 at 08:25
If the wired network has any particular security features which require renegotiation they must certainly be renegotiated, but most people are on simple networks where a plucked cable is simply a plucked cable.

So, the idea is sound, even if it requires some added attention.

That aside, it is up to the network etc to make sure that lost connections are authenticated on re-establishment, so the client simply needs to be willing to take part, but if not challenged should be able to remain in the network.

candlerb wrote on the 6 Apr 09 at 15:14
As a network engineer, I am used to being able to ifconfig an interface suitable for a target device, plugging and unplugging that device as required.

Having the interface lose its configuration is a pain, and not what I expect from a Unix system.

Having to edit /etc/network/interfaces every time I wish to select a different local IP (suitable for talking to the target device) is also a pain.

Documentation as to which part of Ubuntu I have to disable to get back normal Unix behaviour would be fine. Killing avahi-daemon didn't do the trick. Is it dhcdbd perhaps?

candlerb wrote on the 6 Apr 09 at 15:20
Solution appears to be:

sudo apt-get --purge remove network-manager network-manager-gnome dhcdbd


Post your comment