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

1082 commits

Author SHA1 Message Date
Jerry Vonau
3ae4627956 use shell 2023-04-16 19:20:11 -05:00
Jerry Vonau
7845a8bddc hints for iiab-hotspot-on|off 2023-04-16 05:55:50 -05:00
Jerry Vonau
2f321dc0a4 use 'iw reg get' in hostapd if present 2023-04-16 05:29:22 -05:00
Jerry Vonau
bb95816c79 use country value in hostapd if present 2023-04-16 05:29:22 -05:00
Jerry Vonau
a1aaf70975 2210 2304 fixed https://bugs.launchpad.net/bugs/1951586 2023-04-14 08:50:23 -05:00
root
d09046b501 roles/firmware for WiFi hotspot: Update in-line docs 2023-02-25 15:41:08 -05:00
A Holt
d44f814e0e
Move netplan.j2 to netplan.j2.unused (as PR #2380 reverted PR #1634) 2022-11-23 12:38:37 -05:00
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