Comment 22 for bug 5364

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote : Re: Can't use static ip address with network-manager

Why importance of this bug is set to wishlist ? AFAIK it's very important problem if users can't establish internet connection if network-manager is installed.

Accoring to comments at http://bugzilla.gnome.org/show_bug.cgi?id=412018 this is Ubuntu bugs:
 Comment #3 from Dan Williams (NetworkManager developer, points: 15) 2007-02-26 12:32
> NM actually has some support for static IP settings already, but the distro specific backend has to support it.
> Fedora, SUSE, and Debian support it. But Ubuntu decided to make NM ignore _any_ interface that you have already configured in /etc/network/interfaces.
> Therefore, to NM that interface doesn't exist, and you'll get the behavior your see.

I've just tried to configure "Static configuration" (by clicking on network-managet icon in notification area and choosing "Static configuration..."):
1. In "Network Settings" dialog I clicked on tab "DNS", entered one DNS server, then clicked on "Connections" tab and then on "Wired connection" and then clicked on "Properties" button;
2. entered static IP, netmask, gateway and clicked on "OK" button;
3. when I clicked on "OK" button then some progress bar in network settings dialog was displayed for a while, but internet connection wasn't activated when progress bar window dissapers, look at ifconfig output:
ubuntu@ubuntu:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:36:A7:71:DB
          inet6 addr: fe80::216:36ff:fea7:71db/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

4. then I clicked on the checkbox near the "Wired connection" (turned off "Wired connection"), and, after several seconds, clicked on the checkbox near the "Wired connection" again, and only then my "Wired connection" with static IP started to work, look at ifconfig output:
ubuntu@ubuntu:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:36:A7:71:DB
          inet addr:192.168.0.66 Bcast:192.168.0.255 Mask:255.255.255.0
          inet6 addr: fe80::216:36ff:fea7:71db/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1