From 03a630b199ad43731e9be7be8aeed106f13ed910 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Tue, 15 Mar 2022 14:01:02 -0500 Subject: [PATCH] leave hostapd as was - has an unconditional systemd call in hostapd.yml --- roles/1-prep/tasks/wifi.yml | 3 +-- roles/2-common/tasks/network.yml | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/1-prep/tasks/wifi.yml b/roles/1-prep/tasks/wifi.yml index 718376ab4..f246fbea0 100644 --- a/roles/1-prep/tasks/wifi.yml +++ b/roles/1-prep/tasks/wifi.yml @@ -4,10 +4,9 @@ # these present at all, but are needed to be installed if you want to take full # advantage of WiFi on Ubuntu and friends -- name: 'Install packages: hostapd, iw, rfkill, wireless-tools' +- name: 'Install packages: iw, rfkill, wireless-tools' package: name: - - hostapd # IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator -- has its service masked out of the box, and only used when IIAB's network roles detects the presence of WiFi and an AP is desired - iw # 2021-07-27: RaspiOS installs this regardless -- configure Linux wireless devices -- hard dependence for ap0 creation, SEE https://github.com/iiab/iiab/blob/master/roles/network/templates/hostapd/iiab-clone-wifi.service.j2 - rfkill # 2021-07-27: RaspiOS installs this regardless -- enable & disable wireless devices - wireless-tools # 2021-07-27: RaspiOS installs this regardless -- manipulate Linux Wireless Extensions diff --git a/roles/2-common/tasks/network.yml b/roles/2-common/tasks/network.yml index faff74dde..435c0bb1f 100644 --- a/roles/2-common/tasks/network.yml +++ b/roles/2-common/tasks/network.yml @@ -10,9 +10,10 @@ state: present when: not is_raspbian -- name: 'Install network packages: iproute2, iptables-persistent, netmask -- later used by https://github.com/iiab/iiab/tree/master/roles/network' +- name: 'Install network packages: hostapd, iproute2, iptables-persistent, netmask -- later used by https://github.com/iiab/iiab/tree/master/roles/network' package: name: + - hostapd # IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator -- has its service masked out of the box, and only used when IIAB's network roles detects the presence of WiFi and an AP is desired - iproute2 # 2021-07-27: RaspiOS installs this regardless -- the new networking and traffic control tools, meant to replace net-tools - iptables-persistent # Boot-time loader for netfilter rules, iptables (firewall) plugin -- however Netfilter / nftables is ever moving forward so keep an eye on it! - netmask # Handy utility -- helps determine network masks