IT Manager candidate based in Riyadh. 12+ years in IT operations and infrastructure.

Phone

+966 55 973 2392

Website

https://www.islamfathi.com

Address

Riyadh, Saudi Arabia

Social Links

Tutorials

Moving office Wi-Fi from a shared password to 802.1X

A shared Wi-Fi password is hard to change and hard to revoke. 802.1X with FreeRADIUS gives each person their own login.

Moving office Wi-Fi from a shared password to 802.1X

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.

What you need

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.

Choosing the method

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.

Joining Active Directory

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.

Certificates

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.

Testing

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.

2 min read
Feb 24, 2026
By Islam Fathy
Share

Leave a comment

Your email address will not be published. Required fields are marked *

Related posts

Oct 06, 2026 • 1 min read
Automating Repetitive IT Tasks with PowerShell and C#

How small scripts and simple tools save IT teams hours every week, and where to start.

Sep 29, 2026 • 2 min read
SPF, DKIM and DMARC in plain terms

Three DNS records decide whether your email is trusted. What each one does, an example of each, and...

Aug 18, 2026 • 2 min read
DNS problems you can diagnose in five minutes

Many network is down tickets are DNS. A few commands and one question tell you whether the name or t...

Your experience on this site will be improved by allowing cookies. We use cookies to enhance performance and improve your browsing experience. Cookie Policy