@sppmaster, @ninjanoir78, @egc could you guys please test this build, I've committed all Acwifidude's commits and asvio's .153 nss kernel refresh patches, also removed .127 which it seems to be the cause for the disconnects, although far less with .158 than .160. No disconnects so far with this build.
I'll keep the other repos for testing purposes and push to https://github.com/nihilt/openwrt
from now on.
It has all the building and startup tweaks, I've included dnsproxy config, wifi (2g VHT40 noscan) and nss-rk2.qos (qosmio's forked version with minor corrections). Just copy/edit over your backup configs with winscp.
Name: bin.7z
Size: 101603275 bytes (96 MiB)
SHA256: a6625fae30b1ee6abff64b20dc7ced91ab0a4430a021b2d096a356f946b33315
........................Link removed..............................
I forgot to disable dnsproxy and since there are no dhcp entries it will spam the log file with errors.
To disable dnsproxy (v0.71.2
) just install luci-app-dnsproxy
(included) or edit config.
# For documents, please see https://github.com/AdguardTeam/dnsproxy#usage
config dnsproxy 'global'
option enabled '0'
[...]
If you want to test dnsproxy, then edit dnsproxy config as shown below.
Forced HTTP/3
# For documents, please see https://github.com/AdguardTeam/dnsproxy#usage
config dnsproxy 'global'
[...]
option http3 '0'
[...]
list upstream 'h3://1.1.1.2/dns-query'
list upstream 'h3://1.0.0.2/dns-query'
or
dnsproxy config: (this way it will choose HTTP/3 if it's faster. This works with quad9 too, still under testing phase https://dns9.quad9.net/dns-query
).
# For documents, please see https://github.com/AdguardTeam/dnsproxy#usage
config dnsproxy 'global'
[...]
option http3 '1'
[...]
Replace
list upstream 'h3://1.1.1.2/dns-query'
list upstream 'h3://1.0.0.2/dns-query'
with
list upstream 'https://1.1.1.2/dns-query'
list upstream 'https://1.0.0.2/dns-query'
dhcp
list server '127.0.0.1#5353'
Both https-dns-proxy and luci-app-https-dns-proxy are under packages.
Summary
Building from my repo
git clone -b openwrt-23.05-nss https://github.com/nihilt/openwrt.git
cd openwrt
git pull
git status
git remote add upstream https://git.openwrt.org/openwrt/openwrt.git
./scripts/feeds update -a && ./scripts/feeds install -a && cp diffconfig .config && make defconfig && ./scripts/getver.sh
make dirclean && make -j9 download && make -j9 V=sc
Updating openwrt (excluding kernel updates).
git clone -b openwrt-23.05-nss https://git.openwrt.org/openwrt/openwrt.git
cd openwrt
git pull
git remote add oldrepo https://github.com/nihilt/openwrt.git
git remote update
git cherry-pick 7df23f7c0cb4ac7d4ccc82b78195e7edfc4311a4~1..4028eb8289662e76c79ee3d761bc6d02574eaab7
git remote remove oldrepo
git checkout openwrt-23.05
git status
git remote add upstream https://git.openwrt.org/openwrt/openwrt.git
./scripts/feeds update -a && ./scripts/feeds install -a && cp diffconfig .config && make defconfig && ./scripts/getver.sh
make dirclean && make -j9 download && make -j9 V=sc
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 23.05-SNAPSHOT, r23927-4028eb8289
-----------------------------------------------------
root@OpenWrt:~# opkg list-installed | grep qca-
kmod-qca-mcs - 5.15.158+2022-03-16-dd8a438-1
kmod-qca-nss-drv - 5.15.158+2020-03-20-3cfb9f43-1
kmod-qca-nss-drv-igs - 5.15.158+2020-10-29-ef082a73-2
kmod-qca-nss-drv-l2tpv2 - 5.15.158+2020-10-29-ef082a73-2
kmod-qca-nss-drv-netlink - 5.15.158+2020-10-29-ef082a73-2
kmod-qca-nss-drv-pppoe - 5.15.158+2020-10-29-ef082a73-2
kmod-qca-nss-drv-pptp - 5.15.158+2020-10-29-ef082a73-2
kmod-qca-nss-drv-qdisc - 5.15.158+2020-10-29-ef082a73-2
kmod-qca-nss-drv-tunipip6 - 5.15.158+2020-10-29-ef082a73-2
kmod-qca-nss-ecm-standard - 5.15.158+2023-01-20-db66c47-1
kmod-qca-nss-gmac - 5.15.158+2021-04-20-17176794-1
root@OpenWrt:~# lsmod | grep nss
ip6_tunnel 32768 2 qca_nss_tunipip6,ip6_gre
nss_ifb 16384 0
ppp_generic 36864 8 ecm,ppp_async,qca_nss_pptp,pptp,qca_nss_pppoe,pppoe,pppox,qca_nss_l2tpv2
pppoe 24576 2 ecm,qca_nss_pppoe
pptp 28672 2 ecm,qca_nss_pptp
qca_nss_drv 405504 8 nss_ifb,ecm,mac80211,qca_nss_tunipip6,qca_nss_qdisc,qca_nss_pptp,qca_nss_pppoe,qca_nss_l2tpv2
qca_nss_gmac 61440 1 qca_nss_drv
qca_nss_l2tpv2 20480 0
qca_nss_pppoe 16384 0
qca_nss_pptp 16384 0
qca_nss_qdisc 65536 5
qca_nss_tunipip6 16384 0
root@OpenWrt:~# cat /sys/kernel/debug/qca-nss-drv/stats/virt_if
if_num 29 stats start:
rx_packets = 215237
rx_bytes = 293929821
rx_dropped = 0
tx_packets = 9661
tx_bytes = 11056673
tx_enqueue_failed = 0
shaper_enqueue_failed = 0
ocm_alloc_failed = 0
if_num 29 stats end:
if_num 33 stats start:
rx_packets = 202416
rx_bytes = 278347505
rx_dropped = 0
tx_packets = 34892
tx_bytes = 4203686
tx_enqueue_failed = 0
shaper_enqueue_failed = 0
ocm_alloc_failed = 0
if_num 33 stats end:
if_num 37 stats start:
rx_packets = 2280
rx_bytes = 2295728
rx_dropped = 0
tx_packets = 7947
tx_bytes = 1137479
tx_enqueue_failed = 0
shaper_enqueue_failed = 0
ocm_alloc_failed = 0
if_num 37 stats end:
base node stats begin (shown on if_num 37):
active_interfaces = 6
ocm_alloc_failed = 0
ddr_alloc_failed = 0
base node stats end.