The Hopeful Hacker Wireless Ubuntu



    Tech Basics

Related Links

    Hopeful Hacker Blog

Other Sites

 Brain Dump

Wherefore WiFi

Ubuntu comes with a network manager that can connect you to a wireless network, but it's hit or miss.

Specifically, it'll link you to an open system or one using WEP encryption, but not to one using the newer, more secure WPA encryption.

The web is full of advice addressing this problem, but most of it is complex, confusing and wrong. 

The best instructions I've found are on a site called  Here's a like to the complete instructions, including some screen shots.

I've copies the key points below.

Connecting Ubuntu to WiFi with WPA

You're going to set it up using the command line, so the first step is to open the terminal.  Go to Applications > Accessories > Terminal.  Then start typing.

To update the source list run the following command:

sudo apt-get

sudo apt-get install wpasupplicant

sudo apt-get install network-manager-gnome network-manager

sudo gedit /etc/network/interfaces

Comment out everything other than “lo” entries in that file and save the file (that means put a # at the beginning of every line that doesn't include "lo").

Create a file called /etc/default/wpasupplicant by using this command:

sudo touch /etc/default/wpasupplicant

  add entry ENABLED=0 and save the file

Reboot your system or use the following command

sudo /etc/init.d/dbus restart

Once you login back in to your machine you need to left-click the network manager icon in Gnome and select your wireless network It should prompts for password, type, etc and It will ask you to choose a password for your new “keyring”.