Description
Use eltex-auth-service package for installation.
Working with MySQL remote database
If eltex-auth-service is configured to work with Mysql remote server, it is necessary to change the order of package downloading for service autostart:
echo "start on runlevel [2345]" > /etc/init/eltex-radius.override
echo "start on runlevel [2345]" > /etc/init/eltex-auth-service.override
Service management
Operation | Command | Response |
Status check |
| Service is running eltex-auth-service start/running, process <pid> Service is waiting eltex-auth-service stop/waiting |
Service start |
| Service has been started eltex-auth-service start/running, process <pid> |
Service stop |
| Service has been stopped successfully eltex-auth-service stop/waiting |
Service restart |
| Service has been restarted successfully
|
Configuration
/etc/eltex-auth-service/sql.conf
The file contains the parameters for the service to access eltex_auth_service database.
server = "localhost"
#port = 3306
login = "eltexauthservice"
password = "eltexauthpassword"
The table is stored in eltex_auth_service database. It contains the addresses of clients that have rights to send user authorization requests. If a client is not included into the table, authorization requests will be ignored. When the contents of the table is changed, restart eltex-auth-serviceNAS table