FriendlyElec NanoPi R5S resources


Tags: Linux

This is a list of information and resources about the NanoPi R5S from FriendlyElec and using it as a router, which is what I’m currently doing. I’m running it using an image built using pyavitz’s Debian Image Builder as there is currently no support in mainline Armbian.


Distro comparison

The original FriendlyElec provided distribution used the kernel provided by RockChip which has massively diverged from kernel mainline.

echo 1 > /sys/class/net/eth0/napi_defer_hard_irqs
echo 20000 > /sys/class/net/eth0/gro_flush_timeout
echo 0000:01:00.0 > /sys/bus/pci/drivers/r8169/unbind
echo 0001:01:00.0 > /sys/bus/pci/drivers/r8169/unbind
modprobe r8125


You may simply delete the files containing the customized zone rules from /etc/firewalld/zones (or /usr/etc/firewalld/zones, depending on the distribution). After that, reload firewalld with firewall-cmd –complete-reload

nmcli con add type ethernet con-name “lan1” ifname eth0 ipv4.addresses nmcli con mod lan1 ipv4.method manual nmcli con up lan1

Routing table netstat -rn

zoomer sudo ip route add via dev eth1


orinoco ip route add via dev enp2s0