Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 want to set up a mesh network using batman-adv, but NetworkManager keeps taking control of the second adapter... I need to be able to selectively tell NetworkManager not to manage one specific device.

Is this possible?

share|improve this question
up vote 3 down vote accepted

NetworkManager doesn't take control of interfaces listed in /etc/network/interfaces, so put the following line in that file:

iface wlan0 inet manual

This will make NetworkManager ignore wlan0.

share|improve this answer
In Ubuntu 14.10 and before, NetworkManager correctly ignored interfaces created by VirtualBox (vboxnet*). In 15.04 it insists on managing them and this solution does not work. See . In the meantime, any solution working on 15.04 would be nice! – Stéphane Gourichon Aug 19 '15 at 16:47

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.