Jaunty - get no dhcp lease, till i call dhclient manually
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: dhcp
Hello,
Jaunty(64bit) fails to get an IP-Address from DHCP (dhcp client v3.1.1) at boot by the router of the cable network. The company (cablecom, Mr. Cekic) says, it's not a modem or network problem. The Cable Device is Cisco/Scientific Atlanta EPC2203. Windows XP works as my cable-phone does.
The case is similar to other reports. Forcing dhcp3-client to send on eth0 the eth0 mac doesnt change the problem. Similar but not identical to #354471.
The only solution I found is keep calling /sbin/dhclient EVERY 15minutes (lease time is about 30min).
Some Details:
+ifconfig eth0 right after boot: (not working)
eth0 Link encap:Ethernet Hardware Adresse 00:30:1......f
inet Adresse:
+after calling dhclient manually (and repeating to do so every 900 seconds)
eth0 Link encap:Ethernet Hardware Adresse 00:30:1.......f
inet Adresse:84.7.....41 Bcast:255.
netstat -rn (working)
Ziel Router Genmask Flags MSS Fenster irtt Iface
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
84.7....0 0.0.0.0 255.255.248.0 U 0 0 0 eth0
0.0.0.0 84.7....1 0.0.0.0 UG 0 0 0 eth0
Some Syslog Entries from a single boot: (Correct time gave same problems).
-------
Jun 11 20:59:19 ubuntu-ic6 kernel: [ 0.428858] CPU0: AMD Athlon(tm) 64 Proces
sor 3200+ stepping 00
...
Jun 11 20:59:19 ubuntu-ic6 kernel: [ 14.274463] type=1505 audit(124474675
:3): operation=
072
Jun 11 20:59:19 ubuntu-ic6 kernel: [ 14.274621] type=1505 audit(124474675
:4): operation=
Jun 11 20:59:19 ubuntu-ic6 kernel: [ 14.274668] type=1505 audit(124474675
:5): operation=
n" name2="default" pid=2072
Jun 11 20:59:19 ubuntu-ic6 kernel: [ 14.274707] type=1505 audit(124474675
:6): operation=
me2="default" pid=2072
...
Jun 11 20:59:28 ubuntu-ic6 NetworkManager: <info> starting...
Jun 11 20:59:28 ubuntu-ic6 NetworkManager: <info> (eth0): new Ethernet device (
driver: 'forcedeth')
Jun 11 20:59:28 ubuntu-ic6 NetworkManager: <info> (eth0): exported as /org/freed
esktop/
Jun 11 20:59:28 ubuntu-ic6 NetworkManager: <info> (ttyS0): ignoring due to lack
of mobile broadband capabilties
Jun 11 20:59:28 ubuntu-ic6 NetworkManager: <info> Trying to start the supplicant
...
Jun 11 20:59:28 ubuntu-ic6 NetworkManager: <info> Trying to start the system set
tings daemon...
Jun 11 20:59:28 ubuntu-ic6 NetworkManager: <info> (eth0): carrier now ON (device
state 1)
...
Jun 11 20:59:28 ubuntu-ic6 nm-system-settings: SCPluginIfupdown: guessed conne
ction type (eth0) = 802-3-ethernet
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: No service file found in /etc/avah
i/services.
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: Joining mDNS multicast group on in
terface virbr0.IPv4 with address 192.168.122.1.
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: New relevant interface virbr0.IPv4
for mDNS.
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: Joining mDNS multicast group on in
terface eth0.IPv4 with address 192.168.0.93.
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: New relevant interface eth0.IPv4 f
or mDNS.
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: Network interface enumeration comp
leted.
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: Registering new address record for
fe80::cc........ on virbr0.*.
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: Registering new address record for
192.168.122.1 on virbr0.IPv4.
Jun 11 20:59:28 ubuntu-ic6 nm-system-settings: SCPlugin-Ifupdown: update_conne
ction_setting_
updown (eth0), uuid: ..................
Jun 11 20:59:28 ubuntu-ic6 nm-system-settings: SCPlugin-Ifupdown: addresses co
unt: 1
Jun 11 20:59:28 ubuntu-ic6 nm-system-settings: SCPlugin-Ifupdown: autoconnect
Jun 11 20:59:28 ubuntu-ic6 nm-system-settings: SCPluginIfupdown: management mo
de: unmanaged
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: Registering new address record for
fe80::............ on eth0.*.
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: Registering new address record for
192.168.0.93 on eth0.IPv4.
affects: | dhcp (Ubuntu) → dhcp3 (Ubuntu) |
affects: | dhcp3 (Ubuntu) → network-manager (Ubuntu) |
I see this on my eeepc, Jaunty NBR, 32-bit. NM actually works, but is prevented from setting the lease and so thinks that it hasn't, or something like that:
Oct 25 08:12:02 gulik kernel: [ 64.206320] type=1503 audit(125641152 2.020:11) : operation= "file_mprotect" requested_ mask="r: :" denied_mask="r::" fsuid=0 name="/ .filesystem/ usr/overlay/ lib/libglib- 2.0.so. 0.2000. 1" pid=3172 profile= "/usr/lib/ NetworkManager/ nm-dhcp- client. action"
(the .filesystem stuff is just due to a unionfs'ed filesystem backed by squashfs)
is there a workaround?