OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • [Work In Progress] OPNsense Ported into ARM Devices
« previous next »
  • Print
Pages: 1 [2] 3 4 ... 22

Author Topic: [Work In Progress] OPNsense Ported into ARM Devices  (Read 184092 times)

chemlud

  • Hero Member
  • *****
  • Posts: 2113
  • Karma: 94
    • View Profile
Re: [Working] OPNsense on Raspberry Pi 2
« Reply #15 on: March 31, 2019, 05:07:26 pm »
...ordered an Odroid today, dedicated for a NAS upgrade, but... ;-)
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

chemlud

  • Hero Member
  • *****
  • Posts: 2113
  • Karma: 94
    • View Profile
Re: [Working] OPNsense on Raspberry Pi 2
« Reply #16 on: March 31, 2019, 05:14:53 pm »
PS: I have some raspi 3 here, but no image. ;-)

Tried to download the raspi 2 image, but I'm trapped in "Wait 5 sec for download to start" and then nothing happenz... (allowed nearly all scripts for this page, except the Google stuff). Btw, do you have SHA256 for me to verify the download? :)

Many thanks in advance...
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

Antaris

  • Full Member
  • ***
  • Posts: 145
  • Karma: 13
    • View Profile
    • EVOTEK ltd.
Re: [Working] OPNsense on Raspberry Pi 2
« Reply #17 on: March 31, 2019, 06:15:38 pm »
Quote from: nekoprog on March 31, 2019, 02:07:21 pm
Quote from: Antaris on March 30, 2019, 08:10:49 pm
Good news. I also have SBC, but still not supported by BSD.
It's a Libre Computer Tritium H5 2GB:

https://libre.computer/2019/02/07/linux-4-19-lts-images-for-tritium/

It only have support on Ubuntu, Debian and Armbian for now.
Looks like a great device with crypto support. Not sure if FreeBSD already have a supported device that has the same hardware. If they do, maybe can port it's uboot into Tritium.

According to their wiki they have one supported:
https://wiki.freebsd.org/FreeBSD/arm/Allwinner/H5

https://www.friendlyarm.com/index.php?route=product/product&path=69&product_id=220
Logged
Proxmox enthusiast @home, bare metal @work.

nekoprog

  • Newbie
  • *
  • Posts: 49
  • Karma: 9
  • Warranty voided..
    • View Profile
    • Neko Prog
Re: [Working] OPNsense on Raspberry Pi 2
« Reply #18 on: April 01, 2019, 04:09:39 am »
Quote from: chemlud on March 31, 2019, 05:14:53 pm
PS: I have some raspi 3 here, but no image. ;-)

Tried to download the raspi 2 image, but I'm trapped in "Wait 5 sec for download to start" and then nothing happenz... (allowed nearly all scripts for this page, except the Google stuff). Btw, do you have SHA256 for me to verify the download? :)

Many thanks in advance...
My free hosting server wont allow upload more than 100MB, thus I grab some anon upload service for that image and no SHA256, sorry. Will try reupload using google drive this weekend. What is the model of your odroid? If I have some spare time, I will help with compiling RPI3 and odroid image.

UPDATE: New download link and checksum added.

Quote from: Antaris on March 31, 2019, 06:15:38 pm
According to their wiki they have one supported:
https://wiki.freebsd.org/FreeBSD/arm/Allwinner/H5

https://www.friendlyarm.com/index.php?route=product/product&path=69&product_id=220
It will take some time to test and it may or may not working, but I do my best to try.


If anyone using OPNsense on RPI2 right now and would like to update, you can edit /usr/local/etc/pkg/repos/OPNsense.conf like this.
Code: [Select]
OPNsense: {
  fingerprints: "/usr/local/etc/pkg/fingerprints/OPNsense",
  url: "http://neko.progr.am/pieSense/${ABI}/19.1/latest",
  signature_type: "NONE",
  mirror_type: "NONE",
  priority: 11,
  enabled: yes
}
These changes to file is not permanent, will have to edit again if error when checking for updates.
« Last Edit: April 01, 2019, 05:42:27 am by nekoprog »
Logged
[Work In Progress] OPNsense Ported into ARM Devices
[Experimental] opnsense/tools for ARM

chemlud

  • Hero Member
  • *****
  • Posts: 2113
  • Karma: 94
    • View Profile
