mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
Clarify why we AVOID "denyinterfaces eth0" on RPi
This commit is contained in:
parent
64919e2439
commit
cefa3119cf
1 changed files with 5 additions and 2 deletions
|
@ -39,8 +39,9 @@ slaac private
|
|||
|
||||
# IIAB
|
||||
|
||||
# Always support Ethernet-to-Internet on RPi, to facilitate field updates
|
||||
# (avoid "denyinterfaces eth0" below!)
|
||||
# Always (try) to run DHCP client on RPi's Ethernet port, for in-field
|
||||
# "cablemodems" used by many non-technical operators, who want Zero-Hassle
|
||||
# Updates. This means always *avoiding* "denyinterfaces eth0" below:
|
||||
{% if is_rpi and hostapd_enabled %}
|
||||
denyinterfaces{% if discovered_wireless_iface != "none" %} {{ discovered_wireless_iface }}{% endif %}
|
||||
{% elif is_rpi %}
|
||||
|
@ -48,6 +49,8 @@ denyinterfaces{% if discovered_wireless_iface != "none" %} {{ discovered_wireles
|
|||
{% else %}
|
||||
denyinterfaces{% if iiab_wireless_lan_iface is defined %} {{ iiab_wireless_lan_iface }}{% endif %}{% if iiab_wired_lan_iface is defined %} {{ iiab_wired_lan_iface }}{% endif %}
|
||||
{% endif %}
|
||||
# FYI this 'denyinterfaces' line (here in /etc/dhcpcd.conf) is commented out by
|
||||
# /usr/bin/iiab-hotspot-off, and uncommented by /usr/bin/iiab-hotspot-on
|
||||
|
||||
{# {% if iiab_lan_iface != "br0" %} {{ iiab_lan_iface }} {% endif %} #}
|
||||
|
||||
|
|
Loading…
Reference in a new issue