Solved Configuring 802.1X Wired Authentication

Hello,

I'm trying to configure 802.1X Wired Authentication via WiFi and Ethernet.
But I do not find documentation or example.
To configure WiFi interface, wpa_supplicant is used.
And configuration it's more or less like that :
Code:
# cat /etc/wpa_supplicant.conf
network={
        ssid="WIFI_NETWORK"
        key_mgmt=IEEE8021X
        eap=TLS
        identity="identity"
        private_key_passwd="passw0rd"
}

But I do not know how to configure Ethrente interface.
Can someone share with me the information?
Thanks for the help!

Best regards,
 
Hello,
Now I have my config:
cat /etc/wpa_supplicant.conf
#WPA Enterprise with an 802.1X backend authentication server
network={
proto=RSN
key_mgmt=WPA-EAP
eap=PEAP
iphase1="peaplabel=0"
phase2="auth=MSCHAPV2"
identity="DOMAIN\user"
password="Passw0rd"
}

#802.1X Wired Ethernet (LAN)
network={
key_mgmt=IEEE8021X
ieap=PEAP
identity="DOMAIN\user"
password="Passw0rd"
eapol_flags=0
}


And now I can connect via WiFi or via LAN if I execute wpa_supplicant manually.

I tried to automate it.
In this file I have:
cat /etc/rc.conf
#wireless
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA DHCP powersave"

#LAN 802.1X Wired Authentication
ifconfig_em0="WPA DHCP"

#DHCP
background_dhcient="YES"


But that does not work..
I get the feeling that wpa_supplicant don't knows on which interface to apply "802.1X Wired Ethernet (LAN)" or "WPA Enterprise with an 802.1X backend authentication server".
Is it possible to configure it in a more precise way?
 
Back
Top