I am a Ubuntu Linux user. On my laptop and at work, I was running "Breezy Badger" (Ubuntu Linux 5.10) since last fall.
But one of the worst things about it was its inability to connect to WPA-encrypted Wifi access points. Eventually, I wrote a few shell scripts that made me able to connect to my AP at home, but it was far from being handy.
Now yesterday, I installed the new release, Dapper Drake on my laptop. The installation was straightforward, and by the way I liked it a lot that the installation CD is a live CD at the same time so that new users can "try before they buy".
When everything was installed, I realized that my wifi card was recognized and activated automatically, yet I was not able to connect to a WPA encrypted network. Instead it tried to connect to one of my neighbors unencrypted access points. Downgrading my connection to the demonstrably weak WEP encryption was not an option earlier, nor was it now.
Already being a little disappointed, I searched the Ubuntu forums and after a while, I came up with a thread about WPA access points with Ubuntu Dapper Drake.
In short: Nine seven steps to WPA encrypted Wifi with Ubuntu Dapper Drake:
sudo apt-get install wpasupplicant
(might already be installed)- (You might have to do a
sudo apt-get update
in order to fetch the newest metadata for apt-get) sudo apt-get install network-manager-gnome
sudo gedit /etc/network/interfaces
-- Comment out everything but "lo
" entries in that fileCreate a file called/etc/default/wpasupplicant
, add entryENABLED=0
- Reboot your system
- Left-click the network manager icon in Gnome and select your wireless network
- Follow the prompts for password, type, etc.
- It will ask you to choose a password for your new "keyring".
- Be happy ;)
Now everytime you boot up and log in, the network manager will connect you to your preferred WPA-encrypted network as desired.
There are only two caveats that I currently know of:
- The connection is only made once you log into Gnome. So if you plan to run this connection on a server or if you need a network connection before you get to the login prompt (i.e. during bootup), this method is not ideal for you.
- A current bug is that you are asked for your keyring password twice (?) everytime you log in. This can be annoying, but rumor has it, it is already fixed and an update will be released soon.
As you see, Dapper Drake made a big step towards the usability of Linux on laptops. Hope you give it a shot. It seems to be worth it.
Update: Removed two unnecessary steps. Thanks, Martin and Zakaria!