Update build configs

This commit is contained in:
Daniel Pawlik
2023-07-07 08:56:05 +02:00
parent cd3c88346f
commit c094e0c226
10 changed files with 6888 additions and 142 deletions

View File

@@ -30,41 +30,8 @@ CONFIG_PACKAGE_luci-mod-status=y
CONFIG_PACKAGE_luci-mod-system=y
CONFIG_PACKAGE_luci-proto-ipv6=y
CONFIG_PACKAGE_luci-proto-ppp=y
# CONFIG_PACKAGE_luci-ssl=y
# CONFIG_PACKAGE_luci-theme-bootstrap=y
## additional packages
# CONFIG_PACKAGE_vim=y
# CONFIG_PACKAGE_bmon=y
# CONFIG_PACKAGE_htop=y
# CONFIG_PACKAGE_iperf3=y
# CONFIG_PACKAGE_curl=y
# CONFIG_PACKAGE_wavemon=y
## additional kmods required by basic packages (also required by collecd)
# CONFIG_PACKAGE_kmod-nf-ipt=y
# CONFIG_PACKAGE_kmod-ipt-core=y
# CONFIG_PACKAGE_kmod-ipt-conntrack=y
# CONFIG_PACKAGE_kmod-ipt-nat=y
# attendedsysupgrade
CONFIG_PACKAGE_luci-app-attendedsysupgrade=y
CONFIG_PACKAGE_attendedsysupgrade-common=y
CONFIG_PACKAGE_auc=y
## use experimental kernel
# CONFIG_TESTING_KERNEL=y
# CONFIG_PACKAGE_kmod-fs-antfs=n
# CONFIG_PACKAGE_kmod-usb-serial-xr_usb_serial_common=n
## wireguard
# CONFIG_PACKAGE_kmod-wireguard=y
# CONFIG_PACKAGE_wireguard-tools=y
# CONFIG_PACKAGE_luci-proto-wireguard=y
## https dns
# CONFIG_PACKAGE_https-dns-proxy=y
# CONFIG_PACKAGE_luci-app-https-dns-proxy=y
# collecd
# CONFIG_PACKAGE_collectd=y

View File

@@ -66,5 +66,47 @@ CONFIG_PACKAGE_kmod-usb-serial-xr_usb_serial_common=n
# CONFIG_PACKAGE_https-dns-proxy=y
# CONFIG_PACKAGE_luci-app-https-dns-proxy=y
# wpad full
CONFIG_DEFAULT_libustream-mbedtls=y
CONFIG_DEFAULT_wpad-basic-mbedtls=y
CONFIG_PACKAGE_libmbedtls=y
CONFIG_PACKAGE_libustream-mbedtls=y
CONFIG_PACKAGE_wpad-mbedtls=y
# collecd
# CONFIG_PACKAGE_collectd=y
# Dependency kmods - use it when kernel version is not available in mirror
#CONFIG_PACKAGE_kmod-crypto-crc32c=y
#CONFIG_PACKAGE_kmod-crypto-hash=y
#CONFIG_PACKAGE_kmod-crypto-kpp=y
#CONFIG_PACKAGE_kmod-crypto-lib-chacha20=y
#CONFIG_PACKAGE_kmod-crypto-lib-chacha20poly1305=y
#CONFIG_PACKAGE_kmod-crypto-lib-curve25519=y
#CONFIG_PACKAGE_kmod-crypto-lib-poly1305=y
#CONFIG_PACKAGE_kmod-ifb=y
#CONFIG_PACKAGE_kmod-ipt-conntrack=y
#CONFIG_PACKAGE_kmod-ipt-core=y
#CONFIG_PACKAGE_kmod-ipt-ipopt=y
#CONFIG_PACKAGE_kmod-ipt-nat=y
#CONFIG_PACKAGE_kmod-lib-crc32c=y
#CONFIG_PACKAGE_kmod-nf-conntrack=y
#CONFIG_PACKAGE_kmod-nf-conntrack6=y
#CONFIG_PACKAGE_kmod-nf-flow=y
#CONFIG_PACKAGE_kmod-nf-ipt=y
#CONFIG_PACKAGE_kmod-nf-log=y
#CONFIG_PACKAGE_kmod-nf-log6=y
#CONFIG_PACKAGE_kmod-nf-nat=y
#CONFIG_PACKAGE_kmod-nfnetlink=y
#CONFIG_PACKAGE_kmod-nf-reject=y
#CONFIG_PACKAGE_kmod-nf-reject6=y
#CONFIG_PACKAGE_kmod-nft-compat=y
#CONFIG_PACKAGE_kmod-nft-core=y
#CONFIG_PACKAGE_kmod-nft-fib=y
#CONFIG_PACKAGE_kmod-nft-nat=y
#CONFIG_PACKAGE_kmod-nft-offload=y
#CONFIG_PACKAGE_kmod-sched-cake=y
#CONFIG_PACKAGE_kmod-sched-core=y
#CONFIG_PACKAGE_kmod-udptunnel4=y
#CONFIG_PACKAGE_kmod-udptunnel6=y
#CONFIG_PACKAGE_kmod-wireguard=y

