LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-11-2007, 08:08 PM   #1
keith2045
Member
 
Registered: Feb 2005
Location: Missour, USA
Posts: 82

Rep: Reputation: 15
Disable NetworkManager


I need to disable networkmanager from starting up when my debian system boots up, but cant figure out how to. I've gone into desktop-> preferences -> session and removed it from there (actually just disabled), but when i do a ps -A it is still running. How do i stop it from starting up completely? I'm trying to run aireplay-ng but it keeps locking up and they suggested removing networkmanager.
 
Old 11-12-2007, 01:15 PM   #2
koen plessers
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: Mint
Posts: 191

Rep: Reputation: 30
Hello

What I did in Ubuntu was uninstalling it.

Bye

Koen Plessers
 
Old 11-12-2007, 01:37 PM   #3
keith2045
Member
 
Registered: Feb 2005
Location: Missour, USA
Posts: 82

Original Poster
Rep: Reputation: 15
I tried to do a apt-get remove networkmanager but it couldnt find it, what should i try?
 
Old 11-12-2007, 06:06 PM   #4
linux-goot
Member
 
Registered: Jun 2004
Posts: 60

Rep: Reputation: Disabled
I'm not familiar with Debian-based operating systems, but in Fedora you can go into services and stop network manager from running at startup. Root around in your system preferences and see if you can find a utility for setting your service preferences.

Okay, late note: looks like there is a Debian services control panel app you could use (may have to install). Here's one web site with some info:
http://davidasorey.net/static/debian-srv-cp/

Last edited by linux-goot; 11-12-2007 at 07:49 PM.
 
Old 11-13-2007, 12:57 PM   #5
koen plessers
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: Mint
Posts: 191

Rep: Reputation: 30
Quote:
Originally Posted by keith2045 View Post
I tried to do a apt-get remove networkmanager but it couldnt find it, what should i try?
Hello

I think it is apt-get remove network-manager. The - makes the difference :-)

Koen Plessers
 
Old 04-09-2008, 05:56 PM   #6
virtbiz
LQ Newbie
 
Registered: Apr 2008
Location: Dallas, TX
Distribution: CentOS / Debian / Ubuntu / Fedora
Posts: 1

Rep: Reputation: 0
If you are wanting to remove NetworkManager from a Fedora install:
# yum remove NetworkManager

It's the best thing I've done all day!
 
Old 02-20-2009, 07:01 AM   #7
j.smith1981
Member
 
Registered: Feb 2009
Distribution: Mainly CentOS6.4 x64
Posts: 161

Rep: Reputation: 1
Smile Uninstall stop service Network Manager, but getting a connection stops

Quote:
Originally Posted by virtbiz View Post
If you are wanting to remove NetworkManager from a Fedora install:
# yum remove NetworkManager

It's the best thing I've done all day!
When ive disabled network manager, yes it doesnt connect to the web but does anyone know where to set config files to get on the web again?

I want to completely remove it due to me wanting to setup a live web apache server and various services that fit into apache, and the /etc/hosts file just keeps getting cluttered up with rubbish every time i would try and restart the network manager service due to it not connecting when I cleared the IP tables out of my router.

Its really annoying network manager and yes I was just wondering how to setup the configs so I can get on the web, please could you keep it as simple as you possibly can?

I'm still getting used to Linux but finding it quite enjoyable (dispite this little problem), and doing some quite advanced things with it which I am really pleased with.

Thanks,
Jez
 
Old 12-05-2009, 10:59 AM   #8
jjcf89
LQ Newbie
 
Registered: Feb 2009
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by j.smith1981 View Post
When ive disabled network manager, yes it doesnt connect to the web but does anyone know where to set config files to get on the web again?

I want to completely remove it due to me wanting to setup a live web apache server and various services that fit into apache, and the /etc/hosts file just keeps getting cluttered up with rubbish every time i would try and restart the network manager service due to it not connecting when I cleared the IP tables out of my router.

Its really annoying network manager and yes I was just wondering how to setup the configs so I can get on the web, please could you keep it as simple as you possibly can?

