On networks that use the 802.1X standard for device authentication, it may be necessary to authenticate wired Agents to the network. The 802.1X authentication procedure is described in the following steps:
- From the Agent View, select the Agent you would like to authenticate.
- Go to the Agent's Console Tab from the Agent Details.
- Gain root access:
su
- Set the Agent's root partition to read-write:
mount -o remount,rw /
- Use the following command to create a supplication WPA configuration file for the Agent's Ethernet interface:
nano /etc/wpa_supplicant/wpa_supplicant_wired.conf
- Within the file, edit the configuration based on the required authentication type:
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
} - 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
0 Comments