Install FreeRADIUS and daloRADIUS on Ubuntu 22.04 or 20.04 + MySQL/MariaDB - ByteXD (2023)

You don't use Ubuntu 22.04/20.04? Choose a different version or distribution.

FreeRADIUS is a free and open source implementation of the RADIUS protocol. It is the most popular and widely deployed open source RADIUS server and is also used by manyFortuna 500companies,telecommunications companies, youTier 1 ISP.

FreeRADIUS generally refers to the RADIUS server, which is just a component of the FreeRADIUS package. Other components included are:

  • with BSD licenseRADIUS client library
  • anPAMlibrary
  • an Apache RADIUS module
  • additional utilities and development libraries related to RADIUS

What is the RADIUS protocol?
RADIUS (Remote Authentication Dial-In User Service) is a networking protocol that provides centralized authentication, authorization, and accounting (AAA) for users connecting to a network service. Here are some brief descriptions of what each of the terms inAAAmean:

  • Authentication:the process of determining whether the client (which may be a user, device, or process) is a legitimate user of the system
  • Authorization:the process of determining what the client can do on the network
  • Accounting:is the process of monitoring customer activity on the network and providing the information needed to bill for services

What are some real-world examples for using the RADIUS protocol?
You can use RADIUS in situations where you have users who need to connect to your network and you need a solution to manage them: they needauthenticate, you give them severalpermitsabout what they can do when connected to your network, and you keep track of how they use your network (accounting).

Some rudimentary examples of real-world services using RADIUS are:

  • universities– Some may offer free Wi-Fi access to students and staff, so they will offer student and staff credentials and only allow users with valid credentials to authenticate and use university Wi-Fi
  • vpn providers- With RADIUS you can authenticate your users, authorize them to use your service until they use all allocated bandwidth and pay their subscription, as well as track network usage

In this tutorial, we are going to install FreeRADIUS on a server running Ubuntu 22.04/20.04 and configure it to work with MySQL/MariaDB; we will also installdaloRADIO, a RADIUS web admin panel, which is basically a FreeRADIUS GUI, then do a simple test on the RADIUS server to make sure it works.

table of contents
  1. previous requirements
  2. Install LAMP stack
    1. Install Apache web server
    2. Install MySQL or MariaDB
  3. Install FreeRADIUS and configure with MySQL/MariaDB on Ubuntu 22.04/20.04
    1. Try FreeRADIUS Server
    2. Allow FreeRADIUS on firewall
    3. Configure FreeRADIUS to use MySQL/MariaDB
    1. Access daloRADIUS
    1. 1. Create a NAS client table in daloRADIUS
    2. 2. Creating a user in daloRADIUS
    3. 3. Run FreeRADIUS in debug mode
    4. 4. Test daloRADIUS with NTRadPing
  4. Conclusion
  5. frequent mistakes
    1. "Failed to bind to authentication address [...]" when running in debug mode
    2. “Error reading log file: /tmp/daloradius.log”

previous requirements

  • A server running Ubuntu 22.04/20.04 and we recommend a minimum of 512 RAM and 300 MB of storage space.
  • be registered assudo non-root user. This is because when you act as root you can do anything and the system won't ask. If you are not careful, you can damage your system, and if you run malicious or buggy applications with root permissions, the application can damage your system. There's a good reason this has been the security model for years.

Assuming you're on a fresh server running the Ubuntu 22.04/20.04 install, we'll first update the server's package index and update to the latest packages:

sudo apt updates sudo apt update

Install LAMP stack

The LAMP stack is a group of open source software that can be used to build web applications and websites. LAMPADA is an acronym foreuProhibited,ANpackage,METROySQL,PAGHP.

Install Apache web server

sudo apt -e install apache2

Enable Apache to start on startup:

sudo systemctl enable --now apache2

Add the Apache application profile to the UFW rules:

sudo ufw allow WWW

