Comment 2 for bug 320268

Revision history for this message
Jerry Janes (jerry-janes) wrote : Re: [Bug 320268] Re: Wired network does not work after 8.10 upgrade

Colin,
  Thanks for moving it to network-manager. I tried to do that myself a
couple times and couldn't figure out how to do it. This is the first bug I
have logged and I was pretty sure I did it wrong. I will read more
Launchpad documentation before submitting more.

Thanks,
Jerry

----- Original Message -----
From: "Colin Watson" <email address hidden>
To: <email address hidden>
Sent: Tuesday, January 27, 2009 1:09 PM
Subject: [Bug 320268] Re: Wired network does not work after 8.10 upgrade

I don't know where this really belongs, but choose-mirror definitely
isn't it - that's a component of the installer that deals with mirror
selection. Reassigning to network-manager for further analysis.

** Changed in: network-manager (Ubuntu)
Sourcepackagename: choose-mirror => network-manager

--
Wired network does not work after 8.10 upgrade
https://bugs.launchpad.net/bugs/320268
You received this bug notification because you are a direct subscriber
of the bug.

Status in “network-manager” source package in Ubuntu: New

Bug description:
Binary package hint: choose-mirror

I upgraded from 8.04.1 to 8.10 I have an old stupid Belkin firewall router

This was from /var/log/daemon.log using 8.04.1

Jan 21 10:31:27 JANES-LINUX NetworkManager: <info> DHCP daemon state is now
4 (reboot) for interface eth0
Jan 21 10:31:27 JANES-LINUX NetworkManager: <info> Activation (eth0) Stage
4 of 5 (IP Configure Get) scheduled...
Jan 21 10:31:27 JANES-LINUX NetworkManager: <info> Activation (eth0) Stage
4 of 5 (IP Configure Get) started...
Jan 21 10:31:27 JANES-LINUX NetworkManager: <info> Retrieved the following
IP4 configuration from the DHCP daemon:
Jan 21 10:31:27 JANES-LINUX NetworkManager: <info> address 192.168.2.11
Jan 21 10:31:27 JANES-LINUX NetworkManager: <info> netmask 255.255.255.0
Jan 21 10:31:27 JANES-LINUX NetworkManager: <info> broadcast
255.255.255.255
Jan 21 10:31:27 JANES-LINUX NetworkManager: <info> gateway 192.168.2.1
Jan 21 10:31:27 JANES-LINUX NetworkManager: <info> nameserver 192.168.2.1
Jan 21 10:31:27 JANES-LINUX NetworkManager: <info> domain name
'ph.cox.net'
Jan 21 10:31:27 JANES-LINUX NetworkManager: <info> Activation (eth0) Stage
5 of 5 (IP Configure Commit) scheduled...
Jan 21 10:31:27 JANES-LINUX NetworkManager: <info> Activation (eth0) Stage
4 of 5 (IP Configure Get) complete.
Jan 21 10:31:27 JANES-LINUX NetworkManager: <info> Activation (eth0) Stage
5 of 5 (IP Configure Commit) started...

This was from /var/log/daemon.log after upgrading to 8.10

Jan 22 09:55:26 JANES-LINUX NetworkManager: <info> DHCP: device eth0 state
changed preinit -> bound
Jan 22 09:55:26 JANES-LINUX NetworkManager: <info> Activation (eth0) Stage
4 of 5 (IP Configure Get) scheduled...
Jan 22 09:55:26 JANES-LINUX NetworkManager: <info> Activation (eth0) Stage
4 of 5 (IP Configure Get) started...
Jan 22 09:55:26 JANES-LINUX NetworkManager: <info> address 192.168.2.11
Jan 22 09:55:26 JANES-LINUX NetworkManager: <info> prefix 24
(255.255.255.0)
Jan 22 09:55:26 JANES-LINUX NetworkManager: <info> gateway 192.168.2.1
Jan 22 09:55:26 JANES-LINUX NetworkManager: <info> nameserver
'192.168.2.1'
Jan 22 09:55:26 JANES-LINUX NetworkManager: <info> domain name
'ph.cox.net'
Jan 22 09:55:26 JANES-LINUX dhclient: bound to 192.168.2.11 -- renewal in
914840321 seconds.
Jan 22 09:55:26 JANES-LINUX NetworkManager: <info> Activation (eth0) Stage
5 of 5 (IP Configure Commit) scheduled...
Jan 22 09:55:26 JANES-LINUX NetworkManager: <info> Activation (eth0) Stage
4 of 5 (IP Configure Get) complete.
Jan 22 09:55:26 JANES-LINUX NetworkManager: <info> Activation (eth0) Stage
5 of 5 (IP Configure Commit) started...
Jan 22 09:55:26 JANES-LINUX avahi-daemon[4771]: Joining mDNS multicast group
on interface eth0.IPv4 with address 192.168.2.11.
Jan 22 09:55:26 JANES-LINUX avahi-daemon[4771]: New relevant interface
eth0.IPv4 for mDNS.
Jan 22 09:55:26 JANES-LINUX avahi-daemon[4771]: Registering new address
record for 192.168.2.11 on eth0.IPv4.
Jan 22 09:55:27 JANES-LINUX NetworkManager: <info> (eth0): device state
change: 7 -> 8
Jan 22 09:55:27 JANES-LINUX NetworkManager: <WARN>
add_ip4_route_to_gateway(): Failed to add IPv4 default route on 'eth0':
(-19) Sucess
Jan 22 09:55:27 JANES-LINUX NetworkManager: <info> Policy set 'Auto eth0'
(eth0) as default for routing and DNS.
Jan 22 09:55:27 JANES-LINUX NetworkManager: <info> Activation (eth0)
successful, device activated.
Jan 22 09:55:27 JANES-LINUX NetworkManager: <info> Activation (eth0) Stage
5 of 5 (IP Configure Commit) complete.

I noticed the network info displayed by NetworkManager was very different.
The thing I really noticed was the quotes around the nameserver address in
8.10 and not 8.04.1

I was able to fix the problem by adding this to /etc/dhcp3/dhclient.conf

# Added by Jerry

#supersede netmask 255.255.255.0
#supersede broadcast 255.255.255.255
supersede nameserver 192.168.2.1

# end Added by Jerry

After trial and error and numerous reboots I found the only thing needed was
the nameserver option. I do not know if the problem is with dhclient or
NetworkManager. I read through several problems in the forum with 8.10
networking that might be the same as this.