Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| technical:fr-dictionary [2025/02/27 14:19] – created system | technical:fr-dictionary [2025/02/27 17:48] (current) – [Introduction] system | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| * These files are consulted by FreeRADIUS to convert an Attribute name to a digital value. | * These files are consulted by FreeRADIUS to convert an Attribute name to a digital value. | ||
| * Attribute names are typically part of a profile associated with a user e.g. specifying a VLAN or IP pool or a speed limit that needs to be imposed. | * Attribute names are typically part of a profile associated with a user e.g. specifying a VLAN or IP pool or a speed limit that needs to be imposed. | ||
| - | * This is similar to a DNS server or hosts file where a system will convert a hostmame | + | * Dictionary files are used in a similar |
| * Standard FreeRADIUS dictionary files are located under the ** / | * Standard FreeRADIUS dictionary files are located under the ** / | ||
| - | * They have a naming convention of dictionary[dot][vedor] e.g. dictionary.mikrotik. | + | * They have a naming convention of dictionary[dot][vendor] e.g. dictionary.mikrotik. |
| * The recommendation is to keep this folder standard and not to add additional or modify dictionaries here. | * The recommendation is to keep this folder standard and not to add additional or modify dictionaries here. | ||
| + | |||
| + | ===== Dictionary in RADIUSdesk ===== | ||
| + | |||
| + | <panel type=" | ||
| + | {{: | ||
| + | </ | ||
| + | |||
| + | * RADIUSdesk allows you to conveniently select items out of the dictionary files to formulate profiles or to manage attributes belonging to users (Permanent Users, Vouchers, Devices) | ||
| + | * In order for the Select control to work as intended ensure that the Nginx webserver can read the **/ | ||
| + | <code bash> | ||
| + | sudo chown freerad: | ||
| + | sudo chown freerad: | ||
| + | sudo chown freerad: | ||
| + | </ | ||
| + | * We can also add additional dictionary files. | ||
| + | * Create a folder where you will store the new / additional dictionaries: | ||
| + | < | ||
| + | sudo mkdir / | ||
| + | </ | ||
| + | * Copy the additional dictionary in this folder. | ||
| + | * Here we have a dictionary file for Accel-ppp called dictionary.accel | ||
| + | <code bash> | ||
| + | VENDOR Accel-PPP 55999 | ||
| + | |||
| + | BEGIN-VENDOR Accel-PPP | ||
| + | |||
| + | ATTRIBUTE Accel-VRF-Name 1 string | ||
| + | |||
| + | END-VENDOR Accel-PPP | ||
| + | </ | ||
| + | * Edit the / | ||
| + | <code bash> | ||
| + | #This is not required for FreeRADIUS3 anymore but it is required for RADIUSdesk | ||
| + | $INCLUDE / | ||
| + | |||
| + | $INCLUDE | ||
| + | </ | ||
| + | * Restart FreeRADIUS for this changes to take effect. | ||
| + | < | ||
| + | sudo service freeradius restart | ||
| + | </ | ||