mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Context Explained: WiFi-as-gateway detection logic
This commit is contained in:
parent
9d94af43b3
commit
95f726e913
1 changed files with 4 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
tags:
|
||||
- network #REMOVE SUCH LINES (BELOW TOO) AS WE'RE IN "network" ?
|
||||
- network-discover
|
||||
|
||||
|
||||
- name: IF WIFI IS PRIMARY GATEWAY, PLEASE RUN 'iiab-hotspot-on' MANUALLY
|
||||
set_fact:
|
||||
hostapd_enabled: False # used in (1) hostapd.yml, (2) rpi_debian.yml +
|
||||
|
@ -11,6 +11,9 @@
|
|||
no_net_restart: True # used below in (1) sysd-netd-debian.yml,
|
||||
# (2) debian.yml, (3) rpi_debian.yml
|
||||
when: discovered_wireless_iface == iiab_wan_iface and not reboot_to_AP
|
||||
# Idea, Not Without Risks: should WiFi-as-gateway detection logic
|
||||
# be encapsulated into roles/network/tasks/hostapd.yml in future?
|
||||
# Today "./runtags hostapd" doesn't exist & "./runtags AP" is at yr own risk.
|
||||
|
||||
#- name: RPi - reboot to AP post install - installed via wifi so the services are ready
|
||||
# set_fact:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue