Fast and simple way to make your Orange Pi RV2 SBC device as a home WiFi and wired router running on Irradium OS (based on CRUX distribution), in few steps. Fully functional, secure by default, and suitable for internet exposure.
-
Prepare image by single command:
./build.sh
Alternatively, you can customize your SSID and WiFi password as:
WIFI_SSID="MyRouter" WIFI_PASSWORD="SuperSecret!" ./build.sh
-
Format 16GB+ SD Card and burn image generated above by next one-liner:
mintstick -m format && mintstick -m iso -i irradium-opi-router.img && sync
-
Insert SD Card into SBC.
Connect your computer to the left from top Ethernet port (
eth1, LAN:192.168.10.1).Connect your ISP modem to the right from top Ethernet port (
eth0, WAN).Power on.
-
Wired clients require static IP configuration.
On your host configure
DHCPmanually.-
Under
Network Manager:- Method: Manual,
- Address: 192.168.10.10,
- Netmask: 24,
- Gateway: 192.168.10.1,
- DNS: 192.168.10.1,8.8.8.8.
-
Or, just from CLI (my example below):
sudo ip addr add 192.168.10.10/24 dev enp130s0 # set static IP in LAN subnet sudo ip route add default via 192.168.10.1 # set SBC as a default gateway echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf # set DNS
WiFi clients receive IP, gateway, and DNS automatically via
DHCP. -
-
Now you can always SSH to your new
Orange Pi RV2router from host box without password (key-only auth): -
Auto-login without password with using
minicomand USB-to-Serial converter (PL2303):sudo minicom --baudrate 115200 --device /dev/ttyUSB0
Done!
MIT license (LICENSE or http://opensource.org/licenses/MIT)
