Page 1 of 1

Disable network-manager without uninstalling it

Posted: Wed Nov 28, 2012 7:09 pm
by Iron Mew
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?

Re: Disable network-manager without uninstalling it

Posted: Thu Nov 29, 2012 10:51 am
by stratus_ss
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

Re: Disable network-manager without uninstalling it

Posted: Thu Nov 29, 2012 9:27 pm
by Iron Mew
Thanks.

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