Comment 44 for bug 39707

Revision history for this message
Kevin Hunter (hunteke) wrote :

Hmm, so I just uninstalled both network-manager, and network-manager-gnome via synaptic. I used the "Mark for Complete Removal" option. I rebooted to see what happens from a "fresh start". First time it seemed to work, almost immediately. Cool.

If another end-user wants to try this, here's how to fix your internet connection from the command line. (I don't know how to do this for encrypted network connections, so keep in mind this for unencrypted connections.)

Prior to uninstalling network-manager*, you need to collect the ESSID (name) of your wireless network, and your wireless device (card):

$ iwconfig
  # find the device name, and the associated with the network.
  # Note the ESSID field of your network.
  # The device associated with the ESSID is what you want.
  # The device name will end in a '0'. Common names: eth0, eth1, wlan0

Uninstall network-manager* utilities via System->Administration->Synaptic Package Manager. First, click the Reload button (to be sure you have the most-recent knowledge of the repositories.) Then, click the search button and search for 'network-manager'. Select your installed packages and right-click on them. I suggest the "Complete Removal" option. Click apply.

Then, to get your network back, so you can reinstall those same packages:

$ sudo iwconfig <device_name> essid <network_name>
  # My command was 'sudo iwconfig wlan0 essid YosemiteW'
$ sudo dhclient <device_name>
  # My command was 'sudo dhclient wlan0'