tried it today as i'm trying to go back to stock firmware
root@OpenWrt:/tmp# wget https://raw.githubusercontent.com/itorK/nbg7815_tools/main/change_boot_parti
tion.sh
Downloading 'https://raw.githubusercontent.com/itorK/nbg7815_tools/main/change_boot_partition.sh'
Connecting to 185.199.109.133:443
Writing to 'change_boot_partition.sh'
change_boot_partitio 100% |*******************************| 1404 0:00:00 ETA
Download completed (1404 bytes)
root@OpenWrt:/tmp# sh change_boot_partition.sh
: not found_partition.sh: line 4:
: not found_partition.sh: line 6:
change_boot_partition.sh: line 41: syntax error: unexpected end of file (expecting "then")
so in this case no git client or winscp or anything can mess with encoding
I don't understand, now if i change the boot order it still boots to the old openwrt
If I understand it correctly there are two partitions with full firmware, sysupgrade should install bin to the other then current partition and then once I swap boot.bin in the /dev/mtd2 and /dev/mtd3 router should boot the newly flashed firmware?
ethtool will tell you if 10GBASE-T could get established or not. I wouldn't expect ipq8072a to reach 10 GBit/s effective throughput without NSS offloading, which is not available in OpenWrt (yet - and most likely never, although there is much headroom for improvement with rather 'simple' (simple things, but not easy to achieve) ethernet/ switch driver improvements (e.g. checksum offloading)).
For details feel free to search this forum for "NSS", the situation is (very) similar for ipq806x and ipq807x (and ipq60xx/ ipq50xx).
I ever test NIC performance with stock firmware. The stock firmware has build-in iperf. I tested it with AQC 10G NIC and Windows server. Even with stock firmware, 10G port throughtput performance is about 5G with multiple iperf connections.
AFAIR there was someone in this thread mentioning that 10GbE is somewhat limited to ~2,5GbE. But nobody was able or willing to confirm this observation/issue.
As this is my first device >=2,5GbE I'm not able to test anything in this direction. Most of the ppl. here are in the same boat as I am.
If you look into: https://github.com/Aquantia/AQtion/issues/25
-> There are still issues with AQR107 until today. And if I read it right you can reach not more then about ~8Gb/s in real life.
Did you try to enable Software-Offload (in OpenWrt Firewall settings)?
The link form above:
# ethtool -k enp4s0 | fgrep receive-offload
generic-receive-offload: off
large-receive-offload: off
To fix the slow mode, all I had to do was:
ethtool -K lan0 rx-vlan-offload off # this already fixed the perf
ethtool -K lan0 rx-vlan-offload on # switching this back kept the perf
So basically switch it "off" and then "on" again. It should be "on" by default. Maybe it helps.
I ever test itorK firmware wiith IPERF3. Throughput is about 4.XGb. Only slightly less than stock firmware. I have already updated to snapshot firmware. It is quite stable. I think it is no need to care about NSS offload.
My device is not anymore reachable the moment I activate Wlan. At least it isn't via the lan zone, I still can reach it over the wireguard interface though which is in the same firewall zone. Any ideas? Cheers!