1
0
Fork 0
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:
A Holt 2019-09-03 16:03:52 -04:00 committed by GitHub
parent 64919e2439
commit cefa3119cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 %} #}