diff --git a/examples/platforms/debian/default b/examples/platforms/debian/default index c76b5423e6c..054a032bf86 100644 --- a/examples/platforms/debian/default +++ b/examples/platforms/debian/default @@ -31,6 +31,7 @@ NAT64=0 DNS64=0 DHCPV6_PD=0 +DHCPV6_PD_REF=1 NETWORK_MANAGER=0 BACKBONE_ROUTER=1 BORDER_ROUTING=1 diff --git a/script/_border_routing b/script/_border_routing index f17c8fe6900..9af4cf46490 100644 --- a/script/_border_routing +++ b/script/_border_routing @@ -81,7 +81,6 @@ dhcpcd_disable_ipv6() if [ -f $DHCPCD_CONF_FILE ]; then sudo cp $DHCPCD_CONF_FILE $DHCPCD_CONF_BACKUP_FILE sudo tee -a $DHCPCD_CONF_FILE </dev/null; then sudo apt-get install --no-install-recommends -y dhcpcd sudo mkdir -p /etc/systemd/system/dhcpcd.service.d # allow edit system config file eg. /etc/radvd.conf diff --git a/script/reference-device/dhcpcd.enter-hook b/script/reference-device/dhcpcd.enter-hook index fb9e041cb8f..113d2da3538 100644 --- a/script/reference-device/dhcpcd.enter-hook +++ b/script/reference-device/dhcpcd.enter-hook @@ -1,14 +1,16 @@ #!/bin/bash WAN_INTERFACE="eth0" +WLAN_INTERFACE="wlan0" WPAN_INTERFACE="wpan0" + RADVD_CONF="/etc/radvd.conf" LOG_TAG="dhcpcd.enter.hook:" config_ra() { - logger -t "$LOG_TAG $reason start config radvd" + logger "$LOG_TAG $reason start config radvd" sudo tee "${RADVD_CONF}" > /dev/null < /dev/null <