View File

@@ -30,39 +30,8 @@ CONFIG_PACKAGE_luci-mod-status=y
CONFIG_PACKAGE_luci-mod-system=y
CONFIG_PACKAGE_luci-proto-ipv6=y
CONFIG_PACKAGE_luci-proto-ppp=y
# CONFIG_PACKAGE_luci-ssl=y
# CONFIG_PACKAGE_luci-theme-bootstrap=y
## additional packages
# CONFIG_PACKAGE_vim=y
# CONFIG_PACKAGE_bmon=y
# CONFIG_PACKAGE_htop=y
# CONFIG_PACKAGE_iperf3=y
# CONFIG_PACKAGE_curl=y
# CONFIG_PACKAGE_wavemon=y
## additional kmods required by basic packages (also required by collecd)
# CONFIG_PACKAGE_kmod-nf-ipt=y
# CONFIG_PACKAGE_kmod-ipt-core=y
# CONFIG_PACKAGE_kmod-ipt-conntrack=y
# CONFIG_PACKAGE_kmod-ipt-nat=y
# attendedsysupgrade
CONFIG_PACKAGE_luci-app-attendedsysupgrade=y
CONFIG_PACKAGE_attendedsysupgrade-common=y
CONFIG_PACKAGE_auc=y
## use experimental kernel
# CONFIG_TESTING_KERNEL=y
## wireguard
# CONFIG_PACKAGE_kmod-wireguard=y
# CONFIG_PACKAGE_wireguard-tools=y
# CONFIG_PACKAGE_luci-proto-wireguard=y
## https dns
# CONFIG_PACKAGE_https-dns-proxy=y
# CONFIG_PACKAGE_luci-app-https-dns-proxy=y
# collecd
# CONFIG_PACKAGE_collectd=y

View File

@@ -55,14 +55,13 @@ CONFIG_PACKAGE_auc=y
# use experimental kernel
CONFIG_TESTING_KERNEL=y
## wireguard
# CONFIG_PACKAGE_kmod-wireguard=y
# CONFIG_PACKAGE_wireguard-tools=y
# CONFIG_PACKAGE_luci-proto-wireguard=y
## https dns
# CONFIG_PACKAGE_https-dns-proxy=y
# CONFIG_PACKAGE_luci-app-https-dns-proxy=y
# wpad full
CONFIG_DEFAULT_libustream-mbedtls=y
CONFIG_DEFAULT_wpad-basic-mbedtls=y
CONFIG_PACKAGE_libmbedtls=y
CONFIG_PACKAGE_libustream-mbedtls=y
CONFIG_PACKAGE_wpad-mbedtls=y
# collecd
# CONFIG_PACKAGE_collectd=y

View File

