Wireless on BackTrack5 and Samsung NC10



How to connect to a WPA encrypted access point in BackTrack5 using wpa_supplicant and a Samsung NC10. Read on...



1. Create the encryption configuration:
vi /etc/wpa-supplicant.conf



For WPA2 use the following format:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1

network={
ssid="my_network"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="secret_password"
}


2. Fire up the encryption configuration to associate with the access point:

wpa_supplicant -d -Dwext -iwlan0 -c/etc/wpa_supplicant.conf


3. Bring up the network interface on the wireless card:
ifconfig wlan0 up


4. Obtain an IP address using DHCP:
dhclient wlan0

No comments:

Post a Comment