Maybe a bit off topic but, since I'm using this build: I don't have Grafana data from SQM stats, using the SQM dashboard as default, all the queries are empty: Screenshot. All the other stats are working, just the SQM queries aren't there...
Looks like there's no "sqm_xyz" value in my DB, why this? I have the graphs on the LuCI interface.
It is offtopic. The build contains no Grafana or InfluxDB.
I have no knowledge about those.
You should ask them in a separate thread, labeled clearly, so that people knowledgeable about those would notice your question.
Can't install ipset and dnsmasq-full on stable openwrt-22.03 (owrt2203-r19370-e90f74feb6-20220519) or in master build because of missing kmod-ipt-ipset dependency. Maybe also openvpn-openssl in master (because of kmod-tun dependency). There is no such issue in v21.02.
Can you please add kmod-ipt-ipset, kmod-tun and other missing packages, as it was in v21.02?
Logs for v22.03:
# opkg install ipset
Installing ipset (7.15-2) to root...
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/base/ipset_7.15-2_arm_cortex-a15_neon-vfpv4.ipk
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.116-1-7d02f6b387e4ac9273545d8a6168f147) for kmod-ipt-ipset
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-ipset found, but incompatible with the architectures configured
* satisfy_dependencies_for: Cannot satisfy the following dependencies for ipset:
* kernel (= 5.10.116-1-7d02f6b387e4ac9273545d8a6168f147)
* opkg_install_cmd: Cannot install package ipset.
# opkg install dnsmasq-full
Installing dnsmasq-full (2.86-13) to root...
Collected errors:
Downloading https://downloads.openwrt.org/releases/22.03-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/base/dnsmasq-full_2.86-13_arm_cortex-a15_neon-vfpv4.ipk
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.116-1-7d02f6b387e4ac9273545d8a6168f147) for kmod-ipt-ipset
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-ipset found, but incompatible with the architectures configured
* satisfy_dependencies_for: Cannot satisfy the following dependencies for dnsmasq-full:
* kernel (= 5.10.116-1-7d02f6b387e4ac9273545d8a6168f147)
* opkg_install_cmd: Cannot install package dnsmasq-full.
Logs for master:
# opkg install ipset
Installing ipset (7.15-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/base/ipset_7.15-2_arm_cortex-a15_neon-vfpv4.ipk
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.115-1-31fbea74b7f1d19caaeac20c731bf7b7) for kmod-nf-reject
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.115-1-31fbea74b7f1d19caaeac20c731bf7b7) for kmod-nf-ipt
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.115-1-31fbea74b7f1d19caaeac20c731bf7b7) for kmod-nf-log
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.115-1-31fbea74b7f1d19caaeac20c731bf7b7) for kmod-ipt-core
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.115-1-31fbea74b7f1d19caaeac20c731bf7b7) for kmod-nfnetlink
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.115-1-31fbea74b7f1d19caaeac20c731bf7b7) for kmod-ipt-ipset
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-ipset found, but incompatible with the architectures configured
* satisfy_dependencies_for: Cannot satisfy the following dependencies for ipset:
* kernel (= 5.10.115-1-31fbea74b7f1d19caaeac20c731bf7b7)
* opkg_install_cmd: Cannot install package ipset.
# opkg install dnsmasq-full
Installing dnsmasq-full (2.86-14) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/base/dnsmasq-full_2.86-14_arm_cortex-a15_neon-vfpv4.ipk
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.115-1-31fbea74b7f1d19caaeac20c731bf7b7) for kmod-nf-reject
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.115-1-31fbea74b7f1d19caaeac20c731bf7b7) for kmod-nf-ipt
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.115-1-31fbea74b7f1d19caaeac20c731bf7b7) for kmod-nf-log
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.115-1-31fbea74b7f1d19caaeac20c731bf7b7) for kmod-ipt-core
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.115-1-31fbea74b7f1d19caaeac20c731bf7b7) for kmod-nfnetlink
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.115-1-31fbea74b7f1d19caaeac20c731bf7b7) for kmod-ipt-ipset
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-ipset found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.115-1-31fbea74b7f1d19caaeac20c731bf7b7) for kmod-nf-conntrack
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.115-1-31fbea74b7f1d19caaeac20c731bf7b7) for kmod-nf-conntrack-netlink
* satisfy_dependencies_for: Cannot satisfy the following dependencies for dnsmasq-full:
* kernel (= 5.10.115-1-31fbea74b7f1d19caaeac20c731bf7b7)
* opkg_install_cmd: Cannot install package dnsmasq-full.
# opkg install openvpn-openssl
Installing openvpn-openssl (2.5.6-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/packages/openvpn-openssl_2.5.6-1_arm_cortex-a15_neon-vfpv4.ipk
Installing liblzo2 (2.10-4) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/packages/liblzo2_2.10-4_arm_cortex-a15_neon-vfpv4.ipk
Configuring liblzo2.
Configuring openvpn-openssl.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.115-1-31fbea74b7f1d19caaeac20c731bf7b7) for kmod-tun
kmod-tun is already there both in master and 22.03.
The kmod-ipt-ipset got left out in the firewall4 transition due to pakcage dependencies, as I think that ipset doesn't work with nftables, (so e.g. banip and bcp38 may have trouble can caused dependency errors.) But I could try adding ipset back.
EDIT: I added it back. Newest master build already has it, and the next 22.03 will have it.
# iptables -t nat -I POSTROUTING -o tun0 -j MASQUERADE
iptables v1.8.7 (nf_tables): Chain 'MASQUERADE' does not exist
Try `iptables -h' or 'iptables --help' for more information.
# iptables-legacy -t nat -I POSTROUTING -o tun0 -j MASQUERADE
iptables v1.8.7 (legacy): can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
# iptables --wait -D FORWARD -i br-lan -o tun0 -m conntrack --ctstate NEW -j ACCEPT
iptables v1.8.7 (nf_tables): Couldn't load match `conntrack':No such file or directory
Maybe try to add kmod-ipt-nat, kmod-ipt-nat6, kmod-ipt-conntrack, ip6tables-mod-nat?
Maybe you're right and I need to rewrite all scripts and rules. I just tried to avoid it and use compatibility layer of iptables-nft and iptables-legacy (they expect to coexist with nftables in recent kernels).
I was able to make my scripts working: nftables + ipset + dnsmasq (still using old ipset) in v22.03. For anyone will follow, to make ipset working in v22.03, need to use command iptables (alias to command iptables-nft), it will use old ipset tables, but will add rules to new nftables.
For example, to mark all packets destination to ipset table, working in v22.02+:
iptables -t mangle -I PREROUTING -m set --match-set my-ipset-list dst,src -j MARK --set-mark 1
This will work with dnsmasqipset, while nftables support is not released yet.
Required packages for this mix: kmod-ipt-ipset, iptables-nft, ipset, dnsmasq-full, kmod-tun.
Hello @hnyman. I have used your builds extensively when I had my R7800. They were stable and came with great features out of the box. I have since had the need to have a more power router. One that can handle higher speeds with SQM enabled. I know I am taking a loooooong shot here, but who knows what the outcome might be. Could you be tempted to do a similar build for the Belkin RT3200?
I actually have currently also an RT3200 and are building for it.
I have occasionally uploaded the build to dropbox, but I have no intention to start a proper community build for it.
Fel free to try the build and modify it to your needs.
When I flashed the build, the login screen asked me for a password. Naturally, I just clicked on login. It kept requesting the password. I managed to bypass the password by going into failsafe mode and setting it to what I needed it to. Thanks again for the build, so far it seems fairly stable and packages are performing as I expect from your high calibre builds.
Update: after flashing the router again, I came across the same login issue; however, what I have found is that leaving the luci page open long enough and then attempting to login again seems to allow me to get pass the login screen without entering a password. I am not sure what the cause for the delay might be.
Is it normal that each time the router reboots, system time is resetted to "Sun May 29 16:21:30 2022" (i think the build time)?
If i look at syslog, lines during boot are logged with that time, with several errors like
Sun May 29 16:21:30 2022 daemon.err collectd[3195]: rrdtool plugin: rrd_update_r failed: /root/lib/rrd/golconda/conntrack/conntrack-max.rrd: illegal attempt to update using time 1653834091 when last update time is 1654690330 (minimum one second step)".
After a while (i think when NTP client updates the time), the time is setted to the right one.
Shouldn't the system time be in persistent memory?