I'm still getting used to Linux but finding it quite enjoyable (dispite this little problem), and doing some quite advanced things with it which I am really pleased with.

Thanks,
Jez
This might be a bit late but if you uninstall NetworkManager you need to make sure to turn on the Network service because I don't think it will do it automatically. To do this in fedora run:
#chkconfig network on
#service network start

[EDIT]
I tested this out on fedora 12 and to get it to work I had to edit the file /etc/sysconfig/network-scripts/ifcfg-eth1 and set onboot to yes.
Note: you replace eth1 with your network adapter.

Last edited by jjcf89; 12-05-2009 at 11:49 AM.
 
Old 12-05-2009, 11:59 AM   #9
lwasserm
Member
 
Registered: Mar 2008
Location: Baltimore Md
Distribution: ubuntu
Posts: 184

Rep: Reputation: 41
On a sysv init system recent versions of Network Manager can be stopped by

Code:
# /etc/init.d/NetworkManager stop
If your system has the "service" command you can also use "service NetworkManager stop"

To prevent NM from running at startup you can remove the link to /etc/init.d/NetworkManager from your default runlevel etc/rcX.d directory.

Some older versions of NM were started/stopped by the dbus init script, e.g on ubuntu 8.04 these commands were needed:
Code:
/etc/dbus-1/event.d/25NetworkManager stop
/etc/dbus-1/event.d/26NetworkManagerDispatcher stop
Replace "stop" with "start" in the same commands to restart NM.

FYI, using your gui desktop/preferences/session menu likely just stops the NM applet that appears in your system tray, not NetworkManager itself.
 
Old 01-27-2010, 11:33 PM   #10
scunning
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Rep: Reputation: 1
Disable Network Manager

Quote:
Originally Posted by jjcf89 View Post
This might be a bit late but if you uninstall NetworkManager you need to make sure to turn on the Network service because I don't think it will do it automatically. To do this in fedora run:
#chkconfig network on
#service network start

[EDIT]
I tested this out on fedora 12 and to get it to work I had to edit the file /etc/sysconfig/network-scripts/ifcfg-eth1 and set onboot to yes.
Note: you replace eth1 with your network adapter.
In Fedora 11 ( and other RedHats) there is an easier way
System >> Administration>> Network
this opens up system-config-network
choose your Ethernet interface and hit EDIT
there is a tick box to manage with NetworkManager
untick this box
then activate the interface
this will set-up your interface correctly and it will look like this :
/etc/sysconfig/network-scripts/

[root@loge-2 network-scripts]# more ifcfg-eth0
# Networking Interface
DEVICE=eth0
HWADDR=00:13:20:4F:21:76
BOOTPROTO=dhcp <<<<<<<< You want this too probably
TYPE=Ethernet
NM_CONTROLLED=no
ONBOOT=yes <<<<<<This is what you want !!
USERCTL=yes
PEERDNS=yes
IPV6INIT=no

You will still have NetworkManager in your computer but in an inactive state. Although un installing it does feel better !
 
Old 10-17-2012, 09:43 AM   #11
dsaint63
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
Thumbs up Debian is using upstart

I think only Debian is using a new startup directory for some services at /etc/init and network-manager is one of them.

1. Edit the file: /etc/init/network-manager.conf

2. Comment out the the stop and start lines by preceeding them with a #
# start on (local-filesystems
# and started dbus)
# stop on stopping dbus

Who is John Galt anyway?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How To: Use PEAP with NetworkManager worldgnat Linux - Wireless Networking 0 07-30-2007 05:25 PM
NetworkManager on Slackware 10.2 baryonyx Linux - Networking 5 02-15-2007 01:38 AM
How Do I start NetworkManager? lonecrow Linux - Software 12 09-28-2006 05:53 AM
Besides NetworkManager, shreks Fedora 1 01-18-2006 02:26 AM
NetworkManager baparekh Linux - Networking 1 07-28-2005 04:05 AM


All times are GMT -5. The time now is 11:44 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration