Support is added with IPFire 2.27 - Core Update 161

The NanoPi R2S (as "R2S") is a FriendlyElec mini-router with edge-computing and dual Gbps Ethernet ports. It is compact and could be enclosed in a custom metal case of 60 x 62 x 27.5 mm. The NanoPi R2S uses Rockchip's quad-core A53 RK3328 with powerful performance. Its default frequency is 1.2GHz and the NanoPi R2S has 1GB of memory. 1

NanoPi R2S Specifications

  • Rockchip RK3328, Quad-core Cortex-A53 (aarch64)
  • 1GB of DDR4 memory
  • 1 MicroSD card slot for external storage up to 128GB
  • 2x Gigabit LAN
  • USB 2.0 (type A)

IPFire using the Serial Port at baud rate of 115200 n8. The R2S connects via a 3.3V TTL, 3-pin 2.54mm pitch connector.

**Note**: If you have problems booting **without** the serial interface connect, add a 10k ohm resistor between GND and RX.

On-board Ethernet Ports

There are two on-board Ethernet ports on the NanoPi R2S.

The upper right on-board Ethernet port is labelled WAN on the FriendlyElec schematic. In the IPFire setup Network Menu it is known as:
of: rk_gmac-dwmac

The right side RJ-45 below is the 2nd Ethernet port and is labelled LAN on the FriendlyElec schematic. In the IPFire setup Network Menu it is known as:
usb: Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter

Installation info

Download ipfire flash image (aarch64) from here and verify the sha256 checksum.

Copy it to the raw-device of your micro-sd card using dd:

xzcat ~/Downloads/ipfire-2.27-coreXXX-aarch64.img.xz > /dev/sdX

FriendlyElec NanoPi R2S does not include any video interface. In order to initial setup IPFire, you should use serial console to configure your device. For that, a serial cable is required. Since modern computers no longer come with a serial port, a USB-to-serial adapter can be used as well.Connect your PC and R2S with a cable.Continue with the methods presented in this document.


  1. https://www.friendlyelec.com/index.php?route=product/product&path=69&product_id=282