Re: How to start and stop NetworkManager?

Oops, I originally replied as below to Darren and not the list - - Sorry Darren

On 11/07/2007 05:20 PM, Darren Albers wrote:
On Nov 7, 2007 7:30 PM, Rob Frohne <frohro wallawalla edu> wrote:

I am using Ubuntu Gutsy and have discovered that when I suspend my
laptop (a Dell D600) I cannot connect to the network after resuming
sometimes.  I cannot get it going with an ifup, as it complains that
there are no interfaces defined (and they are not
in /etc/network/interfaces anymore).  I thought I had the problem fixed
by killing NetworkManager in
the /etc/acpi/suspend.d/, and starting in again
in /etc/acpi/resume.d/, but after a few suspend cycles, I have
another problem.  It acts like NetworkManager cannot decide which
wireless network to connect to, and I keep loosing my connection.  If I
reboot, it works flawlessly until I've suspended a few too many times.
It also works fine when there aren't too many choices of networks even
after a number of suspend cycles.  I suspect I am killing NetworkManager
at a bad time, and confusing its database or something.  I can't find
any information on how to stop and start NetworkManager.  NetworkManager
start and NetworkManager stop don't seem to work for me.  Can anyone
point me in the right direction?




With Debian and Ubuntu it is:
sudo /etc/dbus-1/event.d/25NetworkManager restart
sudo /etc/dbus-1/event.d/25NetworkManager stop
sudo /etc/dbus-1/event.d/25NetworkManager start

What I have done in the past is
sudo /etc/init.d/dbus restart [stop][start]

which I guess takes down dbus, hal and NM and restarts them. Why would you do one rather than the other for what you are trying to do? I suppose I am displaying my ignorance at what dbus and hal actually do other than run the wireless card / network interface. Can anyone enlighten?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]