Connecting to WPA-TKIP Network From Terminal | Linux

Hello guys!
I am a BackTrack user and currently it’s version 4 R2 (grab yours from here), so every time I try to launch the GUI Network Manager it fails. So here’s how to connect to your WPA/WPA2 TKIP secured WLAN.

  • First of all, you need a tool called “wpasupplicant”
  • Create a new file and place it in /etc
  • name it wpa_supplicant.conf

In the terminal or Kwrite edit the wpa_supplicant.conf configuration file. I will use the “nano” command in the terminal

sudo nano /etc/wpa_supplicant.conf

Add the following and change it accordingly

ssid=”Your Network SSID Ex. Speedtouch in Quotes”
psk=”Your ASCII PSK Password in Quotes”

Then type the following code!

ifconfig [interface] down
dhclient -r [interface]
wpasupplicant -i [interface] -c /etc/wpa_supplicant.conf -dd

Then fire up another terminal and let the current one running.

ifconfig [interface] up
iwconfig [interface] mode Managed
dhclient [interface]

After that you will get your connection.
By the way [interface] must be replaced by your interface’s id, example, wlan0
Happy “Linuxing”


About abedazaben

Abed Ahmad Al-Zaben, interseted in computer programming and ethical hacking,undergraduate (Telecommuncation Engineering) View all posts by abedazaben

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: