Power & Source of Big Ideas

OPNsense 20.7-aarch64 - NanoPi R4S

Moderators: chensy, FATechsupport

Hello,

I found a working image of OPNsense for NanoPi R4S built by Mr. Ganbold from FreeBSD ARM Team but it was for 2/4GB LPDDR4 version so I re-used it to work with 1GB DDR3 version.

User can find the OPNsense for NanoPi R4S images here

How to flash:
  • Download the image
  • Download Balena Etcher
  • Flash the Image to sd card using Ethcer
  • Boot

Please try and share your feedback.
Cheers.
The 4GB version doesn't boot. Is there something I'm missing, or anything else I need to do?
A universal image OPNsense 21.1 that works on versions 1G and 4G can be downloaded here

https://personalbsd.org/?page_id=2
Couldn't boot with my nanopi r4s 4G.

Could you provide some explanations please ?
Checked mine on my NANOPI-R4S 4G.

Since the MAC address on the LAN port after the first start 00:00:00:00:00:00 may not work
when trying to connect through some WIFI routers. For example, my AX6000 does not allow this kind of traffic.

Therefore, use a wired connection to the LAN port. After that, carry out the settings via WEB
https://192.168.1.1
Username: root
Password: opnsense

Through the WEB interface, you can configure the MAC address on the LAN port and after that everything should be fine.

The first start takes quite a long time and unfortunately the indication of the status of the LAN and WAN ports does not work.
You just have to wait a little after turning on and check the presence of a ping to the IP address 192.168.1.1
SleepWalker wrote:
The first start takes quite a long time and unfortunately the indication of the status of the LAN and WAN ports does not work.
You just have to wait a little after turning on and check the presence of a ping to the IP address 192.168.1.1


Thanks for your help.
I've just realized that I have a ISP device that already own that IP address that I cannot change.

Do you think that I could change that default setting on OPNsense ?
This can only be changed from the console port.
But this will require a special cable and disassembly of the device.
I solve this problem simply by temporarily disconnecting from the ISP.
But you can also change the ISP router settings.

The easiest way is to connect the NANOPI-R4S Ethernet cable directly to the computer without an intermediate switch or router, and through the WEB interface, change the OPNsense settings from 192.168.1.1 to 192.168.1.254 for example, and everything will work fine.
Thanks guys! I was looking for this version! :oops:
SleepWalker wrote:
A universal image OPNsense 21.1 that works on versions 1G and 4G can be downloaded here

https://personalbsd.org/?page_id=2


thank you for your work on this! I installed the image from there and it booted.

I seem to be getting pestered by errors and it seems like updates don't work out of the box?

Code: Select all

NanoPI R4S keeps failing.

[17-Jun-2021 00:50:18 America/New_York] Exception: Error at /usr/local/opnsense/mvc/app/controllers/OPNsense/Core/Api/FirmwareController.php:98 - Undefined index: product_check (errno=8) in /usr/local/opnsense/mvc/app/controllers/OPNsense/Base/ApiControllerBase.php:96
Stack trace:
#0 /usr/local/opnsense/mvc/app/controllers/OPNsense/Core/Api/FirmwareController.php(98): OPNsense\Base\ApiControllerBase->APIErrorHandler(8, 'Undefined index...', '/usr/local/opns...', 98, Array)
#1 [internal function]: OPNsense\Core\Api\FirmwareController->statusAction()
#2 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(OPNsense\Core\Api\FirmwareController), 'statusAction', Array)
#3 [internal function]: Phalcon\Dispatcher->dispatch()
#4 /usr/local/opnsense/www/api.php(26): Phalcon\Mvc\Application->handle()
#5 {main}


For example my VM opnsense is runnin:

OPNsense 21.1.6-amd64
FreeBSD 12.1-RELEASE-p16-HBSD
OpenSSL 1.1.1k 25 Mar 2021



NanoPi (that image) runs:

OPNsense 21.1.3_3-aarch64
FreeBSD 13.0-STABLE-HBSD
OpenSSL 1.1.1i 8 Dec 2020


and says there are no updates but latest version is 21.1.6
Yes, the update does not work yet, since this is my own update and plugin server.
But a number of plugins are available and you can use them.
New version OPNsense 21.7 available for download.
https://personalbsd.org/?page_id=2
New version OPNsense 21.7.5 available for download.
https://personalbsd.org/?page_id=2
I've just realized that I have a ISP device that already own that IP address that I cannot change. t tv
hellodear.in

Who is online

In total there are 6 users online :: 0 registered, 0 hidden and 6 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 6 guests