UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I guess this should come under the title "why can't they leave well enough alone?" Today I had occasion to configure a couple of machines with static IP addresses for some testing. My 8.04 machine - no problem. Invoke network-admin, unlock (with sudo credentials), set the desired IP, netmask and gateway. It is good to go.
On the 10.04 box I did the following:
Right clicked on the network icon in the notification area (nm-connection-editor) - I see Auto eth0 (last used, never). So what have I been using for connectivity since I installed 10.04???
I then select Auto eth0 and press [Edit]. Under the IPv4 Settings tab I change "Method" Manual and enter my settings. However, I cannot Apply the changes - the [Apply] button is grayed out.
So I try the same thing via the menu System; Preferences; Network Connections - same problem the [Apply] button is grayed out.
So then I create a desktop icon to "gksu nm-connection-editor". Now I can Apply my changes and perform my testing. Then it is time to set things back to DHCP. Should be simple.
I invoke "gksu nm-connection-editor" from my icon. Change Auto eth0 back to Method: Automatic (DHCP). Apply and the network icon appears to restart. But I have no Internet connectivity.
I can reach my router. I can reach my DSL modem. The connection to the Internet is still working on other PCs. In frustration I reboot the 10.04 box. I still cannot access the Internet. And the Auto eth0 interface shows never used.
I change Method: to Automatic (DHCP) Addresses only and enter my DNS servers for Opendns.org. Reboot and I am now able to connect to the Internet. Remove the DNS addresses and no connection. I did NOT have these specified in the network connection setup before changing to/from a static IP address.
While doing all this it seems that a new network connection "Wired network1" was created although it shows never used. I delete it, no change. I delete Auto eth0 and reboot.
Now another new network connection "Auto Ethernet" appears and I can connect to the Internet without having the specify the DNS addresses in the network connections configuration. Interestingly this connection shows Last Used - now! Also after removing Auto eth0 and trying to Apply changes I am prompted for my password when I click the [Apply] button (starting the applet from the notifier icon, not my gksu launcher).
WICD works well, but you can also edit the interfaces file /etc/network/interfaces get a root terminal then use nano to edit the interfaces file. It should look something like this.
It does not appear that Ubuntu 10.04 follows the normal network configuration conventions.
I may give wicd a try. However, since I deleted Auto eht0 and allowed Ubuntu to create Auto Ethernet I can stop, start and change the network settings using connection editor.
Network-Mangler should not be running if you prefer to use the interfaces file method. In my experience NM currently causes more problems than it solves, except for managing "USB mobile phone dongles", which it does well.
Please confirm that your router is at 192.168.0.1
I can confirm that 10.04 honours a properly constructed interfaces file. Spelling mistakes will not be tolerated though.
Yes the 00 was my typoo. Considering that network manager is working with the new Auto Ethernet I am leaving well enough alone for the time being on my machine. I did uninstall network manager and install wicd on a Ubuntu 10.04 virtual machine. Works great. I will consider it my fallback for the next time network manager gets hosed again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.