wpa_supplicant + madwifi-ng + kernel 2.6.14 problems

Timo Pannes timo.pannes
Mon Jan 16 18:45:36 PST 2006


Hi,

since I upgraded to kernel 2.6.14 and the new madwifi-ng drivers I can't 
connect to my AP using wpa_supplicant. 
I am using Gentoo Linux with madwifi-driver + tools from brix' portage overlay 
(version 0.1397.20060115) and wpa_supplicant v0.5.0. 
The AP is self-made with hostapd and works well with various WinXP clients, so 
this can't be the problem.


Here is the output from wpa_supplicant:


> wpa_supplicant -ddd -i ath0 -c /etc/wpa_supplicant.conf -D madwifi
Initializing interface 'ath0' conf '/etc/wpa_supplicant.conf' driver 'madwifi' 
ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0
eapol_version=1
ap_scan=0
Line: 7 - start of a new network block
ssid - hexdump_ascii(len=13):
     77 65 6c 6c 65 6e 72 65 69 74 65 72 32            wellenreiter2   
proto: 0x3
key_mgmt: 0x2
pairwise: 0x18
group: 0x18
PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED]
priority=2 (0x2)
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 2
   id=0 ssid='wellenreiter2'
Initializing interface (2) 'ath0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=19 WE(source)=13 enc_capa=0x0
  capabilities: key_mgmt 0x0 enc 0x3
Own MAC address: 00:09:ff:ff:ff:ff
wpa_driver_madwifi_del_key: keyidx=0
wpa_driver_madwifi_del_key: keyidx=1
wpa_driver_madwifi_del_key: keyidx=2
wpa_driver_madwifi_del_key: keyidx=3
wpa_driver_madwifi_set_countermeasures: enabled=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Added interface ath0
Wireless event: cmd=0x8b06 len=8
Ignore event for foreign ifindex 4
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added


>lsmod
Module                  Size  Used by
wlan_scan_sta          13056  1 
ath_pci                86688  0 
ath_rate_amrr           7300  1 ath_pci
wlan                  177244  4 wlan_scan_sta,ath_pci,ath_rate_amrr
ath_hal               197328  2 ath_pci
nvidia               3464316  12 
cpufreq_ondemand        5532  0 
toshiba_acpi            5268  0 


>ifconfig -a
ath0      Link encap:Ethernet  HWaddr 00:09:FF:FF:FF:FF  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

dummy0    Link encap:Ethernet  HWaddr 02:59:33:DD:C5:4C  
          BROADCAST NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0      Link encap:Ethernet  HWaddr 00:08:0D:FD:A1:63  
          inet addr:192.168.1.77  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3720 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3538 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3408449 (3.2 Mb)  TX bytes:446594 (436.1 Kb)

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:351 errors:0 dropped:0 overruns:0 frame:0
          TX packets:351 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:10305 (10.0 Kb)  TX bytes:10305 (10.0 Kb)

wifi0     Link encap:UNSPEC  HWaddr 
00-90-4B-DC-06-06-00-00-00-00-00-00-00-00-00-00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2077 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:199 
          RX bytes:0 (0.0 b)  TX bytes:95542 (93.3 Kb)
          Interrupt:3 Memory:e0ae0000-e0af0000 





When I try to get an IP the DHCP client times out... 
Any ideas?

Thanks in advance, 
Timo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20060117/6e95a4a0/attachment.pgp 



More information about the Hostap mailing list