@@ -5,8 +5,9 @@
# sed -i '/CONFIG_TARGET_DEVICE_/d' .config; sed -i 's/CONFIG_TARGET_MULTI_PROFILE=y/CONFIG_TARGET_MULTI_PROFILE=n/g' .config
# curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/mediatek/mt7622/basic >> .config
CONFIG_TARGET_DEVICE_mediatek_mt7622_DEVICE_xiaomi_redmi-router-ax6s=y
CONFIG_TARGET_DEVICE_PACKAGES_mediatek_mt7622_DEVICE_xiaomi_redmi-router-ax6s=""
CONFIG_TARGET_mediatek=y
CONFIG_TARGET_mediatek_mt7622=y
CONFIG_TARGET_mediatek_mt7622_DEVICE_xiaomi_redmi-router-ax6s=y
# LuCI
CONFIG_PACKAGE_cgi-io=y
@@ -30,39 +31,8 @@ CONFIG_PACKAGE_luci-mod-status=y
CONFIG_PACKAGE_luci-mod-system=y
CONFIG_PACKAGE_luci-proto-ipv6=y
CONFIG_PACKAGE_luci-proto-ppp=y
# CONFIG_PACKAGE_luci-ssl=y
# CONFIG_PACKAGE_luci-theme-bootstrap=y
## additional packages
# CONFIG_PACKAGE_vim=y
# CONFIG_PACKAGE_bmon=y
# CONFIG_PACKAGE_htop=y
# CONFIG_PACKAGE_iperf3=y
# CONFIG_PACKAGE_curl=y
# CONFIG_PACKAGE_wavemon=y
## additional kmods required by basic packages (also required by collecd)
# CONFIG_PACKAGE_kmod-nf-ipt=y
# CONFIG_PACKAGE_kmod-ipt-core=y
# CONFIG_PACKAGE_kmod-ipt-conntrack=y
# CONFIG_PACKAGE_kmod-ipt-nat=y
# attendedsysupgrade
CONFIG_PACKAGE_luci-app-attendedsysupgrade=y
CONFIG_PACKAGE_attendedsysupgrade-common=y
CONFIG_PACKAGE_auc=y
## use experimental kernel
# CONFIG_TESTING_KERNEL=y
## wireguard
# CONFIG_PACKAGE_kmod-wireguard=y
# CONFIG_PACKAGE_wireguard-tools=y
# CONFIG_PACKAGE_luci-proto-wireguard=y
## https dns
# CONFIG_PACKAGE_https-dns-proxy=y
# CONFIG_PACKAGE_luci-app-https-dns-proxy=y
# collecd
# CONFIG_PACKAGE_collectd=y

View File

@@ -7,8 +7,7 @@
CONFIG_TARGET_mediatek=y
CONFIG_TARGET_mediatek_mt7622=y
CONFIG_TARGET_DEVICE_mediatek_mt7622_DEVICE_xiaomi_redmi-router-ax6s=y
CONFIG_TARGET_DEVICE_PACKAGES_mediatek_mt7622_DEVICE_xiaomi_redmi-router-ax6s=""
CONFIG_TARGET_mediatek_mt7622_DEVICE_xiaomi_redmi-router-ax6s=y
# LuCI
CONFIG_PACKAGE_cgi-io=y
@@ -67,7 +66,10 @@ CONFIG_PACKAGE_https-dns-proxy=y
CONFIG_PACKAGE_luci-app-https-dns-proxy=y
# wpad full
CONFIG_DEFAULT_libustream-mbedtls=y
CONFIG_DEFAULT_wpad-basic-mbedtls=y
CONFIG_PACKAGE_libmbedtls=y
CONFIG_PACKAGE_libustream-mbedtls=y
CONFIG_PACKAGE_wpad-mbedtls=y
# collecd

View File

