Hello! Please, could someone help me with setting up ieee8021x on (OpenWRT flashed) TP-LINK TL-WR1043ND (v. 1.8). It is used as authorization method on campus LAN.
I tried to use xsupplicant (1.2.8-3) with several different configurations, but it doesn't work. Also, I tried wpa_supplicant, but it also doesn't work.
On my laptop I use the following wpa_supplicant config, and it works perfectly:
ctrl_interface=/var/run/wpa_supplicant_umrnet_lan
ctrl_interface_group=0
eapol_version=2
ap_scan=0
network={
key_mgmt=IEEE8021X
eap=TTLS
phase1=""
phase2="auth=PAP"
ca_cert="/etc/ssl/certs/Deutsche_Telekom_Root_CA_2.pem"
anonymous_identity="***"
identity="***"
password="***"
}
But when I try to run wpa_supplicant with similar config on my router, I'm getting:
Line 18: unknown network field 'eap'.
Line 19: unknown network field 'phase1'.
Line 20: unknown network field 'phase2'.
Line 21: unknown network field 'ca_cert'.
Line 22: unknown network field 'anonymous_identity'.
Line 23: unknown network field 'identity'.
Line 24: unknown network field 'password'.
Line 25: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant.conf'.
I tried the following config for xsupplicant:
network_list = default
network_list = default
default_netname = default
logfile = /var/log/xsupplicant.log
default
{
type = wired
association_type = open
allow_types = eap_ttls
force_eapol_ver = 2
identity = "***"
eap-md5 {
username = ***
password = "***"
}
eap-ttls {
root_cert = /etc/Deutsche_Telekom_Root_CA_2.pem
chunk_size = 1398
random_file = /dev/random
phase2_type = pap
pap {
username = ***
password = "***"
}
}
}
When running xsupplicant -i eth0.2 I'm getting:
Starting XSupplicant v. 1.2.8
And in log file:
Couldn't get encryption capabilites!
No configuration information for network "(null)" found. Using default.
Also, I tried eap-md5, but still nothing...
What should I do? Please, help...