OpenWrt Forum Archive

Topic: wpa supplicant in experimental

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

unless i'm totally missing something (not out of the question), i believe that in the experimental build, i.e., as of 3.37.2 firmware, wpa supplicant is built into the wl.o driver.  in other words, you don't need to nas to run a wpa client.

what you do need, as far as i can tell, is the following settings

wl0_mode=wet
wl0_auth_mode=psk
wl0_wpa_psk=<your_preshared_key>

NB: wl0_mode=sta will NOT work. You do not need to have wl0_crypto or wl0_wpa_gtk_rekey set (but wlconf actually resets them to defaults) and, as far as I can tell, it doesn't matter to what you set wl0_wep.

this seems to work on my setup, and seems to also be backed up by my reading of wlconf.c (starting at line 641).  anyone else care to test and confirm?

HI Sam,

I can confirm this!
I've a seperated wlan interface (not bridged) and set the nvram as you said.
I'am using that one as a station, its working!
wl0_mode=sta is indeed not working wl0_mode=wet is ok.

Greetings,
Fabe

Guys,

Do I need nas for wl0_mode=ap?

Thanks

uhop wrote:

Guys,

Do I need nas for wl0_mode=ap?

Thanks

yes.  if you want wpa.

I tested this for a couple of time, but not working.. I run the nas by hand on the AP and this works fine.

Is somebody successfull using WPA-Radius (WPA-supplicant) with username and password (not certificate).

@ canaram: do you mean wpa-radius with a captive portal? And all on one machine? The WRT?
I want to do the same.

The discussion might have continued from here.