1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Clarify {{ dhcp_timeout }} & denyinterfaces in /etc/dhcpcd.conf

This commit is contained in:
A Holt 2019-09-03 00:09:17 -04:00 committed by GitHub
parent fc0ee6774a
commit 7b3bf8e2f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,9 +38,14 @@ require dhcp_server_identifier
slaac private
# IIAB
timeout {{ dhcp_timeout }} # How many seconds to wait for DHCP (e.g. from cablemodem) before IIAB's Ethernet falls back to Static IP below (e.g. for Mexican schools with Static IP-based Ethernet networks)
# Always support Ethernet-to-Internet on RPi, to faciliate field updates (avoid "denyinterfaces eth0" below!)
# How many seconds to wait for DHCP (e.g. from cablemodem) before IIAB's
# Ethernet falls back to Static IP below (e.g. for Mexican schools with
# Static IP-based Ethernet networks)
timeout {{ dhcp_timeout }}
# Always support Ethernet-to-Internet on RPi, to faciliate field updates
# (avoid "denyinterfaces eth0" below!)
{% if is_rpi and hostapd_enabled %}
denyinterfaces{% if discovered_wireless_iface != "none" %} {{ discovered_wireless_iface }}{% endif %}
{% elif is_rpi %}