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

827 commits

Author SHA1 Message Date
Jerry Vonau
2c7a720030 test-wifi - exit if ssid is not found or channel is unavailable 2020-05-07 12:23:08 -05:00
Jerry Vonau
1b58d712cf use iw in place of wpa_cli 2020-05-07 12:23:08 -05:00
Jerry Vonau
8190f4b7a9 runtime - move clone-wifi - adjust services 2020-05-07 12:23:08 -05:00
Jerry Vonau
933ca564bd wpa workaround doc'd and moved 2020-05-07 12:23:08 -05:00
Jerry Vonau
23940fcdc4 past sync up netd-disp2 2020-05-07 12:23:08 -05:00
Jerry Vonau
6e21b0b55b rpi-next-run sync up 2020-05-07 12:23:07 -05:00
Jerry Vonau
323e5c7372 don't use test-wifi for hostapd start 2020-05-07 12:23:07 -05:00
Jerry Vonau
25bd5a9b3c dhcpcd hook refinements 2020-05-07 12:23:07 -05:00
Jerry Vonau
7fd6fc9737 test wifi exit if no ssid is found 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
263010cfdf raspbian - only start clone-wifi if wired gateway is used 2020-05-07 12:23:07 -05:00
Jerry Vonau
60a6484c51 restart.yml netplan fix needs is_ubuntu 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
7ca4664473 flying edit only when different 2020-05-07 12:23:07 -05:00
Jerry Vonau
1bdd038b41 raspbian no reboot -- needs testing 2020-05-07 12:23:07 -05:00
Jerry Vonau
b60d4957a1 ubuntu no reboot 2020-05-07 12:23:07 -05:00
Jerry Vonau
c51575f02b network main cleanup 2020-05-07 12:23:07 -05:00
Jerry Vonau
1366bf507d show what is being recoreded in iiab_env_file 2020-05-07 12:23:07 -05:00
Jerry Vonau
ec7ad926d1 netplan country= workaround 2020-05-07 12:03:51 -05:00
Jerry Vonau
664b540fdb update iiab-hotspot-on|off 2020-05-07 12:03:51 -05:00
Jerry Vonau
9a55fdff9c let wifi test start hostapd 2020-05-07 12:03:51 -05:00
Jerry Vonau
f150d09eae wifi-test needs before networkd 2020-05-07 12:03:51 -05:00
Jerry Vonau
6fb76de522 deal with netplan 2020-05-07 12:03:51 -05:00
Jerry Vonau
83793e72e4 running model 2020-05-07 12:03:51 -05:00
Jerry Vonau
359f2b4b1c br0 online tuning 2020-05-07 12:03:51 -05:00
Jerry Vonau
842a14269a better handling of 2.4/5 on the same ssid 2020-05-07 12:03:51 -05:00
Jerry Vonau
4ad83f787b test-wifi touchups 2020-05-07 12:03:51 -05:00
Jerry Vonau
964a592679 service touch-ups 2020-05-07 12:03:51 -05:00
Jerry Vonau
37ed8a6ba4 keep the pids known 2020-05-07 12:03:51 -05:00
Jerry Vonau
000d4ec35c ap0 notes 2020-05-07 12:03:51 -05:00
Jerry Vonau
575b66fb6e use the new routine 2020-05-07 12:03:51 -05:00
Jerry Vonau
c6a2140329 edit hostapd on the fly 2020-05-07 12:03:51 -05:00
Jerry Vonau
e125537c0c ap0 - introduce wifi-test.service 2020-05-07 12:03:51 -05:00
Jerry Vonau
8669a97d18 ap0 - split cloning 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
A Holt
9142cde8ff
Update roles/network/tasks/restart.yml 2020-05-04 15:32:34 -04:00
Jerry Vonau
5c402848dd just restart systemd-networkd 2020-05-04 12:11:26 -05:00
Jerry Vonau
b1f6c8176e for the most part restart dnsmasq 2020-05-03 19:18:20 -05:00
Jerry Vonau
5bd975db5e the intent is to not restart hostapd during wifi installs 2020-05-03 14:02:14 -05:00
Jerry Vonau
c2730635a6 override 'vars' if the hardware is not present 2020-05-03 14:00:20 -05:00
Jerry Vonau
e9f9364a90 netplan needs the unmasking|enable for sysd-netd 2020-05-01 21:35:49 -05:00
Jerry Vonau
9ee93d7e01 sysd-netd-debian - split unmask/enable and restart 2020-05-01 21:22:41 -05:00
Jerry Vonau
784d89d3a9 default manage.conf to enabled for wifi installs 2020-05-01 20:51:28 -05:00
Jerry Vonau
f8a59b46bb legacy wifi installs needs iiab_wireless_lan_iface set also 2020-05-01 20:02:05 -05:00
Jerry Vonau
117e40f5bc hostapd.yml - missed rpi_model != 'none', touchups 2020-05-01 10:27:49 -05:00
Jerry Vonau
63c64271af move netplan before hostapd to pick up set_fact sysd-netd-active 2020-05-01 10:27:49 -05:00
Jerry Vonau
325db43473 netplan - let backends handle static ip 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
3d4b23f2fe exclude NM from touching ap0 2020-05-01 10:27:49 -05:00
Jerry Vonau
8751b33271 can't start hostapd when ap0 is in use needs reboot 2020-05-01 10:27:49 -05:00
Jerry Vonau
f83e615b40 netplan 2020-05-01 10:27:49 -05:00
Jerry Vonau
56ba4d0d19 static ip systemd-networkd 2020-05-01 10:27:49 -05:00
Jerry Vonau
5dd283f84e hotspots 2020-05-01 10:27:49 -05:00
Jerry Vonau
7307962067 manage.conf.j2 2020-05-01 10:27:49 -05:00
Jerry Vonau
e741ba35ea revert the rest of 5a70c9feea 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
3b26b4c594 don't call netplan apply 2020-05-01 10:27:49 -05:00
Jerry Vonau
5a538cbdd2 netplan.yml - use item|trim for delete test 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
40cbebca46 hostapd - netplan @ -> - 2020-05-01 10:27:48 -05:00
Jerry Vonau
d34e7053b9 netplan - Disable cloud-init the easy way - bugfix 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
14bed5f2fc bad idea NM uses dbus to to call wpa_supplicant 2020-05-01 10:27:48 -05:00
Jerry Vonau
bb487777fa start hostapd before NM 2020-05-01 10:27:48 -05:00
Jerry Vonau
3725969686 remove dnsmasq workaround for br0 being down at boot 2020-05-01 10:27:48 -05:00
Jerry Vonau
7e5ce367a2 don't stall boot if br0 has no slaves 2020-05-01 10:27:48 -05:00
Jerry Vonau
7db1464b76 don't check for wifi slaves if wifi gateway 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
3912e6a1ef remove reboot_to_AP 2020-05-01 10:27:48 -05:00
Jerry Vonau
2089a0c918 don't set hostapd_enabled: False with wifi gateway 2020-05-01 10:27:48 -05:00
Jerry Vonau
ab8de54e24 restart - hostapd use wifi gateway as test 2020-05-01 10:27:48 -05:00
Jerry Vonau
0249c3a100 turn off hostapd in Appliance 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
Jerry Vonau
10eb7e76d9 sysd-netd drop wired device count 2020-05-01 10:27:47 -05:00
Jerry Vonau
ed01d0584d netplan - 01-iiab exclude wireless devices 2020-05-01 10:27:47 -05:00
George Hunt
0d9321a363 partial of 720c285... typo iiab_wireless_an_iface 2020-05-01 10:27:47 -05:00
Jerry Vonau
13d7c38a73 on|off for wifi_up_down 2020-05-01 10:27:47 -05:00
George Hunt
207cc98255 revert hotspot on/off to master before ap0 when wifi_up_down is false 2020-05-01 10:27:47 -05:00
George Hunt
ab0cb6fc90 disable hostspot on/off if up/down enabled 2020-05-01 10:27:47 -05:00
Jerry Vonau
640dbd64ea use wifi_up_down to set iiab_wireless_lan_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
ca8e9ab79a let NM if active handle wired slaves 2020-05-01 10:27:47 -05:00
Jerry Vonau
9893e62fd5 int casting 2020-05-01 10:27:47 -05:00
Jerry Vonau
2059de2383 forgot .service 2020-05-01 10:27:47 -05:00
Jerry Vonau
1d4e427fa9 softcode exclude devices, move tests and turn into hard failures, record wifi after channel detection, prior_gateway_device, fix ap0 exclude 2020-05-01 10:27:47 -05:00
Jerry Vonau
6783038b29 don't forget about non-netplan networkd
netplan.stdout is undefined should handle debian
netplan.stdout.find("yaml") == -1) should handle U-16.04 U-18+ uses netplan
2020-05-01 10:27:46 -05:00
Jerry Vonau
3dd370e088 limit hostapd to 2.4GHz for now on RPI 2020-05-01 10:27:46 -05:00
Jerry Vonau
3b0be9d865 touchup hostapd.service.j2 for Raspbian 2020-05-01 10:27:46 -05:00
Jerry Vonau
3c1bcc01ef lets try netplan apply to restart the network 2020-05-01 10:27:46 -05:00
Jerry Vonau
ef7ad60800 netplan - need to start netplan-wpa@ after hostapd 2020-05-01 10:27:46 -05:00
Jerry Vonau
3d5428b0a5 sysd-netd-debian - multi wired slaves 2020-05-01 10:27:46 -05:00
Jerry Vonau
1693e502ba Rework reserved_wifi -> reserved_device 2020-05-01 10:27:46 -05:00
Jerry Vonau
a311454436 network/main remove installing, move hostapd.yml, notes, cleanup 2020-05-01 10:27:46 -05:00