diegor
07-19-2008, 11:38 AM
Hi people, anyone use EAP-TLS with certificates on NS5? This feature is not available on the ubnt firmware.
I'm trying to recompile with SDK. In the system.cfg i put the lines below:
wpasupplicant.status=enabled
wpasupplicant.device.1.status=enabled
wpasupplicant.device.1.devname=ath0
wpasupplicant.device.1.driver=madwifi
wpasupplicant.profile.1.network.1.proto.1.name=RSN
wpasupplicant.profile.1.network.1.pairwise.1.name=CCMP
wpasupplicant.profile.1.network.1.group.1.name=CCMP
wpasupplicant.profile.1.network.1.ssid=test-eaptls
wpasupplicant.device.1.profile=WPA-EAP-TLS
wpasupplicant.profile.1.name=WPA-EAP-TLS
wpasupplicant.profile.1.network.1.key_mgmt.1.name=WPA-EAP
wpasupplicant.profile.1.network.1.eap.1.name=TLS
wpasupplicant.profile.1.network.1.identity=Diego Russo
wpasupplicant.profile.1.network.1.ca_cert=/usr/etc/cert/cacert.pem
wpasupplicant.profile.1.network.1.client_cert=/etc/cert/CPE_cert.pem
wpasupplicant.profile.1.network.1.private_key=/etc/cert/CPE_key.pem
but the generated file (/etc/wpasupplicant_WPA-EAP-TLS.conf) is:
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="test-eaptls"
proto=RSN
key_mgmt=WPA-EAP
pairwise=CCMP
group=CCMP
eap=TLS
scan_ssid=1
priority=1
identity="Diego Russo"
}
It seems that ignore the last three line, where i set the certificates. Besides it ignore this line:
wpasupplicant.profile.1.network.1.group.1.name=CCMP
Maybe ubntbox doesn't recognize these parameters.
So i can set the wpa_supplicant file configuration throught script positioned on /etc/persistent/rc.poststart (or another rc.* file)?
I'm trying to recompile with SDK. In the system.cfg i put the lines below:
wpasupplicant.status=enabled
wpasupplicant.device.1.status=enabled
wpasupplicant.device.1.devname=ath0
wpasupplicant.device.1.driver=madwifi
wpasupplicant.profile.1.network.1.proto.1.name=RSN
wpasupplicant.profile.1.network.1.pairwise.1.name=CCMP
wpasupplicant.profile.1.network.1.group.1.name=CCMP
wpasupplicant.profile.1.network.1.ssid=test-eaptls
wpasupplicant.device.1.profile=WPA-EAP-TLS
wpasupplicant.profile.1.name=WPA-EAP-TLS
wpasupplicant.profile.1.network.1.key_mgmt.1.name=WPA-EAP
wpasupplicant.profile.1.network.1.eap.1.name=TLS
wpasupplicant.profile.1.network.1.identity=Diego Russo
wpasupplicant.profile.1.network.1.ca_cert=/usr/etc/cert/cacert.pem
wpasupplicant.profile.1.network.1.client_cert=/etc/cert/CPE_cert.pem
wpasupplicant.profile.1.network.1.private_key=/etc/cert/CPE_key.pem
but the generated file (/etc/wpasupplicant_WPA-EAP-TLS.conf) is:
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="test-eaptls"
proto=RSN
key_mgmt=WPA-EAP
pairwise=CCMP
group=CCMP
eap=TLS
scan_ssid=1
priority=1
identity="Diego Russo"
}
It seems that ignore the last three line, where i set the certificates. Besides it ignore this line:
wpasupplicant.profile.1.network.1.group.1.name=CCMP
Maybe ubntbox doesn't recognize these parameters.
So i can set the wpa_supplicant file configuration throught script positioned on /etc/persistent/rc.poststart (or another rc.* file)?