Quantcast
Channel: Ubuntu Forums - Networking & Wireless
Viewing all articles
Browse latest Browse all 23300

[SOLVED] How to kill NetworkManager and/or disable it [K]Ubuntu 14.04

$
0
0
Basically I wanted to disable NetworkManager for a particular wifi device. I was OK with disabling it temporarily as well and then re-enabling it. Searching for "kill NetworkManager" and "disable NetworkManager ubuntu 14.04" gave lots of results but not exactly what I wanted.

I am running Kubuntu 14.04.5. It's also called "Trusty" in case you forget the names like I do.

MY Kubuntu uses upstart. It does not use systemctl as pointed out in some other posts. Nor do I have /etc/init.d/network-manager as suggested in other posts. The process I see with "ps fax" is "NetworkManager" and if you try to kill it, it respawns.

SOLUTION #1:
As pointed out here https://edulab.unitn.it/tecnici/how-...ntu-or-debian/ , here https://tweenpath.net/disable-network-manager-linux/ and here https://help.ubuntu.com/community/NetworkManager the correct way to stop NetworkManager (and it's parent service network-manager) is with:

Code:

sudo service network-manager stop
or
Code:

sudo stop network-manager
That will stop NetworkManager temporarily and allow you to configure your devices manually.

*Note it's also here https://askubuntu.com/questions/2667...networkmanager but NOT specific to 14.04.

SOLUTION #2:

What I REALLY want to do is disable it for a specific device but I don't like the old-style editing /etc/network/interfaces (it reminds me of the 90s).

After reading this http://manpages.ubuntu.com/manpages/...er.conf.5.html and this https://support.qacafe.com/knowledge...-an-interface/ it's easy with NetworkManager.conf.

Edit /etc/NetworkManager/NetworkManager.conf and add:

Code:

[keyfile]
unmanaged-devices=mac:xx:xx:xx:xx:xx:xx

as pointed out here also https://stackoverflow.com/questions/...ular-interface but again NOT specific to 14.04. And this post https://ubuntuforums.org/showthread.php?t=2298853 was not useful.


Hope this helps others trying to stop NetworkManager from taking over ALL your devices.

Viewing all articles
Browse latest Browse all 23300

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>