I am fairly familiar with setting up servers, and ubuntu is generally my flavor of choice, but I just installed 12.04 desktop and I am seeing some behavior in network manager that is really puzzling. The network connection works fine if I leave it set on dhcp, but I would like a static IP address for my new web server. When I go into network manager and edit the connection for the one and only NIC I can select MANUAL from the dropdown menu but as soon as I do the Save button becomes greyed out. Even after filling out all fields for the connection it is still grey and I am unable to save the static IP connection information. Any thoughts would be greatly appreciated. I'm hoping there is just some new setting that I am unaware of....
On another note, if I stop the network manager and go edit the interfaces file (and the appropriate hosts/routes/dns files), I do get a static ip address assigned and I can contact my server from the outside, however, the server cannot find the internet. Can't ping even its own ip... I can ping the loopback interface though.
I'm really confused on this one. Hoping someone can offer some help.
15 Answers
Do not press the Add button after entering Gateway IP address. :)
Found out this the hard way: You have to press Add the first time, to start entering the IP, but when finished - just press enter.
If you do press Add a second time, you make a new address entry and are not allowed by the GUI to save. Select the empty second line and click the Delete button in the GUI to remove it.
This is done to make it possible to enter more than one IP on the interface, but it definitivly was not obvious to me because of the minimalistic IP entry box you have to scroll in..
Did you fill in the IPv6 information? I had the same problem and was able to resolve it by setting IPv6 to 'ignore'.
The section will look like this in the configuration file under /etc/NetworkManager/system-connections
[ipv6]
method=ignore This problem appeared for me recently so hopefully this answer will help people who are looking for it now.
In Network Manager under the tab WiFi the form "Cloned Mac Address" is filled in with the plaintext 'permanent'. Delete this plaintext and you can save the settings.
System: ArchLinux and XFCE, but guessing it's a Network Manager issue.
2Try
nmcli c mod <<connection name>> ipv4.never-default truebefore configuring the connection (<<connection name>> being the connection name given by the command
nmcli c It is very simple. After filling up all necessary information you only press enter, then you can see save option is enabled.
1