A Holt
ef3ddd8326
Merge branch 'reg_dom2+iiab-hotspot-off_etc' into reg_dom3
2023-04-24 14:10:35 -04:00
A Holt
fb2a9c8222
Revert c49adcf
"borrow some bits from iiab-clone-wifi" (& preserve cf67d4c
"netplan-systemd staging" ?)
2023-04-24 14:02:35 -04:00
Jerry Vonau
25e44b3385
service set start timeout
2023-04-24 12:53:51 -05:00
Jerry Vonau
6fe64a9097
Merge branch 'reg_dom2+iiab-hotspot-off_etc' into reg_dom3
2023-04-24 12:47:58 -05:00
Jerry Vonau
088537b9b8
clean up netd-disp2
2023-04-24 12:42:16 -05:00
Jerry Vonau
ba9e9ee01a
capture running service
2023-04-24 12:27:00 -05:00
Jerry Vonau
78603de7e6
capture running code
2023-04-24 12:23:56 -05:00
root
a17103f14f
Explain & lint templates/hostapd/iiab-test-wifi.j2
2023-04-24 17:48:03 +01:00
Jerry Vonau
04ce0a9d7f
netplan2
2023-04-24 09:17:07 -05:00
root
73e123a357
Merge branch 'iiab-hotspot-off_etc' of https://github.com/holta/iiab into asterisk-20--reg_dom2--iiab-hotspot-off_etc
2023-04-24 11:43:01 +01:00
Jerry Vonau
cb86366b13
shellcheck
2023-04-24 01:38:56 -05:00
Jerry Vonau
995bc6308b
drop unused assignment
2023-04-24 01:12:37 -05:00
Jerry Vonau
d738fdc1ef
use dash in place of bash, drop last bashism
2023-04-24 01:10:03 -05:00
Jerry Vonau
ef6486b09b
grouping, recording, staging
2023-04-23 16:11:03 -05:00
Jerry Vonau
cf67d4c9d7
netplan-systemd staging
2023-04-23 14:56:10 -05:00
Jerry Vonau
bc4850a09c
RasPiOS could be running NM backend, test if dhcpcd is running, drop rfkill
2023-04-23 13:55:37 -05:00
Jerry Vonau
c49adcf395
borrow some bits from iiab-clone-wifi
2023-04-23 13:53:05 -05:00
Jerry Vonau
a49a0680d3
drop NA
2023-04-23 12:23:33 -05:00
Jerry Vonau
348974be6f
stdout country code detection
2023-04-23 08:21:09 -05:00
Jerry Vonau
d7d6404c53
tighten up country code detection
2023-04-23 08:02:57 -05:00
Jerry Vonau
a6cd9ded51
replace backtics
2023-04-23 02:03:16 -05:00
Jerry Vonau
472fdfd152
style
2023-04-23 01:59:52 -05:00
Jerry Vonau
b17cab4794
run after NM and netplan
2023-04-23 01:25:24 -05:00
Jerry Vonau
0c037b2763
\[], echo, run netplan restart sooner, NM wait, move hostapd restart
2023-04-23 01:24:20 -05:00
Jerry Vonau
262ca468e9
tighten up when to run wifi detection more
2023-04-22 22:05:01 -05:00
A Holt
9ed5cd53c7
iiab-hotspot-on: sed "-e" flag optional
2023-04-22 11:50:51 -04:00
A Holt
319b75fe7d
iiab-hotspot-off: sed "-e" flag optional
2023-04-22 11:50:04 -04:00
A Holt
cdc77b121c
Clarifying templates/hostapd/iiab-hotspot-off ?
2023-04-22 10:06:54 -04:00
A Holt
d1a7ab2b74
Tighten up templates/hostapd/iiab-hotspot-on just a bit?
2023-04-22 10:03:57 -04:00
A Holt
07a63f3b8a
Tighten up templates/hostapd/iiab-hotspot-off just a bit?
2023-04-22 09:59:29 -04:00
Jerry Vonau
8aaa459d9c
restarting seems excessive just use start
2023-04-20 12:56:14 -05:00
Jerry Vonau
4fe56e787e
tighten up when to run wifi detection
2023-04-20 11:29:15 -05:00
Jerry Vonau
908c8f4951
tighten up when to install ap0 file
2023-04-20 11:29:15 -05:00
Jerry Vonau
d831f05769
NM ssid detection
2023-04-20 11:29:15 -05:00
Jerry Vonau
b286d9d6e9
easier diff
2023-04-19 10:46:45 -05:00
Jerry Vonau
3c3affb16a
softcode
2023-04-19 10:44:39 -05:00
Jerry Vonau
5341cc6ca2
typo, use double quotes, always restart netplan wifi
2023-04-19 10:38:50 -05:00
Jerry Vonau
27c3b1b9a0
Just set and let the next stanza in main handle the call
2023-04-18 23:38:58 -05:00
Jerry Vonau
ff905ef5d8
dispatcher has a call to alter hostapd.conf
2023-04-18 23:38:58 -05:00
Jerry Vonau
f79f4c0f46
clearer logic
2023-04-18 16:08:08 -05:00
Jerry Vonau
e63028f8ee
record
2023-04-16 19:38:48 -05:00
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