NetworkManager does not re-enable connection which was disabled because DHCP timed out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Triaged
|
Medium
|
Mathieu Trudel-Lapierre |
Bug Description
Binary package hint: network-manager
As requested by Mathieu Trudel in bug #274593, I'm opening a new bug.
If the DHCP server in the network goes down for some reason, NetworkManager marks the connection invalid once DHCP request times out:
Nov 8 10:59:19 lempo NetworkManager[
Nov 8 10:59:19 lempo NetworkManager[
Nov 8 10:59:19 lempo NetworkManager[
Nov 8 10:59:19 lempo NetworkManager[
Nov 8 10:59:19 lempo NetworkManager[
Nov 8 10:59:19 lempo NetworkManager[
Nov 8 10:59:19 lempo NetworkManager[
Nov 8 10:59:19 lempo NetworkManager[
Nov 8 10:59:19 lempo NetworkManager[
Nov 8 10:59:19 lempo NetworkManager[
Nov 8 10:59:19 lempo NetworkManager[
Nov 8 10:59:19 lempo NetworkManager[
Nov 8 10:59:19 lempo NetworkManager[
Nov 8 10:59:19 lempo NetworkManager[
If I now unplug and replug the network cable (a common fix for network problems), NetworkManager does not try to get a new IP address via DHCP:
Nov 8 11:02:05 lempo NetworkManager[
Nov 8 11:02:05 lempo NetworkManager[
Nov 8 11:02:05 lempo NetworkManager[
Nov 8 11:02:07 lempo NetworkManager[
Nov 8 11:02:07 lempo NetworkManager[
Rather, I must log on to my computer, click on the nm-applet and select Auto eth0. This is highly inconvenient if I'm out of office and would like to do something remotely. Otherwise I could just ask my colleague to replug the cable.
---
Architecture: amd64
CRDA: Error: [Errno 2] No such file or directory
DistroRelease: Ubuntu 10.10
IfupdownConfig:
auto lo
iface lo inet loopback
IpRoute:
130.233.174.128/27 dev eth0 proto kernel scope link src 130.233.174.133 metric 1
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
169.254.0.0/16 dev eth0 scope link metric 1000
default via 130.233.174.129 dev eth0 proto static
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
virbr0 no wireless extensions.
Keyfiles: Error: [Errno 2] No such file or directory
NonfreeKernelMo
Package: network-manager 0.8.1+git.
PackageArchitec
ProcVersionSign
RfKill:
Tags: maverick
Uname: Linux 2.6.35-22-generic x86_64
UserGroups: adm admin cdrom dialout dip fax floppy fuse kvm libvirtd lpadmin plugdev sambashare tape video
WpaSupplicantLog:
Changed in network-manager (Ubuntu): | |
status: | Expired → New |
summary: |
- NetworkManager does not enable connection marked as invalid when - plugging in network cable + NetworkManager does not re-enable connection which was disabled because + DHCP timed out |
Better yet, NM could automatically try to obtain a new IP periodically, like Windows does.