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

704 commits

Author SHA1 Message Date
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
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
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
d12546c98d Prepare for 10.10.10.10, by evolving PR #3281 2022-07-08 22:00:03 -04: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
Jerry Vonau
7c72b2f983 move iiab-hotspot-on|off - can_be_ap in template 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
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
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
abeb97794f Ansible indentation norm across 7-8 roles 2022-01-07 05:29:54 -05:00
root
5f3708fe29 get_url 'timeout: "{{ download_timeout }}"' in 10 roles 2021-12-26 10:24:31 -05: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
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
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
root
724f64e85a Reinstate Squid, cutting out DansGuardian 2021-08-15 07:59:35 -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
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
Jerry Vonau
5092229fcc replace 'brctl' with 'bridge' 2021-04-26 22:29:54 -05: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
057db8f3a7
sysd-netd-debian.yml typo? 2021-04-14 08:17:22 -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
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
root
d1865ee2d6 4 renames: network-manager -> NetworkManager 2020-10-27 22:43:13 -04: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
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