Thursday, August 14, 2008

CONNECT TO WIRELESS LAN IN UBUNTU

If your wireless card is properly installed use the following command for connect to a wireless access point

sudo ifconfig eth0 down
sudo ifconfig wlan0 down
sudo dhclient -r wlan0
sudo iwconfig wlan0 essid "ESSID_IN_QUOTES"
sudo iwconfig wlan0 mode Managed
sudo ifconfig wlan0 up
sudo dhclient wlan0

No comments: