mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
* move captive portal to its own role * runrole still not working * make apache name consistent, define py_captive_portal_port * record android fixes * some progress -- windows8.1 works but detectportal.firefox active for both mac and windows * works all platforms * one captive_portal_install not changed to py_captive... * port into defaults * windows 7,8,10,mac,ios,android 5,7 * add # to dnsmasq.d/captive * guess what android 8 might need * move captive portal to its own role * runrole still not working * make apache name consistent, define py_captive_portal_port * record android fixes * some progress -- windows8.1 works but detectportal.firefox active for both mac and windows * works all platforms * one captive_portal_install not changed to py_captive... * port into defaults * windows 7,8,10,mac,ios,android 5,7 * add # to dnsmasq.d/captive * guess what android 8 might need * restart apache2 and dnsmasq in role * do not hard code apache name * cut out disfunctional experiments * variable py_captive_portal_port misspelled * add wildcard serveralias to box.lan vhost to fix default * add in STDOUT to log * remove the py_ * add in msn to urls to capture * missed a few py_
9 lines
317 B
Bash
Executable file
9 lines
317 B
Bash
Executable file
#!/bin/bash -x
|
|
# substitute our own server to catch OS connectivity checking URL's
|
|
|
|
systemctl stop {{ apache_service }}
|
|
systemctl stop captive-portal
|
|
echo address=/#/172.18.96.1 > /etc/dnsmasq.d/capture
|
|
/opt/iiab/captive-portal/capture-wsgi.py -d &
|
|
# write the pid just started
|
|
echo $! > /opt/iiab/captive-portal/pid
|