Enable bridger by default

According to the information in PR [1], to use WED for
local traffic L2, bridger needs to be installed.
Otherwise, WED would be not used.
Also it is important to leave HW offload enabled and
do not disable firewall on dumb ap's.

[1] https://github.com/openwrt/openwrt/issues/19078

Signed-off-by: Daniel Pawlik <pawlik.dan@gmail.com>
This commit is contained in:
Daniel Pawlik
2025-07-18 19:44:38 +02:00
parent 63a58ddcef
commit 6b6e871675
4 changed files with 21 additions and 2 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -11,7 +11,7 @@ ROUTER_IP="${ROUTER_IP=$1}"
# DEVICE can be main or <nothing>
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