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:
parent
fc0ee6774a
commit
7b3bf8e2f2
1 changed files with 7 additions and 2 deletions
|
@ -38,9 +38,14 @@ require dhcp_server_identifier
|
||||||
slaac private
|
slaac private
|
||||||
|
|
||||||
# IIAB
|
# 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 %}
|
{% if is_rpi and hostapd_enabled %}
|
||||||
denyinterfaces{% if discovered_wireless_iface != "none" %} {{ discovered_wireless_iface }}{% endif %}
|
denyinterfaces{% if discovered_wireless_iface != "none" %} {{ discovered_wireless_iface }}{% endif %}
|
||||||
{% elif is_rpi %}
|
{% elif is_rpi %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue