This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| getting_started:install_ubuntu_freeradius_3 [2016/10/19 04:30] – created admin | getting_started:install_ubuntu_freeradius_3 [2017/04/06 09:46] (current) – [Installing FreeRADIUS version 3.x] admin | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| * Add the Personal Package Archive (PPA) for the version 3 of FreeRADIUS. | * Add the Personal Package Archive (PPA) for the version 3 of FreeRADIUS. | ||
| <code bash> | <code bash> | ||
| + | sudo apt-get install software-properties-common python-software-properties | ||
| sudo add-apt-repository ppa: | sudo add-apt-repository ppa: | ||
| #Answer yes to include the PPA with it's keys | #Answer yes to include the PPA with it's keys | ||
| Line 21: | Line 22: | ||
| sudo systemctl start freeradius.service | sudo systemctl start freeradius.service | ||
| </ | </ | ||
| + | |||
| + | <WRAP center round important 100%> | ||
| + | == Please Take Note == | ||
| + | * The current version of FreeRADIUS available on the repository (3.0.12) has this bug: http:// | ||
| + | * While we wait for the maintainer of the repository to update to the latest stable release please follow the instructions in this page to [[getting_started: | ||
| + | * Once the repository has been updated we will remove this //' | ||
| + | </ | ||
| + | |||
| ----- | ----- | ||
| Line 54: | Line 63: | ||
| # shortname | # shortname | ||
| FreeRADIUS-Client-Shortname = " | FreeRADIUS-Client-Shortname = " | ||
| + | |||
| + | </ | ||
| + | * Comment out the following two lines in the systemd service file | ||
| + | <code bash> | ||
| + | sudo vi / | ||
| + | </ | ||
| + | * See this sample to see which two lines to comment out. Failing to do this will result in a broken system with FreeRADIUS not starting up during boot | ||
| + | <code bash> | ||
| + | [Unit] | ||
| + | Description=FreeRADIUS multi-protocol policy server | ||
| + | After=syslog.target network.target | ||
| + | Documentation=man: | ||
| + | |||
| + | [Service] | ||
| + | Type=forking | ||
| + | PIDFile=/ | ||
| + | # | ||
| + | # | ||
| + | ExecStart=/ | ||
| + | Restart=on-failure | ||
| + | RestartSec=5 | ||
| + | |||
| + | [Install] | ||
| + | WantedBy=multi-user.target | ||
| </ | </ | ||
| * After you completed these commands you can test if FreeRADIUS starts up fine. | * After you completed these commands you can test if FreeRADIUS starts up fine. | ||
| <code bash> | <code bash> | ||
| + | sudo systemctl daemon-reload | ||
| sudo systemctl restart freeradius.service | sudo systemctl restart freeradius.service | ||
| sudo systemctl status freeradius.service | sudo systemctl status freeradius.service | ||
| </ | </ | ||
| + | |||
| + | <WRAP center round tip 100%> | ||
| + | * If in future you need to run FreeRADIUS in debug mode on the terminal use this as a reference: | ||
| + | <code bash> | ||
| + | #Stop the current FreeRADIUS instance | ||
| + | sudo systemctl stop freeradius.service | ||
| + | #If it is perhaps stuck use killall | ||
| + | sudo killall freeradius | ||
| + | #Start it in debug mode | ||
| + | sudo freeradius -X | ||
| + | </ | ||
| + | </ | ||
| + | |||
| ------- | ------- | ||
| Line 142: | Line 189: | ||
| ===== Next steps ===== | ===== Next steps ===== | ||
| * Be sure to also install **Node.js**. | * Be sure to also install **Node.js**. | ||
| - | * [[getting_started: | + | * [[getting_started: |