How to install & configure Freeradius
You need to make Wi-Fi authorization not with a single key, but with separate keys for each user. This required the deployment of a RADIUS server.
The FreeRADIUS Server Project is a high performance and highly configurable multi-protocol policy server, supporting RADIUS, DHCPv4, and VMPS. It is available under the terms of the GNU GPLv2. Using RADIUS allows authentication and authorization for a network to be centralized, and minimizes the number of changes that have to be done when adding or deleting new users to a network.
How to install & configure Freeradius
First, install FreeRADIUS
client wifi-AP {
ipaddr = xxx.xxx.xxx.xxx #IP access points (router)
secret = password #password for access point
require_message_authenticator = no
}
realm DEFAULT {
type = radius
authhost = LOCAL
acchost = LOCAL
}
Finally, add users to the /etc/freeradius/users file :
ddos Cleartext-Password :=”your_password”
ddos – username
your_password – password
Add each new user in a new line.
Now restart FreeRADIUS
/etc/init.d/freeradius restart
And configure the access point:
Encryption type : WPA-EAP or WPA2 Enterprise
And in the settings the radius of the server on the access point
IP: IP of our server
Port: 1812
Radius secret: secret, which we specified in the /etc/freeradius/clients.conf file
Now you can connect to our access point.