D-Link DWS-3024L User Manual - Page 208

Adding Access Points to the Valid AP Database, The main dictionary is

Page 208 highlights

D-Link Unified Access System User Manual • D-Link-Wireless-AP-Mode-name of the attribute • WS-Managed-value for the attribute • 1-name-to-number mapping for the attribute The following code is an example of the D-Link attribute dictionary. The code shows the complete file. You can create your own dictionary and configure the attributes and values that your WLAN requires. The VENDOR field has the vendor-specific attribute name-to-number mapping. After you create the file, save the dictionary in the etc/raddb directory with a file name dictionary., for example, dictionary.D-Link. VENDOR D-Link 6132 # # D-Link Vendor Specific Extensions # # ATTRIBUTE D-Link-Wireless-AP-Location 101 ATTRIBUTE D-Link-Wireless-AP-Mode 102 ATTRIBUTE D-Link-Wireless-AP-Profile-ID 103 ATTRIBUTE D-Link-Wireless-AP-Switch-IP 104 ATTRIBUTE D-Link-Wireless-AP-Radio-1-Chan 105 ATTRIBUTE D-Link-Wireless-AP-Radio-2-Chan 106 ATTRIBUTE D-Link-Wireless-AP-Radio-1-Power 107 ATTRIBUTE D-Link-Wireless-AP-Radio-2-Power 108 string integer integer ipaddr integer integer integer integer D-Link D-Link D-Link D-Link D-Link D-Link D-Link D-Link VALUE D-Link-Wireless-AP-Mode WS-Managed 1 VALUE D-Link-Wireless-AP-Mode Standalone 2 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. 208 © 2001- 2008 D-Link Corporation. All Rights Reserved.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268

208
© 2001- 2008 D-Link Corporation.
All Rights Reserved.
D-Link Unified Access System User Manual
D-Link-Wireless-AP-Mode—name of the attribute
WS-Managed—value for the attribute
1—name-to-number mapping for the attribute
The following code is an example of the D-Link attribute dictionary. The code shows the
complete file. You can create your own dictionary and configure the attributes and values that
your WLAN requires. The VENDOR field has the vendor-specific attribute name-to-number
mapping.
After you create the file, save the dictionary in the
etc/raddb
directory with a file name
dictionary.
<company>
, for example,
dictionary.D-Link
.
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
Standalone
2
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.