This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
getting_started:install_ubuntu_freeradius_upgrade [2017/04/06 10:29] – [Background] admin | getting_started:install_ubuntu_freeradius_upgrade [2017/04/06 10:32] (current) – [Upgrade instructions] admin | ||
---|---|---|---|
Line 42: | Line 42: | ||
</ | </ | ||
+ | |||
+ | ==== Do the following to further configure FreeRADIUS 3.x to work with RADIUSdesk ==== | ||
+ | |||
+ | * Configure the site wide shared secret. This will be the value used by <wrap em> | ||
+ | <code bash> | ||
+ | sudo vi / | ||
+ | </ | ||
+ | * Look for this part in the file and change **FreeRADIUS-Client-Secret** to the value you choose to use. | ||
+ | <code bash> | ||
+ | # Echo the IP address of the client. | ||
+ | FreeRADIUS-Client-IP-Address = " | ||
+ | |||
+ | # require_message_authenticator | ||
+ | FreeRADIUS-Client-Require-MA = no | ||
+ | |||
+ | # secret | ||
+ | FreeRADIUS-Client-Secret = " | ||
+ | |||
+ | # 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. | ||
+ | <code bash> | ||
+ | sudo systemctl daemon-reload | ||
+ | sudo systemctl restart 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 | ||
+ | </ | ||
+ | </ | ||
+ | |||