I searched here on the forums and found that some platforms don’t have all the perl modules installed. I found this listing of packages:
perlbase-ipc, perlbase-module, perlbase-extutils
I build on fedora linux so I found the similar module to perl IPC and it automatically pulled in the rest via dependencies. Built with no issue after that!
Additionally I get several Warnings before compiling.
./scripts/feeds update -a && ./scripts/feeds install -a && cp diffconfig .config && make defconfig && ./scripts/getver.sh
.....
Collecting target info: done
Create index file './feeds/routing.index'
Collecting package info: done
Collecting target info: done
Create index file './feeds/telephony.index'
Collecting package info: done
Collecting target info: done
Create index file './feeds/nss.index'
Collecting package info: done
Collecting target info: done
Create index file './feeds/sqm_scripts_nss.index'
Collecting package info: done
Collecting target info: done
Collecting package info: done
Collecting target info: done
WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/busybox/Makefile' has a build dependency on 'libpam', which does not exist
WARNING: Makefile 'package/boot/kexec-tools/Makefile' has a dependency on 'liblzma', which does not exist
WARNING: Makefile 'package/network/services/lldpd/Makefile' has a dependency on 'libnetsnmp', which does not exist
WARNING: Makefile 'package/kernel/mac80211/Makefile' has a dependency on 'kmod-qca-nss-drv', which does not exist
WARNING: Makefile 'package/utils/policycoreutils/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/policycoreutils/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/policycoreutils/Makefile' has a build dependency on 'libpam', which does not exist
Installing all packages from feed packages.
Installing package '2to3' from packages
Installing package 'python3' from packages
I compile on Debian and except for 2 successful builds I've always got qca-nss-drv failed to build errors.
I don’t mind seeing other people’s builds here. I’ll keep my build updated via the links in the first post but anyone that wants to share their link, suggest changes, or finds ways to improve the code I’m all ears.
I might include suggested changes in my build, I might not. I try to keep my build simple and not too bloated (but with a reasonable set of packages that most would use). If another person’s link or experiences is helpful for someone I feel that is the point of a community build, for everyone to join in and enjoy the different flavors out there / learn from each other / share their experiences with either my build, or their own builds.
I just wanted to add I've been running the NSS 22.03 build on my XR500 (wifi disabled) for almost 5 days and everything has been great. I am using Kong's NSS build on my R7800 that I have setup as a dumb AP. Everything is great. Thanks for the great build @ACwifidude, I appreciate all the great work.
I want to point out a reference to another issue with nlbwmon that was broadly discussed on this thread too. Just in case anyone has missed it but may want to try a possible solution.
Currently I'm testing the proposed solution to remove list local_network 'lan' from /etc/config/nlbwmon.
Has anyone noticed that on R7800, USB LEDs are swapped. When I put an USB flash device in port 1 - the LED 2 blinks and vice versa.
First off, big thanks to everyone on here for their work on these devices.
I have the EA7500v1 and I'm having an issue with MFP (802.11w) for the purpose of enabling WPA3.
With MFP disabled, I'm getting nearly my full download WAN speed over WLAN (about 560Mbps).
With MFP enabled, download speeds drop to under 30Mbps.
This means I can't use WPA3.
802.11r is disabled.
I have tried both ath10k and ath10k-ct to no improvement.
I have tried the various wpad flavors to no improvement.
On default OpenWRT (not this NSS build), enabling MFP does not affect WLAN speed. However, the speed maxes out at about 260Mbps so that's not an option for me either.
Has anyone else experienced this and is there a fix?
I did some more testing. The issue is with ath10k vs ath10k-ct on the EA7500v1.
ath10k-ct works with or without MFP (802.11w). Unfortunately, the Wifi speed limit seems to be about 290Mbps for this driver.
ath10k does not work with MFP (speed drops to about 30Mbps on both this NSS build and vanilla OpenWRT). It is, however, capable of running without MFP at twice the speed and half the latency of ath10k-ct.
I'm getting this error while trying to compile master
ERROR: package/feeds/nss/qca-nss-crypto failed to build.
//edited with correct diffconfig
# Use "make defconfig" to expand this to a full .config
CONFIG_TARGET_ipq806x=y
CONFIG_TARGET_ipq806x_generic=y
CONFIG_TARGET_MULTI_PROFILE=y
CONFIG_TARGET_DEVICE_ipq806x_generic_DEVICE_linksys_ea7500-v1=y
CONFIG_TARGET_PER_DEVICE_ROOTFS=y
# exfat is patented
CONFIG_BUILD_PATENTED=y
# swap stuff (LE: it actually works after a few hours, turn swappiness higher and set it to use zstd)
CONFIG_SWAP=y
CONFIG_PACKAGE_zram-swap=y
# NSS Drivers
CONFIG_PACKAGE_kmod-qca-nss-drv=y
CONFIG_PACKAGE_kmod-qca-nss-ecm-standard=y
CONFIG_PACKAGE_kmod-qca-nss-gmac=y
CONFIG_PACKAGE_kmod-qca-nss-drv-qdisc=y
CONFIG_PACKAGE_kmod-nss-ifb=y
CONFIG_PACKAGE_kmod-qca-nss-drv-pppoe=y
CONFIG_PACKAGE_kmod-qca-nss-drv-pptp=y
# CONFIG_PACKAGE_kmod-qca-nss-drv-l2tpv2 is not set
# CONFIG_PACKAGE_kmod-qca-nss-drv-tunipip6 is not set
CONFIG_PACKAGE_kmod-qca-nss-crypto=y
CONFIG_PACKAGE_kmod-qca-nss-drv-igs=y
CONFIG_PACKAGE_MAC80211_NSS_SUPPORT=y
# Longer waiting for failsafe button push
CONFIG_IMAGEOPT=y
CONFIG_PREINITOPT=y
CONFIG_TARGET_PREINIT_TIMEOUT=5
# Busybox tweaks
CONFIG_BUSYBOX_CUSTOM=y
CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY=y
CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_SAVE_ON_EXIT=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_FLAGS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_REGEXP=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_WINCH=y
# Add-on programs
CONFIG_DROPBEAR_ECC=y
# CONFIG_PACKAGE_openvpn-openssl is not set
CONFIG_PACKAGE_htop=y
CONFIG_PACKAGE_nano=y
CONFIG_PACKAGE_kmod-cryptodev=y
CONFIG_PACKAGE_kmod-dnsresolver=y
CONFIG_PACKAGE_kmod-ramoops=y
CONFIG_PACKAGE_kmod-pstore=y
CONFIG_PACKAGE_kmod-reed-solomon=y
# CONFIG_PACKAGE_kmod-pppol2tp is not set
CONFIG_PACKAGE_ds-lite=y
CONFIG_PACKAGE_curl=y
CONFIG_PACKAGE_kmod-usb-printer=y
# USB device mount & file systems support
CONFIG_PACKAGE_block-mount=y
CONFIG_PACKAGE_cryptsetup=y
CONFIG_PACKAGE_e2fsprogs=y
CONFIG_PACKAGE_f2fs-tools=y
CONFIG_PACKAGE_kmod-crypto-ecb=y
CONFIG_PACKAGE_kmod-crypto-xts=y
CONFIG_PACKAGE_kmod-crypto-iv=y
CONFIG_PACKAGE_kmod-crypto-misc=y
CONFIG_PACKAGE_kmod-crypto-user=y
CONFIG_PACKAGE_kmod-fs-exfat=y
CONFIG_PACKAGE_kmod-fs-ext4=y
CONFIG_PACKAGE_kmod-fs-f2fs=y
CONFIG_PACKAGE_kmod-fs-hfs=y
CONFIG_PACKAGE_kmod-fs-hfsplus=y
CONFIG_PACKAGE_kmod-fs-msdos=y
CONFIG_PACKAGE_kmod-fs-nfs=y
CONFIG_PACKAGE_kmod-fs-nfs-common=y
CONFIG_PACKAGE_kmod-fs-nfs-v3=y
CONFIG_PACKAGE_kmod-fs-nfs-v4=y
CONFIG_PACKAGE_kmod-fs-vfat=y
CONFIG_PACKAGE_kmod-nls-base=y
CONFIG_PACKAGE_kmod-nls-cp1250=y
CONFIG_PACKAGE_kmod-nls-cp437=y
CONFIG_PACKAGE_kmod-nls-cp850=y
CONFIG_PACKAGE_kmod-nls-iso8859-1=y
CONFIG_PACKAGE_kmod-nls-iso8859-15=y
CONFIG_PACKAGE_kmod-nls-utf8=y
CONFIG_PACKAGE_kmod-usb-storage=y
CONFIG_PACKAGE_kmod-usb-storage-uas=y
CONFIG_PACKAGE_libblkid=y
CONFIG_PACKAGE_ntfs-3g=y
CONFIG_PACKAGE_nfs-utils=y
# IPv6 support
CONFIG_PACKAGE_6in4=y
CONFIG_PACKAGE_6to4=y
CONFIG_PACKAGE_6rd=y
# WLAN/WPS support
CONFIG_PACKAGE_hostapd-utils=y
CONFIG_WPA_MSG_MIN_PRIORITY=4
CONFIG_PACKAGE_wpad-openssl=y
# CONFIG_PACKAGE_wpad-basic-mbedtls is not set
# CONFIG_PACKAGE_libustream-mbedtls is not set
# CONFIG_PACKAGE_libmbedtls is not set
# SSL certificates
CONFIG_PACKAGE_ca-certificates=y
# Luci (SSL from OpenSSL)
CONFIG_PACKAGE_luci-ssl-openssl=y
CONFIG_PACKAGE_luci-app-commands=y
CONFIG_PACKAGE_luci-app-adblock=y
# CONFIG_PACKAGE_luci-app-openvpn is not set
CONFIG_PACKAGE_luci-app-ddns=y
# CONFIG_PACKAGE_luci-app-wireguard is not set
CONFIG_PACKAGE_luci-theme-openwrt-2020=y
# CONFIG_PACKAGE_luci-app-sqm is not set
CONFIG_PACKAGE_luci-app-banip=y
CONFIG_PACKAGE_luci-app-upnp=y
# Luci statistics
CONFIG_PACKAGE_luci-app-statistics=y
CONFIG_PACKAGE_collectd-mod-conntrack=y
CONFIG_PACKAGE_collectd-mod-cpufreq=y
CONFIG_PACKAGE_collectd-mod-dhcpleases=y
CONFIG_PACKAGE_collectd-mod-entropy=y
CONFIG_PACKAGE_collectd-mod-exec=y
CONFIG_PACKAGE_collectd-mod-interface=y
CONFIG_PACKAGE_collectd-mod-iwinfo=y
CONFIG_PACKAGE_collectd-mod-load=y
CONFIG_PACKAGE_collectd-mod-memory=y
CONFIG_PACKAGE_collectd-mod-network=y
CONFIG_PACKAGE_collectd-mod-ping=y
CONFIG_PACKAGE_collectd-mod-thermal=y
CONFIG_PACKAGE_collectd-mod-wireless=y
CONFIG_PACKAGE_collectd-mod-uptime=y
For wpad you have to “turn off” mbedtls to use openssl, the “# is not set” lines do that so that there are not issues.
CONFIG_PACKAGE_wpad-openssl=y
# CONFIG_PACKAGE_wpad-basic-mbedtls is not set
# CONFIG_PACKAGE_libustream-mbedtls is not set
# CONFIG_PACKAGE_libmbedtls is not set
I’ve found this combo of NSS packages satisfies all the inter dependencies and activates all the desired NSS drivers, it may seem like a bunch but the newer NSS requires a few more packages compared to the old 10.0 (this isn’t “the minimum” packages but will make all the packages work for what it looks like you selected):
# NSS Drivers
CONFIG_PACKAGE_kmod-qca-nss-drv=y
CONFIG_PACKAGE_kmod-qca-nss-ecm-standard=y
CONFIG_PACKAGE_kmod-qca-nss-gmac=y
CONFIG_PACKAGE_kmod-qca-nss-drv-qdisc=y
CONFIG_PACKAGE_kmod-nss-ifb=y
CONFIG_PACKAGE_kmod-qca-nss-drv-pppoe=y
CONFIG_PACKAGE_kmod-qca-nss-drv-pptp=y
# CONFIG_PACKAGE_kmod-qca-nss-drv-l2tpv2 is not set
# CONFIG_PACKAGE_kmod-qca-nss-drv-tunipip6 is not set
CONFIG_PACKAGE_kmod-qca-nss-crypto=y
CONFIG_PACKAGE_kmod-qca-nss-drv-igs=y
CONFIG_PACKAGE_MAC80211_NSS_SUPPORT=y
It built and booted fine, thank you, for completeness i edited my previous comment.
One tiny thing, the resulting image is called "openwrt-ipq806x-generic-linksys_ea7500-v1-squashfs-sysupgrade.bin", is that normal? It has everything, the nss stuff, the packages i added/removed etc, so it's just cosmetic.
Yes that is the normal naming convention for OpenWrt. I change the name after building to my preferred naming scheme to clearly know the build date and architecture.
hi guys, i would like to know if something has changed between the stable and the master version. let me explain, I tried several times to update but every time as soon as I activate the 5ghz wifi the router starts to restart and I'm forced to reset, with the stable version the same configuration works great.
Have you resolved the issue? I have the same on a dumb R7800 AP:
Sun Mar 26 21:34:04 2023 kern.warn kernel: [ 7927.560690] br-lan: received packet on wlan0 with own address as source address (addr:60:ab:67:xx:xx:xx, vlan:0)
Sun Mar 26 21:34:05 2023 kern.warn kernel: [ 7927.680451] br-lan: received packet on wlan0 with own address as source address (addr:60:ab:67:xx:xx:xx, vlan:0)
Sun Mar 26 21:34:05 2023 kern.warn kernel: [ 7927.680923] br-lan: received packet on wlan0 with own address as source address (addr:60:ab:67:xx:xx:xx, vlan:0)
Sun Mar 26 21:34:05 2023 kern.warn kernel: [ 7927.903457] br-lan: received packet on wlan0 with own address as source address (addr:60:ab:67:xx:xx:xx, vlan:0)
Sun Mar 26 21:34:05 2023 kern.warn kernel: [ 7927.903688] br-lan: received packet on wlan0 with own address as source address (addr:60:ab:67:xx:xx:xx, vlan:0)
Sun Mar 26 21:34:05 2023 kern.warn kernel: [ 7928.001402] br-lan: received packet on wlan0 with own address as source address (addr:60:ab:67:xx:xx:xx, vlan:0)
Sun Mar 26 21:34:05 2023 kern.warn kernel: [ 7928.041210] br-lan: received packet on wlan0 with own address as source address (addr:60:ab:67:xx:xx:xx, vlan:0)
Sun Mar 26 21:34:05 2023 kern.warn kernel: [ 7928.041500] br-lan: received packet on wlan0 with own address as source address (addr:60:ab:67:xx:xx:xx, vlan:0)
Sun Mar 26 21:34:05 2023 kern.warn kernel: [ 7928.105592] br-lan: received packet on wlan1 with own address as source address (addr:60:ab:67:xx:xx:xx, vlan:0)
Sun Mar 26 21:34:05 2023 kern.warn kernel: [ 7928.224224] br-lan: received packet on wlan0 with own address as source address (addr:60:ab:67:xx:xx:xx, vlan:0)
I get these msgs on my R7800, generally with the mac of my cell phone; i don't know if it's a bug in mototola's stack or a malicious app.
One of my regular patches when rebuilding is to disable these. What's especially special about this msg is there's no context - just the what, nothing about what it means.