Home » Questions » Computers [ Ask a new question ]

Disabling networkmanager for a specific interface

Disabling networkmanager for a specific interface

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.

Asked by: Guest | Views: 221
Total answers/comments: 1
Guest [Entry]

"To quote /usr/share/doc/network-manager/README.Debian:

Configuration of wireless and ethernet interfaces
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Only devices that are not listed in /etc/network/interfaces or which have
been configured ""auto"" and ""dhcp"" (with no other options) are managed by NM.

This way you can setup a custom (static) configuration for a device and NM
will not try to override this setting.

After modifying /etc/network/interfaces you have to restart NM with the
command ""/etc/init.d/network-manager restart"".

and then it has some examples."