The new FriendlyElec R2S is more fully described as NanoPi R2S: a Raspberry Pi alternative that incorporates two Gigabit Ethernet ports.
That’s not strictly true, it is not even remotely like an alternative to the Raspberry Pi 4, for example, but with 1GB RAM it runs OpenWrt – the FA version which works straight of the box – no problem – I set it up recently and the RJ45 connection works perfectly – I needed to test my Spanish Raspberry Pi which is on a different subnet to my UK installation and the R2S did the job.
As it later turns out, that Pi also needs to talk to ESP8266 devices – so I need WiFi – SADLY no matter where I look out on the web, the same old rehashed promo information is on view, lots of sites stating that “the company recommends USB dongles based on RTL8821CU since those are supported by the default firmware out of the box. The board also supports 4G LTE via Huawei 8372H-155 USB dongle.” but Antonio (Mr Shark) and I have been unable to get a straight answer from FriendlyArm despite several attempts – or indeed anyone else as to how to support a WiFi USB dongle with FriendlyWrt “out of the box”.
I’ve installed FriendlyWrt, I’ve added a WiFi dongle (one of the very common ones which simply state “802.11n” on the side of the USB WiFi dongle) – but no sign in the setup for FriendlyWrt as to how to enable the WiFi or select an SSID or password.
If anyone out there has the answer (in simple form) as to how to add WiFi, it would be appreciated – I have lots of those commonly available WiFi USB adaptors – NONE of which state the make and ALL of which have the above stated “802.11n” on the side – so that doesn’t help.
Initially the R2S arrived as a small yellow boxed unit that looks remarkably like one of those inexpensive Mango mini-routers. I perhaps should have held onto this blog entry until suppliers start stocking the R2S, but I had an immediate use for this device using the FriendlyArm supplied rk3328-sd-friendlywrt-5.4-20200118.img.zip image – check their WIKI.
This lovely little unit seemed ready to go, needing only for me to download the above OpenWrt image onto an SD (I had a 16GB microSD handy) and power up with a USB supply (not provided). As you will see in the photo, the microSD sits in the corner of the board, opposite the Ethernet blocks. I connected the Ethernet leads, USB and plugged in an SD – connection (Ethernet).
My need in this example is for a router with WAN input and one LAN output (for the Pi which has to sit on subnet 192.168.1.x) – my internal network as it happens is 192.168.14x so I simply plugged the WAN connection into my network and the LAN connection into my Raspberry Pi.
Well, not quite, the R2S software by default sets the LAN to 192.168.2.x and it took all of 30 seconds to change that to 192.168.1.x – and add a passord (default none) to user ROOT.
Regular readers will know I’ve set up LOTS of FriendlyArm boards with various operating systems but in this case all I needed was the stock OpenWrt software from the FA site. You might be interested in their FriendlyCore (Ubuntu) software if you want something more ambitious.
I’ve already noted some comments in here about speed (good or otherwise) of this mini router… my experience so far suggests not trying to pretend it is a proper router (like a Draytek or similar) but for testing and experimenting it seemed like great fun and doesn’t tie up an expensive router.
But ultimstely I hit the lack of WiFi – the company claim you can plug in an inexpensive WiFi dongle to do that job but I’ve yet to see a WORKING example of how to set that up, I’ve asked FriendlyArm and to be honest – got no-where which is unusual as they are normally quite helpful.
Having tried several of my commonly available WiFi dongles – I sent off for the specific USB WiFi dongle they recommend. I plugged in the dongle, turned on the power, still no WIFI. I even tried the only WiFi-related setting in the OpenWrt menu do with WiFi schedule – indeed things went backwards at that point with “Starting configuration apply” at which point the board remained busy for over 5 minutes until I eventually gave up.
March 29, 2020 Update – Antonio (Mr Shark) and I (socially distanced by thousands of miles) decided to give the alternative operating system FriendlyCore-Bionic a go…. Got the Ethernet working – LAN and WAN – but again – we got no-where with WIFI even using the better dongle. Imagine walking into a car showroom with your wallet – salesman says – here’s the car, complete with engine – but you will have to source your own exhaust, fit it and test it. The car will kind of work without it but if you want the full experience, you are kind of on your own, sir.
Antonio then spent HOURS, firstly with the company’s recommended WiFi dongle, not supported in BIONIC- then with my popular WiFi dongle which works but cannot be used as an access point.. ultimately the R2S looks able to function only as an Ethernet-only unit.
It seems that FA have suggested using a dongle not recognized by THEIR OWN Linux as a WiFi dongle, while the other dongle I had already, mentioned above, is recognized and usable, but ONLY in client mode, to join a WiFi network, not in AP mode to serve up an SSID so other devices could connect to it.
Let’s have your comments… have you used the Previous model R1S – or ever come across the Mango I mentioned? At the end of this I sent the R2S off to Antonio so he could have a play and he has it running as an access point now, BUT it runs hot as HELL while sitting doing nothing, Meanwhile the GL-INET Mango router I have works flawlessly within its limits (very little memory).
THEN I remembered a “Microtik Routerboard” which I’d had lying around, a present from my pal Aidan Ruff – and only now realise what a marvellous beast the latter is. 10 ports, 5 of which are Gigagit, the other 5 are 10/100Mbit… any of which can be either a LAN or WAN – and the twin aerials provide as many WiFi channels as you could posssibly need. Ok, I’m done spending ours on the cheap end routers. The model R2011UiAS is going to keep me busy for weeks getting to know it’s features. Just as well as the post is drying up due to long lead-times on deliveries in the middle of ths epidemic. I do have another router on the way but I’m not holding my breath,
Update May 2020
This update has been provided by Mr Shark (Antonio) – questions to him, please). The R2S board is in fact usable – but you need SOME Linux skills to get it working. Antonio used Armbian, Ubunti Bionic edition
Caviat: the board gets HOT even with a big heatsink and can be found sitting in-between 60c and 74c.
The operating system was flashed on a brand new 16Gb Sandisk Ultra microSD card, using Etcher to be sure that image was written and tested correctly on sthe SD.
Then I attached an Ethernet cable to the LAN port, checked on the router to see its’ IP address and went in via Putty (default armbian user: root with pass: 1234), completed the basic setup (changing password and creating a new un-privileged user), then updated it with: “sudo apt-get update && sudo apt-get dist-upgrade -y” and rebooted…
I opened a windows CMD prompt and put in a “ping -t r2s-ip”: it started pinging back to its previous IP in less than 30 seconds after I used “sudo reboot” on the R2S, but I had to wait more than 5 minutes until I could go in via ssh again… once in, I found the guilty party: the other eth interface was set as auto (to start on boot) and dhcp, and so the device was waiting for an IP address nobody would ever assign to it (there was no eth cable in it…)
I ran “sudo armbian-config”, went to “network – ip” and there I found the 2 interfaces… note that “lan0” is the interface marked as “LAN” on the yellow box (or the one near to the microUSB connector if you don’t have the box), and “eth0” is the “WAN” one, on the opposite of the microUSB connector… I set it as static with an ip out of my network range, and rebooted… solved?
No… again, 5 minutes to gain ssh access after it stared pinging again… I checked the armbian page above to see: “Known Issues: Network devices are not managed by Network manager. Configure via /etc/network/interfaces”… well, it’s a WIP (Work In Progress) image in the end…
tNext I started to look at the available channels, then to see if the dongle supported 5GHz or just 2.4, and finally arrived at this screen, where I chose the last interface, the WiFi one.
I downloaded some required additional packages (like dnsmasq), and finally i had my AP, dhcp range 172.24.1.0/24... i went again in the HOTSPOT menu to check/change the ssid password, hit EDIT and was presented with a screen with the cabled interfaces, i choose lan0, my working connection…
I went into BASIC and there i found what I was looking for… changed that, then went onto the phone and connected to my new AP, and I was up and running…
At this point I had an IP address AND Internet connection… on my phone surfing from my brand new “TEST-5G” wifi network
Additional findings: the result SEEMS to have more power (all my routers are near each other, and I added this new one just 50cm away from them)…