Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 16c74e5f22
Fetching contributors…

Cannot retrieve contributors at this time

executable file 26 lines (23 sloc) 0.79 kb
# Enable SSH
# SSH in, terminal
# Run script below
echo "NOTICE:"
echo "This is going to install the custom RADIUS server for the captive portal"
echo "and run it in screen. We assume it is being run on a FreeBSD pfSense box."
echo
sleep 3
setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/
pkg_add -r python
pkg_add -r py26-setuptools
pkg_add -r screen
rehash
fetch http://pypi.python.org/packages/source/p/pyrad/pyrad-1.1.tar.gz
tar -zxvf pyrad-1.1.tar.gz
cd pyrad-1.1
python setup.py install
mkdir -p /home/captiveportal
cd /home/captiveportal
fetch https://github.com/hackerdojo/hd-captiveportal/raw/master/pfsense/dictionary
fetch https://github.com/hackerdojo/hd-captiveportal/raw/master/pfsense/bridge.py
screen python bridge.py
# Enable
Jump to Line
Something went wrong with that request. Please try again.