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
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
eb3c0a2684
shut the log up for #3278
2022-07-18 11:38:19 -04: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
Jerry Vonau
7c72b2f983
move iiab-hotspot-on|off - can_be_ap in template
2022-05-19 14:34:03 -05:00
Jerry Vonau
4a30d7e15d
supply hostapd template later to pickup changed fact
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
Jerry Vonau
7113f87f32
Detect, recored if wifi can be AP and suppress installing supporting files
2022-03-28 20:40:11 -05:00
root
50e0cde9a3
iiab-check-firmware to /usr/bin ; rename systemd services to iiab-*
2021-07-27 22:36:07 -04:00
Jerry Vonau
b10f2f9f14
rename current_host_channel -> current_client_channel and record
2021-04-30 07:45:49 -05:00
A Holt
a0632fcbbf
hostapd.yml: diagnosic -> diagnostic
2020-10-28 00:49:54 -04:00
Jerry Vonau
323e5c7372
don't use test-wifi for hostapd start
2020-05-07 12:23:07 -05:00
Jerry Vonau
c602bace6b
hostapd.yml reload new services
2020-05-07 12:23:07 -05:00
Jerry Vonau
050722f3a0
ubuntu hook for channel change
2020-05-07 12:23:07 -05:00
Jerry Vonau
9a55fdff9c
let wifi test start hostapd
2020-05-07 12:03:51 -05:00
Jerry Vonau
964a592679
service touch-ups
2020-05-07 12:03:51 -05:00
Jerry Vonau
575b66fb6e
use the new routine
2020-05-07 12:03:51 -05:00
A Holt
ffe33ac76d
Update roles/network/tasks/hostapd.yml
2020-05-04 15:32:43 -04:00
Jerry Vonau
c2730635a6
override 'vars' if the hardware is not present
2020-05-03 14:00:20 -05:00
Jerry Vonau
117e40f5bc
hostapd.yml - missed rpi_model != 'none', touchups
2020-05-01 10:27:49 -05:00
Jerry Vonau
4ab0e63214
wifi routines needed on non-rpi hardware
2020-05-01 10:27:49 -05:00
Jerry Vonau
4f4e7f5cc5
file status -> state think0
2020-05-01 10:27:49 -05:00
Jerry Vonau
fa886874b0
iiab-wifi cleanup routable.d when not wifi_up_down
2020-05-01 10:27:48 -05:00
Jerry Vonau
6f1ef6ec83
hostapd.yml typo no 'e'
2020-05-01 10:27:48 -05:00
Jerry Vonau
b8cf8712c2
netd-disp tuning
2020-05-01 10:27:48 -05:00
Jerry Vonau
776b983e3d
documented force does not work use masked no
2020-05-01 10:27:48 -05:00
Jerry Vonau
24624c6e6f
hostapd is masked force override
2020-05-01 10:27:48 -05:00
Jerry Vonau
09c7c3e252
legacy support should not boot to AP on mode
2020-05-01 10:27:48 -05:00
Jerry Vonau
0bc294bbba
Update roles/network/tasks/hostapd.yml
...
Co-Authored-By: A Holt <holta@users.noreply.github.com>
2020-05-01 10:27:48 -05:00
George Hunt
0d9321a363
partial of 720c285... typo iiab_wireless_an_iface
2020-05-01 10:27:47 -05:00
Jerry Vonau
4d9d925db8
one template - 2 copies
2020-05-01 10:27:47 -05:00
George Hunt
75162642ad
suppose iiab-wifi should be absent when not wifi_up_down
2020-05-01 10:27:47 -05:00
George Hunt
97fa35c9d2
don't let dhcpcd muck around with wlan0 if it's under the br0
2020-05-01 10:27:47 -05:00
George Hunt
b0a54afc1c
remove dhcpcd hooks if not up_down
2020-05-01 10:27:47 -05:00
Jerry Vonau
04c876b28a
don't clobber later revisions to hostapd.service.j2
2020-05-01 10:27:47 -05:00
Jerry Vonau
3dd370e088
limit hostapd to 2.4GHz for now on RPI
2020-05-01 10:27:46 -05:00
Jerry Vonau
d0a27ce0df
systemd-networkd version of dhcpcd's 50-hostapd hook
2020-05-01 10:27:46 -05:00
Jerry Vonau
668b8baf10
keep wlan0 and ap0 on the same channel on RPi hardware
2020-05-01 10:27:46 -05:00
Jerry Vonau
bf5dc8cf15
generate random mac address for ap0
2020-05-01 10:27:46 -05:00
Jerry Vonau
23124b3a19
iiab-hotspot-on|off for all, is_rpi, style
2020-05-01 10:27:45 -05:00
Jerry Vonau
188407614c
dhcpcd hook for hostapd
2020-05-01 10:27:45 -05:00
Jerry Vonau
c56b9e6510
use hostapd's service file to create ap0
2020-05-01 10:27:45 -05:00
Jerry Vonau
87b86000b2
method to creat ap0 and have hostapd use it
2020-05-01 10:27:44 -05:00
Jerry Vonau
845d88cf41
network - reduce is_rpi or move to is_raspbian
2020-03-04 17:00:01 -06:00
root
810fc81ac8
Convert dest: to path: per Ansible lineinfile norms
2020-02-03 19:54:04 -05:00
Jerry Vonau
ee4494c074
supply config file when hardware is present
2019-08-15 09:14:08 -05:00
Jerry Vonau
fdf070d181
discovered_wireless_iface is always defined via defaults
2019-08-15 08:39:54 -05:00
Jerry Vonau
7dd7f9485d
supply unit file when hardware is present
2019-08-15 06:39:01 -05:00