Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've hear mixed things about how to handle setting IP parameters in Ubuntu. There's several sources that say if a GUI is installed like KDE or Gnome, that you should only use the network manager to set or change IP settings. This is added to the already complicated problem of changing the IP address during a remote session. There are times where RDP or VNC is just not an option. What should be consider?

share|improve this question
up vote 1 down vote accepted

NetworkManager, the default network manager for Ubuntu, does not play well with headless/ssh setups. It has a command-line interface called nmcli but with limited capabilities.

One solution would be to disable NetworkManager and directly control the network settings through the /etc/network/interfaces file. The man page man interfaces is a good starting point for understanding its syntax.

Every time you modify the /etc/network/interfaces file you can apply the settings by running:

sudo service networking restart

Your ssh connection will very likely drop and you will have to reconnect.

share|improve this answer

You must log in to answer this question.

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