Backtrack 2 kismet with usb DWL-G122 B1
This is about using kismet in backtrack 2 with dlink usb wireless, here’s what i did to make it work :
1. boot backtrack 2 live cd, login, do startx and open a terminal window.
2. $ vi /etc/kismet/kismet.conf and find the line source= and change it to this :
source=rt2500,rausb0,rausb0
save the file and then run
$ kismet
on kismet console press h button on your keyboard to get help
Now to connect to a wireless access point with wpa:
1. get out from kismet with shift+q
2. this is assuming the access point provides dhcp. do :
$ vi iwconfig
press i button on your keyboard and then write these lines :
#!/bin/bash
ifconfig rausb0 up
iwpriv rausb0 enc 3
iwpriv rausb0 auth 3
iwconfig rausb0 essid “The_AP_Essid”
sleep 1
iwpriv rausb0 wpapsk “The_Passphrase”
sleep 1
iwconfig rausb0 essid “The_AP_Essid”
iwconfig rausb0 mode managed
dhcpcd rausb0
ifconfig -a
press escape button and then save the file and get out by giving :wq command
3. $ chmod 755 iwconfig
4. $ ./iwconfig
it should work. i’ve also tried this on ubuntu feisty and it work, but sometimes the connection dies, so need to run the script again. btw, on ubuntu you need to add sudo in front of every lines in the script except #!/bin/bash







