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

1125 commits

Author SHA1 Message Date
A Holt
719e81c660
gateway/iiab-internet-on: Tighter instructions 2022-11-02 01:15:22 -04:00
A Holt
3236dbef96
gateway/iiab-internet-off: Tighter instructions 2022-11-02 01:14:40 -04:00
A Holt
1ddbc6f635
network/tasks/dnsmasq.yml: Indent per Ansible norm 2022-11-02 00:47:45 -04:00
A Holt
d082e81362
enable_services.yml: Remove 110+ stale lines (dhcpd, named, DansGuardian, Wondershaper} 2022-11-01 22:44:02 -04:00
root
4f94011781 Prelim support for Ubuntu 23.04 Lunar Lobster 2022-10-28 13:55:43 -04:00
Jerry Vonau
417386121c wording 2022-10-07 17:32:00 -05:00
Jerry Vonau
bad5b38e25 always install 00-iiab-debug 2022-10-07 13:07:28 -05:00
Jerry Vonau
07f663b8ee restore missing optional user disabling of dnsmasq 2022-10-07 03:40:19 -05:00
Jerry Vonau
fe18c8e050 remove RasPiOS restriction 2022-10-07 03:40:19 -05:00
Jerry Vonau
cf1869bd11 Revert "shut the log up for #3278"
This reverts commit eb3c0a2684.
2022-10-07 03:40:19 -05:00
Jerry Vonau
5ab9e0ff76 use ap0 hack only on RPi hardware 2022-10-07 03:24:02 -05:00
Jerry Vonau
f02e514cd1 Move 'hooks' to their respective backends
With NetworkManager active, systemd-networkd/networkd-dispatcher are used for
br0/ap0 support but the hooks were not being installed on the first pass through
network as systemd_networkd_active was not detected when ansibled stated.
2022-10-05 09:35:31 -05:00
Jerry Vonau
d349f2fe2f Restart iiab-clone-wifi if the ap0 device is not detected by ansible #3379 2022-10-03 08:50:53 -05:00
Jerry Vonau
6b69696f72 use can_be_ap 2022-10-03 08:47:00 -05:00
Jerry Vonau
9f4b99e50d use item|trim in template 2022-10-03 08:47:00 -05:00
Jerry Vonau
87ea472003 add discovered_wireless_iface to lan_list_result and num_lan_interfaces_result 2022-10-03 08:47:00 -05:00
A Holt
09f6b292ef
iiab-clone-wifi.service.j2: hostapd tries to start too early on Zero W 2022-09-26 19:46:59 -04:00
A Holt
c75ab4777c
hostapd.legacy.j2: hostapd tries to start too early on Zero W 2022-09-26 19:44:38 -04:00
Jerry Vonau
f2ace322cc Better discription of current configuration when networking is disabled 2022-09-22 17:30:04 -05:00
Jerry Vonau
632085548d Allow for NM with RPiOS
https://www.raspberrypi.com/news/the-latest-update-to-raspberry-pi-os/
2022-09-07 09:25:11 -05:00
A Holt
acfb4ff36f
Update roles/network/README.rst for #3308 2022-08-05 09:33:30 -04:00
A Holt
664dd5da5e
Clarify "multiple secondary gateways" detection 2022-08-03 23:00:43 -04:00
A Holt
99a05c6a78
Clean up "multiple secondary gateways" error handling 2022-08-03 22:47:21 -04:00
A Holt
dc2c531947
Disallow multi-line var second_gateway_found ~= exclude_devices 2022-08-03 22:27:44 -04:00
root
015abc52c7 detected_network.yml: Unindent can_be_ap rescue clause (explanation) 2022-08-01 17:28:50 -04:00
root
112347ffa3 iiab-network alert: "WiFi chipset/firmware NOT CAPABLE of AP Mode (details above)" 2022-08-01 17:15:03 -04:00
A Holt
d99fcaddd6
detected_network.yml: Clarify 'can_be_ap: True' for #3329 2022-08-01 02:07:34 -04:00
A Holt
5499f09ec4
detected_network.yml: Clarify #3329 can_be_ap grep RC 2022-08-01 01:43:40 -04:00
root
4ad2622111 Live w/ red errors to set can_be_ap ('failed_when: False' was too strong) 2022-08-01 00:56:49 -04:00
A Holt
9ad5a9caa1 network/tasks/detected_network.yml: can_be_ap grep failed on absence of regex 2022-07-28 14:20:46 +00:00
A Holt
004b89015d
/usr/local/sbin/network: Comment clarif (RasPiOS w/ desktop) 2022-07-27 15:53:46 -04:00
A Holt
914285037a
/usr/local/sbin/netwarn: Test-during-boot reminder #3318 2022-07-27 12:55:20 -04:00
A Holt
b7b200cef1
network/tasks/sysd-netd-debian.yml: "Linux Mint" w/ space 2022-07-23 15:56:43 -04:00
A Holt
67c866a8c9
network/tasks/install.yml: "Linux Mint" w/ space 2022-07-23 15:56:01 -04:00
A Holt
1b6c988b21
netplan.yml: Explain forced 'systemd_networkd_active: False' (for 1-prep) 2022-07-23 15:54:38 -04:00
Jerry Vonau
14b6fa624e wording 2022-07-23 13:52:38 -05:00
Jerry Vonau
41728b6444 default 2022-07-23 13:17:07 -05:00
A Holt
b73567260a
netwarn.yml: Note similar pwd-warnings.yml & www_options 2022-07-22 20:47:36 -04:00
A Holt
da97d3e7c2
netwarn.yml note: /etc/profile.d for ssh in future? #3318 2022-07-22 18:42:39 -04:00
root
9f5032d74f Comment out 'netplan apply' from restart.yml (trim netplan.yml later?) 2022-07-22 15:59:10 -04:00
root
dbeaf02482 Try to explain ordering of iiab-hotspot-on|off & install.yml (in network/tasks/main.yml) 2022-07-22 15:35:05 -04:00
root
69aba8eec3 network/tasks/main.yml: Swap order of iiab-hotspot-on|off & install.yml on @jvonau's request 2022-07-22 15:14:40 -04:00
root
e71efff7e2 network/tasks/main.yml: Restore iiab-hotspot-on|off 2022-07-22 14:43:39 -04:00
A Holt
60579c6c00
network/tasks/install.yml: Spacing around "all installs" header 2022-07-22 12:18:58 -04:00
root
f33e15ecd2 network/tasks/restart.yml also needed netplan var. Dup code for now :/ 2022-07-22 11:25:47 -04:00
root
556db4bfb6 2 vars in detected_network.yml to netplan.yml; FULL/PATHS for 1-prep 2022-07-22 10:53:24 -04:00
root
7d0bf6c1ef FULL/PATH to netplan.yml & netwarn.yml for 1-prep 2022-07-22 09:51:53 -04:00
root
a450db1f1a FULL/PATH to Avahi stuff in roles/network for 1-prep 2022-07-22 09:27:31 -04:00
root
f8cb292828 FULL/PATH/dnsmasq.yml in network/tasks/install.yml for 1-prep 2022-07-22 09:14:26 -04:00
A Holt
f1ba6d82cc
Rename ifcfg.j2.usused to ifcfg.j2.unused 2022-07-21 23:39:18 -04:00
A Holt
71351c18b1
Rename ifcfg-WAN.j2.unsued to ifcfg-WAN.j2.unused 2022-07-21 23:38:47 -04:00
root
78e65f44dd Intercept mate-terminal RC + tee iiab-network errors to iiab-network.log 2022-07-21 21:45:22 -04:00
root
2530b779fc Bypass dysfunctional error-checking if mate-terminal detected 2022-07-21 19:05:58 -04:00
root
44af07638b Clean up roles/network/tasks/netwarn.yml 2022-07-21 20:11:02 +00:00
root
42b5b766c4 network/tasks/install.yml: hostapd syntax errors 85a5f8fd (3 days ago) 2022-07-21 15:35:00 -04:00
root
a442bd7b26 Move scripts/netwarn* to roles/network/templates/netwarn/ 2022-07-21 15:14:09 -04:00
root
a5610dd7d5 Add /usr/local/sbin/netwarn to /etc/xdg/lxsession/LXDE-pi/autostart 2022-07-21 14:45:37 -04:00
Jerry Vonau
861652f141 hostapd refinement 2022-07-19 00:49:28 -05:00
Jerry Vonau
85a5f8fd98 unmask hostapd once 2022-07-19 00:05:34 -05:00
Jerry Vonau
ce25ac3cdc netplan setup is one time and may not even be needed 2022-07-18 23:51:24 -05:00
Jerry Vonau
9bc9f3aeee fedora files 2022-07-18 23:51:23 -05:00
Jerry Vonau
ad3d4f2ea9 speedup - ssh ports are not changing 2022-07-18 23:22:11 -05:00
Jerry Vonau
a5c8dcc904 rework 2022-07-18 22:53:41 -05:00
Jerry Vonau
e6155e6a86 netwarn - with reboot question 2022-07-18 20:39:32 -05:00
Jerry Vonau
a3de7b389d also allow ICO to set the complete flag 2022-07-18 20:07:07 -05:00
Jerry Vonau
8d42038ad2 introduce netwarn-iiab-network.desktop 2022-07-18 20:07:07 -05:00
Jerry Vonau
52989599dd move iiab-internet-on|off - introduce netwarn 2022-07-18 20:07:07 -05:00
Jerry Vonau
eb3c0a2684 shut the log up for #3278 2022-07-18 11:38:19 -04:00
Jerry Vonau
6d08963634 name resolution failure on the iiab box post-install when iiab-network ran with usb0 uplink 2022-07-16 05:57:57 -05:00
Jerry Vonau
bcc59a0bc3 cleanups 2022-07-16 04:36:22 -05:00
Jerry Vonau
a9e92191db remove named and dhcpd install options 2022-07-16 04:36:22 -05:00
root
699e908291 Move iiab-hotspot-on|off installs (hostapd.yml to main.yml, for Admin Console) 2022-07-11 17:12:29 +00:00
root
91046a4f12 PR #3173 adjustments (making network role optional) 2022-07-11 15:40:52 +00:00
root
737bbbafde Merge branch 'wifi_net2' of https://github.com/jvonau/iiab into wifi_net2 2022-07-11 14:47:01 +00:00
root
ebbda467a6 dhcpd-iiab.conf.j2: range 10.10.10.11 10.10.10.254; 2022-07-08 22:08:53 -04:00
root
d12546c98d Prepare for 10.10.10.10, by evolving PR #3281 2022-07-08 22:00:03 -04:00
root
56b854fcaf Merge branch '10.10' of https://github.com/georgejhunt/iiab into 10.10 2022-07-08 20:32:53 -04:00
A Holt
9f13454e83 Change download URL's & others to TLS/SSL 2022-07-05 12:09:51 -04:00
George Hunt
d7d7270e21 missed two changes to mask from 224 to 255 2022-07-02 04:23:22 +01:00
George Hunt
5faa5d0ca0 make local network mask correct for 256 2022-07-01 16:21:31 +01:00
Jerry Vonau
11f451da1a visual feedback 2022-06-30 12:21:33 -05:00
Jerry Vonau
5196b4dff9 tools needed after detection 2022-06-30 10:38:59 -05:00
Jerry Vonau
94d80f7ac4 always detect and report - record enabled 2022-06-30 10:38:59 -05:00
Jerry Vonau
57a9fa85f9 use block in the role for enable 2022-06-30 10:38:59 -05:00
Jerry Vonau
6219a24d82 group dnsmasq within network and always preinstall 2022-06-30 10:38:26 -05:00
Jerry Vonau
7cd2c66fc8 reorder and 'installed' 2022-06-30 10:16:09 -05:00
root
46fad7936e netplan.yml: Mint networkd-dispatcher issue? groovy & internet_available removed 2022-06-30 10:29:08 -04:00
Jerry Vonau
ebae360646 network - drop internet_available 2022-06-29 23:02:48 -05:00
Jerry Vonau
8637589218 Not required for normal operation 2022-06-29 22:25:01 -05:00
root
8eed8854b5 vnStat is basically never used (but patch it for divine reasons) 2022-06-29 20:01:03 -04:00
root
2457f415fc Speed up roles/0-init by moving 2 things to detected_network.yml 2022-06-29 18:37:13 -04:00
George Hunt
17aa26a4ac jinja2 variable must start with non-numeric 2022-06-26 21:20:50 +01:00
George Hunt
41a91bd0f5 get lan_ip soft coded everywhere 2022-06-23 04:55:56 +01:00
Jerry Vonau
35750850ac
From @holta user facing feedback
Co-authored-by: A Holt <holta@users.noreply.github.com>
2022-05-19 15:11:58 -05:00
Jerry Vonau
7c72b2f983 move iiab-hotspot-on|off - can_be_ap in template 2022-05-19 14:34:03 -05:00
Jerry Vonau
39bf6fe32c feedback 2022-05-19 14:34:03 -05:00
Jerry Vonau
a8ca92a9b3 move country_code - replace '' with $() 2022-05-19 14:34:03 -05:00
root
c01c6ac73b network/tasks/rpi_debian.yml: 'country_code.stdout | length == 0' 2022-05-19 14:32:18 -05:00
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