LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   WPA Supplicant issues (https://www.linuxquestions.org/questions/linux-wireless-networking-41/wpa-supplicant-issues-395770/)

Fritz_Monroe 12-22-2005 06:38 PM

WPA Supplicant issues
 
Sorry for the long post. Also, I have posted this to the Zenwalk forums, but I'm hoping to get additional assistance.

I am a newbie to Linux. I've been playing with it for a while, but not regularly. I bought a Sony Vaio VGN-FS743/W and decided to dual boot. I decided on Zenwalk because it's Slackware based and installs with the 2.6 kernel. The laptop has a Intel 2200 wireless adapter and I'm using a Linksys WRT54G wireless router and a cable modem.

I was able to get wireless up and running by installing the ieee80211 network stack, the driver for the card and the firmware update. I can get online if there is no security in use. But since security is part of the reason I am switching to Linux, this won't cut it. I then configured the router to use WPA with TKIP. I then followed the instructions on the Intel Pro Wireless 2200 + Slackware tutorial for the WPA portion. It seemed to install correctly. I then do

Code:

ifconfig eth1 up
wpa_supplicant -ieth1 -Dwext -c/etc/wpa_supplicant.conf &

I think I get connected to my wireless, but after about 5 minutes, I start receiving messages like this.

Code:

ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
recvfrom(netlink): No buffer space available
ioctl[SIOCSIWENCODEEXT]: Invalid argument
l2_packet_receive - recvfrom: Network is down
IOCSIWENCODEEXT]: Invalid argument
l2_packet_receive - recvfrom: Network is down
ioctl[SIOCSIWENCODEEXT]: Invalid argument
WPA: No assoc_wpa_ie set - cannot generate msg 2/4
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Trying to associate with 00:14:bf:8d:6c:cd (SSID='fritznet' freq=0 MHz)
Associated with 00:14:bf:8d:6c:cd
WPA: Failed to set PTK to the driver.
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys

I do an iwconfig and get the following
Code:

lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11g  ESSID:"fritznet"  Nickname:"zenwalk"
          Mode:Managed  Channel:11  Access Point: 00:14:BF:8D:6B:CD 
          Bit Rate=54Mb/s  Tx-Power=20 dBm 
          Retry limit:7  RTS thr:off  Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:91/100  Signal level:-37 dBm  Noise level:-83 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:128  Missed beacon:2

I also attempted to get an IP address from the router, but get the following from an ifconfig.
Code:

eth1      Link encap:Ethernet  HWaddr 00:13:CE:29:33:1A 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:4633 errors:0 dropped:140 overruns:0 frame:0
          TX packets:839 errors:0 dropped:8 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1263 (1.2 Kb)  TX bytes:4088 (3.9 Kb)
          Interrupt:10 Base address:0x8000 Memory:b0106000-b0106fff

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1624 (1.5 Kb)  TX bytes:1624 (1.5 Kb)

In case you need it, here's my wpa_supplicant.conf file.
Code:

network={
        ssid="fritznet"
        scan_ssid=1
        key_mgmt=WPA-PSK
        proto=WPA
        pairwise=TKIP
        group=TKIP
        #psk="mySecretKey"
        psk=mySecretKeyBytes
        priority=2
}

Thanks in advance for any help.

F_M

GROS MINET 12-28-2005 01:42 PM

ifconfig eth1 up
wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant.conf -dd &
network={
ssid="fritznet"
scan_ssid=1
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
#psk="mySecretKey"
psk=mySecretKeyBytes
priority=2
}
you can take teh option -dd that is the mode verbose
But I test in france the solution but has an error key cipher lenght (13) on WMP54G v4


All times are GMT -5. The time now is 12:11 AM.