[ubuntu-us-ut] stopping network manager
Charles Curley
charlescurley at charlescurley.com
Sun Oct 28 06:27:34 GMT 2007
On Sat, Oct 27, 2007 at 11:00:46PM -0700, jtaber wrote:
> How can you turn off network manager? ie you're at a cafe - you connect
> to the wireless, get some email, now you want off the wireless system to
> work on some confidential stuff. Just right-clicking on icon to turn
> off wireless doesn't seem to break the connection (or it restarts
> itself). Is there a command line like /etc/network-manager off or some
> such
Based on a quick experiment:
killall NetworkManager
Then click on the applet; that kills it. (??)
To bring it back up,
/usr/sbin/NetworkManager --pid-file /var/run/NetworkManager/NetworkManager.pid
I have a script that NM runs which selects an apropriate firewall,
depending on whether one is at home or not, and does a few other
things. Once I make sure it runs with Ubuntu, I'll publish it.
--
Charles Curley /"\ ASCII Ribbon Campaign
Looking for fine software \ / Respect for open standards
and/or writing? X No HTML/RTF in email
http://www.charlescurley.com / \ No M$ Word docs in email
Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/ubuntu-us-ut/attachments/20071028/49ff6a9e/attachment.pgp
More information about the ubuntu-us-ut
mailing list