Page 1 of 1

OPNsense 20.7-aarch64 - NanoPi R4S

Posted: Fri Jan 29, 2021 2:56 pm
by spikerguy
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.

Re: OPNsense 20.7-aarch64 - NanoPi R4S

Posted: Sun Feb 28, 2021 2:34 pm
by cheese_sticks
The 4GB version doesn't boot. Is there something I'm missing, or anything else I need to do?

Re: OPNsense 20.7-aarch64 - NanoPi R4S

Posted: Sat May 15, 2021 11:43 am
by SleepWalker
A universal image OPNsense 21.1 that works on versions 1G and 4G can be downloaded here

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

Re: OPNsense 20.7-aarch64 - NanoPi R4S

Posted: Sat May 15, 2021 2:58 pm
by Dulbi
Couldn't boot with my nanopi r4s 4G.

Could you provide some explanations please ?

Re: OPNsense 20.7-aarch64 - NanoPi R4S

Posted: Sat May 15, 2021 4:42 pm
by SleepWalker
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

Re: OPNsense 20.7-aarch64 - NanoPi R4S

Posted: Sun May 16, 2021 2:16 pm
by Dulbi
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 ?

Re: OPNsense 20.7-aarch64 - NanoPi R4S

Posted: Sun May 16, 2021 3:01 pm
by SleepWalker
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.

Re: OPNsense 20.7-aarch64 - NanoPi R4S

Posted: Tue May 18, 2021 4:15 pm
by Jolowicz
Thanks guys! I was looking for this version! :oops:

Re: OPNsense 20.7-aarch64 - NanoPi R4S

Posted: Thu Jun 17, 2021 5:08 am
by intel
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

Re: OPNsense 20.7-aarch64 - NanoPi R4S

Posted: Fri Jun 18, 2021 5:13 am
by SleepWalker
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.

Re: OPNsense 20.7-aarch64 - NanoPi R4S

Posted: Mon Aug 30, 2021 9:56 pm
by SleepWalker
New version OPNsense 21.7 available for download.
https://personalbsd.org/?page_id=2

Re: OPNsense 20.7-aarch64 - NanoPi R4S

Posted: Fri Jan 14, 2022 12:12 pm
by spikerguy
New version OPNsense 21.7.5 available for download.
https://personalbsd.org/?page_id=2

Re: OPNsense 20.7-aarch64 - NanoPi R4S

Posted: Wed Feb 22, 2023 6:09 am
by compknotz
I've just realized that I have a ISP device that already own that IP address that I cannot change. t tv
hellodear.in