Agent Configuration - Enable 802.1x authentication on the Ethernet interface

1. On the agents view, select the agents where the 802.1x authentication should be applied

2. Within the agent's detailed view, select the console tab

3. Gain root access

su

3. Set the agent's root partition to read-write

mount -o remount,rw /

4. Create a supplication WPA configuration file for the Ethernet interface with command

nano /etc/wpa_supplicant/wpa_supplicant_wired.conf

5. Inside the file, edit the configuration based on the authentication type needed

ctrl_interface=DIR=/var/run/wpa_supplicant
update_config=1
#id:21
#version:1527003044000
network=
{
     key_mgmt=IEEE8021X
     eap=PEAP
     identity="me@example.com"
     anonymous_identity="anonymous@htw-berlin.de"
     password="password"
     ca_cert=""
     phase2="auth=MSCHAPV2"
     eapol_flags=0
     priority=10
}

6. Update the /etc/network/interfaces file and add the pre-up statement under the interface eth0 statement

auto eth0
iface eth0 inet dhcp
  pre-up wpa_supplicant -B -Dwired -t -i eth0 -c/etc/wpa_supplicant/wpa_supplicant_wired.conf -f    /var/log/netbeez/wpa_supplicant_wired.log

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.