Changes

From SME Server
Jump to navigationJump to search
24 bytes added ,  14:10, 31 December 2018
m
formatting
Line 6: Line 6:  
Radius should work out of the box for WPA2 AP. You have to create a host for your AP, with the correct IP of your AP, then set the radius secret:
 
Radius should work out of the box for WPA2 AP. You have to create a host for your AP, with the correct IP of your AP, then set the radius secret:
    +
<pre>
 
db hosts setprop ap.domain.tld RadiusKey SuperSecretThing
 
db hosts setprop ap.domain.tld RadiusKey SuperSecretThing
   
signal-event remoteaccess-update
 
signal-event remoteaccess-update
 +
</pre>
    +
If you want to test radius with '''radtest''' (yum install freeradius-utils) it doesn't work as is you need to do the following:
   −
If you want to test radius with radtest (yum install freeradius-utils) it doesn't work as is you need to do the following:
+
Add this template to '''/etc/e-smith/templates-custom/etc/raddb/users/40ldap'''
 
  −
Add this template to /etc/e-smith/templates-custom/etc/raddb/users/40ldap  
     −
DEFAULT    Auth-Type := LDAP
+
DEFAULT    Auth-Type := LDAP
    
expand the raddb/uses template and any user in LDAP can be used in radtest.  
 
expand the raddb/uses template and any user in LDAP can be used in radtest.  
147

edits

Navigation menu