Friday, June 18, 2010

How to scan and connect wireless networks in Backtrack 4

Original link: http://forums.remote-exploit.org/newbie-area/23532-how-scan-connect-wireless-network-point-command-line.html

wireless key - security key
essid - network name
ifconfig - Enables your wireless device
iwlist - lists available access points
iwconfig - configuring wireless connection
dhclient - to get an ip address via DHCP

step 1 - Enable wireless device.
Enter the command:-ifconfig wlan0 up

Where 'wlan0' is the name of your wireless device - if your not sure what yours is key 'iwconfig' at the command prompt


step 2 - scan for networks
iwlist wlan0 scan

You will then be given a list of available networks in range


step 3 - configure connection iwconfig wlan0 essid (network name) key (wireless key)eg
iwconfig wlan0 o2wireless key 5405507cd1

Note this is for a HEX key for ascii you have to add 's:' after 'key' as in..iwconfig wlan0 essid key s: wireless key


Step 4 Request an ip address via DHCPdhclient wlan0

No comments:

Post a Comment