Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
1. Install FreeRADIUS with database driver
- Add the package "freeradius-mysql" as a dependency to nmsprime-provbase
- adapt install scripts
- like starting & enabling,
-
create database & users
-
populating schema's
Info /etc/raddb/mods-config/sql/main/mysql/setup.sql
/etc/raddb/mods-config/sql/main/mysql/schema.sql
2. Add TR-69 ConfigFile Device Type
3. Rebuild Modem page
- Configfile MUST be second entry after "Name"
- if configfile is of type "TR-69" add "username" and "password" to Modem table and MVC
- dynamically display or hide fields depending on if configfile is DOCSIS or TR-69
DOCSIS configfile | TR-69 |
---|---|
Hostname | Username (=id) |
MAC Address* | Password (=automatically filled if empty with a random generated psw) |
4. Connect NMS PRIME to FreeRADIUS
- Create Mapping between
NMS PRIME Model (MVC) | FreeRADIUS table | database relation | Always | |
---|---|---|---|---|
1. | QoS | usergroup | 1 : 1 | YES. every QoS entry is a RADIUS usergroup) |
2. | Modem | radcheck | 1 : 1 | NO. Only for Non-DOCSIS devices |
Reference: https://wiki.freeradius.org/guide/SQL-HOWTO#populating-sql