@@ -5,6 +5,8 @@
# sed -i '/CONFIG_TARGET_DEVICE_/d' .config; sed -i 's/CONFIG_TARGET_MULTI_PROFILE=y/CONFIG_TARGET_MULTI_PROFILE=n/g' .config
# curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/ramips/mt7621/basic >> .config
CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_mt7621=y
CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_ubnt_unifi-6-lite=y
CONFIG_TARGET_DEVICE_PACKAGES_ramips_mt7621_DEVICE_ubnt_unifi-6-lite=""
CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_xiaomi_mi-router-4a-gigabit=y
@@ -32,39 +34,8 @@ CONFIG_PACKAGE_luci-mod-status=y
CONFIG_PACKAGE_luci-mod-system=y
CONFIG_PACKAGE_luci-proto-ipv6=y
CONFIG_PACKAGE_luci-proto-ppp=y
# CONFIG_PACKAGE_luci-ssl=y
# CONFIG_PACKAGE_luci-theme-bootstrap=y
## additional packages
# CONFIG_PACKAGE_vim=y
# CONFIG_PACKAGE_bmon=y
# CONFIG_PACKAGE_htop=y
# CONFIG_PACKAGE_iperf3=y
# CONFIG_PACKAGE_curl=y
# CONFIG_PACKAGE_wavemon=y
## additional kmods required by basic packages (also required by collecd)
# CONFIG_PACKAGE_kmod-nf-ipt=y
# CONFIG_PACKAGE_kmod-ipt-core=y
# CONFIG_PACKAGE_kmod-ipt-conntrack=y
# CONFIG_PACKAGE_kmod-ipt-nat=y
# attendedsysupgrade
CONFIG_PACKAGE_luci-app-attendedsysupgrade=y
CONFIG_PACKAGE_attendedsysupgrade-common=y
CONFIG_PACKAGE_auc=y
## use experimental kernel
# CONFIG_TESTING_KERNEL=y
## wireguard
# CONFIG_PACKAGE_kmod-wireguard=y
# CONFIG_PACKAGE_wireguard-tools=y
# CONFIG_PACKAGE_luci-proto-wireguard=y
## https dns
# CONFIG_PACKAGE_https-dns-proxy=y
# CONFIG_PACKAGE_luci-app-https-dns-proxy=y
# collecd
# CONFIG_PACKAGE_collectd=y

View File

@@ -4,11 +4,12 @@
# curl -SL https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/config.buildinfo > .config
# sed -i '/CONFIG_TARGET_DEVICE_/d' .config; sed -i 's/CONFIG_TARGET_MULTI_PROFILE=y/CONFIG_TARGET_MULTI_PROFILE=n/g' .config
# curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/ramips/mt7621/extended >> .config
CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_ubnt_unifi-6-lite=y
CONFIG_TARGET_DEVICE_PACKAGES_ramips_mt7621_DEVICE_ubnt_unifi-6-lite=""
CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_xiaomi_mi-router-4a-gigabit=y
CONFIG_TARGET_DEVICE_PACKAGES_ramips_mt7621_DEVICE_xiaomi_mi-router-4a-gigabit=""
CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_mt7621=y
CONFIG_TARGET_ramips_mt7621_DEVICE_ubnt_unifi-6-lite=y
CONFIG_TARGET_PACKAGES_ramips_mt7621_DEVICE_ubnt_unifi-6-lite=""
CONFIG_TARGET_ramips_mt7621_DEVICE_xiaomi_mi-router-4a-gigabit=y
CONFIG_TARGET_PACKAGES_ramips_mt7621_DEVICE_xiaomi_mi-router-4a-gigabit=""
# LuCI
CONFIG_PACKAGE_cgi-io=y
@@ -66,5 +67,47 @@ CONFIG_TESTING_KERNEL=y
# CONFIG_PACKAGE_https-dns-proxy=y
# CONFIG_PACKAGE_luci-app-https-dns-proxy=y
# wpad full
CONFIG_DEFAULT_libustream-mbedtls=y
CONFIG_DEFAULT_wpad-basic-mbedtls=y
CONFIG_PACKAGE_libmbedtls=y
CONFIG_PACKAGE_libustream-mbedtls=y
CONFIG_PACKAGE_wpad-mbedtls=y
# collecd
# CONFIG_PACKAGE_collectd=y
# Dependency kmods - use it when kernel version is not available in mirror
#CONFIG_PACKAGE_kmod-crypto-crc32c=y
#CONFIG_PACKAGE_kmod-crypto-hash=y
#CONFIG_PACKAGE_kmod-crypto-kpp=y
#CONFIG_PACKAGE_kmod-crypto-lib-chacha20=y
#CONFIG_PACKAGE_kmod-crypto-lib-chacha20poly1305=y
#CONFIG_PACKAGE_kmod-crypto-lib-curve25519=y
#CONFIG_PACKAGE_kmod-crypto-lib-poly1305=y
#CONFIG_PACKAGE_kmod-ifb=y
#CONFIG_PACKAGE_kmod-ipt-conntrack=y
#CONFIG_PACKAGE_kmod-ipt-core=y
#CONFIG_PACKAGE_kmod-ipt-ipopt=y
#CONFIG_PACKAGE_kmod-ipt-nat=y
#CONFIG_PACKAGE_kmod-lib-crc32c=y
#CONFIG_PACKAGE_kmod-nf-conntrack=y
#CONFIG_PACKAGE_kmod-nf-conntrack6=y
#CONFIG_PACKAGE_kmod-nf-flow=y
#CONFIG_PACKAGE_kmod-nf-ipt=y
#CONFIG_PACKAGE_kmod-nf-log=y
#CONFIG_PACKAGE_kmod-nf-log6=y
#CONFIG_PACKAGE_kmod-nf-nat=y
#CONFIG_PACKAGE_kmod-nfnetlink=y
#CONFIG_PACKAGE_kmod-nf-reject=y
#CONFIG_PACKAGE_kmod-nf-reject6=y
#CONFIG_PACKAGE_kmod-nft-compat=y
#CONFIG_PACKAGE_kmod-nft-core=y
#CONFIG_PACKAGE_kmod-nft-fib=y
#CONFIG_PACKAGE_kmod-nft-nat=y
#CONFIG_PACKAGE_kmod-nft-offload=y
#CONFIG_PACKAGE_kmod-sched-cake=y
#CONFIG_PACKAGE_kmod-sched-core=y
#CONFIG_PACKAGE_kmod-udptunnel4=y
#CONFIG_PACKAGE_kmod-udptunnel6=y
#CONFIG_PACKAGE_kmod-wireguard=y

