This question already has an answer here:
I am using my WiFi network adapter on the laptop to connect to the internet on Ubuntu 10.04. I have tried the following steps and got the below messages on the Ubuntu terminal. Please let me know what has gone wrong. Thank you.
I have used the following instructions I have seen on a web page.
Open the terminal.
ifconfig wlan0and press Enter. You will not see any output in the terminal, as this command just turns your wireless card on. Most wireless cards are designated
wlan0. If yours has a different designation, use that instead.
iwconfig wlan0 essid name key passwordand press Enter. Replace
namewith the actual network name, and replace
passwordwith the actual security key for the network. If your wireless network does not require a security key, do not enter
dhclient wlan0and press Enter to obtain an IP address and connect to the WiFi network.
What I see on the terminal are given below.