The Computer Oracle

Disabling networkmanager for a specific interface

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Light Drops

--

Chapters
00:00 Disabling Networkmanager For A Specific Interface
00:47 Accepted Answer Score 10
01:36 Answer 2 Score 2
01:46 Thank you

--

Full question
https://superuser.com/questions/9720/dis...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#linux #ubuntu #networking #networkmanager

#avk47



ACCEPTED ANSWER

Score 10


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.




ANSWER 2

Score 2


You can also add this line to /etc/network/interfaces

iface wlan0 inet manual