As first noted in https://bugs.launchpad.net/ubuntu/+source/network-
manager/+bug/329105/comments/7

network-manager successfully starts dhclient, but dhclient never returns
and doesn't set up the network interface:

/var/log/daemon.log after selecting a connection in nm-applet:
Feb 21 02:54:11 patricia NetworkManager: <info>  Activation (ra0) Stage 3 of 5 
(IP Configure Start) complete. 
Feb 21 02:54:11 patricia dhclient: Internet Systems Consortium DHCP Client 
V3.1.1
Feb 21 02:54:11 patricia dhclient: Copyright 2004-2008 Internet Systems 
Consortium.
Feb 21 02:54:11 patricia dhclient: All rights reserved.
Feb 21 02:54:11 patricia dhclient: For info, please visit 
http://www.isc.org/sw/dhcp/
Feb 21 02:54:11 patricia dhclient: 
Feb 21 02:54:11 patricia dhclient: Listening on LPF/ra0/00:22:43:5d:4b:d4
Feb 21 02:54:11 patricia dhclient: Sending on   LPF/ra0/00:22:43:5d:4b:d4
Feb 21 02:54:11 patricia dhclient: Sending on   Socket/fallback
Feb 21 02:54:14 patricia dhclient: DHCPDISCOVER on ra0 to 255.255.255.255 port 
67 interval 4
Feb 21 02:54:14 patricia dhclient: DHCPOFFER of 172.16.24.220 from 172.16.27.1
Feb 21 02:54:14 patricia dhclient: DHCPREQUEST of 172.16.24.220 on ra0 to 
255.255.255.255 port 67
Feb 21 02:54:14 patricia dhclient: DHCPACK of 172.16.24.220 from 172.16.27.1
Feb 21 02:54:14 patricia dhclient: bound to 172.16.24.220 -- renewal in 3431 
seconds.
Feb 21 02:54:57 patricia NetworkManager: <info>  Device 'ra0' DHCP transaction 
took too long (>45s), stopping it. 
Feb 21 02:54:57 patricia NetworkManager: <info>  ra0: canceled DHCP 
transaction, dhcp client pid 7290 
Feb 21 02:54:57 patricia NetworkManager: <info>  Activation (ra0) Stage 4 of 5 
(IP Configure Timeout) scheduled... 
Feb 21 02:54:57 patricia NetworkManager: <info>  Activation (ra0) Stage 4 of 5 
(IP Configure Timeout) started... 
Feb 21 02:54:57 patricia NetworkManager: <info>  (ra0): device state change: 7 
-> 9 
Feb 21 02:54:57 patricia NetworkManager: <info>  Activation (ra0) failed for 
access point (orxnet) 
Feb 21 02:54:57 patricia NetworkManager: <info>  Marking connection 'ORXNET' 
invalid. 
Feb 21 02:54:57 patricia NetworkManager: <info>  Activation (ra0) failed. 
Feb 21 02:54:57 patricia NetworkManager: <info>  Activation (ra0) Stage 4 of 5 
(IP Configure Timeout) complete. 
Feb 21 02:54:57 patricia NetworkManager: <info>  (ra0): device state change: 9 
-> 3 
Feb 21 02:54:57 patricia NetworkManager: <info>  (ra0): deactivating device 
(reason: 0)

ra0 shows some traffic but never goes up. I see the same consistent
misbehaviour with eth0. Both interfaces work fine when started without
using network-manager or dhclient.

The attached strace of dhclient3 shows that dhclient is not allowed to
run /sbin/dhclient-script.

** Attachment added: "dhclient3.strace"
   http://launchpadlibrarian.net/22930572/dhclient3.strace

-- 
dhcp3-client can't set IP address due to insufficient rights
https://bugs.launchpad.net/bugs/274178
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to