1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00
Commit graph

706 commits

Author SHA1 Message Date
A Holt
12885ad5f8
How to edit iiab-gen-iptables 2019-05-19 06:30:16 -04:00
A Holt
669dcf7a6e
gui_wan -> ports_externally_visible >= 2 in avahi.yml 2019-05-19 05:45:16 -04:00
A Holt
ec9834f7d7
iiab-gen-iptables uses ports_externally_visible {0...5} 2019-05-19 05:42:58 -04:00
A Holt
e2c8b5cde6
Comments/spacing readability 2019-05-18 18:13:39 -04:00
Tim Moody
3d4ba01669 open samba ports 2019-05-15 10:01:38 -04:00
Mitra Ardron
1aebf56f7c Merge commit '50e5e1067f82d3bbb834ea091e6b2aef251cf1d8' into mitra 2019-05-08 12:35:47 +10:00
A Holt
50e5e1067f
Clarify why hostapd_wait (5 seconds for now) is nec 2019-05-07 16:16:07 -04:00
A Holt
3c76bbe8f3
hostapd_wait: 5 [was 1 second...we can try 3...or 10 if nec?] 2019-05-07 12:19:12 -04:00
Mitra Ardron
c99045b3ff Merge branch 'master' into mitra 2019-05-06 08:52:53 +10:00
A Holt
bd6d454b64
"optional: true" eliminates 2+ min stall during boot of Ubuntu 19.04 (#1586) 2019-05-04 03:14:49 -04:00
A Holt
98f682a0e4
Ansible file module "path" is equiv to "dest" 2019-05-04 00:57:44 -04:00
A Holt
63ab350994
Comments tightened up 2019-05-04 00:54:27 -04:00
A Holt
0682b03931
run netplan.yml if Ubuntu 18.04 or higher 2019-05-03 23:51:06 -04:00
Mitra Ardron
61d84f4f76 Internet Archive installation (merged from Georgejhunt & mitra42 distweb branches) 2019-04-27 11:41:21 +10:00
Mitra Ardron
1a34c04faf internetarchive - create directory; fix typo in iiab-gen-iptables 2019-04-23 16:45:37 +10:00
Mitra Ardron
6bd2575f51 Rename distweb to internetarchive 2019-04-23 10:59:57 +10:00
Mitra Ardron
c90dbfd9e1
Update iiab-gen-iptables
Looks like you called it archorg_port in some places and distweb_port in others (yaml file) - bringing this file into line.
2019-04-22 19:00:26 +10:00
A Holt
d509213043
Update debian.yml 2019-04-11 11:33:42 -04:00
A Holt
95063553eb
Update debian.yml 2019-04-11 11:32:47 -04:00
George Hunt
58ce24bd4c debian 10 needs auto just like 9 2019-04-11 06:39:24 -07:00
George Hunt
8c1188f1d3 ansible smoke test ok, server does not run --- missing wrtc 2019-03-28 22:22:03 +00:00
A Holt
8c257a2926
Merge pull request #1526 from holta/iiab-hotspot-off-keep-dnsmasq-running
iiab-hotspot-on & iiab-hotspot-off should keep dnsmasq running
2019-02-26 14:15:23 -05:00
A Holt
b5d5e27079
Update iiab-hotspot-on 2019-02-26 14:11:49 -05:00
A Holt
7ea0ba84da
dnsmasq needs to always be running 2019-02-26 14:03:02 -05:00
A Holt
73531b1f46
Merge pull request #1525 from holta/wifi-dnsmasq-fix
WiFi dnsmasq fix for #1519 - always create br0 on RPi
2019-02-26 13:36:01 -05:00
A Holt
4f564ed670
Merge pull request #1453 from holta/iiab-network-dup-routes-fix
Change iiab.j2 to rpi.j2 to fix iiab-network dup route failings?
2019-02-26 13:34:06 -05:00
A Holt
2c4d79f928
isolate br0: restart networking if bridge exists 2019-02-26 13:27:49 -05:00
A Holt
abafd34709
Sufficient b/c br0 exists thanks to /etc/network/interfaces.d/iiab 2019-02-26 13:23:55 -05:00
A Holt
237547f9da
exclude wired interface for RPi 2019-02-26 13:05:10 -05:00
A Holt
3ec408fbd1
cleaner, on @jvonau's recommendation 2019-02-25 12:00:46 -05:00
A Holt
fa8ac3606d
@jvonau: suppress restarting of dnsmasq if initial install is using WiFi 2019-02-25 11:56:57 -05:00
Anish Mangal
1cf55bdb70 Open PBX ports on WAN when pbx_enabled is true 2019-02-10 15:19:35 +00:00
A Holt
07081cd151
Merge pull request #1405 from m-anish/pbx
Asterisk (with chan_dongle) and FreePBX
2019-02-09 15:49:19 -05:00
A Holt
72142db7b8
Update README.rst 2019-02-08 22:08:07 -05:00
A Holt
b5c5a43b13
Update README.rst 2019-02-08 22:05:27 -05:00
A Holt
a4a6ee9aac
Update README.rst 2019-02-08 21:51:42 -05:00
A Holt
ed76faec77
Create README.rst 2019-02-08 08:59:12 -05:00
A Holt
744e5328d1
Merge pull request #211 from tim-moody/minetest-rpi
sync from tim-moody:minetest-rpi
2019-02-07 19:06:02 -05:00
A Holt
b9b7261e81
Rename iiab.j2 to iiab.j2.deprecated 2019-02-07 11:02:06 -05:00
Anish Mangal
425df6b4f0 Add pbx and pbx.lan to /etc/hosts 2019-02-06 21:15:43 +00:00
Anish Mangal
35c5ed3740
Update netplan.j2 2019-02-07 00:23:26 +05:30
Tim Moody
35ab675f2d minetest add port and include in 9 addons 2019-02-06 12:00:01 -05:00
A Holt
9edce23829
Update rpi_debian.yml 2019-02-05 13:10:19 -05:00
A Holt
3957891c36
Update rpi_debian.yml 2019-02-05 12:59:03 -05:00
A Holt
e2120ef8aa
Change iiab.j2 to rpi.j2 to fix #1452 dup route problem? 2019-02-05 12:56:51 -05:00
A Holt
e4a1e13b06
open calibreweb_port (8083) requested by @m-anish 2019-01-31 14:35:11 -05:00
A Holt
1f8c3f78cb
Update computed_services.yml 2019-01-31 14:29:19 -05:00
A Holt
c160e0e1d7
Merge pull request #1407 from jvonau/move_dnsmasq
Move dnsmasq config file to /etc/dnsmasq.d/
2019-01-17 15:04:05 -05:00
A Holt
e5abe54373
Update enable_services.yml 2019-01-17 15:03:12 -05:00
Jerry Vonau
04928693b1 as requested in chat 2019-01-17 12:43:50 -06:00
Jerry Vonau
f43f2f4d77 move dnsmasq config file to /etc/dnsmasq.d/
Bugfix don't supply named/bind files when not enabled.
2019-01-17 10:41:55 -06:00
A Holt
63fda2b290
Update main.yml 2019-01-16 04:49:30 -05:00
Jerry Vonau
2550eb4d04 Don't auto reinstall named, dhcpd when install is False
Trigger is change in hostname away from what is set in local_vars.
2019-01-16 03:32:40 -06:00
Anish Mangal
b78db708d3 Add nodered, mqtt ports to iptables-generator script 2019-01-15 13:43:39 +00:00
georgejhunt
b2be3ccae1
Merge pull request #1393 from iiab/0.3-devel
Changes required for new admin console
2019-01-14 11:38:54 -08:00
A Holt
a654b64476
box.lan NOT iiab-server.lan 2019-01-10 19:12:56 -05:00
georgejhunt
7f9957aa55
0.3 patch1 (#1377)
* expand zim_versions_idx to include menuItem name, mediaCount, articleCount, size

* create a stub menuItem if none exists

* remember to change consumer of zim_version_idx in iiab-admin

* comment out some debugging prints

* do not change the name of a variable in iiab.ini

* consistent variable names for *_enabled

* start work on menus for enabled iiab roles

* changes to display cups in home menu

* remove reference to admin console which may not be installed

* print error message

* dict.get errors

* handle undefined menuItem"

* handle undefined menuItem again

* some work on logos

* break out the zim_versions_idx routines for use by update_menus in admin-console

* remove old menuDef creation code

* new variable names for zim_versions_idx

* missing the tags data in zim_versions_idx

* un-break-apart iiab-make-kiwix-lib.py

* return an empty string

* make size human_readable

* getting console and iiab to work together on menus

* add the new zim_date field to zim_versions_idx

* get the latest into repo

* found lost code iiab-make-kiwix-lib.py

* Create Lokole admin user during setup

* Add requested content to lokole readme
Per iiab/iiab#1293

* Update default password

* Add Lokole-IIAB user manual

* Update default_vars.yml

* Update local_vars_min.yml

* Update local_vars_min.yml

* Update local_vars_medium.yml

* Update local_vars_min.yml

* Update default_vars.yml

* Update local_vars_big.yml

* Update local_vars_medium.yml

* Update default_vars.yml

* Update default_vars.yml

* Update local_vars_min.yml

* Update local_vars_medium.yml

* Update local_vars_big.yml

* Update default_vars.yml

* Update default_vars.yml

* Update local_vars_big.yml

* Update local_vars_medium.yml

* Update local_vars_min.yml

* Update default_vars.yml

* Update local_vars_big.yml

* Update local_vars_medium.yml

* Update local_vars_min.yml

* Change admin username to uppercase

* Revert "Lokole: change admin to Admin per IIAB app norms"

* Update main.yml

* Update README.rst

* Update capture-wsgi.py

* Update main.yml

* Update main.yml

* Update default_vars.yml

* Update local_vars_big.yml

* Update local_vars_medium.yml

* Update local_vars_min.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update default_vars.yml

* Update local_vars_big.yml

* Update local_vars_medium.yml

* Update local_vars_min.yml

* Address TODOs in Lokole documentation

See https://github.com/ascoderu/opwen-webapp/issues/81

* Update main.yml

* Update local_vars_big.yml

* Update local_vars_medium.yml

* Update local_vars_big.yml

* Update local_vars_min.yml

* Update default_vars.yml

* expand zim_versions_idx to include menuItem name, mediaCount, articleCount, size

* create a stub menuItem if none exists

* remember to change consumer of zim_version_idx in iiab-admin

* comment out some debugging prints

* do not change the name of a variable in iiab.ini

* consistent variable names for *_enabled

* start work on menus for enabled iiab roles

* changes to display cups in home menu

* remove reference to admin console which may not be installed

* print error message

* dict.get errors

* handle undefined menuItem"

* handle undefined menuItem again

* some work on logos

* break out the zim_versions_idx routines for use by update_menus in admin-console

* remove old menuDef creation code

* new variable names for zim_versions_idx

* missing the tags data in zim_versions_idx

* un-break-apart iiab-make-kiwix-lib.py

* return an empty string

* make size human_readable

* getting console and iiab to work together on menus

* add the new zim_date field to zim_versions_idx

* get the latest into repo

* found lost code iiab-make-kiwix-lib.py
2019-01-10 14:26:47 -08:00
A Holt
72594ee3b5
Merge pull request #1350 from jvonau/netplan
fix WiFi as gateway
2019-01-02 02:50:12 -05:00
Jerry Vonau
9254e4b400 fix WiFi as gateway 2019-01-02 01:32:40 -06:00
A Holt
fbe268569d
Merge pull request #1349 from holta/hotspot-on-off-commands
Update iiab-hotspot-on & -off commands from dhcpd to dnsmasq
2019-01-02 01:08:33 -05:00
A Holt
bb402fe24b
Update iiab-hotspot-off 2019-01-02 01:05:06 -05:00
A Holt
ac569245c5
Update iiab-hotspot-on 2019-01-02 01:04:41 -05:00
Jerry Vonau
346ad4cde6 cheap unmasking 2018-12-29 14:14:56 -06:00
Jerry Vonau
4c14ae3e37 use .yaml instead of .yml 2018-12-29 13:49:06 -06:00
Jerry Vonau
4c93054d45 using supplied 01-netcfg.yaml as example
note the use of yes in place of true for dhcp4
2018-12-29 13:16:59 -06:00
Jerry Vonau
0827827925 use .yml with file name, allow removal of more than one file name 2018-12-29 11:47:18 -06:00
Jerry Vonau
00152a0769 use iiab-dnsmasq.service everywhere 2018-12-19 15:58:53 -06:00
Jerry Vonau
f4a99abaf2 less time without services 2018-12-16 07:22:38 -06:00
Jerry Vonau
82e1a6fe63 use netplan for static wan interface on U-18 2018-12-16 06:39:19 -06:00
A Holt
ab8017647a
Apply suggestions from code review
as requested

Co-Authored-By: jvonau <jvonau3@gmail.com>
2018-12-16 06:26:55 -06:00
Jerry Vonau
bba77de643 yaml syntax 2018-12-15 18:55:18 +00:00
Jerry Vonau
3e36883758 networkd only 2018-12-15 00:32:33 -06:00
Jerry Vonau
d6690b2537 lets not use netplan for bridges 2018-12-15 00:32:33 -06:00
Jerry Vonau
7cade0c052 boot time speed up 2018-12-15 00:32:33 -06:00
Jerry Vonau
69e36e9fc1 clean-up 2018-12-15 00:32:33 -06:00
A Holt
f24e600945 Update roles/network/tasks/netplan.yml
Co-Authored-By: jvonau <jvonau3@gmail.com>
2018-12-15 00:32:33 -06:00
A Holt
c0f2d38d1c Update roles/network/tasks/netplan.yml
Co-Authored-By: jvonau <jvonau3@gmail.com>
2018-12-15 00:32:33 -06:00
A Holt
eb9a222887 Update roles/network/tasks/netplan.yml
Co-Authored-By: jvonau <jvonau3@gmail.com>
2018-12-15 00:32:33 -06:00
A Holt
80f6902828 Update roles/network/templates/network/dnsmasq.service.u18
Co-Authored-By: jvonau <jvonau3@gmail.com>
2018-12-15 00:32:33 -06:00
Jerry Vonau
27470ab830 stdout_lines 2018-12-15 00:32:33 -06:00
Jerry Vonau
3167f8133a #1320 fix for U-18 dnsmasq 2018-12-15 00:32:33 -06:00
Jerry Vonau
967102bc4f easier way to disable cloud-init 2018-12-15 00:32:33 -06:00
Jerry Vonau
14dd29eba4 refine netplan2 2018-12-15 00:32:33 -06:00
Jerry Vonau
d0c66fb4d3 refine netplan 2018-12-15 00:32:33 -06:00
Jerry Vonau
343d00848f split out netplan2 2018-12-15 00:32:33 -06:00
Jerry Vonau
93694e853b split out netplan 2018-12-15 00:32:33 -06:00
George Hunt
1c32208d7b transition to using apache2 for wsgi 2018-12-05 21:03:12 +00:00
A Holt
e74dd2def1
Update named.yml 2018-12-03 03:05:17 -05:00
A Holt
15d5405295
Update named.yml 2018-12-03 02:54:49 -05:00
A Holt
ff10a576f3
Update dnsmasq.yml 2018-12-03 02:31:12 -05:00
A Holt
5353d725a8
Update dnsmasq.yml 2018-12-03 02:30:16 -05:00
A Holt
d05123afe9
Allow systemd-resolved AND dnsmasq to work (#1306) 2018-12-03 02:23:39 -05:00
A Holt
73f9f7c3a0
Rename iiab-dnsmasq to dnsmasq-iiab 2018-12-03 02:19:31 -05:00
A Holt
04f4e48b1c
Rename roles/network/templates/iiab to roles/network/templates/network/iiab-dnsmasq 2018-12-03 02:18:44 -05:00
A Holt
a4a0d23a87
Create iiab 2018-12-03 02:15:29 -05:00
georgejhunt
84da40c40d
Cap2 (#1300)
* 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_
2018-11-17 20:09:40 -08:00
A Holt
57e0747564
Update restart.yml 2018-11-03 23:39:03 -04:00
A Holt
c7854d760d
Update named.yml 2018-10-31 14:12:08 -04:00
A Holt
858306b547
Update named.yml 2018-10-31 14:02:37 -04:00
A Holt
7c79fed0ae
Update squid.yml 2018-10-31 13:51:10 -04:00
A Holt
f8b28cfc6d
Update enable_services.yml 2018-10-31 03:58:55 -04:00
A Holt
b3adcfff6e
Update dansguardian.yml 2018-10-30 20:53:32 -04:00
A Holt
ca15a70c00
Update squid.yml 2018-10-30 20:51:21 -04:00
A Holt
5e956b9203
Update dansguardian.yml 2018-10-28 12:19:01 -04:00
A Holt
b6e842f38b
Update squid.yml 2018-10-28 12:09:55 -04:00
A Holt
1b1744c2b5
Update named.yml 2018-10-28 12:07:44 -04:00
A Holt
d37c0acc88
Update captive_portal.yml 2018-10-27 20:54:44 -04:00
root
b5efe25edb /etc/iiab/iiab.ini -> {{ iiab_ini_file }} 2018-10-15 07:01:09 -04:00
root
b973906dc3 iiab_env_file -> {{ iiab_env_file }} or "{{ iiab_env_file }}" 2018-10-15 06:41:58 -04:00
root
d9c73cc804 service_filelist -> iiab_ini_file 2018-10-15 06:13:57 -04:00
A Holt
a0d62e87fb
Update detected_network.yml 2018-10-15 04:54:01 -04:00
A Holt
ad247eb8b4
Update computed_services.yml 2018-10-15 04:53:40 -04:00
A Holt
89cf8be11d
Update computed_network.yml 2018-10-15 04:53:20 -04:00
A Holt
15df488fce
Update rpi_debian.yml 2018-10-09 17:21:25 -04:00
A Holt
eaf81d0d6b
Update computed_services.yml 2018-10-09 16:52:20 -04:00
A Holt
65972dafbc
Update main.yml 2018-10-09 16:40:54 -04:00
Jerry Vonau
9d616cf301 explicitly identify which primary dhcp server is being disabled
dhcp_service2 is used in restart.yml when not in Appliance mode
2018-10-09 12:20:03 -05:00
Jerry Vonau
bb6b3c2ab2 Explicitly disable dnsmasq when in Appliance mode
otherwise dnsmasq will become active upon reboot because enable_services.yml
would still be acting upon local_vars.yml where dnsmasq_enabled is set to True
while there is not LAN interface available to bind the service to.
2018-10-09 11:50:00 -05:00
A Holt
0d33d7aef0
Update main.yml 2018-10-08 20:27:25 -04:00
A Holt
ababc0cba7
Update hosts.yml 2018-10-08 19:34:04 -04:00
A Holt
2f3fb69e01
Merge branch 'master' into dnsmasq-initial-cleanup 2018-10-08 19:32:08 -04:00
A Holt
691fb23f83
Update avahi.yml 2018-10-08 19:14:10 -04:00
A Holt
b96b6f42ac
Update main.yml 2018-10-08 19:03:26 -04:00
A Holt
aa1c8287d5
Update edit_ifcfg.yml 2018-10-08 19:00:25 -04:00
A Holt
30c4f2a868
Update enable_wan.yml 2018-10-08 18:55:09 -04:00
A Holt
c6e6f7967c
Update hosts.yml 2018-10-08 18:49:04 -04:00
A Holt
27e04ebe0e
Update named.yml 2018-10-08 18:40:11 -04:00
A Holt
e94077fc3d
Update redetect.yml 2018-10-08 18:34:16 -04:00
A Holt
20988fda38
Update squid.yml 2018-10-08 18:30:21 -04:00
A Holt
73a2ce03da
Update static.yml 2018-10-08 18:29:15 -04:00
A Holt
d81a6788a6
Update wondershaper.yml 2018-10-08 18:24:17 -04:00
A Holt
0d0ef2fd39
Update NM.yml 2018-10-08 18:15:50 -04:00
A Holt
62e1a07e53
Update avahi.yml 2018-10-08 18:09:49 -04:00
A Holt
31388eee9d
Rename create_ifcfg.yml to create_ifcfg.yml.deprecated 2018-10-08 18:00:22 -04:00
A Holt
2004e621e9
Update detected_network.yml 2018-10-08 17:58:38 -04:00
A Holt
535dca7fca
Update detected_redhat.yml 2018-10-08 17:52:40 -04:00
A Holt
4986aef070
Update detected_redhat.yml 2018-10-08 17:51:15 -04:00
A Holt
394a308d72
Update dhcpd.yml 2018-10-08 17:44:35 -04:00
A Holt
d80e0771ac
Update main.yml 2018-10-08 17:29:57 -04:00
A Holt
6269aa590d
Update main.yml 2018-10-08 17:20:00 -04:00
A Holt
c32fc5c7d6
Update dhcpd.yml 2018-10-08 17:13:03 -04:00
A Holt
5bf67f847c
Update computed_services.yml 2018-10-08 17:05:44 -04:00
A Holt
5b129ec79b
Update computed_network.yml 2018-10-08 17:04:00 -04:00
A Holt
ed81633f65
Update main.yml 2018-10-08 17:02:34 -04:00
A Holt
30550052f1
Update computed_services.yml 2018-10-08 15:51:21 -04:00
A Holt
151f93fc6a
Update main.yml 2018-10-08 15:45:35 -04:00
A Holt
6645cc284e
Update hosts.yml 2018-10-03 18:20:00 -04:00
A Holt
9cbf08cf8f
Update captive_portal.yml 2018-10-03 16:14:15 -04:00
A Holt
a6b0bceef8
Update captive_portal.yml 2018-10-03 15:57:07 -04:00
A Holt
d41abbbbc3
Update hosts.yml 2018-10-03 14:52:04 -04:00
A Holt
a73c638181
Update iiab-gen-iptables 2018-10-03 14:47:21 -04:00
A Holt
e713a0705b
Update iiab-uncatch 2018-10-03 14:42:17 -04:00
A Holt
e6650b1313
Update iiab-catch 2018-10-03 14:41:20 -04:00
George Hunt
ac6c854646 change name of service, and test 2018-10-03 16:47:22 +00:00
George Hunt
b11b46ccd0 use hard coded iiab-servar.lan as a link between client redirects and our server 2018-10-02 02:30:52 +00:00
George Hunt
d90b6becb9 hard code a ficticious, but stable, server name for url linked to by captive portal 2018-10-01 19:48:08 +00:00
George Hunt
e26aa688c7 with_items 2018-10-01 18:52:00 +00:00
George Hunt
18d2315438 service->systemd 2018-10-01 18:27:54 +00:00
George Hunt
c91cb6cd32 no change to hosts 2018-10-01 18:18:36 +00:00
George Hunt
f91c67ad58 fix dual when 2018-10-01 18:16:51 +00:00
George Hunt
25eb4acada remove the default debug logging that will use up SD card 2018-09-30 02:46:58 +00:00
George Hunt
f59dbfbce9 fix android 7 -- return non 204 2018-09-29 19:42:49 +00:00
George Hunt
4ee9c3e2b5 add in template dir
rebase bassed upon copy in

cut out obvious dead code

working on put-204

make users a sqlite db

sqlite db has users, and agent info

android timeouts not yet working

android 5 and 6 both work. lost mac

return to a working version for the MAC. Missing the splash

android,mac,windows all appear to work

sqlite get status of execute row == Null

initialize lasttimestamp with ajax call when home is triggered

remove commented code, move towards logging vs print statements

add logging with the -l flag

no changes to default_vars.yml

drop iptables captive portal stuff not using port 8090, and dnsmasq

missed deleting trap_enabled

fixes for 6.7 defaults

add in template dir

rebase bassed upon copy in

cut out obvious dead code

working on put-204

make users a sqlite db

sqlite db has users, and agent info

android timeouts not yet working

android 5 and 6 both work. lost mac

return to a working version for the MAC. Missing the splash

android,mac,windows all appear to work

sqlite get status of execute row == Null

initialize lasttimestamp with ajax call when home is triggered

remove commented code, move towards logging vs print statements

drop iptables captive portal stuff not using port 8090, and dnsmasq

missed deleting trap_enabled

fixes for 6.7 defaults

dispense with apache logs for captive portal, use the rotating portal.log instead

bring in clean defaults and py

Squash debugging details

remove backup file

still cannot dispense with cna on iphone. mac escape from cna broke with these changes

captive comes after iiab in apache config

one filename wrong

logging used for debug, lost mac escape from cna

typos

got mac/iphone full browser back

remove dead code

python was not creating db, or putting ip when first encountered
2018-09-29 03:40:14 +00:00
Tim Moody
746ce5f262 sync dhcpd so comes up at boot on rpi w 2018-09-08 17:46:59 -04:00
A Holt
11c2441059
Merge pull request #137 from arky/transmission
sync from arky/transmission
2018-08-28 16:41:23 -04:00
A Holt
472e85951b
Merge pull request #1019 from holta/sugar-stats-tweak
More fully deprecate sugar-stats
2018-08-21 12:54:11 -04:00
A Holt
d97f62edf9
Update main.yml 2018-08-21 12:45:38 -04:00
A Holt
f1dea552c4
Update hostapd.service.j2 2018-08-21 12:17:30 -04:00
Arky
62ed40a792 Correctly assign transmission_peer_port in iiab-gen-iptables 2018-08-20 16:36:02 +07:00
Arky
a4d4144156 Correct transmission variables and use 'to_json'
Ensure that transmission_http_port variable is not reset in
iiab-gen-iptables.

Remote the extra qoutes and also use to_json to clean the
transmission_kalite_languages output.

Restructure the defaults section.

Update the README documentation.
2018-08-20 16:36:02 +07:00
Arky
6e84639902 Proof-of-Concept: Install and Start downloading a torrent 2018-08-20 16:36:02 +07:00
A Holt
2f238ec811
Merge pull request #932 from holta/named
Deleting link requires 1 param not 2; named.yml cleanup
2018-07-20 05:22:50 -04:00
A Holt
b3a7af09c5
Update named.yml 2018-07-20 05:16:57 -04:00
A Holt
7866041f2b
Update main.yml 2018-07-19 22:09:15 -04:00
A Holt
1d128593ee
Update debian.yml 2018-07-17 02:01:01 -04:00
A Holt
5161152432
Update debian.yml 2018-07-17 01:57:12 -04:00
A Holt
b3dbf16a27
Update ifcfg_mods.yml 2018-07-17 01:56:14 -04:00
A Holt
0247ee1930
Update debian.yml 2018-07-17 01:54:14 -04:00
A Holt
74dca68882
Update down-debian.yml 2018-07-17 01:49:14 -04:00
A Holt
7790fd6624
Update ifcfg_mods.yml 2018-07-17 01:48:19 -04:00
A Holt
44c1c0293a
Update restart.yml 2018-07-17 01:41:51 -04:00
A Holt
be2a9eb1ac
Update iiab-gen-iptables 2018-07-17 01:23:43 -04:00
A Holt
3c031c88a3
Update iiab-gen-iptables 2018-07-17 01:10:37 -04:00
A Holt
16e2cccec3
Update iiab-gen-iptables 2018-07-17 01:05:49 -04:00
A Holt
b0aea6e136
Update main.yml 2018-07-12 14:10:34 -04:00
A Holt
eb1f6a5dcc
Update enable_services.yml 2018-07-12 14:04:52 -04:00
A Holt
281e0de791
Update enable_services.yml 2018-07-12 13:51:59 -04:00
A Holt
1337b651ac
modern Ansible syntax/style for readability 2018-07-12 13:50:32 -04:00
A Holt
d9398e39a7
modern Ansible syntax/style for readability 2018-07-12 13:36:44 -04:00
A Holt
01197db87c
Understandability/Context for outsiders 2018-07-12 13:36:09 -04:00
Jerry Vonau
ca7c291ba5 use py_ for new captive_portal variables 2018-07-05 12:24:20 -05:00
Jerry Vonau
2f47e84696 use py_captive_portal_enabled and restore captive_portal_enabled 2018-07-05 10:57:38 -05:00
Jerry Vonau
516daefb27 use dns_jail_enabled for dnsmasq blackhole 2018-07-05 10:55:12 -05:00
Jerry Vonau
cc09adb677 replace named-iiab.conf to pickup changes in dns_jail_enabled 2018-07-04 09:29:05 -05:00
Jerry Vonau
ef58b913aa use lan_ip in place of hardcoding 2018-07-04 08:32:24 -05:00
Jerry Vonau
418d941833 whitespace 2018-07-04 08:30:53 -05:00
Anish Mangal
5674675ef9 captive_portal service must run as root 2018-07-04 08:27:11 -05:00
Anish Mangal
74fb19864f Initial working copy of the captive portal 2018-07-04 08:27:11 -05:00
Jerry Vonau
aeacbe60ca tweaking iptables for captive portal 2018-07-04 08:27:11 -05:00
A Holt
b04a6147e9
typo in comment: counry -> country 2018-06-29 17:40:50 -04:00
A Holt
9383cca879
Merge pull request #814 from georgejhunt/sugar
Sugarizer v1.0 migration
2018-06-21 12:09:27 -04:00
A Holt
11d18826c7
Update dnsmasq.yml 2018-06-14 15:22:11 -04:00
A Holt
831107839f
@jvonau requests we comment out most lines for now 2018-06-14 15:18:06 -04:00
A Holt
fa150095a6
commas were missing; fix to path roles/network/templates/network/dnsmasq.conf.j2 2018-06-14 14:56:42 -04:00
Jerry Vonau
6a47aa024f conditional captive portal 2018-06-01 12:33:03 -05:00
Jerry Vonau
656d7caeb0 don't use captive portal mode 2018-06-01 11:38:22 -05:00
Jerry Vonau
1db445aacb use full path otherwise .j2 is used - no need to supply systemd unit file 2018-06-01 11:16:30 -05:00
Jerry Vonau
f6e16fea68 setup installing dnsmasq 2018-06-01 10:56:16 -05:00
Jerry Vonau
1267c1e19c Fallback to old gateway info when WAN is not detected when configuring static ip 2018-05-31 11:20:35 -05:00
Jerry Vonau
7501d256f8 handle different netplan file name 2018-05-20 11:57:10 -05:00
Jerry Vonau
5ca184297e handle systemd-networkd having enabled-runtime 2018-05-20 11:34:02 -05:00
George Hunt
732547b9e7 softcode sugarizer port, open iptables if services_externally_visible 2018-05-18 22:35:09 +00:00
Jerry Vonau
36217b7b3f allow backout from static to dhcp 2018-05-14 13:22:32 -05:00
Jerry Vonau
8167d9db71 missing %} 2018-05-14 10:34:59 -05:00
Jerry Vonau
0ad689711f missing .j2 2018-05-14 10:02:32 -05:00
Jerry Vonau
7f02aa573f correct typo 2018-05-14 09:36:44 -05:00
Jerry Vonau
7d0cfc0f93 systemd-networkd support for wan static ip address 2018-05-13 21:13:34 -05:00
Jerry Vonau
450a346839 NetworkManager support for wan static ip address 2018-05-13 21:13:34 -05:00
Jerry Vonau
e7fc6cc36d ensure we want to use dhcp in template 2018-05-13 17:20:59 -05:00
Jerry Vonau
0c578c6a7d debian-9 clear out interfaces when static ip 2018-05-13 16:48:12 -05:00
Jerry Vonau
506ce3ffd3 debian-9 networking restart workaround 2018-05-13 15:27:09 -05:00
Jerry Vonau
90ffdb9f69 netplan file change only for ubuntu-18 2018-05-13 12:09:31 -05:00
Jerry Vonau
72145ce13e update template to match distro 2018-05-13 10:56:55 -05:00
Jerry Vonau
ff7022b563 get rid of the stall with 'dhcp' 2018-05-12 23:13:27 -05:00
Jerry Vonau
aad974777a needed for dhcp now 2018-05-12 22:44:08 -05:00
Jerry Vonau
1082dd2aa4 allow the console to back out of static 2018-05-12 22:44:08 -05:00
Jerry Vonau
db2b3b7ee1 netplan systemd-networkd static support 2018-05-12 22:44:08 -05:00
A Holt
184cc624f9
Update main.yml 2018-05-10 12:38:59 -04:00
A Holt
a5e51b76bf
move "host_country_code: US" from roles/network/defaults to local_vars.yml 2018-05-10 12:12:28 -04:00
Jerry Vonau
852d14dbde correct false postive, numbers need quotes 2018-05-05 07:57:04 -05:00
Jerry Vonau
1dda6adf6d Disable isc-dhcp-server6.service on ubuntu-18 2018-05-03 09:40:08 -05:00
Jerry Vonau
e74cc9e241 Disable and mask systemd-networkd-wait-online on ubuntu-18 2018-05-03 08:10:31 -05:00
Jerry Vonau
76e84bec8b dhcpd staging 2018-05-02 21:27:15 -05:00
Jerry Vonau
039b584fb2 systemd-networkd fix-ups 2018-05-02 21:27:14 -05:00
Jerry Vonau
0a84a5e9a7 fix detection 2018-05-02 21:27:14 -05:00
Jerry Vonau
e2c641e974 allow br0 removel 2018-05-02 21:27:14 -05:00
Jerry Vonau
748235c4b7 start hostapd before dhcpd 2018-05-01 15:55:05 -05:00
Jerry Vonau
4ed7c38f4f NM not playing nice on ubuntu-16, use older method 2018-05-01 14:40:04 -05:00
Jerry Vonau
50ad0de6be revise feedback 2018-04-08 19:57:49 -05:00
Jerry Vonau
5a0a37d064 scripts only apply to the RPi 2018-04-08 19:46:31 -05:00
Jerry Vonau
ceb4d7d901 hostapd - disable before enable
Similar workarounds exist in named.yml and dhcpd.yml, just go with the flow
2018-04-08 19:23:13 -05:00
Jerry Vonau
367164029c replace shell use of daemon_reload with systemd module, use systemd module in place of service for hostapd 2018-04-07 17:31:36 -05:00
Jerry Vonau
e7872a2a9d fix enabling hostapd 2018-04-07 11:50:13 -05:00
A Holt
902b473f5b
Merge pull request #726 from georgejhunt/fix6.5
fix6.5 - auto-enable hostapd (during Ethernet install of IIAB)
2018-04-05 12:17:59 -04:00
A Holt
464488da62
Update main.yml 2018-04-04 04:16:51 -04:00
A Holt
aec942f75a
Update main.yml 2018-04-04 03:57:33 -04:00
A Holt
2c58341de5
record HOSTAPD_ENABLED=True into iiab.env 2018-04-04 03:27:41 -04:00
A Holt
fa47bc1d41
record HOSTAPD_ENABLED=False into iiab.env 2018-04-04 03:27:25 -04:00
A Holt
1396704aff
record HOSTAPD_ENABLED=<value> into iiab.env 2018-04-04 03:15:19 -04:00
A Holt
246515ed21
Update iiab-hotspot-on 2018-04-04 02:36:26 -04:00