You are viewing fallenpegasus

entries friends calendar user info My Website Previous Previous Next Next
Mark Atwood - Howto list and delete networks from Linux NetworkManager
fallenpegasus
fallenpegasus
Add to Memories
Share
Howto list and delete networks from Linux NetworkManager
If you are running a Linux laptop that uses NetworkManager, you can get a list of every wireless network that NetworkManager knows about by doing

gconftool-2 --all-dirs /system/networking/wireless/networks

If you want to delete one, do

gconftool-2 --recursive-unset /system/networking/wireless/networks/BADNETWORKNAME

I find this useful when I'm in a venue, such as a tech conference, where there is both a free conference wireless network, and a paid wireless network run by the convention center. If you ever accidentally associate with the paid network, then whenever the signal strength of the paid network is higher, NetworkManager will prefer it to the free one. The fix is to delete the paid network data from the gconf database.

Tags: , , ,
Current Location: OSCON 2007, Oregon Convention Center, Portland OR
Current Mood: geeky
Current Music: Code Like A Pythonista: Idiomatic Python, by David Goodger

profile
Mark Atwood
Name: Mark Atwood
Website: My Website
calendar
Back August 2013
123
45678910
11121314151617
18192021222324
25262728293031
page summary
tags