D-Link DWS 3000 Network Router User Manual


 
FreeRADIUS Server Configuration Example 183
Configuring the External RADIUS Server
VENDOR D-Link 6132
#
# D-Link Vendor Specific Extensions
#
#
ATTRIBUTE D-Link-Wireless-AP-Location 101 string D-Link
ATTRIBUTE D-Link-Wireless-AP-Mode 102 integer D-Link
ATTRIBUTE D-Link-Wireless-AP-Profile-ID 103 integer D-Link
ATTRIBUTE D-Link-Wireless-AP-Switch-IP 104 ipaddr D-Link
ATTRIBUTE D-Link-Wireless-AP-Radio-1-Chan 105 integer D-Link
ATTRIBUTE D-Link-Wireless-AP-Radio-2-Chan 106 integer D-Link
ATTRIBUTE D-Link-Wireless-AP-Radio-1-Power 107 integer D-Link
ATTRIBUTE D-Link-Wireless-AP-Radio-2-Power 108 integer D-Link
VALUE D-Link-Wireless-AP-Mode WS-Managed 1
VALUE D-Link-Wireless-AP-Mode Rogue 3
VALUE D-Link-Wireless-AP-Radio-1-Chan Auto 0
VALUE D-Link-Wireless-AP-Radio-2-Chan Auto 0
VALUE D-Link-Wireless-AP-Radio-1-Power Auto 0
VALUE D-Link-Wireless-AP-Radio-1-Power Minimum 1
VALUE D-Link-Wireless-AP-Radio-1-Power Maximum 100
VALUE D-Link-Wireless-AP-Radio-2-Power Auto 0
VALUE D-Link-Wireless-AP-Radio-2-Power Minimum 1
VALUE D-Link-Wireless-AP-Radio-2-Power Maximum 100
After you create an attribute dictionary file, you must insert an INCLUDE statement into the
the main file dictionary for the FreeRADIUS server.
The main dictionary is
etc/raddb/dictionary. The following example shows an INCLUDE
statement for the D-Link attribute dictionary called
dictionary.D-Link.
$INCLUDE dictionary.D-Link
Adding Access Points to the Valid AP Database
You use the attributes you define in the dictionary file to configure the settings for an access
point in the Valid AP database on the RADIUS server. The file you configure is the
etc/raddb/users file. The following code is an example of a database entry for an AP with
the MAC address 00:11:95:a3:32:80.
NOTE: In the FreeRADIUS database, the MAC address is case sensitive, and the
octets must be separated by hyphens.
00-11-95-a3-32-80 Auth-Type := Local, User-Password=="NOPASSWORD"
D-Link-Wireless-AP-Mode = WS-Managed,
D-Link-Wireless-AP-Location = "Lobby AP",
D-Link-Wireless-AP-Profile-ID = 1,
D-Link-Wireless-AP-Switch-IP = 192.168.30.4,
D-Link-Wireless-AP-Radio-1-Chan = Auto,
D-Link-Wireless-AP-Radio-2-Chan = Auto,
D-Link-Wireless-AP-Radio-1-Power = Auto,
D-Link-Wireless-AP-Radio-2-Power = Auto