diff --git a/roles/network/templates/network/dhcpcd.conf.j2 b/roles/network/templates/network/dhcpcd.conf.j2 index 3d8e3ee68..dca075afd 100644 --- a/roles/network/templates/network/dhcpcd.conf.j2 +++ b/roles/network/templates/network/dhcpcd.conf.j2 @@ -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 %}