dolphs

  • Posts

    262
  • Joined

  • Last visited

Everything posted by dolphs

  1. Hmmm why moving to 11 already, better wait till bullseye hit the streets imho... Perhaps you ae better off with backports? I do similar for unbound ( wireguard-tools )? eg: Last, but not least, dont know if you have emmc installed but you might test bullseye from sdcard? Compiling with EXPERT=yes, eg for rockpi-4a ( my scenario ):
  2. looks like this helped in the end: " rockpi-4a:~:# vnstat -i wg0 --update "
  3. Just flashed rockpi-4a current buster image and it looks like I hit " Error: Unable to read database "/var/lib/vnstat/wg0": No such file or directory Merge "eth0+wg0" failed. ", which can be shown here Also have been checking vnstat to merge wg0 but did not succeed, perhaps one can give me a hand please? TiA! These are the adapters present:
  4. bumped my OpiOnePlus H6 boards to kernel 5.12 and surprise surprise , BBR is working as it should again ... I really wonder what was causing this as in kernel 5.10 and 11 I had to use westwood ( with cake )... net.core.default_qdisc = fq net.ipv4.tcp_congestion_control = bbr shows 250Mbit ( meanwhile line upgraded which is max upload speed ) root@vpn01:~# iperf3 -4 -c 192.168.10.2 -t 300 -b0 -P1 Connecting to host 192.168.10.2, port 5201 [ 5] local 192.168.20.2 port 47462 connected to 192.168.10.2 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 28.4 MBytes 238 Mbits/sec 0 7.71 MBytes [ 5] 1.00-2.00 sec 35.0 MBytes 294 Mbits/sec 1789 1.81 MBytes [ 5] 2.00-3.00 sec 26.2 MBytes 220 Mbits/sec 3780 1.96 MBytes [ 5] 3.00-4.00 sec 30.0 MBytes 252 Mbits/sec 3389 1.66 MBytes [ 5] 4.00-5.00 sec 27.5 MBytes 231 Mbits/sec 4158 2.27 MBytes [ 5] 5.00-6.00 sec 28.8 MBytes 241 Mbits/sec 2252 5.84 MBytes [ 5] 6.00-7.00 sec 30.0 MBytes 252 Mbits/sec 2507 5.85 MBytes [ 5] 7.00-8.00 sec 26.2 MBytes 220 Mbits/sec 3921 2.12 MBytes [ 5] 8.00-9.00 sec 30.0 MBytes 252 Mbits/sec 2773 5.94 MBytes [ 5] 9.00-10.00 sec 27.4 MBytes 230 Mbits/sec 3675 2.02 MBytes [ 5] 10.00-11.00 sec 28.8 MBytes 241 Mbits/sec 3512 1.88 MBytes ^C[ 5] 11.00-11.22 sec 7.50 MBytes 289 Mbits/sec 319 2.68 MBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-11.22 sec 326 MBytes 244 Mbits/sec 32075 sender
  5. 5.11 to be buried, is EOL ( already ). imho the non LTS kernels could be buried once mainline kernel hits .1 release. Thus eg. when 5.13.1 will be released bump edge kernel asap so 5.12 can be buried ( and forgotten ) ( needless to say , but "currents" should stay on LTS )
  6. Hello to you all, Haven't read 2825 yet, will do after this but did a quick checkout and built both for H6 (opioneplus) and H616( zero2 ), : git pull sed -i 's/orange-pi-5.11/orange-pi-5.12/g' config/sources/families/include/sunxi64_common.inc ./compile.sh EXPERT=yes EXTRAWIFI=no USEALLCORES=yes compilation.log shows --- grep error output/debug/*.log output/debug/compilation.log:drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c:152:27: error: redefinition of ‘sun50i_h616_r_ccu_clks’ output/debug/compilation.log:drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c:178:9: error: ‘CLK_NUMBER_H616’ undeclared here (not in a function); did you mean ‘CLK_NUMBER’? output/debug/compilation.log:drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c:194:35: error: redefinition of ‘sun50i_h616_r_hw_clks’ output/debug/compilation.log:drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c:226:29: error: redefinition of ‘sun50i_h616_r_ccu_resets’ output/debug/compilation.log:drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c:252:36: error: redefinition of ‘sun50i_h616_r_ccu_desc’ Suppose once that packaging issue is solved edge will be bumped , so sed no longer needed. cheers chaps! compilation.log
  7. cheers for your response. eth0, eth1 solved by " extraargs=net.ifnames=0 " as @Igor pointed out in this topic I cut down iptables script to the basics as shown below , allowing SSH on eth1 only and outbound traffic goes over eth0. #!/bin/sh # Delete all existing iptables rules iptables -F # Set default chain policies to DROP all iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT DROP # Allow SSH on eth1 iptables -A INPUT -i eth1 -p tcp --dport 22 -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A OUTPUT -o eth1 -p tcp --sport 22 -m state --state ESTABLISHED -j ACCEPT iptables -A OUTPUT -o eth1 -p tcp --dport 22 -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A INPUT -i eth1 -p tcp --sport 22 -m state --state ESTABLISHED -j ACCEPT # Allow all outbound traffic eth0 iptables -I OUTPUT -o eth0 -d 0.0.0.0/0 -j ACCEPT iptables -I INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT Next part would be to update routing accordingly so outbound won't check for eth1 and go straight to eth0, etc etc
  8. Hi, Idea is to run a wireguard server having two ethernet devices, therefore added an USB3 adapter "ASIX AX88179" to my rockpi4a. I like to allow incoming traffic, incl SSH, on "eth1". Instead, outgoing, on eth0 ( RTL8211E ) I wrote following ( preps, nmcli, iptables ) up - but perhaps there is an easier approach and I am sure I am missing other (routing) stuff, for sure the forwarding part. Anyway perhaps there is one to guide me a bit, TiA! 1/ preparations apt update && apt -y upgrade && apt -y install firmware-realtek nano /boot/armbianEnv.txt # add extraargs=net.ifnames=0 reboot 2/ nmcli stuff nmcli c mod "Wired connection 2" connection.id realtek nmcli c mod "Wired connection 1" connection.id asix nmcli c mod asix ipv6.method ignore nmcli c mod realtek ipv6.method ignore nmcli c mod asix ipv4.never-default true nmcli c up asix nmcli c up realtek 3/ iptables "hardening" # 1. Delete all existing rules iptables -F # 2. Set default chain policies to DROP all both eth0 and eth1 iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT DROP # 3. Allow SSH on eth1 iptables -A INPUT -i eth1 -p tcp --dport 22 -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A INPUT -i eth1 -p tcp --sport 22 -m state --state ESTABLISHED -j ACCEPT iptables -A OUTPUT -o eth1 -p tcp --dport 22 -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A OUTPUT -o eth1 -p tcp --sport 22 -m state --state ESTABLISHED -j ACCEPT # 4. Allow incoming Wireguard on eth1 iptables -A INPUT -i eth1 -p udp --dport 51820 -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A OUTPUT -o eth1 -p udp --sport 51820 -m state --state ESTABLISHED -j ACCEPT FORWARD? ( wg0 ) # 5. Allow outbound Wireguard on eth0 iptables -A OUTPUT -o eth0 -p udp --dport 51820 -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A INPUT -i eth0 -p udp --sport 51820 -m state --state ESTABLISHED -j ACCEPT FORWARD? ( wg0 ) # 6. Allow outbound http(s) on eth0 ( eg updates ) iptables -A OUTPUT -o eth0 -p tcp -m multiport --sports 80,443 -m conntrack --ctstate ESTABLISHED -j ACCEPT # iperf3 excluded for now # 7. Accept all traffic on loopback interface iptables -A INPUT -i lo -j ACCEPT iptables -A OUTPUT -o lo -j ACCEPT
  9. fantastic, thanks for your answer Igor I was already about to mess with " 73-usb-net-by-mac.rules ", but this flag works so much better! Out of the box, flashing image it shows: 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 86:67:c3:ba:43:ca brd ff:ff:ff:ff:ff:ff inet 192.168.10.188/24 brd 192.168.10.255 scope global dynamic noprefixroute eth0 valid_lft 14213sec preferred_lft 14213sec inet6 fe80::f791:3c34:96fb:aec3/64 scope link noprefixroute valid_lft forever preferred_lft forever 3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 link/ether 00:0e:c6:67:f0:a2 brd ff:ff:ff:ff:ff:ff Now remaining to configure static address , routing etc etc. This is my test "system" , so I can configure/ test settings before applying them instantly to my R4S thanks again!
  10. Hi, I added an USB3.0 adapter to my rockpi4a , which results in: " enx000ec667f0a2 " ( eth1 ) Since NetworkManager is being used I tried to update this name using : " nmcli c modify armbian connection.interface-name "eth1" " But alas that does not seem to be picked up while nmconnection config file has been updated: cat /etc/NetworkManager/system-connections/armbian.nmconnection [connection] id=armbian uuid=8f61a97c-d0f1-4cb2-be4a-3fe2b4c08e7c type=ethernet interface-name=eth1 <snip snip> Ideally this could be changed in armbian-config, but I realise this is a low-low rockpi-4a:system-connections:# ll total 1.0K -rw------- 1 root root 331 Feb 2 12:12 armbian.nmconnection -rw------- 1 root root 384 Feb 2 11:54 'Wired connection 2.nmconnection' That ideally gets changed to 'Wired connection 1.nmconnection' which I updated manually using " nmcli c modify armbian connection.id 'Wired connection 1' " Idea is eth0 will be used solely for outgoing traffic, while "eth1" will be used for incoming
  11. no url to paste to, but 5.9.14 shows: root@rockpi-4a:~# cpufreq-info | grep 2.02 hardware limits: 408 MHz - 2.02 GHz available frequency steps: 408 MHz, 600 MHz, 816 MHz, 1.01 GHz, 1.20 GHz, 1.42 GHz, 1.61 GHz, 1.80 GHz, 2.02 GHz current policy: frequency should be within 408 MHz and 2.02 GHz. cpufreq stats: 408 MHz:77.49%, 600 MHz:2.96%, 816 MHz:0.26%, 1.01 GHz:0.17%, 1.20 GHz:0.13%, 1.42 GHz:0.12%, 1.61 GHz:0.04%, 1.80 GHz:0.07%, 2.02 GHz:18.76% (288) hardware limits: 408 MHz - 2.02 GHz available frequency steps: 408 MHz, 600 MHz, 816 MHz, 1.01 GHz, 1.20 GHz, 1.42 GHz, 1.61 GHz, 1.80 GHz, 2.02 GHz current policy: frequency should be within 408 MHz and 2.02 GHz. cpufreq stats: 408 MHz:77.49%, 600 MHz:2.96%, 816 MHz:0.26%, 1.01 GHz:0.17%, 1.20 GHz:0.13%, 1.42 GHz:0.12%, 1.61 GHz:0.04%, 1.80 GHz:0.07%, 2.02 GHz:18.76% (288) It is not a biggie, but just noticed and that is all. So I suppose it is a WIP and will be overlay sooner or later ( similar back then with NEO2 board : cpu-clock-1.3GHz-1.3v )
  12. Hi, Just noticed image " Linux rockpi-4a 5.9.14-rockchip64 #20.11.4 SMP PREEMPT Tue Dec 15 08:52:20 CET 2020 aarch64 GNU/Linux " my rockpi4a runs at 2Ghz. To radxa overclocking is possible so that 2GHz is not a real surprise ... Though checked " armbianEnv.txt " but did not find any "overlays" option present overlocking this board, neither any other files in /boot ( or /boot/dtb/rockchip/overlay ). However building a custom image ( kernel 5.10 ) it is running at 1,8GHz again, how can I set this to 2GHz ? ( as a side note - tehre is no need to enable panfrost BTW as I run this as a headless server ) Thanks
  13. tried my rockpi4a , similar results ( bad ) as H5 and H6. Once switched to legacy 4.4 kernel, things rock and faster results again. really wonder what is causing this: patch, kernel realtek driver, both / something else : lost?!
  14. well I decided to bring in the r4s and flashed latest dev image ( 5.10.9-rockchip64 ). Long story short .. using westwood both ways seem to be meeting my needs, using bbr to site is also fine - but from site to home bbr is rubbish below results: - fresh dev image built r4s , connected to " enp1s0 " and results below - without changing anything: iperf3 -4 -c somewhere.dynu.net -t 300 -b 0 -P 1 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 5.10 MBytes 42.8 Mbits/sec 501 391 KBytes [ 5] 1.00-2.00 sec 3.75 MBytes 31.5 Mbits/sec 0 268 KBytes [ 5] 2.00-3.00 sec 3.75 MBytes 31.5 Mbits/sec 0 287 KBytes [ 5] 3.00-4.00 sec 3.75 MBytes 31.5 Mbits/sec 0 304 KBytes [ 5] 4.00-5.00 sec 3.75 MBytes 31.5 Mbits/sec 0 320 KBytes [ 5] 5.00-6.00 sec 3.75 MBytes 31.4 Mbits/sec 0 334 KBytes [ 5] 6.00-7.00 sec 2.50 MBytes 21.0 Mbits/sec 0 347 KBytes [ 5] 7.00-8.00 sec 3.75 MBytes 31.5 Mbits/sec 0 361 KBytes [ 5] 8.00-9.00 sec 2.50 MBytes 21.0 Mbits/sec 0 372 KBytes [ 5] 9.00-10.00 sec 3.75 MBytes 31.5 Mbits/sec 0 384 KBytes [ 5] 10.00-11.00 sec 2.50 MBytes 21.0 Mbits/sec 0 395 KBytes [ 5] 11.00-12.00 sec 3.75 MBytes 31.5 Mbits/sec 0 407 KBytes [ 5] 12.00-13.00 sec 3.75 MBytes 31.5 Mbits/sec 9 212 KBytes [ 5] 13.00-14.00 sec 2.50 MBytes 21.0 Mbits/sec 0 234 KBytes [ 5] 14.00-15.00 sec 3.75 MBytes 31.5 Mbits/sec 0 253 KBytes [ 5] 15.00-16.00 sec 3.75 MBytes 31.5 Mbits/sec 0 271 KBytes [ 5] 16.00-17.00 sec 2.50 MBytes 21.0 Mbits/sec 0 286 KBytes [ 5] 17.00-18.00 sec 3.75 MBytes 31.5 Mbits/sec 0 302 KBytes [ 5] 18.00-19.00 sec 2.50 MBytes 21.0 Mbits/sec 0 316 KBytes [ 5] 19.00-20.00 sec 3.75 MBytes 31.5 Mbits/sec 0 331 KBytes [ 5] 20.00-21.00 sec 2.50 MBytes 21.0 Mbits/sec 0 345 KBytes [ 5] 21.00-22.00 sec 3.75 MBytes 31.5 Mbits/sec 5 182 KBytes [ 5] 22.00-23.00 sec 3.75 MBytes 31.5 Mbits/sec 0 205 KBytes [ 5] 23.00-24.00 sec 2.50 MBytes 21.0 Mbits/sec 0 227 KBytes [ 5] 24.00-25.00 sec 3.75 MBytes 31.5 Mbits/sec 0 247 KBytes [ 5] 25.00-26.00 sec 3.75 MBytes 31.5 Mbits/sec 0 265 KBytes [ 5] 26.00-27.00 sec 2.50 MBytes 21.0 Mbits/sec 0 282 KBytes [ 5] 27.00-28.00 sec 3.75 MBytes 31.5 Mbits/sec 0 298 KBytes [ 5] 28.00-29.00 sec 3.75 MBytes 31.5 Mbits/sec 0 313 KBytes [ 5] 29.00-30.00 sec 2.50 MBytes 21.0 Mbits/sec 0 328 KBytes [ 5] 30.00-31.00 sec 3.75 MBytes 31.5 Mbits/sec 0 342 KBytes [ 5] 31.00-32.00 sec 3.75 MBytes 31.5 Mbits/sec 0 360 KBytes [ 5] 32.00-33.00 sec 5.00 MBytes 41.9 Mbits/sec 0 379 KBytes [ 5] 33.00-34.00 sec 5.00 MBytes 41.9 Mbits/sec 0 395 KBytes [ 5] 34.00-35.00 sec 5.00 MBytes 41.9 Mbits/sec 0 413 KBytes [ 5] 35.00-36.00 sec 5.00 MBytes 41.9 Mbits/sec 0 429 KBytes - minimal kernel tuning: net.core.default_qdisc = fq1 net.ipv4.tcp_congestion_control = bbr iperf3 -4 -c somewhere.go.ro -t 300 -b 0 -P 1 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 6.50 MBytes 54.6 Mbits/sec 588 623 KBytes [ 5] 1.00-2.00 sec 5.00 MBytes 41.9 Mbits/sec 116 637 KBytes [ 5] 2.00-3.00 sec 5.00 MBytes 41.9 Mbits/sec 71 645 KBytes [ 5] 3.00-4.00 sec 5.00 MBytes 41.9 Mbits/sec 53 591 KBytes [ 5] 4.00-5.00 sec 5.00 MBytes 41.9 Mbits/sec 73 591 KBytes [ 5] 5.00-6.00 sec 3.75 MBytes 31.5 Mbits/sec 63 648 KBytes [ 5] 6.00-7.00 sec 5.00 MBytes 41.9 Mbits/sec 171 645 KBytes [ 5] 7.00-8.00 sec 5.00 MBytes 42.0 Mbits/sec 138 692 KBytes [ 5] 8.00-9.00 sec 5.00 MBytes 41.9 Mbits/sec 122 640 KBytes [ 5] 9.00-10.00 sec 3.75 MBytes 31.4 Mbits/sec 221 645 KBytes [ 5] 10.00-11.00 sec 3.75 MBytes 31.5 Mbits/sec 122 541 KBytes [ 5] 11.00-12.00 sec 5.00 MBytes 41.9 Mbits/sec 1 591 KBytes [ 5] 12.00-13.00 sec 3.75 MBytes 31.5 Mbits/sec 64 514 KBytes [ 5] 13.00-14.00 sec 5.00 MBytes 41.9 Mbits/sec 102 648 KBytes [ 5] 14.00-15.00 sec 5.00 MBytes 41.9 Mbits/sec 61 645 KBytes [ 5] 15.00-16.00 sec 5.00 MBytes 41.9 Mbits/sec 38 596 KBytes [ 5] 16.00-17.00 sec 5.00 MBytes 41.9 Mbits/sec 63 593 KBytes [ 5] 17.00-18.00 sec 5.00 MBytes 41.9 Mbits/sec 49 593 KBytes [ 5] 18.00-19.00 sec 5.00 MBytes 41.9 Mbits/sec 40 593 KBytes [ 5] 19.00-20.00 sec 5.00 MBytes 41.9 Mbits/sec 74 632 KBytes [ 5] 20.00-21.00 sec 2.50 MBytes 21.0 Mbits/sec 147 623 KBytes [ 5] 21.00-22.00 sec 6.25 MBytes 52.5 Mbits/sec 48 670 KBytes [ 5] 22.00-23.00 sec 3.75 MBytes 31.5 Mbits/sec 77 656 KBytes [ 5] 23.00-24.00 sec 5.00 MBytes 41.9 Mbits/sec 64 643 KBytes [ 5] 24.00-25.00 sec 5.00 MBytes 42.0 Mbits/sec 115 645 KBytes [ 5] 25.00-26.00 sec 5.00 MBytes 41.9 Mbits/sec 70 604 KBytes [ 5] 26.00-27.00 sec 5.00 MBytes 41.9 Mbits/sec 113 442 KBytes [ 5] 27.00-28.00 sec 5.00 MBytes 41.9 Mbits/sec 40 602 KBytes [ 5] 28.00-29.00 sec 5.00 MBytes 41.9 Mbits/sec 78 662 KBytes [ 5] 29.00-30.00 sec 5.00 MBytes 41.9 Mbits/sec 42 684 KBytes [ 5] 30.00-31.00 sec 3.75 MBytes 31.5 Mbits/sec 427 5.47 KBytes [ 5] 31.00-32.00 sec 2.50 MBytes 21.0 Mbits/sec 160 689 KBytes [ 5] 32.00-33.00 sec 5.00 MBytes 41.9 Mbits/sec 222 405 KBytes [ 5] 33.00-34.00 sec 5.00 MBytes 42.0 Mbits/sec 48 656 KBytes [ 5] 34.00-35.00 sec 5.00 MBytes 41.9 Mbits/sec 88 684 KBytes [ 5] 35.00-36.00 sec 5.00 MBytes 42.0 Mbits/sec 238 436 KBytes now other way round site to home: - orangepioneplus ( kernel 5.10.4 ) net.core.default_qdisc = fq net.ipv4.tcp_congestion_control = bbr iperf3 -4 -c local.dynu.net -t 300 -b 0 -P 1 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 1.96 MBytes 16.4 Mbits/sec 0 120 KBytes [ 5] 1.00-2.00 sec 503 KBytes 4.12 Mbits/sec 0 107 KBytes [ 5] 2.00-3.00 sec 1006 KBytes 8.25 Mbits/sec 0 107 KBytes [ 5] 3.00-4.00 sec 503 KBytes 4.12 Mbits/sec 0 101 KBytes [ 5] 4.00-5.00 sec 1006 KBytes 8.24 Mbits/sec 0 98.4 KBytes [ 5] 5.00-6.00 sec 1006 KBytes 8.25 Mbits/sec 0 101 KBytes [ 5] 6.00-7.00 sec 503 KBytes 4.12 Mbits/sec 0 104 KBytes [ 5] 7.00-8.00 sec 1006 KBytes 8.25 Mbits/sec 0 101 KBytes [ 5] 8.00-9.00 sec 503 KBytes 4.12 Mbits/sec 0 98.4 KBytes [ 5] 9.00-10.00 sec 1006 KBytes 8.25 Mbits/sec 0 104 KBytes [ 5] 10.00-11.00 sec 503 KBytes 4.12 Mbits/sec 0ipe 98.4 KBytes [ 5] 11.00-12.00 sec 1006 KBytes 8.25 Mbits/sec 0 104 KBytes [ 5] 12.00-13.00 sec 1006 KBytes 8.25 Mbits/sec 0 104 KBytes [ 5] 13.00-14.00 sec 503 KBytes 4.12 Mbits/sec 0 98.4 KBytes [ 5] 14.00-15.00 sec 503 KBytes 4.12 Mbits/sec 0 5.47 KBytes [ 5] 15.00-16.00 sec 1006 KBytes 8.25 Mbits/sec 0 109 KBytes [ 5] 16.00-17.00 sec 503 KBytes 4.12 Mbits/sec 0 107 KBytes [ 5] 17.00-18.00 sec 1006 KBytes 8.25 Mbits/sec 0 104 KBytes [ 5] 18.00-19.00 sec 503 KBytes 4.12 Mbits/sec 0 98.4 KBytes [ 5] 19.00-20.00 sec 1006 KBytes 8.25 Mbits/sec 0 104 KBytes [ 5] 20.00-21.00 sec 1006 KBytes 8.25 Mbits/sec 0 109 KBytes [ 5] 21.00-22.00 sec 503 KBytes 4.12 Mbits/sec 0 109 KBytes [ 5] 22.00-23.00 sec 1006 KBytes 8.25 Mbits/sec 0 107 KBytes [ 5] 23.00-24.00 sec 503 KBytes 4.12 Mbits/sec 0 104 KBytes [ 5] 24.00-25.00 sec 1006 KBytes 8.25 Mbits/sec 0 101 KBytes [ 5] 25.00-26.00 sec 1006 KBytes 8.25 Mbits/sec 0 104 KBytes [ 5] 26.00-27.00 sec 503 KBytes 4.12 Mbits/sec 0 107 KBytes [ 5] 27.00-28.00 sec 1006 KBytes 8.25 Mbits/sec 0 112 KBytes [ 5] 28.00-29.00 sec 503 KBytes 4.12 Mbits/sec 0 104 KBytes [ 5] 29.00-30.00 sec 1006 KBytes 8.25 Mbits/sec 0 101 KBytes [ 5] 30.00-31.00 sec 503 KBytes 4.12 Mbits/sec 0 101 KBytes [ 5] 31.00-32.00 sec 1006 KBytes 8.25 Mbits/sec 0 109 KBytes [ 5] 32.00-33.00 sec 503 KBytes 4.12 Mbits/sec 0 98.4 KBytes [ 5] 33.00-34.00 sec 1006 KBytes 8.25 Mbits/sec 0 112 KBytes [ 5] 34.00-35.00 sec 1006 KBytes 8.24 Mbits/sec 0 107 KBytes [ 5] 35.00-36.00 sec 503 KBytes 4.12 Mbits/sec 0 109 KBytes net.core.default_qdisc = fq net.ipv4.tcp_congestion_control = westwood iperf3 -4 -c local.dynu.net -t 300 -b 0 -P 1 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 28.0 MBytes 235 Mbits/sec 0 6.29 MBytes [ 5] 1.00-2.00 sec 17.5 MBytes 147 Mbits/sec 1672 1.06 MBytes [ 5] 2.00-3.00 sec 13.8 MBytes 115 Mbits/sec 124 937 KBytes [ 5] 3.00-4.00 sec 18.8 MBytes 157 Mbits/sec 0 962 KBytes [ 5] 4.00-5.00 sec 17.5 MBytes 147 Mbits/sec 0 987 KBytes [ 5] 5.00-6.00 sec 20.0 MBytes 168 Mbits/sec 0 1014 KBytes [ 5] 6.00-7.00 sec 17.5 MBytes 147 Mbits/sec 71 518 KBytes [ 5] 7.00-8.00 sec 18.8 MBytes 157 Mbits/sec 0 956 KBytes [ 5] 8.00-9.00 sec 17.5 MBytes 147 Mbits/sec 0 983 KBytes [ 5] 9.00-10.00 sec 17.5 MBytes 147 Mbits/sec 40 916 KBytes [ 5] 10.00-11.00 sec 16.2 MBytes 136 Mbits/sec 0 941 KBytes [ 5] 11.00-12.00 sec 18.8 MBytes 157 Mbits/sec 0 967 KBytes [ 5] 12.00-13.00 sec 18.8 MBytes 157 Mbits/sec 0 994 KBytes [ 5] 13.00-14.00 sec 16.2 MBytes 136 Mbits/sec 54 921 KBytes [ 5] 14.00-15.00 sec 17.5 MBytes 147 Mbits/sec 0 947 KBytes [ 5] 15.00-16.00 sec 18.8 MBytes 157 Mbits/sec 0 973 KBytes [ 5] 16.00-17.00 sec 16.2 MBytes 136 Mbits/sec 36 897 KBytes [ 5] 17.00-18.00 sec 17.5 MBytes 147 Mbits/sec 0 923 KBytes [ 5] 18.00-19.00 sec 17.5 MBytes 147 Mbits/sec 0 950 KBytes [ 5] 19.00-20.00 sec 18.8 MBytes 157 Mbits/sec 0 975 KBytes [ 5] 20.00-21.00 sec 18.8 MBytes 157 Mbits/sec 0 1002 KBytes [ 5] 21.00-22.00 sec 16.2 MBytes 136 Mbits/sec 71 927 KBytes [ 5] 22.00-23.00 sec 17.5 MBytes 147 Mbits/sec 0 952 KBytes [ 5] 23.00-24.00 sec 18.8 MBytes 157 Mbits/sec 0 979 KBytes [ 5] 24.00-25.00 sec 16.2 MBytes 136 Mbits/sec 43 906 KBytes [ 5] 25.00-26.00 sec 17.5 MBytes 147 Mbits/sec 0 932 KBytes [ 5] 26.00-27.00 sec 18.8 MBytes 157 Mbits/sec 0 958 KBytes [ 5] 27.00-28.00 sec 17.5 MBytes 147 Mbits/sec 0 984 KBytes [ 5] 28.00-29.00 sec 17.5 MBytes 147 Mbits/sec 53 913 KBytes [ 5] 29.00-30.00 sec 17.5 MBytes 147 Mbits/sec 0 939 KBytes [ 5] 30.00-31.00 sec 17.5 MBytes 147 Mbits/sec 0 965 KBytes [ 5] 31.00-32.00 sec 17.5 MBytes 147 Mbits/sec 0 990 KBytes [ 5] 32.00-33.00 sec 17.5 MBytes 147 Mbits/sec 68 905 KBytes [ 5] 33.00-34.00 sec 17.5 MBytes 147 Mbits/sec 0 931 KBytes [ 5] 34.00-35.00 sec 18.8 MBytes 157 Mbits/sec 0 957 KBytes [ 5] 35.00-36.00 sec 17.5 MBytes 147 Mbits/sec 0 983 KBytes once more now local to site ( r4s to site ) net.core.default_qdisc = fq net.ipv4.tcp_congestion_control = westwood [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 6.46 MBytes 54.1 Mbits/sec 430 58.8 KBytes [ 5] 1.00-2.00 sec 1.25 MBytes 10.5 Mbits/sec 0 82.0 KBytes [ 5] 2.00-3.00 sec 1.25 MBytes 10.5 Mbits/sec 0 107 KBytes [ 5] 3.00-4.00 sec 2.50 MBytes 21.0 Mbits/sec 0 131 KBytes [ 5] 4.00-5.00 sec 2.50 MBytes 21.0 Mbits/sec 0 154 KBytes [ 5] 5.00-6.00 sec 2.50 MBytes 21.0 Mbits/sec 0 179 KBytes [ 5] 6.00-7.00 sec 2.50 MBytes 21.0 Mbits/sec 0 202 KBytes [ 5] 7.00-8.00 sec 3.75 MBytes 31.5 Mbits/sec 0 227 KBytes [ 5] 8.00-9.00 sec 5.00 MBytes 42.0 Mbits/sec 0 250 KBytes [ 5] 9.00-10.00 sec 3.75 MBytes 31.5 Mbits/sec 0 275 KBytes [ 5] 10.00-11.00 sec 5.00 MBytes 41.9 Mbits/sec 0 297 KBytes [ 5] 11.00-12.00 sec 5.00 MBytes 41.9 Mbits/sec 0 319 KBytes [ 5] 12.00-13.00 sec 5.00 MBytes 41.9 Mbits/sec 0 339 KBytes [ 5] 13.00-14.00 sec 3.75 MBytes 31.5 Mbits/sec 0 358 KBytes [ 5] 14.00-15.00 sec 5.00 MBytes 41.9 Mbits/sec 0 376 KBytes [ 5] 15.00-16.00 sec 5.00 MBytes 41.9 Mbits/sec 0 394 KBytes [ 5] 16.00-17.00 sec 5.00 MBytes 41.9 Mbits/sec 0 410 KBytes [ 5] 17.00-18.00 sec 5.00 MBytes 41.9 Mbits/sec 0 427 KBytes [ 5] 18.00-19.00 sec 5.00 MBytes 41.9 Mbits/sec 0 442 KBytes [ 5] 19.00-20.00 sec 5.00 MBytes 41.9 Mbits/sec 0 457 KBytes [ 5] 20.00-21.00 sec 3.75 MBytes 31.5 Mbits/sec 25 235 KBytes [ 5] 21.00-22.00 sec 5.00 MBytes 41.9 Mbits/sec 0 260 KBytes [ 5] 22.00-23.00 sec 3.75 MBytes 31.5 Mbits/sec 0 283 KBytes [ 5] 23.00-24.00 sec 5.00 MBytes 41.9 Mbits/sec 0 306 KBytes [ 5] 24.00-25.00 sec 5.00 MBytes 41.9 Mbits/sec 0 328 KBytes [ 5] 25.00-26.00 sec 5.00 MBytes 41.9 Mbits/sec 0 347 KBytes [ 5] 26.00-27.00 sec 5.00 MBytes 41.9 Mbits/sec 0 366 KBytes [ 5] 27.00-28.00 sec 5.00 MBytes 41.9 Mbits/sec 0 384 KBytes [ 5] 28.00-29.00 sec 3.75 MBytes 31.4 Mbits/sec 0 401 KBytes [ 5] 29.00-30.00 sec 5.00 MBytes 41.9 Mbits/sec 0 417 KBytes [ 5] 30.00-31.00 sec 5.00 MBytes 41.9 Mbits/sec 0 433 KBytes [ 5] 31.00-32.00 sec 5.00 MBytes 41.9 Mbits/sec 0 448 KBytes [ 5] 32.00-33.00 sec 5.00 MBytes 41.9 Mbits/sec 0 463 KBytes [ 5] 33.00-34.00 sec 5.00 MBytes 41.9 Mbits/sec 29 243 KBytes [ 5] 34.00-35.00 sec 3.75 MBytes 31.5 Mbits/sec 0 268 KBytes [ 5] 35.00-36.00 sec 5.00 MBytes 41.9 Mbits/sec 0 291 KBytes this is directly over Internet, thus no VPN yet. I really wonder what is going on as using H5/H6 allwinners give horrific results. why uploading on the allwinner platform is limited ( though 150Mbit is fine with me )
  15. at this stage I have continuous 40Mbit upload ( RPi4 ) and other way round ( H6 or H5 board ) : site to my Rpi4 disappointing speed using only these "tweaks" net.core.default_qdisc = fq net.ipv4.tcp_congestion_control = bbr [ 5] 0.00-1.00 sec 1.76 MBytes 14.8 Mbits/sec 0 110 KBytes [ 5] 1.00-2.00 sec 440 KBytes 3.60 Mbits/sec 0 102 KBytes [ 5] 2.00-3.00 sec 440 KBytes 3.60 Mbits/sec 0 93.5 KBytes [ 5] 3.00-4.00 sec 440 KBytes 3.60 Mbits/sec 0 96.2 KBytes [ 5] 4.00-5.00 sec 879 KBytes 7.20 Mbits/sec 0 96.2 KBytes [ 5] 5.00-6.00 sec 440 KBytes 3.60 Mbits/sec 0 90.8 KBytes using westwood as congesion control changes stuff somewhat as indicated earlier. This makes me wonder "what is going on with TX ( and RX ) in the allwinner/ realtek driver ( RTL8211 ) , patch? Again all these results straight over Internet, no vpn invovled yet ....
  16. hmm, this needs further analysis. It appears if I upload from my side ( where I currently reside ) to my remote site I get awful upload speeds on the H6 ( and H5 ) : ( no congestion even set ) and no VPN even : [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 1.57 MBytes 13.2 Mbits/sec 2 20.5 KBytes [ 5] 1.00-2.00 sec 440 KBytes 3.61 Mbits/sec 0 45.1 KBytes [ 5] 2.00-3.00 sec 880 KBytes 7.21 Mbits/sec 0 62.9 KBytes [ 5] 3.00-4.00 sec 880 KBytes 7.21 Mbits/sec 3 47.9 KBytes [ 5] 4.00-5.00 sec 880 KBytes 7.21 Mbits/sec 3 20.5 KBytes [ 5] 5.00-6.00 sec 880 KBytes 7.21 Mbits/sec 0 61.5 KBytes ^C[ 5] 6.00-6.26 sec 0.00 Bytes 0.00 bits/sec 4 20.5 KBytes while on my windows pc it comes at least to 20Mbit, while 40Mbit is max ( and also reported to several "speed testers' on the net : [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 2.38 MBytes 19.8 Mbits/sec [ 4] 1.00-2.00 sec 3.12 MBytes 26.2 Mbits/sec [ 4] 2.00-3.00 sec 3.25 MBytes 27.3 Mbits/sec [ 4] 3.00-4.00 sec 3.00 MBytes 25.1 Mbits/sec [ 4] 4.00-5.01 sec 3.12 MBytes 26.0 Mbits/sec [ 4] 5.01-6.01 sec 2.75 MBytes 23.1 Mbits/sec [ 4] 6.01-7.00 sec 3.00 MBytes 25.3 Mbits/sec [ 4] 7.00-8.00 sec 2.12 MBytes 17.9 Mbits/sec [ 4] 8.00-9.01 sec 1.38 MBytes 11.5 Mbits/sec [ 4] 9.01-9.07 sec 0.00 Bytes 0.00 bits/sec - - - - - - - - - - - - - - - - - - - - - - - - - My latop is WiFi while H6 and H5 boards are wired to my router directly Put a RPi4 next to it ( DietPi ) and all of the sudden indeed max speed ( 40 Mbit ): [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 6.56 MBytes 55.0 Mbits/sec 424 450 KBytes [ 5] 1.00-2.00 sec 5.00 MBytes 41.9 Mbits/sec 18 388 KBytes [ 5] 2.00-3.00 sec 5.00 MBytes 41.9 Mbits/sec 0 376 KBytes [ 5] 3.00-4.00 sec 5.00 MBytes 41.9 Mbits/sec 0 398 KBytes [ 5] 4.00-5.00 sec 5.00 MBytes 41.9 Mbits/sec 0 412 KBytes [ 5] 5.00-6.00 sec 5.00 MBytes 41.9 Mbits/sec 0 416 KBytes [ 5] 6.00-7.00 sec 3.75 MBytes 31.5 Mbits/sec 0 416 KBytes [ 5] 7.00-8.00 sec 5.00 MBytes 41.9 Mbits/sec 0 416 KBytes [ 5] 8.00-9.00 sec 5.00 MBytes 41.9 Mbits/sec 0 418 KBytes [ 5] 9.00-10.00 sec 5.00 MBytes 41.9 Mbits/sec 0 428 KBytes [ 5] 10.00-11.00 sec 5.00 MBytes 41.9 Mbits/sec 0 444 KBytes [ 5] 11.00-12.00 sec 5.00 MBytes 41.9 Mbits/sec 0 476 KBytes [ 5] 12.00-13.00 sec 5.00 MBytes 41.9 Mbits/sec 9 375 KBytes just out of box, also reverted tweaks ( congestion etc ) on H6 board and reboot but nowhere near 40 Mbit, are there realtek driver issues in kernel 5.10 that cause this behaviour - I remember last month there were issues and things were held back for Allwinner platform on 5.8 Must admit if I spin up another iperf3 half of speed is gained on Rpi4 but when that is happening spinning up yet another iperf restores this speed. That looks to me some optimization is needed but I see different behaviour on the allwinner boards ... VERY STRANGE ... PS: I am bypassing VPN on both platforms currently to see what is going on.
  17. hmm , recently it came to my attention bbr between both wireguard servers is doing a very bad job: :/etc/sysctl.d# iperf3 -4 -c 192.168.10.2 -t 300 -b 0 -P 1 Connecting to host 192.168.10.2, port 5201 [ 5] local 192.168.20.2 port 41804 connected to 192.168.10.2 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 1.29 MBytes 10.8 Mbits/sec 0 112 KBytes [ 5] 1.00-2.00 sec 502 KBytes 4.11 Mbits/sec 0 104 KBytes [ 5] 2.00-3.00 sec 753 KBytes 6.17 Mbits/sec 0 98.9 KBytes [ 5] 3.00-4.00 sec 753 KBytes 6.17 Mbits/sec 0 107 KBytes [ 5] 4.00-5.00 sec 753 KBytes 6.17 Mbits/sec 0 104 KBytes [ 5] 5.00-6.00 sec 753 KBytes 6.17 Mbits/sec 0 102 KBytes [ 5] 6.00-7.00 sec 753 KBytes 6.17 Mbits/sec 0 110 KBytes [ 5] 7.00-8.00 sec 753 KBytes 6.17 Mbits/sec 0 107 KBytes [ 5] 8.00-9.00 sec 502 KBytes 4.11 Mbits/sec 0 104 KBytes ^C[ 5] 9.00-9.33 sec 251 KBytes 6.29 Mbits/sec 0 102 KBytes while westwood ( the one I used years back before bbr came ) is still performing OK ( while 150Mbit constant should be possible with bbr as I had in the past ) :/etc/sysctl.d# iperf3 -4 -c 192.168.10.2 -t 300 -b 0 -P 1 Connecting to host 192.168.10.2, port 5201 [ 5] local 192.168.20.2 port 41808 connected to 192.168.10.2 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 12.2 MBytes 103 Mbits/sec 0 6.01 MBytes [ 5] 1.00-2.00 sec 26.2 MBytes 220 Mbits/sec 1319 1.02 MBytes [ 5] 2.00-3.00 sec 12.5 MBytes 105 Mbits/sec 0 1.03 MBytes [ 5] 3.00-4.00 sec 12.5 MBytes 105 Mbits/sec 0 1.04 MBytes [ 5] 4.00-5.00 sec 13.8 MBytes 115 Mbits/sec 0 1.05 MBytes [ 5] 5.00-6.00 sec 13.8 MBytes 115 Mbits/sec 0 1.06 MBytes [ 5] 6.00-7.00 sec 13.8 MBytes 115 Mbits/sec 0 1.06 MBytes [ 5] 7.00-8.00 sec 13.8 MBytes 115 Mbits/sec 0 1.07 MBytes [ 5] 8.00-9.00 sec 12.5 MBytes 105 Mbits/sec 0 1.07 MBytes [ 5] 9.00-10.00 sec 15.0 MBytes 126 Mbits/sec 0 1.08 MBytes [ 5] 10.00-11.00 sec 13.8 MBytes 115 Mbits/sec 0 1.08 MBytes [ 5] 11.00-12.00 sec 12.5 MBytes 105 Mbits/sec 0 1.08 MBytes [ 5] 12.00-13.00 sec 13.8 MBytes 115 Mbits/sec 0 1.08 MBytes [ 5] 13.00-14.00 sec 12.5 MBytes 105 Mbits/sec 0 1.08 MBytes [ 5] 14.00-15.00 sec 13.8 MBytes 115 Mbits/sec 0 1.09 MBytes [ 5] 15.00-16.00 sec 13.8 MBytes 115 Mbits/sec 0 1.09 MBytes [ 5] 16.00-17.00 sec 13.8 MBytes 115 Mbits/sec 0 1.09 MBytes [ 5] 17.00-18.00 sec 12.5 MBytes 105 Mbits/sec 0 1.10 MBytes [ 5] 18.00-19.00 sec 13.8 MBytes 115 Mbits/sec 0 1.10 MBytes [ 5] 19.00-20.00 sec 13.8 MBytes 115 Mbits/sec 0 1.10 MBytes [ 5] 20.00-21.00 sec 12.5 MBytes 105 Mbits/sec 0 1.10 MBytes [ 5] 21.00-22.00 sec 13.8 MBytes 115 Mbits/sec 0 1.10 MBytes [ 5] 22.00-23.00 sec 13.8 MBytes 115 Mbits/sec 0 1.10 MBytes [ 5] 23.00-24.00 sec 15.0 MBytes 126 Mbits/sec 0 1.10 MBytes [ 5] 24.00-25.00 sec 12.5 MBytes 105 Mbits/sec 0 1.10 MBytes [ 5] 25.00-26.00 sec 13.8 MBytes 115 Mbits/sec 0 1.10 MBytes [ 5] 26.00-27.00 sec 15.0 MBytes 126 Mbits/sec 0 1.11 MBytes [ 5] 26.00-27.00 sec 15.0 MBytes 126 Mbits/sec 0 1.11 MBytes - - - - - - - - - - - - - - - - - - - - - - - - - Just wondering is this related to the kernel or is there a hardware module not set in the H6 boards ( two are orangepioneplus and see similar speeds between opioneplus and neo2 ) Perhaps oneof you chaps have an idea? cheers
  18. Device with housing arrived today, cannot wait to deploy armbian on it :-), but will need to have some more patience Once image is ready ( to be build ) and entered matured state will swap it with my OpiOnePlus as I'll solely use it for wireguard ( and ddclient / chrony )
  19. done a few more ( approx 6 ) till now and all looking good, will start with cold boot early morning to see how things go and give a few more reboots after that. but seems to be fine on this H6 board, over to topic : OrangePi3 [EDIT] Meanswhile executed reboots and cold starts, OPiOnePlus came back OK all the time ( kernel 5.9.16 ) [/EDIT]
  20. my spare OpiOnePlus has been upgraded , dont have Opi3 either. Anyway to see if the OPiOnePlus is unaffected will reboot few times today and see if it comes back online normally ....
  21. looks like 5.9 images are being published as recommended, therefore suppose fix/workaround is in place ? That would be very nice!
  22. Ordered 1Gb version incl housing just now , let's hope at least WIP status will appear next few months for this one.
  23. Looks like updating " /etc/default/keyboard " would be sufficient then to roll things back : " sed -i 's/us,ro/us/g' /etc/default/keyboard ". I'd propose to have this manually controlled ( thru personal settings in armbian-config ) and leave "us" default. cat /etc/default/locale # looks fine default # File generated by update-locale LC_MESSAGES=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LANG=en_US.UTF-8