8021X Automated Setup Steps
8021X Automated Setup Steps
8021X Automated Setup Steps
---
### Overview
---
authenticate {
eap
}
```
7. **Restart FreeRADIUS**:
```bash
sudo systemctl restart radiusd
```
---
---
%post
# Create 802.1X Configuration File for wpa_supplicant
network={
key_mgmt=IEEE8021X
eap=TLS
identity="<Device_ID>"
private_key="/etc/wpa_supplicant/device.key"
client_cert="/etc/wpa_supplicant/device.pem"
ca_cert="/etc/wpa_supplicant/ca.pem"
eapol_flags=0
}
EOF
[Service]
ExecStart=/usr/sbin/wpa_supplicant -Dwired -ieth0
-c/etc/wpa_supplicant/wpa_supplicant-wired.conf
Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF
%end
```
---
### Explanation
---