Bobcat
123
You can do same with EXT4 now.
1 Like
How is this board performing with openvpn?
I have an r2s with an fiber connection at 1000/1000 and without VPN I get 940/940 but when I turn on my Surfshark VPN, on the router with openvpn, I only get around 100/100....
Does anyone test this with the r4s?
Or better to look for another router?
faser
125
Or a VPN provider that supports wireguard 
Surfshark does, only not on a router base openwrt
diizzy
127
WireGuard protocol is OS agnostic
faser
128
I think what he means is that surfshark is not publishing the information how to connect using wireshark other than with their App.
That's true.
But does anybody have speedtest results with the r4s with openvpn?
diizzy
130
Your results sounds reasonable given that OpenVPN uses single thread, you might be able to squeeze a bit more if you use OpenSSL and enable optimization.
weikai
131
It's something new to me. I'll test out to see how sysupgrade and factory reset work on EXT4.
NoahO
132
I thought these boards have AES acceleration. Doesn't that mean they will be faster for OpenVPN AES than Wireguard ChaCha20?
I also see only 100Mbps (but on R2S). I'm wondering what the bottleneck is.
Rockchip doesn't ever publish their hwcrypto offloading driver for rk3328/rk3399 etc.
And also the memory frequency of all rk3328 boards without rockchip's specific ddrloader will be locked at 333 MHz (this does decrease the performance serioutsly).
I ran a series of stress tests, and I could not to exceed the power consumption threshold of 8W. I think there is present some kind of power limit. Tell me please it could be software or a hardware limitation?
diizzy
135
They do support ARMv8 AES instructions
Instruction Set Attributes 0 = <CRC32,SHA2,SHA1,AES+PMULL> (from my RockPro64 running FreeBSD)
Should I expect your images to flash properly with tools like BalenaEtcher?
That's what I use for FriendlyWRT with success. I tried it with your builds but the device does not seem to boot (don't have a serial cable to confirm) but I would expect it to get a DHCP IPv4 from WAN port like FriendlyWRT does, yes?
Oh mine is R4S 4gb thanks 
Yes it works properly with balena etcher, it's how I flash my cards. I use a R4S 4Gb too with sandisk 32gb card, and the build I am currently using on it is the mini build 2021.05.29 (with uptime of 28 days as primary router). You might want to try this one first, and maybe try ext4 build first to be sure to fully overwrite the SD card, because it seems that the config partition is not overwritten by balena etcher with squashfs builds.
Let me know if you get success with that setup.
I found out the problem, looks like LAN default is 192.168.1.0/24 and WAN got IP 192.168.1.200 then routing got all screwed up on the NanoPi. Perhaps consider setting your image LAN default to something like 10.99.99.0/24 for those that have their home network be 192.168.1.0/24 and try to daisy chain to existing routers?
Also opkg is complaining about some non-existent (custom?) repo:
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/stangri_repo/Packages.gz
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/telephony/Packages.sig
Signature check passed.
Collected errors:
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/aarch64_generic/stangri_repo/Packages.gz, wget returned 8.
-Regarding the network this is the default network OpenWrt configuration without tweaks
-For the packages I don't expect them to work, this is the same issue for OpenWrt snapshots. I probably need to remove the link to the packages to avoid confusion. You might be able to install some extra ones by luck, but some others tried and got errors related to kernel incompatibility. If you need extra packages, the best solution is to add them directly to the images. I might add extra ones if this is not too exotic stuff, or you can clone my repo and build your custom version with extra packages.
I tried your latest release and it doesn't boot. Also if you forked from quintus-lab, there's likely a problem with ipv6. I tried the images from him and sites can't detect an ipv6 address even though it can get one from my ISP.
Right now I'm using the OpenWRT official snapshot SNAPSHOT (r17051-b1df48caac). It works based on my needs.
How are you guys troubleshooting issues?
I had an image that booted, I configured it and rebooted openwrt and it stopped responding. I had a USB TO RS232 TTL PL2303HX cable and tried to get some output via serial but that controller may be crap for this kind of device. I say this because Windows 10 did not even give it a COM address and then my mac also was showing weird characters.
After some research it looks like you may need a CH340 based USB TTL controller to be able to use the 1500000 baud speeds that are needed. I ordered this one: https://www.amazon.com/gp/product/B00LZV1G6K
A few questions:
- For those that have crashed their NanoPi R4s how do you troubleshoot it when it no longer responds to the network?
I'm assuming that once I get the correct serial to USB converter controller I am able to get a terminal session and see what's going on in the device and why it stopped working. But that is just a guess of mine; it may be possible that terminal shows nothing?
- Are there any builds out there other than FriendlyWRT that have all the IPv6 NAT6 stuff built in? That is the issue that is preventing me from using that build. My ISP sucks and I am forced to NAT IPv6 and requires certain packages they don't maintain.
I flashed some chinese openwrt fork that has the most stars on github but the UI was not in english and I couldn't for the life of me figure out how to change the language.
Have you tried translating to English using Chrome first? Then go to System - Language and Style and look for an English language option. If it's not available, go to Software section and download luci-i18n-base-en or luci-i18n-base-uk.
2 Likes