[feisty] static configuration of wired network connection in NetworkManager dosen't work

Bug #110233 reported by lmierzej
8
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: network-manager

After changing eth0 configuration from dhcp to static and filling all the forms with ip, netmask and gateway I see "Changing interface configuration" message, but the changes are not applied (ifconfig shows no ip for eth0, resolv.conf is and route shows correct gateway). When I manually invoke:
/etc/init.d/network restart
everything works fine (so NetworkManager write changes into /etc/network/interfaces, but maybe doesn't restart interfaces).

This problem happens every time after booting form feisty installation live-cd and just after successful installation of feisty and booting into it. I didn't manage to reproduce it after configuring network settings with NetworkManger and manually (by ifconfig, route and resolv.conf) for a couple of times.

Revision history for this message
lmierzej (lmierzej) wrote :

I have just made another test on fresh feisty installation form ubuntu-7.04-desktop-i386 live-cd.

By default my eth0 network interface is set to dhcp. After changing it to static with NetworkManager applet and filling in ip, network and gateway I can see "Changing interface configuration" message, but ifconfig shows no ip for eth0, route shows exactly nothing (no route defined). Only /etc/network/interfaces file is being updated correctly. If in this situation I change eth0 back to dhcp and one more time to static configuration everything starts to work correctly (ifconfig and route give proper output)

Adding DNS server with NetworkManager creates correct resolv.conf file every time.

Revision history for this message
lmierzej (lmierzej) wrote :

I was able to easily reproduce this bug when booting from ubuntu-7.04-desktop-i386 live-cd. Every time after booting form live cd and statically configuring network with NetworkManager applet it didn't work (but only for the first time, after changing back to dhcp and one more time to static everything was fine)

Revision history for this message
Stephen Gornick (sgornick) wrote :

I believe this might be a duplicate of #61089, but I cannot tell for sure.

Bug #106916 reports similar problem and that was marked as a duplicate of #61089.

I got same behavior (after using network-manager to change to static, ifconfig eth0 doesn't list the new static IP address) on two different machines, one with Ubuntu 7.04 Desktop i386 and the other with 7.04 Desktop AMD64, so am marking this bug as confirmed.

Changed in network-manager:
status: Unconfirmed → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.