I confirm this bug in Feisty. The bug still open and it should be
changed to critical (this bug (with others) is really killing my ubuntu-
laptop experience)
How to reproduce it:
1. Open the network-admin tool.
2. Set the wired interface (eth0) to dhcp.
3. Apply the changes or deactivate and activate the interface.
4. Wait for the "changing interface configuration" window to close
5. Run ifconfig in a terminal window. You don't have an ip configured.
6. After several minutes, more than 5, you will get finally an ip.
Work around:
You can force the interface to get an ip address using the command:
sudo dhclient eth0
It will get an ip address immediately
It seems that network-admin does not force the interface to negotiate an
ip address immediately after interface activation.
uname -a: Linux dnielben-laptop 2.6.20-16-386 #2 Fri Aug 31 00:51:58 UTC
2007 i686 GNU/Linux
>From syslog, reproducing the bug and the workaround:
Sep 24 18:43:54 dnielben-laptop dhclient: There is already a pid file
/var/run/dhclient.eth0.pid with pid 28023
Sep 24 18:43:54 dnielben-laptop dhclient: killed old client process, removed
PID file
Sep 24 18:43:54 dnielben-laptop dhclient: Internet Systems Consortium DHCP
Client V3.0.4
Sep 24 18:43:54 dnielben-laptop dhclient: Copyright 2004-2006 Internet Systems
Consortium.
Sep 24 18:43:54 dnielben-laptop dhclient: All rights reserved.
Sep 24 18:43:54 dnielben-laptop dhclient: For info, please visit
http://www.isc.org/sw/dhcp/
Sep 24 18:43:54 dnielben-laptop dhclient:
Sep 24 18:43:54 dnielben-laptop dhclient: Listening on
LPF/eth0/00:14:22:fd:ae:82
Sep 24 18:43:54 dnielben-laptop dhclient: Sending on
LPF/eth0/00:14:22:fd:ae:82
Sep 24 18:43:54 dnielben-laptop dhclient: Sending on Socket/fallback
Sep 24 18:43:54 dnielben-laptop dhclient: DHCPRELEASE on eth0 to 193.104.32.84
port 67
Sep 24 18:43:54 dnielben-laptop avahi-autoipd(eth0)[28256]: Found user
'avahi-autoipd' (UID 110) and group 'avahi-autoipd' (GID 116).
Sep 24 18:43:54 dnielben-laptop avahi-autoipd(eth0)[28256]: Successfully called
chroot().
Sep 24 18:43:54 dnielben-laptop avahi-autoipd(eth0)[28256]: Successfully
dropped root privileges.
Sep 24 18:43:54 dnielben-laptop avahi-autoipd(eth0)[28256]: fopen() failed:
Permission denied
Sep 24 18:43:54 dnielben-laptop avahi-autoipd(eth0)[28256]: Starting with
address 169.254.8.146
Sep 24 18:44:00 dnielben-laptop avahi-autoipd(eth0)[28256]: Callout BIND,
address 169.254.8.146 on interface eth0
Sep 24 18:44:04 dnielben-laptop avahi-autoipd(eth0)[28256]: Successfully
claimed IP address 169.254.8.146
Sep 24 18:44:04 dnielben-laptop avahi-autoipd(eth0)[28256]: fopen() failed:
Permission denied
Sep 24 18:44:04 dnielben-laptop kernel: [215828.96] bridge-eth0: disabling
the bridge
Sep 24 18:44:04 dnielben-laptop avahi-autoipd(eth0)[28256]: SIOCSIFFLAGS
failed: Permission denied
Sep 24 18:44:04 dnielben-laptop avahi-autoipd(eth0)[28256]: Callout STOP,
address 169.254.8.146 on interface eth0
Sep 24 18:44:04 dnielben-laptop avahi-autoipd(eth0)[28257]: client: RTNETLINK
answers: No such process
Sep 24 18:44:04 dnielben-laptop dhclient: receive_packet failed on eth0:
Network is down
Sep 24 18:44:04 dnielben-laptop kernel: [215828.972000] bridge-eth0: down
Sep 24 18:44:05 dnielben-laptop kernel: [215830.596000] bridge-eth0: enabling
the bridge
Sep 24 18:44:05 dnielben-laptop kernel: [215830.596000] bridge-eth0: up
Sep 24 18:44:05 dnielben-laptop kernel: [215830.596000] ADDRCONF(NETDEV_UP):
eth0: link is not ready
Sep 24 18:44:05 dnielben-laptop dhclient: There is already a pid file
/var/run/dhclient.eth0.pid with pid 134993416
Sep 24 18:44:05 dnielben-laptop dhclient: Internet Systems Consortium DHCP
Client V3.0.4
Sep 24 18:44:05 dnielben-laptop dhclient: Copyright 2004-2006 Internet Systems
Consortium.
Sep 24 18:44:05 dnielben-laptop dhclient: All rights reserved.
Sep 24 18:44:05 dnielben-laptop dhclient: For info, please visit
http://www.isc.org/sw/dhcp/
Sep 24 18:44:05 dnielben-laptop dhclient:
Sep 24 18:44:06 dnielben-laptop NetworkManager: ^IGoing to sleep.
Sep 24 18:44:06 dnielben-laptop NetworkManager: ^IWaking up from
sleep.
Sep 24 18:44:06 dnielben-laptop NetworkManager: ^IDeactivating
device eth1.
Sep 24 18:44:06 dnielben-laptop NetworkManager: ^Ieth1: Device is
fully-supported using driver 'ipw2200'.
Sep 24 18:44:06 dnielben-laptop NetworkManager:
^Inm_device_init(): waiting for device's worker thread to start
Sep 24 18:44:06 dnielben-laptop NetworkManager:
^Inm_device_init(): device's worker thread started, continuing.
Sep 24 18:44:06 dnielben-laptop NetworkManager: ^INow managing
wireless (802.11) device 'eth1'.
Sep 24 18:44:06 dnielben-laptop NetworkManager: ^IDeactivating
device eth1.
Sep 24 18:44:06 dnielben-laptop dhclient: Listening on
LPF/eth0/00:14:22:fd:ae:82
Sep 24 18:44:06 dnielben-laptop dhclient: Sending on
LPF/eth0/00:14:22:fd:ae:82
Sep 24 18