I use this on sme9 to auth my wifi-clients:
** WPA2-Enterprise SME9 **
-
install freeradius-utils
yum -y install freeradius-utils -
set hostname in webinterface
ap01.privat.lan (192.168.xxx.1) -
set radiuskey
db hosts setprop ap01.privat.lan RadiusKey my-radiuskey
signal-event remoteaccess-update -
mkdir for template
mkdir -p /etc/e-smith/templates-custom/etc/raddb/users/ -
create file for template
nano /etc/e-smith/templates-custom/etc/raddb/users/40ldap -
put this into 40ldap
DEFAULT Auth-Type := LDAP -
expand template
expand-template /etc/raddb/users -
public status enabled
db configuration setprop radiusd TCPPort 1812 access public status enabled
signal-event remoteaccess-update -
test local on sme9 (password from /etc/raddb/clients.conf)
radtest admin ‘my-sme9-admin-password’ localhost 10 my-client-pwd-from-clients.conf
I would like to do it the same way on nethserver, is it possible ?
How should the commands looks like ?