Nota marginal: If that doesn't work, then the web server profile in UFW is probably called something other thanWWW. you can also trysudo ufw allow apacheNonetheless.

Verify access to Apache by visiting the server's IP or hostname (http://ip_address)

You should see something like this in your browser:

Install FreeRADIUS and daloRADIUS on Ubuntu 22.04 or 20.04 + MySQL/MariaDB - ByteXD (1)

Install PHP and additional PHP modules

sudo apt -y install php libapache2-mod-php php-{gd,common,mail,mail-mime,mysql,pear,db,mbstring,xml,curl}

Check the PHP version:


Check if PHP is working

A quick way to make sure PHP works is to create a simple PHP file in Apache's document root, as follows.

Create a file in/var/www/htmlI callphpinfo.php(can be any name, doesn't matter)

sudo nano /var/www/html/phpinfo.php

And add the following line:

Save and close the file.

now you can visithttps://your_server_ip/phpinfo.phpand you will see something like:

Install FreeRADIUS and daloRADIUS on Ubuntu 22.04 or 20.04 + MySQL/MariaDB - ByteXD (2)

Now delete the file as it can be used by malicious entities to view information about your server:

sudo rm /var/www/html/phpinfo.php

Install MySQL or MariaDB

MariaDB has been a replacement for MySQL for years, however there are some differences. From my experience, both work for our purposes, but you might want to check out the differences to make an informed decision. This is an easy-to-read article on the subject:MariaDB vs MySQL: Key Performance Differences.

I usually go with MariaDB, but you can choose whichever you prefer.


sudo apt -y install mysql-server


sudo apt -y install mariadb-server

MySQL/MariaDB comes with a script to set your password for MySQL/MariaDB, as well as change some less secure values. To start it run the following command:

sudo mysql_secure_installation

You will be asked to provide the current MySQL root password for root:

(Video) Install & Configure FreeRadius To Use MariaDB With DaloRadius Web Interface in Ubuntu | in Hindi

Enter current password for root (enter for none):

If you've followed this tutorial, you haven't set it up yet, so go ahead and clickTo enter. You will be asked if you want to set a root password: pressYyTo enterand set a new MySQL root password.

Validate Password plugin

You can skip this section if VALIDATE PASSWORD PLUGIN does not prompt.

And install MySQL(and not MariaDB), when you runmysql_secure_installationYou may be asked if you want to validate your password to ensure it is secure.

This plugin will ask you to select between 3 password strength levels to validate and depending on what you select your password will be evaluated and displayed so you can decide if you want to continue with it or try to enter a different one.

VALIDATE PASSWORD PLUGIN can be used to test passwords and improve security. Checks password strength and allows users to set only strong enough passwords. Would you like to configure the VALIDATE PASSWORD plugin? Press y|Y for Yes, any other key for No:

I normally selectYbut you can selectNotif you are sure of your password.

if you selectYyou will be asked to select the strength of your password.

There are three levels of password validation policy: Length LOW >= 8 MEDIUM Length >= 8, numeric, case sensitive and special characters STRONG Length >= 8, numeric, case sensitive, special characters and dictionary file Enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: 2

In the example I selected2.

My password contains lowercase letters, uppercase letters, numbers and symbols and is longer than 8 characters. I get a password strength of 100 and decide I want to continue so I log inY.

Estimated password strength: 100 Do you want to continue with the given password? (Press y|Y for Yes, any other key for No): Y

You will be asked if you want to remove anonymous users, restrict remote root user access to the local machine, drop test databases and reload tables. Replyand andand press enter paraSimeach, unless you have a good reason not to.

Exclude anonymous users:

Exclude anonymous users? [Y/n] and... Success!

Disallow root login remotely:

Disable root login remotely? [Y/n] and... Success!

Delete the test database:

Delete the test database and access it? [Y/n] y- Removing test database... Success!- Removing test database privileges... Success!

Reload the privilege tables:

Reload privilege tables now? [Y/n] and... Success! Cleaning...

Now MySQL (or MariaDB) has been installed on your system and we can proceed with configuring FreeRADIUS to use it.

Install FreeRADIUS and configure with MySQL/MariaDB on Ubuntu 22.04/20.04

Install FreeRADIUS along with two modules that FreeRADIUS will need:

  • freeradius-mysql– MySQL module for FreeRADIUS, so the server can do accounting and authentication using MySQL.
  • freeradius-utils– a module that adds additional useful features to the FreeRADIUS server
sudo apt -y install freeradius freeradius-mysql freeradius-utils -y

Try FreeRADIUS Server

FreeRADIUS is expected to work fine with default settings.

To quickly verify that FreeRADIUS is working, let's run itdebug mode.

Stop the FreeRADIUS server as it started automatically after installation.

sudo systemctl stop freeradius

Run FreeARDIUS in debug mode (remember to use sudo):

sudo free ray -X

The output should be something like this:

Listening on authentication address * port 1812 bound to default server Listening on account address * port 1813 linked to default server Listening on authentication address :: port 1812 bound to default server Listening on account address :: port 1813 linked to default server Listening on authentication address port 18120 linked to internal server tunnel Listening on proxy address * port 52868 Listening on proxy address ::port 57983 Ready to process requests

stop debug modepressing Ctrl+C.

Start and enable the FreeRADIUS service to run at system startup:

sudo systemctl enable --now freeradius

Allow FreeRADIUS on firewall

(If you have UFW running on Ubuntu 22.04/20.04)

FreeRADIUS uses UDP ports 1812 for authentication and 1813 for accounting. You need to make sure these ports are allowed. The method by which you enable them can also depend on the platform you are using.

If you're using UFW, you can open them by running:

sudo ufw allow any port 1812 proto udpsudo ufw allow any port 1813 proto udp

Configure FreeRADIUS to use MySQL/MariaDB

Let's create a database and database user to use FreeRADIUS.

You can use any credentials you like, but remember to replace the credentials I'm using with yours for the rest of the tutorial.

The details we will use are:

Database: radio
From user: radio
Password: Some strong password_321

To get started, access the MySQL/MariaDB console assource, running the following command and entering your password when prompted:

sudo mysql -u root -p

Create a database and user that will use FreeRADIUS:

CREATE DATABASE radio; CREATE USER 'radius'@'localhost' IDENTIFIED BY 'Somestrongpassword_321';GRANT ALL PRIVILEGES ON THE RADIO.* TO 'radius'@'localhost';FLUSH PRIVILEGES;exit;

Now to populate the database with MySQL RADIUS schema.

(Video) How To Install FreeRADIUS and Daloradius on Ubuntu 20.04 LTS

First, we need to switch to using thesourceuser, otherwise we getAccess deniedwhen trying to import, even if we are usingsudo:

sudo su -

Now import the MySQL RADIUS schema:

mysql -u root -p radio < /etc/freeradius/3.0/mods-config/sql/main/mysql/schema.sql

let's go back to ournon-root user(I'm usingedxdso I'll switch to this):

sudo su -edxd

You can check the newly created tables in theradiodatabase by running the following command and entering yourMySQL/MariaDB root password:

sudo mysql -u root -p -e "use radio; display tables;"


+------------------+| Tables_in_radius |+-----+| in the || radar || radio control || radio group check || rad group answer || car radio || radio response || radusergroup |+----+

Create a soft link to the SQL module to/etc/freeradius/3.0/mods-enabled:

sudo ln -s /etc/freeradius/3.0/mods-disponible/sql /etc/freeradius/3.0/mods-enabled/

Next, we configure FreeRADIUS to use SQL. to make it open/etc/freeradius/3.0/mods-enabled/sqlusing your favorite text editor, so we can edit some parameters.

I will install and usenanoas my text editor and open the file:

sudo apt install nano sudo nano /etc/freeradius/3.0/mods-enabled/sql

There is a little bit of text, but most of it is commented. We'll just have to edit a few things.

  1. Changedialeto = "sqlite"andialeto="mysql"
  2. Changecontrolador = "rlm_sql_null"ancontroller = "rlm_sql_${dialect}"
  3. If we use MySQL, the FreeRADIUS configuration assumes the use of TLS certificates by default. For the purposes of this tutorial, we won't be using TLS certificates, so we'll comment out the MySQL TLS section by adding a#sign in at the beginning of each line intlssection. The TLS section looks like this:
    mysql { # If any of the files below are configured, TLS encryption is enabled tls { ca_file = "/etc/ssl/certs/my_ca.crt" ca_path = "/etc/ssl/certs/" certificate_file = "/etc /ssl /certs/private/client.crt" private_key_file = "/etc/ssl/certs/private/client.key" cipher = "DHE-RSA-AES256-SHA:AES128-SHA" tls_required = yes tls_check_cert = no tls_check_cert_cn = no } # If so (either auto and libmysqlclient reporting warnings are # available), it will retrieve and log additional warnings from the # server if an error occurs. Default for 'automatic' warnings = auto}

    And that's how it stays with himtlscommented section:

    mysql { # If any of the files below are configured, TLS encryption is enabled # tls { # ca_file = "/etc/ssl/certs/my_ca.crt" # ca_path = "/etc/ssl/certs/" # certificate_file = " /etc/ssl/certs/private/client.crt" # private_key_file = "/etc/ssl/certs/private/client.key" # cipher = "DHE-RSA-AES256-SHA:AES128-SHA" # tls_required = yes # tls_check_cert = no # tls_check_cert_cn = no #} # If so (either automatic reporting warnings and libmysqlclient are # available), it will retrieve and log additional warnings from the # server if an error occurs. Default for 'automatic' warnings = auto}
  4. Next,uncomment theconnection informationsectionand add the connection details to our MySQL/MariaDB database. First remove the comment (remove the#signs) from the beginning of the lines starting withserver,porto,access,password.
    server– this is the server where the database is located. In this case it is the local server so we can leave"host local"
    porto- is set to3306, which is the default port for the classic MySQL protocol. Leave it as it is unless you have changed the MySQL port.
    access– This is the database user you created earlier for FreeRADIUS to use. I created the userradioso I'll leave it as it is. You change it if your username is different.
    password– the password for that MySQL user that you also defined above. This is its initial state:
    # Connection information:## server="localhost"# port=3306# login="radius"# password="radpass"

    And here it is edited.

    # Connection information:#server="localhost"port=3306login="radius"password="SomeStrongPassword_321"
  5. A few lines down, we need to configure the database name. By default, it looks like this:
    # Database table setup for everything except Oracleradius_db="radius"

    Rather thanradio, enter the database you created. Since I created the database.radioI leave it as it is:

    # Database table setup for everything except Oracleradius_db="radius"
  6. Below we will uncomment a line containingread_clients = sim. This allows FreeRADIUS to read clients from the database. This is what it looks like:
    # Set to 'yes' to read radius clients from database (table 'nas') # Clients will be read ONLY at server startup. # read_clients = yes

    And just remove the#subscribe to uncomment:

    # Set to 'yes' to read radius clients from database (table 'nas') # Clients will be read ONLY at server startup. read_clients = yes
  7. Just a few lines below, we wantcustomer_table = “nas”be uncommented. It shouldn't be commented out by default, but just make sure it looks like this:
    # Table to contain the radius of the client infoclient_table = "nas"

Now change the group rights of the file we just edited:

sudo chgrp -h freerad /etc/freeradius/3.0/mods-disponible/sqlsudo chown -R freerad:freerad /etc/freeradius/3.0/mods-enabled/sql

And restart the FreeRADIUS service:

sudo systemctl restart freeradius.service

Since we made some edits, we need to run FreeRADIUS in debug mode to see if we made any mistakes before continuing.

First stop the FreeRADIUS service as we cannot have 2 instances of the service running simultaneously:

sudo systemctl stop freeradius.service

And run FreeRADIUS in debug mode:

sudo free ray -X

The output looks like this:

Listening on authentication address * port 1812 bound to default server Listening on account address * port 1813 linked to default server Listening on authentication address :: port 1812 bound to default server Listening on account address :: port 1813 linked to default server Listening on authentication address port 18120 linked to server's internal tunnel Listening on proxy address *port 52025 Listening on proxy address::port 42807 Ready to process requests

Exit debug mode by pressingCtrl + Cand then start FreeRADIUS again by running:

sudo systemctl start freeradius.servicio

FreeRADIUS is now installed on your Ubuntu 22.04/20.04 machine and is configured to work with MySQL or MariaDB.

Next, we'll install daloRADIUS, which is a web-based control panel for managing our FreeRADIUS server. This step is optional for those who want a GUI for the FreeRADIUS server.

Install and configure daloRADIUS (FreeRADIUS GUI) on Ubuntu 22.04/20.04 (optional)

daloRADIOis a popular RADIUS web administration panel that offers user management, graphical reporting, accounting, a billing mechanism, integrates with GoogleMaps, and much more. It is one of the most popular solutions if you need aFree RADIUS GUI.

First let's download daloRADIUS fromthe Github repository.

I will dresswgetto download it, then I will have to install it, as it is not installed by default andunzipsince we are going to download one.Postal Codeoffice hour:

sudo apt -y install wget unzip

Now download daloRADIUS andCDin the newly createddaloradius-mestrechainer:

wget master.zipcd daloradius-master

Populate the database with the daloRADIUS schema:

sudo mysql -u root -p radio < contrib/db/fr2-mysql-daloradius-and-freeradius.sqlsudo mysql -u root -p radio < contrib/db/mysql-daloradius.sql

CDoutside ofdaloradius-mestreand move the folder to the document root likedaloradius:

cd ..sudo mv daloradius-master /var/www/html/daloradius

Next,change owner and groupFor thedaloradiusfolder to www-data:www-data, which is the user and group under which the Apache web server runs.

sudo chown -R www-data:www-data /var/www/html/daloradius/

Now we will need to create the daloRADIUS configuration file. We currently only receive one sample file, so we'll make a copy of that sample file:

sudo cp /var/www/html/daloradius/library/daloradius.conf.php.sample /var/www/html/daloradius/library/daloradius.conf.php

We will also change the permissions of the daloRADIUS configuration file:

sudo chmod 664 /var/www/html/daloradius/library/daloradius.conf.php

Then we edit some variables in the daloRADIUS connection file, so that it can connect to the FreeRADIUS database.

Open the configuration file using your favorite editor:

(Video) Freeradius 3 and Daloradius : installation and configuration on Ubuntu server

sudo nano /var/www/html/daloradia/library/daloradia.conf.php

Similar to what we did earlier, when editing the FreeRADIUS configuration file, we only need to define the variables for the database user, its password and the name of the database. Those are all edits for the scope of this tutorial.

This is how they initially appear in the daloRADIUS configuration file:

$configValues['CONFIG_DB_USER'] = 'raíz';$configValues['CONFIG_DB_PASS'] = '';$configValues['CONFIG_DB_NAME'] = 'raio';

This is how it looks after editing with the database details I created earlier:

$configValues['CONFIG_DB_USER'] = 'rádio';$configValues['CONFIG_DB_PASS'] = 'Somestrongpassword_321';$configValues['CONFIG_DB_NAME'] = 'rádio'

Finally, restart FreeRADIUS and Apache to make sure everything works:

sudo systemctl restart freeradius.apache2 service

Access daloRADIUS

You can access daloRADIUS through a web browser by visiting:

make sure it'shttp://and that your browser does not automatically change it tohttps://because you might not be able to access daloRADIUS as we haven't configured it to useSSL.

The daloRADIUS homepage looks like this:

Install FreeRADIUS and daloRADIUS on Ubuntu 22.04 or 20.04 + MySQL/MariaDB - ByteXD (3)

daloRADIUS Default username/password:

username: admin password: radio

Change daloRADIUS username and password

Have default credentials likeadministrator/radioit's a security vulnerability and there are bots that check absolutely every IP address and try the known default credentials for certain software.

That way someone could be checking all possible IPs and trying to detect if daloRADIUS is installed by visitinghttp://ip_aleatoria/daloradiusand will try to log in usingadministrator/radio, and they will likely succeed sometimes because some people don't change their default credentials.

You can change a user's password by logging in to daloRADIUS >Settings(No menu superior) >Operators(No submenu) >list operators(In the gray sidebar) > Click User (in our caseadministrator) and on the next screen change the password and click Apply.

[Video] Change the daloRADIUS administrator password

Change daloRADIUS administrator password

To create a new daloRADIUS user (namedOperator) Go toSettings>Operators(no submenu) >New Operator(in the gray sidebar) > entryOperator Usernameyoperator passwordand clickRequest.

[Video] Create new daloRADIUS operator

Create new daloRADIUS operator

To familiarize yourself with daloRADIOUS, next we'll create a table of NAS clients and a user and test that everything works correctly by sending an authentication request using software calledNTRadping.

FreeRADIUS and daloRADIUS tests

In the last part of this tutorial, we will test our FreeRADIUS server and the daloRADIUS web panel.

In short, we will send you aauthentication requestfrom another computer to our server to see if it works.

To do this, we need to add aNAS(explanation below), afrom user, and another computer to send the request from (this could be your computer, for example).

Use: For this demo you will need to install a Windows software, calledNTRadping.

1. Create a NAS client table in daloRADIUS

For another computer to use our RADIUS server, it must first be added to theNAS client table.

HimNetwork Access Server (NAS) Client Tableacts as a gateway protecting a protected resource. In order for another computer to connect to our RADIUS server, it must be added to the NAS client table.

The NAS is a proxy that a client connects to, so the NAS asks the resource (in our case the RADIUS server) if the credentials are valid and based on that, the NAS will allow or deny access to the protected resource. .

(Video) How to Install & Configure FreeRadius & web GUI Dalo RADIUS with MySQL Integration on Ubuntu Server

You can read a little more about theThis page is from the FreeRADIUS wiki.

To add a NAS, go to the daloRADIUS panel,Management > NAS(no submenu azul)> New NAS(in the left sidebar, dark gray).

NAS Server/IP: The IP or fully qualified hostname from which you are trying to connect
Secret NAS: A password to connect to the NAS, but it is known as secret. It is used for communication between the client/NAS and the RADIUS server.
NAS type: There are a few types that are recognized, including livingston, cisco, portslave. This is passed to the external login program when it is called to detect double logins. For the purposes of this tutorial, we will selectFrom others.
NAS short name– An alias that can be used instead of the IP address or fully qualified hostname provided in NAS IP/Host

For our example, we will complete:

NAS Server/IP: IP of another computer that we are using as a client
Secret NAS: No one will ever learn this secret!!11!!
NAS type: From others
NAS short name: production server

2. Creating a user in daloRADIUS

To test our RADIUS server we will also need to have a user.

We can easily create one by navigating the top menu toManagement > Users(no submenu azul)>New user(left, dark gray, sidebar)

For our example, all we need is aUser nameyPassword. There are other attributes, but these will suffice for our purposes.

I will fill in the following:

User name: new customer

3. Run FreeRADIUS in debug mode

We want to see for ourselves what's happening on the server, so we'll run FreeRADIUS in debug mode.

First stop the running process:

sudo systemctl stop freeradius.service

And run the following command to run FreeRADIUS debug mode:

sudo free ray -X

Important note
Whenever a new NAS is addedyou need to restart FreeRADIUSthen you get the updated table.

We're already doing that in this demo as we stop it and run it in debug mode, but you should keep that in mind going forward.

Now we are ready to test the server.

4. Test daloRADIUS with NTRadPing

For convenience, we will test the server using a free software for Windows called NTRadPing.

You can download it here This is a direct link to the file.

To run it, just unzip the file and run the executable.

See what it looks like and how we'll fill in the details in NTRadPing. We're going to use it to send an authentication request to the RADIUS server while it's running in debug mode, so we can see firsthand how it accepts the request.

Install FreeRADIUS and daloRADIUS on Ubuntu 22.04 or 20.04 + MySQL/MariaDB - ByteXD (4)

We fill in the fields as follows:

RADIUS server/portal: Server IP where we have FreeRADIUS installed/port1812
Response timeout (sec.):1
retry: 1
RADIUS Secret Key: No one will ever learn this secret!!11!!
User name: new customer
Password: cliente_strong_passwd_123

Finally check theCAPcash register. This is so the request is made using aCAPpassword instead of the patternLETTERpassword.

Now you can test the RADIUS server. Just click Send NTRadPing and if you get aAccess-Acceptanswer, we can assume it's working.

The output in NTRadPing should look like this:

Send authentication request to server broadcast packet 1812, code=1 id=3 length=53 response received from server in 16 milliseconds replay packet code=2 id=3 length=20 response: Access-OK -- --- --- -----------attribute dump------------------

And the output in the terminal where you are running FreeRADIUS in debug mode should end up with something like this:

...(2) Sent Access-Accept Id 7 from to length 0(2) Request complete Activation in 4.9 seconds.(2) Clean request packet ID 7 with tag of time +67Ready to process orders


Well done. We hope you have successfully installed FreeRADIUS with MySQL or MariaDB, along with daloRADIUS, on your Ubuntu 22.04/20.04 machine.

If you encountered any problems, feel free to contact us in the comments section, email or on social media and we will try to help you as soon as possible.

frequent mistakes

"Failed to bind to authentication address [...]" when running in debug mode

Failed to bind to authentication address * port 1812 bound to server default: address already in use /etc/freeradius/3.0/sites-enabled/default[59]: Failed to bind to port for port 1812

If you get the following error when running FreeRADIUS in debug mode, it is most likely that the FreeRADIUS service is already running and you need to stop it first.

$ sudo systemctl stop freeradius.service

“Error reading log file: /tmp/daloradius.log”

Make sure the log file exists and has read/write permissions set.


1. Radius Server - FreeRadius and Clients - Ubuntu Server 19.04
(Christian Augusto Romero Goyzueta II)
2. Step by Step to install and configure FreeRadius Server for MikroTik Router
(BRO Sour)
3. Comment installer FreeRADIUS et Daloradius sur Ubuntu 20.04
4. Instalación y Configuración de Freeradius y Daloradius (Ubuntu server 20.04)
(Jesus Guerrero Cano)
5. Que es y como configurar FreeRadius en UBUNTU SERVER 20.04
Top Articles
Latest Posts
Article information

Author: Otha Schamberger

Last Updated: 04/04/2023

Views: 5569

Rating: 4.4 / 5 (75 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Otha Schamberger

Birthday: 1999-08-15

Address: Suite 490 606 Hammes Ferry, Carterhaven, IL 62290

Phone: +8557035444877

Job: Forward IT Agent

Hobby: Fishing, Flying, Jewelry making, Digital arts, Sand art, Parkour, tabletop games

Introduction: My name is Otha Schamberger, I am a vast, good, healthy, cheerful, energetic, gorgeous, magnificent person who loves writing and wants to share my knowledge and understanding with you.