IT Manager candidate based in Riyadh. 12+ years in IT operations and infrastructure.
+966 55 973 2392
https://www.islamfathi.com
Riyadh, Saudi Arabia
A shared Wi-Fi password is hard to change and hard to revoke. 802.1X with FreeRADIUS gives each person their own login.
A shared Wi-Fi password works until someone leaves. Changing it means touching every device, so people put it off. With 802.1X each user signs in with their own credentials, and you can disable one person without affecting anyone else.
Access points that support WPA2 or WPA3 Enterprise, a RADIUS server and a user directory. FreeRADIUS is a common choice for the server and runs well on Debian. It can check users against a local file, an LDAP server or Active Directory.
PEAP with MSCHAPv2 is the easiest to start with. Users type their domain credentials and the RADIUS server proves its identity with a certificate. EAP-TLS uses a certificate on each device instead of a password. It is stronger, and you need a way to issue and renew those certificates.
With PEAP and MSCHAPv2, FreeRADIUS can authenticate against Active Directory through Samba and winbind using ntlm_auth. The server has to be joined to the domain first, and the clocks on both sides must match.
Clients see the RADIUS server certificate on first connection. If it comes from your internal certificate authority and Group Policy already trusts that authority, users never see a warning. If it is a random self-signed certificate, people learn to click through warnings, which is a habit you do not want.
Test from the server before touching any access point. Run FreeRADIUS in the foreground with debug output and send it a test request.
sudo systemctl stop freeradius
sudo freeradius -X
radtest testuser testpassword 127.0.0.1 0 testing123
The debug output shows exactly why a login was accepted or rejected, which saves a lot of guessing. Once it works, add the access points as RADIUS clients with a strong shared secret, create a new SSID and move a few users over before retiring the old one.
Your email address will not be published. Required fields are marked *