diff --git a/configs/common/main-router b/configs/common/main-router index 7478159..680fc27 100644 --- a/configs/common/main-router +++ b/configs/common/main-router @@ -115,6 +115,11 @@ CONFIG_PACKAGE_luci-app-ddns=y CONFIG_PACKAGE_ddns-scripts=y CONFIG_PACKAGE_bind-host=y +# Enable WED (Wireless Ethernet Dispatch) for L2 +# Also it is important to enable HW offload and +# do not disable firewall on dumb ap's. +CONFIG_PACKAGE_bridger=y + # language CONFIG_LUCI_LANG_pl=y diff --git a/configs/common/parents b/configs/common/parents index 459c270..a40b719 100644 --- a/configs/common/parents +++ b/configs/common/parents @@ -66,6 +66,11 @@ CONFIG_PACKAGE_collectd-mod-dns=y # CONFIG_PACKAGE_usteer it not set # CONFIG_PACKAGE_luci-app-usteer it not set +# Enable WED (Wireless Ethernet Dispatch) for L2 +# Also it is important to enable HW offload and +# do not disable firewall on dumb ap's. +CONFIG_PACKAGE_bridger=y + # language CONFIG_LUCI_LANG_pl=y diff --git a/configs/common/parents-minimal b/configs/common/parents-minimal index 1015788..607953e 100644 --- a/configs/common/parents-minimal +++ b/configs/common/parents-minimal @@ -50,6 +50,11 @@ CONFIG_PACKAGE_collectd-mod-sensors=y CONFIG_PACKAGE_collectd-mod-wireless=y CONFIG_PACKAGE_collectd-mod-dns=y +# Enable WED (Wireless Ethernet Dispatch) for L2 +# Also it is important to enable HW offload and +# do not disable firewall on dumb ap's. +CONFIG_PACKAGE_bridger=y + # language CONFIG_LUCI_LANG_pl=y diff --git a/openwrt-configure.sh b/openwrt-configure.sh index 246824a..329f968 100755 --- a/openwrt-configure.sh +++ b/openwrt-configure.sh @@ -11,7 +11,7 @@ ROUTER_IP="${ROUTER_IP=$1}" # DEVICE can be main or DEVICE="${DEVICE:-$2}" FULL_WPAD="${FULL_WPAD:-'true'}" -INSTALL_BRIDGER=${INSTALL_BRIDGER:-'false'} +INSTALL_BRIDGER=${INSTALL_BRIDGER:-'true'} INSTALL_DAWN=${INSTALL_DAWN:-'false'} INSTALL_USTEER=${INSTALL_USTEER:-'false'} DOH_PACKAGE=${DOH_PACKAGE:-'stubby'} # can be also: luci-app-unbound or dnscrypt-proxy2 or adguardhome @@ -101,7 +101,11 @@ if [[ "$DEVICE" =~ Main|main ]]; then fi fi -if ! [[ "$DEVICE" =~ Main|main ]] && [[ "$INSTALL_BRIDGER" =~ True|true ]]; then +# NOTE: to enable WED for L2, you need to install bridger, +# otherwise WED would be just working for L3 +# Also it is important to enable HW offload and +# do not disable firewall on dumb ap's. +if [[ "$INSTALL_BRIDGER" =~ True|true ]]; then PACKAGES="$PACKAGES bridger" fi