Success installing on Netgate SG-4860?

Started by crankypants, January 25, 2018, 01:05:04 AM

Previous topic - Next topic
June 15, 2018, 06:19:44 PM #15 Last Edit: June 15, 2018, 06:27:01 PM by marjohn56
if it gets as far as login, you could always then try logging in as installer....maybe?


Let me modify that as you've got no terminal... ( idiot to self )  :-X

OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

Quote from: marjohn56 on June 15, 2018, 06:19:44 PM
if it gets as far as login, you could always then try logging in as installer....maybe?


Let me modify that as you've got no terminal... ( idiot to self )  :-X
So the hard drive freezes during the boot but I did see the ascii art boot options, etc. so I tried the vanilla serial based USB key. Bad news, this box forced the SATA to boot and I can't seem to change the boot order (locked by bios) nor get up a bios boot selector.
Semi decent news, the USB on it's own does not lock and it get's to the installer... Now I've attached a SATA to the second USB port and am walking through a setup... fingers double crossed...

Ok... got it.
So with the latest (18.1) serial usb bootable attached to one USB port and a usb to SATA drive on the other so long as I had it in the order where the USB installer was the ZEROth device, it booted and I was able to install to the other USB drive.

After the initial install I removed the USB key and put that SATA drive on the MB Sata port and booted. Trial and error to config the WAN/LAN (I have 6 ports here) and voila...

So I guess the lesson here is that perhaps you no longer need to edit anything on the /boot dir of the serial bootable installer. At least on this particular NETGATE/Lanner hardware I didn't need to.
::thumbs waaay up!::

Well done... Do you want to post that on the pf hardware forum just to let people know?  8)


However you are probably in breech of something somewhere,,
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

October 18, 2018, 04:20:02 PM #19 Last Edit: October 18, 2018, 04:21:55 PM by EMTSU
Quote from: pylox on January 28, 2018, 11:17:55 AM

4. Put USB stick in your Netgate SG-4860 and boot - et voila....


With regards to this step, are you inserting this stick after you have already installed OPNsense on the Negate? I don't understand what inserting this stick with the modified file is actually doing, is it just updating the file already on the Netgate or are you installing OPNsense fresh/again?

Hi EMTSU,

these steps are to modify an OPNsense serial image on an USB stick. The modification (loader.conf.local) allow to properly use the NETGATE usb-serial interface. In my case it was a NETGATE SG-4860.
After this you can boot and install OPNsene on NETGATE from prepared image. Like i mentioned in the other thread: the NETGATE SG-5100 is quite very new !
Possible it will work only from FreeBSD 11.2  (OPNsense 19.1) because of some hardware incompatibilities.

regards pylox

I was able to get installed on the 2440.  I went out on the WayBack Machine and found the old guide.  Pretty helpful.  https://web.archive.org/web/20160417072530/http://www.netgate.com/docs/rcc-ve-2440/opnsense.html

Was thinking asking if you all would like me to post the process I used.  The issue I had with the Serial port is it was locked on the Pfsense device.

from the guide on the WayBack Machine.
Changing the option to enable or disable password protection on the console menu in the OPNsense GUI will not work since this has the effect of altering /etc/ttys for the entries of ttyv0 and ttyu0 when the system console actually runs on ttyu1. Modify the ttys file to enable the correct serial port. In OPNsense, console password protection is enabled by default. Run the appropriate command based on whether password protection enabled or disabled:

mv /etc/ttys /etc/ttys.orig
To disable password protection:

echo 'ttyu1 "/usr/libexec/getty al.115200" vt100 onifconsole secure' > /etc/ttys
Thanks as always,

Brent

Qotom Q355G4 Qotom Q190G4N
Opnsense 18.7.*

All:
I am sorry I was rude.  I am new here.  I am a convert from pfsense.  I am nobody special.  Just an old nerd from Tennessee.  I love packets, shells, and scripts  8) All things tech are my happy place.

I like friendly forums and you all seem great.  I have lurked for awhile.  I love the direction OPNsense is going.  Did not see a intro forum so here as good as any I suppose..
Thanks as always,

Brent

Qotom Q355G4 Qotom Q190G4N
Opnsense 18.7.*

Welcome, Brent! <3

PS: /etc/tty overwrites on boot for safety / recovery reasons. Maybe we need to find a more permanent solution.

Quote from: franco on October 24, 2018, 11:02:59 PM
Welcome, Brent! <3

PS: /etc/tty overwrites on boot for safety / recovery reasons. Maybe we need to find a more permanent solution.

Thanks Franco

Looking forward to all of your help and all the future development.. 
Thanks as always,

Brent

Qotom Q355G4 Qotom Q190G4N
Opnsense 18.7.*