Helpful Commands to Connect to Wireless Access Point

First after booting up, you can always run dmesg | grep eth to make sure your wirless card is seen. Then if you are within range of an access point and you know the ESSID and WEP key, follow these commands. This is assumeing your wireless card is eth0.

Then run iwconfig again to make sure the essid is showing, and you have a valid MAC showing. Now you bring the interface back up, by running

Now, you need to obtain and IP address. Hopefully the access point has DHCP running, so run

or you can just remove the card and re-insert it and that should obtain an IP address, if your slack is set up to recieve DHCP. You can always run ifconfig and iwconfig to check the settings.

Linux, Wireless

Leave a Reply

Comment
Name*
Mail*
Website*