OPNsense Forum

English Forums => Hardware and Performance => Topic started by: Legremlins_keitaro on January 03, 2017, 10:33:23 am

Title: OpnSense on Sophos SG series
Post by: Legremlins_keitaro on January 03, 2017, 10:33:23 am
Hi,

I have an old Sophos SG115 (64GB SSD + 4GB RAM + Atom CPU), I try to install opnsense but I have an error on the boot when I choose to install it, it said kdb error and stop working. For test I have try the last verison of psfsense but I have exactly the same error.

Somebody have an idea ?
Title: Re: OpnSense on Sophos SG series
Post by: shezzski on February 08, 2017, 06:54:41 am
Hi Legremlins_keitaro,

Sophos UTM is based on CentOS AFAIK, which is obviously Linux.  OPNsense is based on FreeBSD so the errors you are seeing are probably due to the fact that FreeBSD does not support the hardware that you have.

Try running FreeBSD 11.0 to check.  If FreeBSD 11.0 runs then the OPNsense developers may be able to fix your issue.
Title: Re: OpnSense on Sophos SG series
Post by: ejt on April 29, 2017, 08:35:16 pm
Hi,

I also have a Sophos SG 115 where i tried to install the OPNsense 17.1.5 which failed due some nmi message regarding  I assume the keyboard, which is a usb keyboard and the installation was halted.

However I could install Freebsd 11, although the error messages occurs, it does not halt. I managed to install OPNsense on top of Freebsd 11 using the script referred to in another forum post.

I have also installed Linux/Sophos UTM home that installation also works.

I wonder if there is some configuration/flag regading nmi errors in the install/boot config which halts the installation compared to the Freebsd install.

I have changed hard drive, ram and also used an usb bluetoth keyboard, but the install still halts.

I wonder if there could be some bios setting regarding the usb keyboard that causes this.

Attached a screenshot with the error message from the install.
Title: Re: OpnSense on Sophos SG series
Post by: ejt on April 30, 2017, 11:41:24 am
Problem solved  :D

There is a setting in bios about emulation of I/O ports 64h and 60h, disabling that setting and the installation works without problem.
Title: Re: OpnSense on Sophos SG series
Post by: CDuv on March 07, 2018, 02:28:12 pm
I have a Sophos SG 115 that I want to use as OPNsense box.

ejt, which image version did you used for installing 17.1 ?
Have you tried OPNsense 18.1 ?
Title: Re: OpnSense on Sophos SG series
Post by: ejt on April 22, 2018, 07:19:42 pm
I used 17.1.5 , I haven't used 18.1, running with another software currently.


I have a Sophos SG 115 that I want to use as OPNsense box.

ejt, which image version did you used for installing 17.1 ?
Have you tried OPNsense 18.1 ?
Title: Re: OpnSense on Sophos SG series
Post by: mimugmail on April 22, 2018, 07:41:47 pm
I also run 18.1.6 on SG115rev1
Title: Re: OpnSense on Sophos SG series
Post by: CDuv on July 25, 2018, 12:04:13 pm
I can confirm v18.1.6 VGA (OPNsense-18.1.6-OpenSSL-vga-amd64.img.bz2) can be installed on the Sophos SG 115.

At first, it booted fine on the USB drive where I had dumped the OPNsense image but during the execution of OPNsense (past the OPNsense boot menu) it somehow crashed and rebooted automatically

As said by ejt, the solution was to go to the Sophos SG 115's BIOS, into the "Advanced" tab and set to "Disabled" the "Port 60/64 Emulation" setting.

Also, I got it updated to 18.1.13 without issue.
Title: Re: OpnSense on Sophos SG series
Post by: CDuv on February 14, 2020, 11:48:44 am
Just an update: My Sophos SG 115 ran fine on various OPNsense versions since my last post on this topic :

20.1 is yet to test.
Title: Re: OpnSense on Sophos SG series
Post by: Antaris on March 03, 2020, 05:01:33 pm
It's good to know that there will be second live for overpriced Sophos routers after initial licenses expired...
Title: Re: OpnSense on Sophos SG series
Post by: CDuv on March 04, 2020, 01:02:17 am
New update: v20.1 is running just fine on my Sophos SG 115 (for about 20 days now).
Title: Re: OpnSense on Sophos SG series
Post by: optic on March 09, 2020, 10:12:36 am
Installed latest opnsense on a SG230 (rev1) this weekend. Works without a problem. What i cannot get to work is the LCD Display in Front, still saying its a Sophos ;-)

