Disabling networkmanager for a specific interface

Posted by bdonlan on Super User See other posts from Super User or by bdonlan
Published on 2009-07-21T02:03:38Z Indexed on 2012/11/27 11:09 UTC
Read the original article Hit count: 298

I'd like to do some experimentation with hostap without disabling my primary wireless interface. How do I tell networkmanager to keep its hands off a specific interface or interfaces while allowing it to continue managing all other interfaces normally? I'm using Ubuntu 9.04.

(Wasn't sure if this should go on superuser or serverfault, as networkmanager isn't much of a 'server' tool - if it belongs on serverfault please feel free to move it)

Edit: I've tried adding this to /etc/network/interfaces:

allow-hotplug wlan2
iface wlan2 inet static
        address 192.168.49.1
        netmask 255.255.255.0

But this has no apparent effect, even after restarting NetworkManager.

Here's my /etc/NetworkManager/nm-system-settings.conf:

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

Edit[2]: Looks like I needed to restart nm-system-settings, then NetworkManager.

© Super User or respective owner

Related posts about linux

Related posts about ubuntu