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

1027 commits

Author SHA1 Message Date
Jerry Vonau
ed2a0f3027 wip on the fly 2022-05-19 14:32:18 -05:00
Jerry Vonau
8924b6668c reload might be needed to register the new templates if they changed 2022-05-19 14:32:18 -05:00
Jerry Vonau
6e2493a2d4 think that was a bug report in the past 2022-05-19 14:32:18 -05:00
Jerry Vonau
9f699d19fe should be a drop-in replacement 2022-05-19 14:32:18 -05:00
Jerry Vonau
dfb9eea05d isolate returned value 2022-05-19 14:32:18 -05:00
Jerry Vonau
4a30d7e15d supply hostapd template later to pickup changed fact 2022-05-19 14:32:18 -05:00
Jerry Vonau
422b1c0197 set 'host_country_code' to value found in wpa_supplicant.conf
host_country_code becomes a fallback value if undetected
2022-05-19 14:32:18 -05:00
A Holt
9bf4404e50
hostapd.yml: Clean up Ansible output re: iiab-hotspot-{on|off} 2022-05-19 11:25:00 -04:00
A Holt
7f50ad8365
network/tasks/hostapd.yml: Install /usr/bin/iiab-hotspot-{on|off} in all cases! 2022-05-19 11:20:24 -04:00
root
1df0263281 detected_network.yml: 'when: look_for_ap.failed is defined and...' 2022-05-19 00:04:57 -04:00
root
4d5143e2de network/tasks/detected_network.yml: Refine AP detection 2022-05-18 23:48:54 -04:00
root
fb1e5a3bc4 Merge branch 'check4AP' of https://github.com/jvonau/iiab into check4AP 2022-05-18 22:46:26 -04:00
A Holt
3df09c73f0
network/tasks/squid.yml: Doc @ network/templates/squid/squid.conf.j2#L12-L32 2022-04-06 11:45:16 -04:00
A Holt
3756fe63da
Clarify /etc/squid/squid.conf <- roles/network/templates/squid/squid.conf.j2 2022-04-06 11:42:10 -04:00
Jerry Vonau
438cdf552c tweak regexp for entries in Supported TX RX - forgot stdout 2022-03-28 20:40:14 -05:00
Jerry Vonau
7113f87f32 Detect, recored if wifi can be AP and suppress installing supporting files 2022-03-28 20:40:11 -05:00
root
fbe585d75b roles/firmware: code + UI cleanup (7.45.98.65 needs testing on RPi 3/W) 2022-01-07 20:13:10 -05:00
root
abeb97794f Ansible indentation norm across 7-8 roles 2022-01-07 05:29:54 -05:00
A Holt
27fe26f8de
iiab-test-wifi.j2: WiFi country code progress on arm64 OS's discussed on #3078 2021-12-29 13:12:46 -05:00
root
5f3708fe29 get_url 'timeout: "{{ download_timeout }}"' in 10 roles 2021-12-26 10:24:31 -05:00
Jerry Vonau
713c30e8ff
Update iiab-test-wifi.j2
document the reason for the netplan stanza
2021-12-22 05:25:58 -06:00
root
a808e0f76b Restore 'internet_available' to network/tasks/netplan.yml + www_options/tasks/main.yml 2021-08-29 15:25:33 -04:00
root
1c7c30d8f3 Remove 'when: internet_available' from 5 files + Clean 3 similar 2021-08-29 14:36:48 -04:00
A Holt
f2589e8058
iiab-gen-iptables: Tighten up comment 2021-08-28 18:19:16 -04:00
root
9f013de57c Fix Squid tips + optimize its install in 4-server-options 2021-08-24 10:04:12 -04:00
root
87ec19cafe network/tasks/squid.yml: Contextualize /etc/squid/squid.conf, allowlists + Stop svc during install 2021-08-24 09:10:54 -04:00
root
cb337418b3 Squid: Contextualize allowlists for new implementers (whitelists) 2021-08-24 08:34:51 -04:00
root
4168ecfa37 Toughen up /usr/bin/iiab-support & similar local_vars.yml extractors 2021-08-19 15:27:05 -04:00
root
011139bde6 Major cleanup of roles/openvpn, openvpn_handle SSOT 2021-08-18 21:47:46 -04:00
A Holt
b98c036d5f
Explain iiab_var_value() bash function mechanics, in iiab-gen-iptables 2021-08-18 02:44:59 -04:00
root
f7d2468f6a Cleaner network/templates/gateway/iiab-gen-iptables & 2-common prep 2021-08-18 01:47:03 -04:00
root
2634fa207b iiab-gen-iptables reads default_vars & local_vars, for ./runrole pbx 2021-08-18 00:15:41 -04:00
root
42d4d70367 Turn off pbx_use_apache or pbx_use_nginx + instant iptables 2021-08-17 20:09:07 -04:00
A Holt
1c4276a4c0
network/templates/squid/squid.conf.j2: Fix URL re: cache-dir creation 2021-08-17 12:37:31 -04:00
A Holt
c2734315a6
network/tasks/squid.yml: Clarify user:group {{ proxy_user }} per #2948 discussion 2021-08-17 12:34:19 -04:00
root
e2bf2578e2 Squid won't auto-create /library/cache, hence 'proxy_user: proxy' 2021-08-16 15:24:13 -04:00
root
a8114e65dd Spring Cleaning for dysfunctional Squid 2021-08-16 12:44:14 -04:00
root
cfce51744c network/tasks/enable_services.yml: Clarify Squid enable/disable actions 2021-08-15 13:25:50 -04:00
root
093f8532cc squid-iiab.conf.j2: Comment out 'if dansguardian_enabled' etc 2021-08-15 11:12:46 -04:00
root
7c6494b31a Squid clarifs in local_vars.yml, enable_services.yml etc 2021-08-15 10:06:01 -04:00
A Holt
dfd1ff8b1b
Merge branch 'iiab:master' into deprecate-wondershaper-etc 2021-08-15 08:00:57 -04:00
root
724f64e85a Reinstate Squid, cutting out DansGuardian 2021-08-15 07:59:35 -04:00
A Holt
609381a4b7
Cleaner roles/network/README.rst 2021-08-15 07:37:23 -04:00
root
d16d4f74e1 Cleaner computed_network.yml, computed_services.yml, enable_services.yml 2021-08-14 16:44:22 -04:00
root
55c016089c Deprecate DansGuardian, Squid, WonderShaper 2021-08-14 16:18:12 -04:00
root
82a636ced5 0-init/defaults/main.yml: reconcile stale vars 2021-07-30 15:37:04 -04:00
root
50e0cde9a3 iiab-check-firmware to /usr/bin ; rename systemd services to iiab-* 2021-07-27 22:36:07 -04:00
A Holt
566a5e685b
rpi_debian.yml: clone-wifi when: discovered_wireless_iface != "none" 2021-07-20 21:58:26 -04:00
A Holt
90bd56dd3d
dhcpcd.conf.j2: denyinterfaces IF {{ iiab_wireless_lan_iface }} defined 2021-07-20 15:42:34 -04:00
A Holt
6873524bd5
network/tasks/computed_services.yml: Restore trailing newline 2021-04-30 12:43:00 -04:00
Jerry Vonau
a643df2595
Merge branch 'master' into wifi_info 2021-04-30 11:30:31 -05:00
root
ed883d7ee5 network/tasks/computed_services.yml comment re-ordered 2021-04-30 11:34:30 -04:00
root
24000def54 Debug network/tasks/enable_services.yml like PR #2768 2021-04-30 11:25:32 -04:00
root
fbb476f667 Cleaner network/tasks/enable_services.yml like PR #2768 2021-04-30 11:22:49 -04:00
Jerry Vonau
b10f2f9f14 rename current_host_channel -> current_client_channel and record 2021-04-30 07:45:49 -05:00
root
670746fe88 WIP: iiab.ini vars set in 3 places? For Squid, DansGuardian, Wondershaper 2021-04-29 16:08:31 -04:00
root
a07a684d13 /etc/iiab/iiab.ini: install / enabled -> ROLE_install / ROLE_enabled 2021-04-29 15:03:29 -04:00
A Holt
f1fcdb82bc
Merge pull request #2693 from jvonau/debian_mate
Debian mate
2021-04-29 11:16:05 -04:00
Jerry Vonau
bdfd2b057a save a daemon_reload 2021-04-28 16:31:00 -05:00
Jerry Vonau
a581d6ebf4 use the same logic as netplan.yml for br0 2021-04-28 16:31:00 -05:00
Blondel MONDESIR
c94b76d063
Rename br0.j2 to br0.j2.deprecated 2021-04-28 11:28:33 -04:00
Jerry Vonau
5092229fcc replace 'brctl' with 'bridge' 2021-04-26 22:29:54 -05:00
root
3fe1f66de0 Packaging for PR #2719 to promote JupyterHub Notebooks 2021-04-15 18:14:14 +00:00
A Holt
6b4b68de8b
Merge pull request #482 from georgejhunt/jupyter
Sync from georgejhunt/iiab:jupyter
2021-04-15 13:27:45 -04:00
A Holt
0f4071837c
Merge pull request #2732 from holta/sysd-netd-debian.yml-comment
sysd-netd-debian.yml & rpi_debian.yml: Restore explanation of hostapd restart
2021-04-14 14:03:37 -04:00
A Holt
e4d9e6306b
network/tasks/sysd-netd-debian.yml: Restore explanation of hostapd restart 2021-04-14 13:01:44 -04:00
A Holt
a8df90c3a4
network/tasks/rpi_debian.yml: Restore explanation of hostapd restart 2021-04-14 13:01:37 -04:00
A Holt
309ce72801
Merge pull request #2731 from holta/sysd-netd-debian.yml-comment
sysd-netd-debian.yml typo in comment?
2021-04-14 11:23:59 -04:00
A Holt
057db8f3a7
sysd-netd-debian.yml typo? 2021-04-14 08:17:22 -04:00
A Holt
16ed017392
Update iiab-internet-off 2021-04-14 08:00:55 -04:00
A Holt
5471f28462
Update iiab-internet-on 2021-04-14 08:00:27 -04:00
A Holt
e631ea392c
Update iiab-gen-iptables 2021-04-14 07:21:30 -04:00
A Holt
acdbf503d8
Update iiab-internet-off 2021-04-14 06:55:41 -04:00
A Holt
8e064cce69
Update iiab-internet-on 2021-04-14 06:54:18 -04:00
George Hunt
abeae78259 displayed the ted notebook on raspi-os 2021-04-13 17:23:43 +01:00
A Holt
593804f9d3
Update iiab-internet-on 2021-04-13 01:09:09 -04:00
A Holt
1b2ccef0ce
Update iiab-internet-off 2021-04-13 01:08:49 -04:00
A Holt
c5bd0c909b
Update iiab-internet-on 2021-04-13 00:38:38 -04:00
A Holt
6a4e6bb2a9
Update iiab-internet-off 2021-04-13 00:37:44 -04:00
A Holt
eeefe546e7
network/tasks/enable_services.yml: Install iiab-internet-on|off from template 2021-04-13 00:31:33 -04:00
Jerry Vonau
6aeaeed6ab helper scripts 2021-04-12 12:12:06 -05:00
Jerry Vonau
df5618c3a4 grouping 2021-04-12 10:45:31 -05:00
Jerry Vonau
1b8e6e4958 move to runtime option from install time (via 1-prep) 2021-04-12 10:31:23 -05:00
Jerry Vonau
742405b1d3 use iiab.env as reference for state of iiab_gateway_enabled
Opens up the posibility of gateway-on|off scripts like hotspot-on|off
2021-04-12 09:22:14 -05:00
Jerry Vonau
a32539ae81 Don't load legacy modules 2021-04-12 00:00:50 -05:00
Jerry Vonau
d3b49ec32d kick ap0 2021-02-23 18:55:47 -05:00
A Holt
b8311af03a
Fix comment in network/defaults/main.yml 2021-01-29 20:56:24 -05:00
A Holt
6c41b07462
Initialize vars in network/defaults/main.yml e.g. 'prior_gw_device: unset' 2021-01-29 11:48:00 -05:00
A Holt
b93a69ce98
Broken link in roles/network/README.rst 2020-12-28 19:22:25 -05:00
Jerry Vonau
7bed67ddcc temp fix for #2585 with networkd-dispatcher/groovy,now 2.0.1-1
revert when fixed upstream
2020-11-23 19:31:43 -06:00
root
efe2381e43 Restart {{ dhcp_service2 }} as on is_ubuntu_20 2020-11-15 01:13:49 +00:00
A Holt
a0632fcbbf
hostapd.yml: diagnosic -> diagnostic 2020-10-28 00:49:54 -04:00
A Holt
12e238fde2
Update wifi-test.service.j2 2020-10-28 00:38:08 -04:00
A Holt
f7a0c21a22
Update hostapd.service.j2 2020-10-28 00:37:33 -04:00
root
d1865ee2d6 4 renames: network-manager -> NetworkManager 2020-10-27 22:43:13 -04:00
root
6856bb86aa Typos in iiab-hotspot-on, iiab-hotspot-off, systemd-static-net.j2 2020-10-24 10:01:41 -04:00
Jerry Vonau
ffd9b4da0c gui_desired_network_role is defined in systemd.j2 2020-10-22 14:19:29 -05:00
root
ca171fbc1c Remove "| bool" 1.5yrs later, as Ansible 2.10 changed conditional_bare_variables default 2020-10-16 16:46:19 -04:00
Jerry Vonau
3d0bdc47e4 record bare variables and use -e with the bare variables in the grep line 2020-10-09 07:30:18 -05:00
Jerry Vonau
46448daeab replace second_gateway_found.changed with second_gateway_found.stdout != and wording 2020-10-07 13:59:16 -05:00
root
ac22723b43 Release Cleanup of validate_vars, default_vars, local_vars, Stages 0-4, SSHD 2020-09-24 19:01:11 -04:00
A Holt
4a7076a0ef
Merge pull request #2530 from jvonau/hostapd_ctl
Hostapd ctl
2020-09-16 21:50:54 -04:00
Jerry Vonau
f121ae1e52 move to top 2020-09-16 11:52:17 -05:00
George Hunt
4746a142af add ctrl-interface to hostapd 2020-09-16 11:50:52 -05:00
A Holt
ce30aee953
roles/network/README.rst punctiliousness 2020-09-16 10:08:03 -04:00
A Holt
bf2ad15fe0
Refine roles/network/README.rst 2020-09-16 09:44:07 -04:00
Jerry Vonau
a6074935db open up exclude_devices for any device with a default route present
handles wifi & wired devices
2020-09-15 08:17:07 -05:00
Jerry Vonau
aed16ca9f2 exclude_device -> exclude_devices
There can be more than one
2020-09-15 08:17:07 -05:00
Jerry Vonau
797aee3e9f 2515 fix 2020-09-14 22:53:30 -05:00
A Holt
01d418e374
network/tasks/main.yml: typo in comment 2020-09-12 21:11:36 -04:00
A Holt
3ad8b4e47e
network/tasks/main.yml: subsequant -> subsequent 2020-09-12 21:07:26 -04:00
Jerry Vonau
0c8104abff better usage explaination of no_net_restart 2020-09-12 19:58:10 -05:00
A Holt
9d63fa40fb
network/tasks/main.yml: 2 comments about no_net_restart 2020-09-12 20:40:30 -04:00
Jerry Vonau
05600f3b7a detect secondary gateway on wifi interface for no_net_restart 2020-09-12 02:33:31 +01:00
A Holt
0bfc7e9b28
Update 50-hostapd 2020-09-08 09:05:20 -04:00
Jerry Vonau
d032dfa7a6 add loud reboot message 2020-09-07 20:28:13 -05:00
Jerry Vonau
18d32b2b8d add warning is 5Ghz - ignoring 2020-09-07 19:08:51 -05:00
Jerry Vonau
9caf17c2b8 add warning for 5Ghz NOT CHANGING HOSTAPD 2020-09-07 18:57:19 -05:00
A Holt
8d3b2f6ff8
Merge pull request #2472 from jvonau/firmware
RFC Firmware downgrading [WiFi hotspot capacity workaround, for Raspberry Pi]
2020-08-06 12:14:47 -04:00
Jerry Vonau
f6c31f80ba handle firmware downgrade 2020-08-02 13:36:56 -05:00
Jerry Vonau
6e29ed1c3a RPiOS - use 'no-block' with dhcpcd 2020-08-01 11:08:02 -05:00
Jerry Vonau
e57cad010e Ubuntu - use networkd-dispatcher hooks to restart hostapd when br0 appears 2020-08-01 11:06:45 -05:00
Jerry Vonau
13e25494c0 RPiOS - use dhcpcd hooks to restart hostapd when br0 appears 2020-08-01 00:05:31 -05:00
Jerry Vonau
016cdfcc37 use bind-dynamic for dnsmasq on RpiOS - 2 2020-07-23 23:09:01 -05:00
Jerry Vonau
264dc81f03 use bind-dynamic for dnsmasq on RpiOS 2020-07-23 22:59:36 -05:00
Jerry Vonau
b44526cc27 networking - RpiOS - May impact bluetooth networking.
Only supply 'iiab' and use networking service for wired slaves needing br0.
2020-07-23 22:42:03 -05:00
A Holt
224001d0ab
Merge pull request #2406 from jvonau/hook-tune
tuning of 52c0f2aaea [internal WiFi hotspot is not working]
2020-05-13 14:45:53 -04:00
Jerry Vonau
ae62306534 go with all three to match netd-disp 2020-05-13 09:53:01 -05:00
Jerry Vonau
1adb4997a6 didn't like * so split up 2020-05-13 02:14:08 -05:00
Jerry Vonau
2ed7c34579 tuning of 52c0f2aaea 2020-05-13 00:43:42 -05:00
A Holt
7e6d1dc433
hostapd_wait: 5 -> 10 2020-05-12 23:12:41 -04:00
Jerry Vonau
c1bf4adfc2 selective rfkill unblock for raspbian 2020-05-12 10:45:35 -05:00
Jerry Vonau
754c521f0c yaml set the variable wan_nameserver as 'null' without quotes then jinja converts that 'none' 2020-05-11 10:54:26 -05:00
A Holt
39b557b94c
Update enable_services.yml 2020-05-10 14:25:08 -04:00
Jerry Vonau
66f5425943 Merge branch 'master' into early-dns 2020-05-09 16:28:39 -05:00
A Holt
4261399ce2
Merge pull request #2398 from jvonau/bug
while testing 2395 - handle no wifi
2020-05-09 17:25:40 -04:00
Jerry Vonau
37d7186cb8 while testing 2395 - handle no wifi 2020-05-09 16:21:58 -05:00
A Holt
068b53c920
Update network/tasks/main.yml 2020-05-09 16:34:49 -04:00
Jerry Vonau
efc28556ab remove stale note 2020-05-09 15:06:23 -05:00
Jerry Vonau
c88312428f settable at runtime 2020-05-09 15:06:23 -05:00
Jerry Vonau
7e79d691fc install and start dnsmasq early - add option to set upstream dns server 2020-05-09 15:06:23 -05:00
A Holt
0bb0649a5e
Ansible quotes fix in network/tasks/main.yml 2020-05-09 15:30:40 -04:00
A Holt
378aebb748
Update network/tasks/main.yml 2020-05-09 15:15:40 -04:00
Jerry Vonau
1193b15184 once installed and rebooted br0 will be available 2020-05-07 12:23:08 -05:00
Jerry Vonau
04edaeaddd raspbian - wifi installs not assigning ip address to br0 in time for dnsmasq 2020-05-07 12:23:08 -05:00
Jerry Vonau
845a961139 forget about pre-reboot AP usage 2020-05-07 12:23:08 -05:00
Jerry Vonau
a95d476287 rpi wifi-runtime changes 2020-05-07 12:23:08 -05:00
Jerry Vonau
52c0f2aaea too aggressive in dhcpcd's 50-hook 2020-05-07 12:23:08 -05:00
Jerry Vonau
0024a0c17f hotspots revised 2020-05-07 12:23:08 -05:00
Jerry Vonau
35efbe8ea8 hostapd keep a strict starting order 2020-05-07 12:23:08 -05:00