This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Braindump of commands and notes setting up freeradius on a Raspberry Pi as tutorials I found were outdated, mostly taken from here: | |
http://www.binaryheartbeat.net/2013/12/raspberry-pi-based-freeradius-server.html | |
sudo apt-get install freeradius freeradius-mysql apache2 php libapache2-mod-php mysql-server mysql-client php-mysql php-pear php-gd php-db | |
sudo mysqladmin -u root password NEWPASSWORD - if not prompted for password during setup | |
sudo wget https://sourceforge.net/projects/daloradius/files/latest/download | |
sudo mv download daloradius-0.9-9.tar.gz | |
sudo tar zxvf daloradius-0.9-9.tar.gz -C /var/www/ | |
sudo mv /var/www/daloradius-0.9-9/ /var/www/html/daloradius/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# An overly complicated SIP config checker | |
# This is a technically interesting implementation because it does not rely on csrutil | |
# Instead it queries the kernel directly for the current configuration status | |
# This means, for example, in environments where SIP has been disabled and csrutil has | |
# been removed or modified (say, with DYLD_LIBRARY_PATH), as long as python can run you | |
# can still check status | |
# Additionally, checking the nvram csr-active-config setting isn't accurate now with | |
# 10.12.2+, since running "sudo csrutil clear" deletes the variable until reboot, |