Use wpa-supplicant instead of iwd as wifi-backend
Iwd as wifi-backend has some disadvantages: - teachers cannot add wpa-Enterprise connections with the networkManager - gnome-network-displays (miracast) does not work Switching to wpa-supplicant will solve these problems.
This commit is contained in:
parent
843289d2c2
commit
677931a483
1 changed files with 25 additions and 2 deletions
|
@ -349,12 +349,11 @@
|
||||||
admin_email: "{{ vault_admin_email }}"
|
admin_email: "{{ vault_admin_email }}"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: lmn_wlan_iwd
|
|
||||||
when: ansible_interfaces | select('search', 'wl.+') | first is defined
|
|
||||||
- role: lmn_localuser
|
- role: lmn_localuser
|
||||||
when: "'teacherlaptop' not in group_names"
|
when: "'teacherlaptop' not in group_names"
|
||||||
- role: lmn_wlan
|
- role: lmn_wlan
|
||||||
- role: lmn_wlan_8021x
|
- role: lmn_wlan_8021x
|
||||||
|
when: ansible_interfaces | select('search', 'wl.+') | first is defined
|
||||||
tags:
|
tags:
|
||||||
- never
|
- never
|
||||||
- wlan_8021x
|
- wlan_8021x
|
||||||
|
@ -370,3 +369,27 @@
|
||||||
- /etc/systemd/network/virbr1.network
|
- /etc/systemd/network/virbr1.network
|
||||||
- /etc/systemd/network/wlan-dhcp.network
|
- /etc/systemd/network/wlan-dhcp.network
|
||||||
- /etc/NetworkManager/system-connections/FVS-devices.nmconnection
|
- /etc/NetworkManager/system-connections/FVS-devices.nmconnection
|
||||||
|
|
||||||
|
- name: Enable wpa-supplicant
|
||||||
|
ansible.builtin.systemd:
|
||||||
|
name: wpa_supplicant.service
|
||||||
|
enabled: True
|
||||||
|
tags:
|
||||||
|
- never
|
||||||
|
- wlan_8021x
|
||||||
|
|
||||||
|
- name: Disable iwd
|
||||||
|
ansible.builtin.systemd:
|
||||||
|
name: iwd.service
|
||||||
|
enabled: False
|
||||||
|
tags:
|
||||||
|
- never
|
||||||
|
- wlan_8021x
|
||||||
|
|
||||||
|
- name: Remove deprecated NetworkManager config
|
||||||
|
blockinfile:
|
||||||
|
path: /etc/NetworkManager/NetworkManager.conf
|
||||||
|
state: absent
|
||||||
|
tags:
|
||||||
|
- never
|
||||||
|
- wlan_8021x
|
||||||
|
|
Loading…
Add table
Reference in a new issue