Kernel gets custom hash modifier with the additional commits. One option (not clean) is to use the opkg --force-depends option.
The cleanest method is to include the packages from the start. Which packages are you adding on? (I could possibly add them on to start with or I could help you with compiling your own custom flavor).
It's a bit weird but it works fine with dual wireguard tunnelling, one from Russia to Finland, and another one to my devices on the go, and the the split tunneling for local internet services. This ssetup allow me the use of everything not available locally and maxxing out my router
linksys ea7500 v1 work like a charm over copper, for wireless i 'm geting like 275mbps from wan, top shows load like 0.1 max when near one gig nat saturation flow. luci run quite smooth, i'l check over pppoe soon when switch it with my main pfsense box. thanks for this build
Oh and with 802.11krv, here are the system logs I receive:
Fri Jan 1 13:34:31 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan 1 13:34:32 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan 1 13:34:32 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan 1 13:34:32 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan 1 13:34:32 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session B597477D0B02D5F2
Fri Jan 1 13:34:32 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan 1 13:39:43 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan 1 13:43:24 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan 1 13:43:25 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan 1 13:43:25 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan 1 13:43:25 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan 1 13:43:25 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session 1C44E68651186E2D
Fri Jan 1 13:43:25 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan 1 13:43:59 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan 1 13:44:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan 1 13:44:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan 1 13:44:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan 1 13:44:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session 04BF7776CB09A57D
Fri Jan 1 13:44:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan 1 13:46:27 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan 1 13:46:28 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan 1 13:46:28 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan 1 13:46:28 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan 1 13:46:28 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session EF746874295FD069
Fri Jan 1 13:46:28 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan 1 13:47:21 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Fri Jan 1 13:47:21 2021 daemon.err hostapd: nl80211: NL80211_ATTR_STA_VLAN (addr=ce:c5:62:d0:73:fe ifname=wlan0 vlan_id=0) failed: -2 (No such file or directory)
Fri Jan 1 13:47:21 2021 daemon.info hostapd: wlan0: STA ce:c5:62:d0:73:fe IEEE 802.11: associated (aid 1)
Fri Jan 1 13:47:58 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan 1 13:47:59 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan 1 13:48:13 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan 1 13:48:13 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan 1 13:48:13 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session A5219A282E9830F3
Fri Jan 1 13:48:13 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan 1 13:49:12 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan 1 13:49:12 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan 1 13:51:06 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan 1 13:51:07 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan 1 13:51:08 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan 1 13:51:08 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan 1 13:51:08 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session 8A793E57B7F509EF
Fri Jan 1 13:51:08 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan 1 13:52:47 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan 1 13:52:48 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan 1 13:52:48 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan 1 13:52:48 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan 1 13:52:48 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session 5644A12F0C119447
Fri Jan 1 13:52:48 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan 1 13:54:21 2021 daemon.info hostapd: wlan0: STA ce:c5:62:d0:73:fe IEEE 802.11: disassociated due to inactivity
Fri Jan 1 13:54:22 2021 daemon.info hostapd: wlan0: STA ce:c5:62:d0:73:fe IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan 1 13:55:58 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan 1 13:55:59 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan 1 13:56:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan 1 13:56:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan 1 13:56:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session 5978210E0C2D62F2
Fri Jan 1 13:56:00 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan 1 13:58:09 2021 daemon.err uhttpd[2208]: luci: accepted login on / for root from 192.168.1.242
Fri Jan 1 13:58:19 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan 1 13:58:19 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan 1 13:59:08 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan 1 13:59:09 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan 1 13:59:10 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan 1 13:59:10 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan 1 13:59:10 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session 3E19E370BDF2ECE4
Fri Jan 1 13:59:10 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
Fri Jan 1 14:00:25 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan 1 14:00:25 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan 1 14:03:17 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: disassociated
Fri Jan 1 14:03:18 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Fri Jan 1 14:03:21 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan 1 14:03:21 2021 daemon.err dawn[3186]: Neigbor-Report is NULL!
Fri Jan 1 14:03:33 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: authenticated
Fri Jan 1 14:03:33 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a IEEE 802.11: associated (aid 1)
Fri Jan 1 14:03:33 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a RADIUS: starting accounting session 9535318B1C316CC1
Fri Jan 1 14:03:33 2021 daemon.info hostapd: wlan1: STA 48:5f:99:cb:45:7a WPA: pairwise key handshake completed (RSN)
I have noticed the Fri Jan 1 13:47:21 2021 daemon.err hostapd: nl80211: NL80211_ATTR_STA_VLAN (addr=ce:c5:62:d0:73:fe ifname=wlan0 vlan_id=0) failed: -2 (No such file or directory) error, so going to try FT over the Air to see if it may fix the issue?
Seems like no matter how much do i bump the netlink_buffer_size, nlbwmon will hang shortly after restart and counter stop updating. What bothers me is that i have tons of udp connection in conntrack, sometimes it even reaches the limit (16k) and got a kernel warning about it. Is that normal that shortly (20-60s) after launching qbittorrent udp connections bumps to 13k+ (despite that tcp is the flavored protocol and max. global conn. set to 250)? Switched from Zyxel Armor Z1 (IPQ8064, old openwrt based software) but I don't remember that I ever reached the max conntrack count.
BitTorrent uses both TCP and UDP. Here is an example of a UDP congestion control that bit torrent uses and is probably the source of your thousands of connections: http://www.bittorrent.org/beps/bep_0029.html
BitTorrent uses tons of connections and can eat up a good chunk of bandwidth too.
Not too worried about that number of connections with BitTorrent. Here is my morning’s stats with just some light browsing:
16k connections is not normal, i have limit to max 50 seeds for one torrent and 500 for all of them, no problem for rtorrent, but when i downloading by synology download station it generates couple of more time load of cpu in ,y pfsense router with little more tweaked firewall list
All looks correct to me, I followed that wiki page to set up the AP. Ignore DHCP is ticked and firewall, dnsmasq and odhcpd are all disabled at startup and not running.
Also, I looked at the system logs at the time when the connection wasn't working and here's the output:
Fri Jan 1 16:50:50 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Fri Jan 1 16:50:50 2021 daemon.info hostapd: wlan0: STA 9a:ef:44:2e:13:28 IEEE 802.11: associated (aid 1)
Fri Jan 1 16:50:52 2021 daemon.err dawn[2855]: Neigbor-Report is NULL!
Fri Jan 1 16:50:52 2021 daemon.err dawn[2855]: Neigbor-Report is NULL!
Fri Jan 1 16:51:32 2021 daemon.err dawn[2855]: Neigbor-Report is NULL!
Fri Jan 1 16:52:14 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Fri Jan 1 16:52:14 2021 daemon.info hostapd: wlan0: STA 9a:ef:44:2e:13:28 IEEE 802.11: associated (aid 1)
Fri Jan 1 16:52:16 2021 daemon.err dawn[2855]: Neigbor-Report is NULL!
Fri Jan 1 16:52:31 2021 daemon.err dawn[2855]: Neigbor-Report is NULL!
Fri Jan 1 16:52:31 2021 daemon.err dawn[2855]: Neigbor-Report is NULL!
I'm familiar with that, but it's explicity set to TCP only: , and as I mentioned earlier on familiar setup (openwrt 12.09 + qcom sdk), I didn't had conntrack table full warning in kernel log (but it had 32k max. net.nf_conntrack_max -- just checked now). Torrents causing conntrack table to overflow
Anyway it's pretty stable on C2600, haven't run into a single issue (which related to NSS / build). Just flashed C2600-20201231 @ yesterday, no issues.
btw:
/sys/kernel/debug/qca-nss-drv/stats/pppoe
RX_BYTES RX_PACKETS + RX_BYTES always zero, is that normal?
Is there a way to get the NSS CPU cores usage?
p.s.: did u revert openwrt's branch?
C2600-20201228 was r15430+1-774b4f318f
C2600-20201231 is r15366+83-dbb542f194
Dunno why the stats are zero - that is interesting. Haven’t seen a way to measure NSS cores usage. I’d need some help to figure that out.
The version gets a little wonky when you have add on commits. Versions are managed by the get version script - getver.sh. There are 67 commits (the rebase commit is never counted) so here is the reasonings for the version changes:
C2600-20201228 was r15430+1 = “15431” (I made 1 local commit “+1”, no commits from master in the timeframe from the build the prior day so I didn’t rebase with master- the get version script gets tricked and thinks that 65 of my branch’s commits are a part of master)
C2600-20201231 is r15366+83 = “15449” (this is a more common nomenclature, it has +66 of my branch’s commits and +17 commits from the last time I rebased with master on Dec 28th - “+83”)
Just flash your firmware of EA7500 V1. Booting is ok !
I'm not sure how to verify nss driver is working or not.need research previous posts
thank you very much for your great work!
I also will test r7500 v2 later and let you know
With NSS you should see full line speed (940mbps) and minimal CPU usage (if you have gig speed from your ISP). Wifi should have a small improvement too.
I'm trying to build by myself from your repo
I have built it ,now I want to update to the latest openwrt master
So I do
1 git stash
2 git fetch upstream && git rebase upstream/maste
but I got following,I'm a new openwrt, please help me
thanks
Applying: Fix NSS for NBG6817 (Zyxel Armor Z2)
Applying: Fix NSS for C2600
Applying: Fix NSS for EA7500 v1
Applying: rebase
Applying: Add qca package for qsdk10.0
Using index info to reconstruct a base tree...
.git/rebase-apply/patch:109: trailing whitespace.
.git/rebase-apply/patch:116: trailing whitespace.
.git/rebase-apply/patch:118: space before tab in indent.
crypto_bench_debug("#");
.git/rebase-apply/patch:119: trailing whitespace.
.git/rebase-apply/patch:120: space before tab in indent.
/* get start time */
warning: squelched 985 whitespace errors
warning: 990 lines add whitespace errors.
Falling back to patching base and 3-way merge...
warning: Cannot merge binary files: package/qca/qca-nss-drv/files/nss-firmware/qca-nss1-retail.bin (HEAD vs. Add qca package for qsdk10.0)
warning: Cannot merge binary files: package/qca/qca-nss-drv/files/nss-firmware/qca-nss0-retail.bin (HEAD vs. Add qca package for qsdk10.0)
CONFLICT (add/add): Merge conflict in package/qca/shortcut-fe/shortcut-fe/files/etc/init.d/shortcut-fe
Auto-merging package/qca/shortcut-fe/shortcut-fe/files/etc/init.d/shortcut-fe
CONFLICT (add/add): Merge conflict in package/qca/qca-nss-ecm/Makefile
Auto-merging package/qca/qca-nss-ecm/Makefile
CONFLICT (add/add): Merge conflict in package/qca/qca-nss-drv/files/nss-firmware/qca-nss1-retail.bin
Auto-merging package/qca/qca-nss-drv/files/nss-firmware/qca-nss1-retail.bin
CONFLICT (add/add): Merge conflict in package/qca/qca-nss-drv/files/nss-firmware/qca-nss0-retail.bin
Auto-merging package/qca/qca-nss-drv/files/nss-firmware/qca-nss0-retail.bin
CONFLICT (add/add): Merge conflict in package/qca/qca-nss-crypto/Makefile
Auto-merging package/qca/qca-nss-crypto/Makefile
error: Failed to merge in the changes.
Patch failed at 0067 Add qca package for qsdk10.0
hint: Use 'git am --show-current-patch' to see the failed patch
Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".
git clone -b kernel5.4-nss-qsdk10.0 https://github.com/ACwifidude/openwrt.git
cd openwrt
git remote add upstream https://git.openwrt.org/openwrt/openwrt.git
git fetch upstream && git rebase upstream/master && ./scripts/feeds update -a && ./scripts/feeds install -a && cp diffconfig .config && make defconfig && ./scripts/getver.sh
make -j5