problem with madwifi drivers

pepe perez reeopp
Thu Nov 25 03:56:29 PST 2004


Hi there!!!

First of all I must say I have only been running SuSE on my laptop for 2 
months so I'm a total newbie (just as a warning)

I'm trying t set up WPA_supplicant 0.2.5 with madwifi drivers (cvs 
20041021). I have compiled the madwifi drives properly (I think!!) according 
to web page:

http://madwifiwiki.thewebhost.de/wiki/MadwifiConceptronicC54COnRedHat9

and they seem to work:

Nov 25 12:23:50 dhcppc0 kernel: PCI: Enabling device 0000:03:00.0 (0000 -> 
0002)
Nov 25 12:23:50 dhcppc0 kernel: ath_pci: cache line size not set; forcing 32
Nov 25 12:23:50 dhcppc0 kernel: ath0: mac 5.9 phy 4.3 5ghz radio 4.6
Nov 25 12:23:50 dhcppc0 kernel: ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
Nov 25 12:23:50 dhcppc0 kernel: ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 
6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
Nov 25 12:23:50 dhcppc0 kernel: ath0: 802.11 address: 00:80:5a:22:11:78
Nov 25 12:23:50 dhcppc0 kernel: ath0: Atheros 5212: mem=0x10800000, irq=11
Nov 25 12:23:50 dhcppc0 kernel: Vendor = 0x168c   id=0x13 subsys: -1

I have also configure the .config for the wpa_supplicant:


CONFIG_DRIVER_MADWIFI=y
CONFIG_WIRELESS_EXTENSION=y
CONFIG_IEEE8021X_EAPOL=y
CONFIG_EAP_MD5=y
CONFIG_MSCHAPV2=y
CONFIG_EAP_TLS=y
CONFIG_EAP_PEAP=y
CONFIG_EAP_TTLS=y
CONFIG_EAP_GTC=y
CONFIG_EAP_OTP=y
CONFIG_EAP_SIM=y
CONFIG_EAP_AKA=y
CONFIG_EAP_PSK=y
CONFIG_EAP_LEAP=y
CONFIG_PCSC=y

I've updated the make file to look for the madwifi drivers

ifdef CONFIG_DRIVER_MADWIFI
CFLAGS += -DCONFIG_DRIVER_MADWIFI
CFLAGS += -I/usr/src/madwifi		# change to reflect local setup
OBJS += driver_madwifi.o
CONFIG_WIRELESS_EXTENSION=y
endif

everything seemed to compile properly (I don't have any log sorry). I did 
update the wpa_supplicant.conf file in /etc:

network={
ssid="mylan"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
priority=1
psk="mypassword"
}

but when I try to start supplicant:

dhcppc0:/home/oscar/wpa_supplicant-0.2.5 # wpa_supplicant -iwlan0 
-c/etc/wpa_supplicant.conf -d
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=1
Priority group 1
   id=0 ssid='xxxxxxxx'
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
ioctl[SIOCGIFINDEX]: No such device
wpa_driver_madwifi_set_wpa: enabled=0
ioctl[IEEE80211_IOCTL_SETOPTIE]: No such device
ioctl[IEEE80211_IOCTL_SETPARAM]: No such device
ioctl[IEEE80211_IOCTL_SETPARAM]: No such device
ioctl[IEEE80211_IOCTL_SETPARAM]: No such device
Failed to disable WPA in the driver.
wpa_driver_madwifi_set_drop_unencrypted: enabled=0
ioctl[IEEE80211_IOCTL_SETPARAM]: No such device
wpa_driver_madwifi_set_countermeasures: enabled=0
ioctl[IEEE80211_IOCTL_SETPARAM]: No such device
SIOCGIFFLAGS: No such device
dhcppc0:/home/oscar/wpa_supplicant-0.2.5 #

I suspected from the line "wpa_driver_madwifi_set_wpa: enabled=0" and Ive 
been searching for any information in the form, in fact there is a similar 
problem in september "Atheros 5212 and WPA issues" but I didn't fin any 
solution on there...

Does anybody have any idea???? A I told you I'm quite new and I'm pretty 
lost!!!
thanks anyway!
Oscar

Other info which may help: I'm running SuSE9.1 with kernel 2.6.4-52.. If you 
need any other information, please let me know!

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/





More information about the Hostap mailing list