LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   ipw2200 WPA-PSK (https://www.linuxquestions.org/questions/linux-wireless-networking-41/ipw2200-wpa-psk-544362/)

pyre 04-08-2007 03:57 PM

ipw2200 WPA-PSK
 
Yes I searched google, google/linux, and this forum, and I cannot find the answer...

I have just taken up WPA-PSK now that I've realized the little effort it takes to crack WEP. Unfortunately, Its not working for me on my laptop running Slackware (Backtrack2) with IPW2200.


# iwconfig eth0 key aaaa1bbbb
Error for wireless request "Set Encode" (8B2a) :

# iwconfig eth0 key restricted aaaa1bbbb
Error : unrecognised wireless request "aaaa1bbbb"

So I try wpa_supplicant...

# wpa_supplicant -i eth0 -D wext -c /etc/wpa_supplicant.conf

Line 9: failed to parse ssid '(my_ssid)'.
Line 9: failed to parse ssid '(my_ssid)'.
Line 14: Invalid PSK 'aaaa1bbbb'.
Line 14: failed to parse psk 'aaaa1bbbb'.
Line 15: WPA-PSK accepted for key management, but no PSK configured.
Line 15: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant.conf'.


here is: /etc/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

network={
scan_ssid=0
ssid=(my_ssid)
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk=aaaa1bbbb
}

hope this makes sense, any help is appreciated.

pyre 04-08-2007 04:52 PM

ok, problem #1 fixed which leads to problem #2...

first, in the wpa_supplicant.conf file

ssid="my_ssid" (put in QUOTES!)
psk="PSK" (again...quotes)

also, make sure you type your key is CORRECTLY entered (DUH!)

however, its not quite there...

# wpa_supplicant -i eth0 -D wext -c /etc/wpa_supplicant.conf

Trying to associate with AP_MAC_ADD (SSID='my_ssid' freq=2447 MHz)
Associated with AP_MAC_ADD
WPA: Key negotiation completed with AP_MAC_ADD [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to AP_MAC_ADD completed (auth) [id=0 id_str=]

at this point I do not get returned to the shell prompt and when I disconnect my wired port (eth1), no internet. Im close...any input appreciated.

TzeHeng 08-07-2007 04:02 AM

You do not get to return to the shell promt because wpa_supplicant is still running. Just open a new terminal and start dhcpcd for your adapter.

# dhcpcd eth0

You should now be connected =) Hope this helps.

p/s: To return to the shell promt after running wpa_supplicant, add -B option to run it in the background.

# wpa_supplicant -i eth0 -D wext -c /etc/wpa_supplicant.conf -B


All times are GMT -5. The time now is 11:30 PM.