File diff suppressed because it is too large Load Diff

61
openwrt-configure.sh Normal file
View File

@@ -0,0 +1,61 @@
#!/bin/bash
# DEVICE can be main or <nothing>
DEVICE="${DEVICE:$1}"
FULL_WPAD="${FULL_WPAD:'yes'}"
COMMAND="opkg update"
if [[ "$FULL_WPAD" =~ yes|Yes ]]; then
COMMAND="$COMMAND; opkg remove wpad-basic-wolfssl;"
COMMAND="$COMMAND; opkg remove wpad-basic-mbedtls; opkg install wpad-mbedtls"
fi
# basic packages
COMMAND="$COMMAND; opkg install collectd collectd-mod-sensors \
collectd-mod-thermal luci-app-statistics collectd-mod-irq \
luci luci-ssl luci-i18n-base-pl vim htop \
curl iperf3 irqbalance luci-app-attendedsysupgrade \
auc bmon"
# additional packages
if [[ "$DEVICE" =~ Main|main ]]; then
COMMAND="$COMMAND luci-app-wireguard luci-proto-wireguard kmod-wireguard wireguard-tools qrencode"
COMMAND="$COMMAND https-dns-proxy luci-app-https-dns-proxy luci-i18n-https-dns-proxy-pl"
COMMAND="$COMMAND luci-app-sqm luci-i18n-sqm-pl collectd-mod-sqm"
fi
COMMAND="$COMMAND; /etc/init.d/uhttpd start ; /etc/init.d/uhttpd enable;"
read -n 1 -r -p "Should I execute command: $COMMAND ?" yn
case $yn in
[Yy]* ) $COMMAND;;
[Nn]* ) exit;;
* ) echo "Please answer yes or no.";;
esac
read -n 1 -r -p "Should I reboot device?" yn
case $yn in
[Yy]* ) reboot;;
[Nn]* ) exit;;
* ) echo "Please answer yes or no.";;
esac
# For https://firmware-selector.openwrt.org/
# Add packages. NOTE: To install wpad-wolfssl, just replace the package name with wpad-basic-wolfssl
### basic
# (...) collectd collectd-mod-sensors collectd-mod-thermal luci-app-statistics luci luci-ssl luci-i18n-base-pl vim htop curl iperf3 irqbalance luci-app-attendedsysupgrade auc bmon
### wireguard
# luci-app-wireguard luci-proto-wireguard kmod-wireguard wireguard-tools qrencode
### DNS over HTTPS
# https-dns-proxy luci-app-https-dns-proxy luci-i18n-https-dns-proxy-pl
### Bufferbloat - install SQM - https://openwrt.org/docs/guide-user/network/traffic-shaping/sqm
# luci-app-sqm luci-i18n-sqm-pl collectd-mod-sqm
### to use mbedtls, replace:
# libustream-wolfssl and wpad-basic-wolfssl *WITH* libustream-mbedtls and wpad-basic-mbedtls.
# to enable 802.11k/v replace:
# wpad-basic-mbedtls with wpad-mbedtls