mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
deal with unblocking wifi while NM is active on newer RaspiOS
This commit is contained in:
parent
299228e31e
commit
6a6d153034
2 changed files with 5 additions and 5 deletions
|
@ -68,6 +68,11 @@
|
||||||
#### End services
|
#### End services
|
||||||
|
|
||||||
#### Start network layout
|
#### Start network layout
|
||||||
|
- name: Unblock WiFi on RaspiOS
|
||||||
|
shell: raspi-config nonint do_wifi_country {{ host_country_code }}
|
||||||
|
ignore_errors: True
|
||||||
|
when: is_raspbian
|
||||||
|
|
||||||
#- name: Redhat networking
|
#- name: Redhat networking
|
||||||
# include_tasks: ifcfg_mods.yml
|
# include_tasks: ifcfg_mods.yml
|
||||||
# when: is_redhat
|
# when: is_redhat
|
||||||
|
|
|
@ -53,11 +53,6 @@
|
||||||
line: country={{ host_country_code }}
|
line: country={{ host_country_code }}
|
||||||
when: country_code.stdout is defined and country_code.stdout | length == 0
|
when: country_code.stdout is defined and country_code.stdout | length == 0
|
||||||
|
|
||||||
# This should go away, should only be unblocked by raspi-config
|
|
||||||
- name: Enable the WiFi with rfkill
|
|
||||||
shell: rfkill unblock wifi
|
|
||||||
ignore_errors: True
|
|
||||||
|
|
||||||
- name: Copy the bridge script for RPi
|
- name: Copy the bridge script for RPi
|
||||||
template:
|
template:
|
||||||
dest: /etc/network/interfaces.d/iiab
|
dest: /etc/network/interfaces.d/iiab
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue