OpenWrt Forum Archive

Topic: WiFi works only with no encryption

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

Hello

I have Asus WL-500g Deluxe Router andhave compiled the backfirefirmware from source:  Backfire (10.03, r21156).
I guess that I have forgotten to include components for encryption.
Which components I have to include (when compiling) for all encryption methods?

Thank`s in advance.

Have a nice day,
vedro

On brcm-2.4 you need "nas", on brcm47xx you need "wpad-mini" (for WPA(2) PSK) or "wpad" for WPA Enterprise

Hello

Thank`s for the fast reply.
Hmm, I have included those packages in my build. I have installed: wpa-supplicant-mini, wpad, wpad-mini.
I have brcm47xx

What else could be the problem?

Have a nice day,
vedro

You only need one of the three. wpa-supplicant only handles encryption in client mode, wpad supports both ap and sta mode.

Please paste your wireless configuration (make sure to strip out your key) and explain how you came to the conclusion that encryption does not work.
What kind of encryption do you mean? WEP? WPA-PSK, WPA2-PSK, WPA Enterprise?

~ Jow

Hello

I appreciate for the explanation. Next time I will use only the one of the packages.

My WiFi configuration:

config 'wifi-device' 'radio0'
        option 'type' 'mac80211'
        option 'channel' '5'
        option 'macaddr' '00:11:d8:8d:56:c7'
        option 'hwmode' '11g'
        option 'disabled' '0'

config 'wifi-iface'
        option 'device' 'radio0'
        option 'network' 'lan'
        option 'mode' 'ap'
        option 'ssid' 'testis'
        option 'encryption' 'psk2'
        option 'key' 'kretenko'

I blew it smile With this config the wifi works. I have used a password with 5 characters when the encryption (WPA2-PSK) did not work.
The way it did not work: there was no WiFi with my ESSID, and the wifi scanner did not find my network.

I apologize for the dumb "problem".

Thanks again for the help.

(Last edited by vedro on 25 Apr 2010, 23:12)

The discussion might have continued from here.