From c8092afbd4f4659cd79233b8d1b840535ad46227 Mon Sep 17 00:00:00 2001 From: Daniel Pawlik Date: Sun, 23 Nov 2025 11:17:57 +0100 Subject: [PATCH] Add CONFIG_PACKAGE_kmod-tun for main-router config To install tailscale/zerotier package, it is required to install kmod-tun. That would not increase image size too much, but would help to use that software. Signed-off-by: Daniel Pawlik --- configs/common/main-router | 3 +++ openwrt-configure.sh | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/configs/common/main-router b/configs/common/main-router index 28b24ef..809e2cd 100644 --- a/configs/common/main-router +++ b/configs/common/main-router @@ -142,3 +142,6 @@ CONFIG_PACKAGE_wifi-scripts=y CONFIG_ALL_KMODS=y CONFIG_ALL_NONSHARED=y CONFIG_AUTOREMOVE=y + +# For tailscail/zerotier +CONFIG_PACKAGE_kmod-tun=y diff --git a/openwrt-configure.sh b/openwrt-configure.sh index 6558997..035defe 100755 --- a/openwrt-configure.sh +++ b/openwrt-configure.sh @@ -78,6 +78,7 @@ if [[ "$DEVICE" =~ Main|main ]]; then PACKAGES="$PACKAGES ddns-scripts luci-app-ddns" PACKAGES="$PACKAGES luci-proto-wireguard kmod-wireguard wireguard-tools qrencode" PACKAGES="$PACKAGES tc-full pciutils kmod-phy-aquantia" + PACKAGES="$PACKAGES kmod-tun" if [ -n "$SQM_TOOL" ]; then PACKAGES="$PACKAGES $SQM_TOOL" fi @@ -135,6 +136,9 @@ esac ### wireguard # luci-proto-wireguard kmod-wireguard wireguard-tools qrencode +### Tailscale/Zerotier +# kmod-tun + ### DNS over HTTPS # unbound-daemon luci-app-unbound