Re: [Working] OPNsense on Raspberry Pi 2
« Reply #19 on: April 01, 2019, 03:50:45 pm »
Many thanks, download working now (this time I had to allow Google scripts definitely ;-) )!

Will burn an SDcard and boot asap...

https://wiki.odroid.com/odroid-xu4/odroid-xu4

...but I had a look yesterday evening, apparently no FreeBSD support for this yet. NAS I will do with Ubuntu or Debian.

___

PS: My download gives

sha256sum opnsense-openssl-arm-armv6-rpi2.img.xz

048cf798130084379cfbbff0908cc84ed3c06b6d4ffc0191f8fbe55a477d5471  opnsense-openssl-arm-armv6-rpi2.img.xz

i.e. all lower case characters ;-)

___

PPS: Tried to expand the .xz, but with bunzip2 I get

Code: [Select]
bunzip2: opnsense-openssl-arm-armv6-rpi2.img.xz is not a bzip2 file.

and Ark (on linux) ends with file sizes much lower than the packed file. Did you use a Windows tool to compress?

« Last Edit: April 01, 2019, 06:31:08 pm by chemlud »
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

nekoprog

  • Newbie
  • *
  • Posts: 49
  • Karma: 9
  • Warranty voided..
    • View Profile
    • Neko Prog
Re: [Working] OPNsense on Raspberry Pi 2
« Reply #20 on: April 02, 2019, 02:11:45 am »
Quote from: chemlud on April 01, 2019, 03:50:45 pm
Many thanks, download working now (this time I had to allow Google scripts definitely ;-) )!

Will burn an SDcard and boot asap...

https://wiki.odroid.com/odroid-xu4/odroid-xu4

...but I had a look yesterday evening, apparently no FreeBSD support for this yet. NAS I will do with Ubuntu or Debian.

___

PS: My download gives

sha256sum opnsense-openssl-arm-armv6-rpi2.img.xz

048cf798130084379cfbbff0908cc84ed3c06b6d4ffc0191f8fbe55a477d5471  opnsense-openssl-arm-armv6-rpi2.img.xz

i.e. all lower case characters ;-)

___

PPS: Tried to expand the .xz, but with bunzip2 I get

Code: [Select]
bunzip2: opnsense-openssl-arm-armv6-rpi2.img.xz is not a bzip2 file.

and Ark (on linux) ends with file sizes much lower than the packed file. Did you use a Windows tool to compress?


From your error, looks like your tools don't support xz, try install xz first and extract it with xz -dkv *.xz. How to install xz varies among distros, you need to google that.

Xz is by default installed on freebsd.
« Last Edit: April 02, 2019, 02:05:55 pm by nekoprog »
Logged
[Work In Progress] OPNsense Ported into ARM Devices
[Experimental] opnsense/tools for ARM

chemlud

  • Hero Member
  • *****
  • Posts: 2113
  • Karma: 94
    • View Profile
Re: [Working] OPNsense on Raspberry Pi 2
« Reply #21 on: April 02, 2019, 10:39:51 am »
Strange, xz is installed (xz 5.2.4), but I get:

Code: [Select]
tar -xf opnsense-openssl-arm-armv6-rpi2.img.xz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors

...never had such problems to burn a raspi image, am I too stupid? :-D
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

nekoprog

  • Newbie
  • *
  • Posts: 49
  • Karma: 9
  • Warranty voided..
    • View Profile
    • Neko Prog
Re: [Working] OPNsense on Raspberry Pi 2
« Reply #22 on: April 02, 2019, 02:04:18 pm »
Quote from: chemlud on April 02, 2019, 10:39:51 am
Strange, xz is installed (xz 5.2.4), but I get:

Code: [Select]
tar -xf opnsense-openssl-arm-armv6-rpi2.img.xz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors

...never had such problems to burn a raspi image, am I too stupid? :-D
Maybe  ;D
Wrong console command, hence error. Try xz -dkv *.xz.
Logged
[Work In Progress] OPNsense Ported into ARM Devices
[Experimental] opnsense/tools for ARM

chemlud

  • Hero Member
  • *****
  • Posts: 2113
  • Karma: 94
    • View Profile
Re: [Working] OPNsense on Raspberry Pi 2
« Reply #23 on: April 02, 2019, 02:10:38 pm »
Quote from: nekoprog on April 02, 2019, 02:04:18 pm
Maybe  ;D

