Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| install_24_4_freeradius [2024/12/11 20:07] – [Configure FreeRADIUS] system | install_24_4_freeradius [2026/06/20 19:05] (current) – system | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| sudo apt-get -y install libdatetime-perl libdbd-mysql-perl libdigest-hmac-perl libdatetime-format-rfc3339-perl eapoltest | sudo apt-get -y install libdatetime-perl libdbd-mysql-perl libdigest-hmac-perl libdatetime-format-rfc3339-perl eapoltest | ||
| sudo apt-get -y install freeradius freeradius-mysql | sudo apt-get -y install freeradius freeradius-mysql | ||
| + | sudo apt-get -y install libjson-perl libwww-perl | ||
| # Answer yes to the question to install these packages with their dependencies | # Answer yes to the question to install these packages with their dependencies | ||
| # Please note that the installation of this package generates some things that can take a lot of time on slower computers. | # Please note that the installation of this package generates some things that can take a lot of time on slower computers. | ||
| Line 21: | Line 22: | ||
| # Backup the original FreeRADIUSdirectory | # Backup the original FreeRADIUSdirectory | ||
| sudo mv / | sudo mv / | ||
| - | # Extract | + | # Copy the RADIUSdesk modified FreeRADIUS directory |
| - | sudo tar xzf / | + | sudo cp -R / |
| - | sudo chown -R freerad. / | + | sudo chown -R freerad: / |
| + | sudo chown freerad:www-data /etc/freeradius | ||
| + | sudo chown freerad:www-data / | ||
| + | sudo chown freerad: | ||
| sudo mkdir / | sudo mkdir / | ||
| - | sudo chown freerad. / | + | sudo chown freerad: / |
| </ | </ | ||
| * Configure the site-wide shared secret. This is the value used by ALL dynamic clients. | * Configure the site-wide shared secret. This is the value used by ALL dynamic clients. | ||
| Line 51: | Line 55: | ||
| </ | </ | ||
| - | ===== Correction of a small error ===== | ||
| - | * There is a small bug that prevents FreeRADIUS from starting after a restart. | ||
| - | * It was reported here: https:// | ||
| - | * There also seems to be a fix, but it has not yet arrived in the Ubuntu repositories. | ||
| - | * So here is the solution from the discussion in the link | ||
| - | * Create a file called **/ | ||
| - | <code bash> | ||
| - | sudo vi / | ||
| - | </ | ||
| - | * Add the following line | ||
| - | <code bash> | ||
| - | d / | ||
| - | </ | ||
| - | * If you are curious about what we did, you can find a report on **tmpfiles.d** here | ||
| - | * https:// | ||
| ===== Next steps ===== | ===== Next steps ===== | ||
| * You will need to make a few small adjustments to your environment | * You will need to make a few small adjustments to your environment | ||
| * [[install_tweak|Tweak Your Install]] | * [[install_tweak|Tweak Your Install]] | ||