Setting up wireless in Ubuntu terminal

The following steps aims to set up wireless with WPA configuration for Linksys WUSB54G on Ubuntu using command line. They have worked for me and I’m just taking notes and sharing what I did. Hopefully you’ll find it helpful if you need to go through the same process. My Ubuntu version is 9.04 but this should work in newer versions too.


You’ll need to have wpasupplicant If you don’t already have wpasupplicant:

[code lang=”bash”]sudo apt-get install wpasupplicant[/code]

Obtaining your WPA psk in /etc/wpa_supplicant.conf

You can use wpa_passphrase to generate a configuration file for your /etc/wpa_supplicant.conf. In the following example, my wireless SSID is ‘MySSID’ and my passphrase is ‘text passphrase’. Continue reading “Setting up wireless in Ubuntu terminal”