Connect to Wireless Network (WEP) in Ubuntu 11.04 using Command Line

Check wireless adapter: $ iwconfig You will see wireless adapter as wlan0 or ath0 which depends on what driver is installed. Execute the following command to apply ESSID, network key, channel, and mode: $ sudo iwconfig wlan0 essid yantoknuk-singtel $ sudo iwconfig wlan0 channel 6 $ sudo iwconfig wlan0 key ngumbahkucing $ sudo iwconfig wlan0…

Read More

Connect to Wireless Network (WPA) in Ubuntu 11.04 using Command Line

Install wpa supplicant package: $ sudo apt-get install wpasupplicant Configure network ESSID and passphrase. In this example I use ESSID ‘yantoknuk-singtel’ and passphrase ‘ngumbahkucing’. $ wpa_passphrase yantoknuk-singtel # reading passphrase from stdin After that, type in your passphrase right below the text ‘# reading passphrase from stdin’. # reading passphrase from stdin ngumbahkucing network={ ssid=”yantoknuk-singtel”…

Read More