OpenWrt Forum Archive

Topic: WPA authentification

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

Hi,
I would enable an authentification on my wrt54g but I can not have a server always up for that. I would know if it is possible to do wpa+tkip authentification only wih the wrt, if yes how to do that (I don't find on it the Openwrt documentation).

Thank you for your help.
Tony

http://openwrt.org/OpenWrtDocs/Configur … 4840eb7144

Follow section 3.3, and make sure you install the nas and driver package below the 3.3 header. That will allow you to use WPA authentication.

The NAS package requires no configuration for WPA as long as your nvram is set correctly.

Below is a grep from a working WPA installation:

root@OpenWrt:~# ipkg list
nas - 3.90.37-7 -
wl - 3.90.37-1 -


root@OpenWrt:~# nvram show | grep wl0 | sort
wl0_akm=psk
wl0_closed=1
wl0_crypto=aes+tkip
wl0_mode=ap
wl0_ssid=<insert your ssid>
wl0_wpa_psk=<insert your pre-shared key/WPA password>

OK, thank you, it seem to work, but I can't connect my computer, here is my wpa_supplicant.conf file :

ctrl_interface=/var/run/wpa_supplicant
ap_scan=0

network={
ssid="nunux"
psk="My passphrase"
priority=5
}

I launch wpa_supplicant like this :

# wpa_supplicant -d -iwlan0 -c/etc/wpa_supplicant.conf -Dndiswrapper

I have this error :

Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 653 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 2
0: 00:0f:66:5b:57:b9 ssid='' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
1: 00:03:c9:a9:6c:68 ssid='' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
No suitable AP found.

iwlist wlan0 scan say that encryption key is on and Extra:wpa_ie=dd1c0050f20101000050f20202000050f2040050f20201000050f2020000

I don't anderstand how to connect with wpa hmm

The discussion might have continued from here.