Bold! :-D ...this time it worked. 3.0 GB image file. Burning now...

PS: Booting successfully. I added an USB RJ45 interface, just to have two interfaces. Will have a look at the GUI soon.

Anything necessary to use the whole SD-card?

Which setup do you use for suricata?
« Last Edit: April 02, 2019, 02:31:17 pm by chemlud »
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

nekoprog

  • Newbie
  • *
  • Posts: 49
  • Karma: 9
  • Warranty voided..
    • View Profile
    • Neko Prog
Re: [Working] OPNsense on Raspberry Pi 2
« Reply #24 on: April 02, 2019, 04:14:38 pm »
Quote from: chemlud on April 02, 2019, 02:10:38 pm
Anything necessary to use the whole SD-card?

Which setup do you use for suricata?

I use this for claiming all free spaces in microsd Resizing and Growing Disks.
For suricata, I use default settings with DROP for tor and current events. Could activate all of them, but RPI2 will not respond for a few minutes. Too many works I guess even with swap file enabled.

Adds new PR for Orange Pi PC2, was going to add NanoPi K1 Plus too, but no official uboot defconfig for that device. Need to create defconfig first then create slave file for u-boot-nanopi-k1-plus on Ports.
Logged
[Work In Progress] OPNsense Ported into ARM Devices
[Experimental] opnsense/tools for ARM

chemlud

  • Hero Member
  • *****
  • Posts: 2113
  • Karma: 94
    • View Profile
Re: [Working] OPNsense on Raspberry Pi 2
« Reply #25 on: April 02, 2019, 04:36:26 pm »
...and you figured out the correct boot options for raspi 3 if I understand the link to GIThub correctly? :-D
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

nekoprog

  • Newbie
  • *
  • Posts: 49
  • Karma: 9
  • Warranty voided..
    • View Profile
    • Neko Prog
Re: [Working] OPNsense on Raspberry Pi 2
« Reply #26 on: April 02, 2019, 05:48:49 pm »
Quote from: chemlud on April 02, 2019, 04:36:26 pm
...and you figured out the correct boot options for raspi 3 if I understand the link to GIThub correctly? :-D
Found the correct address for RPI3 from here and add Odroid XU3/XU4 configs too, lets hope Franco approve that PR, and I can test building image for Odroid XU4.  ;D
Logged
[Work In Progress] OPNsense Ported into ARM Devices
[Experimental] opnsense/tools for ARM

chemlud

  • Hero Member
  • *****
  • Posts: 2113
  • Karma: 94
    • View Profile
Re: [Working] OPNsense on Raspberry Pi 2
« Reply #27 on: April 03, 2019, 11:03:44 am »
...don't worry to much about the Odroid, it's my birthday present, likely that I don't get my fingers at it before mid of May :-D

PS: Did you every try the serial console on Pin 14/15 + ground (at least available in Raspbian) of the GPIO? I have a special USB adapter for raspis...

https://www.raspberrypi.org/documentation/usage/gpio/
« Last Edit: April 03, 2019, 11:50:57 am by chemlud »
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

bobbythomas

  • Full Member
  • ***
  • Posts: 134
  • Karma: 5
    • View Profile
Re: [Working] OPNsense on Raspberry Pi 2
« Reply #28 on: April 04, 2019, 09:51:51 am »
Quote from: franco on March 31, 2019, 12:41:36 pm
I'd like to thank nekoprog for the work done with the ARM ports. Very useful and robust now. :)

Next step is actually the long-promised BPI image and then come 20.1 we'll have to see what we can do when i386 is being dropped from our supported list...


Cheers,
Franco

I have a Banana Pi board lying around here, if you are looking for someone to test the new image please let me know.

Regards,
Bobby Thomas
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2113
  • Karma: 94
    • View Profile
Re: [Working] OPNsense on Raspberry Pi 2
« Reply #29 on: April 05, 2019, 04:29:27 pm »
FWIW the serial port on the raspi is functional... :-D

Don't try with somefink home-bake, you need a special serial-USB adapter for the raspi, as the ports can only take 3.3V or something like that...
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

  • Print
Pages: 1 [2] 3 4 ... 22
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • [Work In Progress] OPNsense Ported into ARM Devices
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2