4

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.

1
  • Please update your post with further information (preferably, even if censored) screenshots of the network manager UI you filled in, in order to track down what might be missing.
    – user98085
    Oct 30, 2012 at 23:48

5 Answers 5

7

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..

2

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
1

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.

3
  • The system in question is Ubuntu not ArchLinux. Dec 14, 2016 at 14:06
  • 1
    I had the same problem on Ubuntu 17.04. Deleting 'permanent' worked for me - thanks!
    – danja
    Jul 29, 2017 at 23:40
  • Possibly unhelpful comment: I am also seeing "Save" grayed out, with no explanation. the Cloned Mac Address field is already empty. So, the problem must be more general than this.
    – MRule
    Jul 21, 2022 at 7:30
0

Try

nmcli c mod <<connection name>> ipv4.never-default true

before configuring the connection (<<connection name>> being the connection name given by the command

nmcli c
-2

It is very simple. After filling up all necessary information you only press enter, then you can see save option is enabled.

1
  • "-1" because your anwser is to vague. What are "all necessary information" to get a static IP?
    – MadMike
    Jun 26, 2015 at 6:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .