Hi all, today i was working on a Fonera (2200 model) with OpenWRT 8.09.1,
My idea was to connect the fonera to a wireless network as client.
This wireless network uses WPA-EAP encryption with TLS.
So to connect I need to use a public key, a private key, a username and a password.
After flashing of the firmware on the fonera i've connected to the luci interface by web, and i've configured a new interface ath0 used in client mode, then i've setted the wpa-eap and the TLS.
Then I can insert private key and public key and the password but, unfortunately, not the username.
Indeed the connection does not seems to work.
So i thought: "I can anyway do it from shell", I've tried to copy private, public key
and a wpa_supplicant.conf config file wich looks like this:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
network={
ssid="internet"
proto=WPA
key_mgmt=WPA-EAP
auth_alg=OPEN
pairwise=TKIP
eap=TLS
anonymous_identity="S123456"
ca_cert="/etc/asi.cer"
private_key="/etc/Certificate.p12"
private_key_passwd="secret"
phase2="auth=MSCHAPV2"
}
Wich is the same that i use on my laptop to connect to this wireless network.
Then i've tried to do:
wpa_supplicant -Dmadwifi -iath0 -c/etc/wpa_supplicant.conf
but i get a strange error like
"Error while parsing key file" or something similar, so i thought:
"Is Wpa_supplicant compiled on OpenWRT with TLS key file support?"
Maybe the answer is "no".