Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 have a wireless device under the name wlan0 in Ubuntu 13.10. I want to change the configuration of a network to be found in the following directory


I would like to do the following:

  1. Stop the wireless connection
  2. Change the configuration of a network in the mentioned path
  3. Restart the connection

How to do that? I tried ifdown, but this command tells me that wlan0 is not configured, and I tried nmcli c up/down, but this command does not seem to 'reread' the changed configuration?

So how to make this work?

share|improve this question

You must use:

nmcli nm wifi on/off

no nmcli c up/down.

share|improve this answer

The commands ifdown/ifup just manage interfaces in /etc/network/interfaces. These are explicitly not managed by the NetworkManager.

So static interfaces (which could be static or dynamically assigned IPv4 and IPv6 addresses) I usually manage there instead of by the NetworkManager. Most often it's servers, as I don't use use graphical interfaces on servers. NM is in my opinion most usefully on laptops and not on stationary computers, but your mileage might be different.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.