Title: Re: OpnSense on Sophos SG series
Post by: Maestro86 on March 21, 2020, 05:57:05 pm
Maybe I can help. I run OPNsense on a Sophos SG330rev1 and I got my LCD screen working with lcdproc. Use the following config:

Code: [Select]
[server]
DriverPath=/usr/local/lib/lcdproc/
Driver=hd44780
Bind=127.0.0.1
Port=13666
ReportToSyslog=yes
User=nobody
Foreground=no
Hello="  Welcome to"
Hello="   OPNsense!"
GoodBye="Thanks for using"
GoodBye="   OPNsense!"
WaitTime=5
TitleSpeed=5
ServerScreen=on
Backlight=open
ToggleRotateKey=Enter
PrevScreenKey=Up
NextScreenKey=Down

[menu]
MenuKey=Escape
EnterKey=Enter
UpKey=Up

[hd44780]
ConnectionType=ezio
Device=/dev/cuau1
Keypad=yes
Size=16x2
KeyMatrix_4_1=Enter
KeyMatrix_4_2=Up
KeyMatrix_4_3=Down
KeyMatrix_4_4=Escape

You may have to change a few things, especially under the hd44780-section, but this should give you a start for getting the LCD panel to work.
Title: Re: OpnSense on Sophos SG series
Post by: optic on March 23, 2020, 08:42:00 pm
@Maestro86: Thank you so much!!! this worked!
Title: Re: OpnSense on Sophos SG series
Post by: patan32 on April 19, 2020, 10:41:57 pm
@Maestro86: Thank you so much!!! this worked!

Hello Maestro86,

I have the same setup as you. The LCD is working fine but i can't get the disk stats to show. It's disabled in the config file but it still shows up when i reboot. If you have a idea to disable it or get it going would be great.

I have the same hardware also.

Regards Ronald.
Title: Re: OpnSense on Sophos SG series
Post by: patan32 on April 20, 2020, 05:46:29 am
Maybe I can help. I run OPNsense on a Sophos SG330rev1 and I got my LCD screen working with lcdproc. Use the following config:

Code: [Select]
[server]
DriverPath=/usr/local/lib/lcdproc/
Driver=hd44780
Bind=127.0.0.1
Port=13666
ReportToSyslog=yes
User=nobody
Foreground=no
Hello="  Welcome to"
Hello="   OPNsense!"
GoodBye="Thanks for using"
GoodBye="   OPNsense!"
WaitTime=5
TitleSpeed=5
ServerScreen=on
Backlight=open
ToggleRotateKey=Enter
PrevScreenKey=Up
NextScreenKey=Down

[menu]
MenuKey=Escape
EnterKey=Enter
UpKey=Up

[hd44780]
ConnectionType=ezio
Device=/dev/cuau1
Keypad=yes
Size=16x2
KeyMatrix_4_1=Enter
KeyMatrix_4_2=Up
KeyMatrix_4_3=Down
KeyMatrix_4_4=Escape

You may have to change a few things, especially under the hd44780-section, but this should give you a start for getting the LCD panel to work.

Hello Maestro86,

I have the same setup as you. The LCD is working fine but i can't get the disk stats to show. It's disabled in the config file but it still shows up when i reboot. If you have a idea to disable it or get it going would be great.

I have the same hardware also.

Regards Ronald.
Modify message
Title: Re: OpnSense on Sophos SG series
Post by: oneuser on May 30, 2020, 02:31:18 pm
Good day gentleman! Glad to find users with Sophos hardware here. I have an old Sophos XG85W lying around, with a Intel Atom Baytrail Dual Core (1.33 GHz), 2GB RAM, 8GB ROM. I'm just wondering:

1. Can I install OPNSense on this? Is there any special steps/process to handle during the installation?

2. with 5-7 users, around 12-15 devices, is OPNSense able to handle 1Gbps fiber WAN speed? How about 500Mbps?

3. Any other special thing to take note during the installation/configuration?

Thank you very much for any tips/advice. Wish everyone safe and well!