Disable network-manager without uninstalling it

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Iron Mew
Level 1
Level 1
Posts: 3
Joined: Wed Nov 28, 2012 7:03 pm

Disable network-manager without uninstalling it

Postby Iron Mew » Wed Nov 28, 2012 7:09 pm

I prefer Wicd to the stock network manager for wifi, and I usually solve this problem by uninstalling network-manager altogether so only Wicd is left to control the connection. However, I'm setting up my netbook now, and being an ultraportable I'd like to preserve the possibility to connect to bluetooth devices, or use a 3G dongle, both of which are supported by the stock network manager but not by Wicd.

So what I want is to have both managers installed, but only Wicd running at startup. This way if it becomes necessary to use 3G or bluetooth I can just re-enable the stock network manager and use it.

Problem is, I can't figure out how to do that. Under gnome-session-properties I can remove the network manager icon, but that only removes nm-applet - the service is still running and interfering with Wicd. Then I went looking into the services running at startup, where I can see Wicd but not the stock network manager.

I can do a stop command, but I want to disable it semipermanently - that is, it has to stay disabled between sessions. How do I do that?

stratus_ss
Level 4
Level 4
Posts: 270
Joined: Fri May 25, 2012 5:22 pm

Re: Disable network-manager without uninstalling it

Postby stratus_ss » Thu Nov 29, 2012 10:51 am

Well I am not sure how to "properly" do it but you can use these commands:

Code: Select all

sudo mv /etc/init/network-manager.conf /etc/init/network-manager.conf-disabled
sudo mv /etc/xdg/autostart/nm-applet.desktop /etc/xdg/autostart/nm-applet.desktop.disabled


Simply moving the configs to a different name will prevent NM from starting

Iron Mew
Level 1
Level 1
Posts: 3
Joined: Wed Nov 28, 2012 7:03 pm

Re: Disable network-manager without uninstalling it

Postby Iron Mew » Thu Nov 29, 2012 9:27 pm

Thanks.

I just found out renaming /etc/init.d/network-manager into anything else works too.


Return to “Other networking topics”

Who is online

Users browsing this forum: DrM and 3 guests