OpenWrt Forum Archive

Topic: wpa_supplicant in kamikaze 7.07 with wpa2-psk on WHR-G54S not working

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi

I'm unable to get wpa2-psk to work with HP. and kamikaze 7.07.
I have configured the /etc/config/wireless as
config wifi-device  wl0
        option type     broadcom
#       option channel  5
        option mode     b

        # REMOVE THIS LINE TO ENABLE WIFI:
#       option disabled 1

config wifi-iface
        option device   wl0
        option network  lan
        option mode     sta
        option ssid     MyESSID
        option hidden   0
        option encryption psk2
        option key MyKey

and restarted. wpa_supplicant is not started...
BTW: Where is wpa_supplicant started. Have nothing found ...

I have also tried to use a wpa_supplicant.conf like
network={
        ssid="SomeESSI"
        mode=0
        key_mgmt=WPA-PSK
        auth_alg=OPEN
        proto=RSN
        pairwise=CCMP
        group=CCMP
        psk=....
}
and start with
  wpa_supplicant -ddddddd -Dwext -iwl0 -c /etc/wpa_supplicant.conf.WPA-PSK
no chance.
If you start wpa_supplicant in debug mode you can see that
  WEXT auth param 7 value 0x1 - Driver does not support WPA.
So what's wrong?
BTW: I have also tried tkip, same problem
I have no problems with whiterussion rc5 nor 0.9 and nas so what's wrong?
BTW: wpa_supplicant version I have found is 0.5.7-1.

I then tried to use the nas packages but it seems that the options have changed since whiterussion 0.9.
I tried to start like in whiterussion 0.9 with
  /usr/sbin/nas -P /var/run/nas.lan.pid -H 34954 -i eth1 -S -m 128 -k MyKey -s MyESSID -w 4 -g 3600
and this gives the error
  Command line parsing error. Quitting...

Any help? Nobody using wpa-psk with buffalo ap (ok I don't think this is a buffalo issue...)

Greetings

Beat

tkmbe wrote:

Hi

I'm unable to get wpa2-psk to work with HP. and kamikaze 7.07.
I have configured the /etc/config/wireless as
config wifi-device  wl0


....

I then tried to use the nas packages but it seems that the options have changed since whiterussion 0.9.
I tried to start like in whiterussion 0.9 with
  /usr/sbin/nas -P /var/run/nas.lan.pid -H 34954 -i eth1 -S -m 128 -k MyKey -s MyESSID -w 4 -g 3600
and this gives the error
  Command line parsing error. Quitting...

If your wireless interface is wl0 why you say -i eth1 to nas ?

I believe that you are supposed to use the broadcom driver (-Dbroadcom) in wpa_supplicant.  Even so, it will not work.  There is a bug posted for wpa_supplicant on this http://www.w1.fi/bugz/show_bug.cgi?id=202.  I gave up trying to make a WPA client out of my Buffalo AP.

For Broadcom wireless chipsets you need nas. For Atheros wireless chips you need wpa-supplicant.

wpa-supplicant will NOT work with Broadcom wireless...

(Last edited by forum2006 on 21 Aug 2007, 13:34)

The discussion might have continued from here.