[SOLVED] Install on serial-only device

Started by emilio.b, June 13, 2016, 03:52:29 PM

Previous topic - Next topic
thanks chemlud and franco for your kind help.

I've just tried out downloading the latest image from pfsense site.
Noticed that they posted 3 images there: amd64, i386 and a curious Netgate ADI.

Tried out the amd64, and got the same behaviuor i had originally with opnsense images (stop of serial output console on kernel booting).
Then tried the Netgate ADI and yes this image is working as espected.

Didn't check the freeBSD version though.

In the meantime i'll check the bootstrap option and report later here.

TIA

emilio

Hi Emilio,

When the non-ADI versions have the same behaviour this is going to be the same for FreeBSD 10.3 and there's really nothing we can do in our installer to improve that situation. :)

It's probably the /boot/loader.conf contents that is relevant, as well as maybe /etc/ttys from the working ADI installation.

In this case, opnsense-bootstrap can likely work as it will retain those files contents as well as it can.

It would, however, be good to know the actual contents of the files, because settings loader.conf variables can be done at boot time in the boot loader of the installer and added to the installation afterwards. ttys changes may be a bit trickier, but we really need to know what we're dealing with to say for sure.


Cheers,
Franco

Bizarre, some kind of Apple-like customer lock-in? 
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

hello,
i've just used the bootstrap solution and got the upgrade to opnsense succesfull.

to know the config files of the ADI version from pfsense i think it would be just a matter of extracting them isn't it?

if so, i can try to do that and post the config here

thanks all

emilio

Hi Emilio,

Wonderful news. :) If you enable SSH from System: Settings: Admin and log in remotely you can read those files using the following commands and paste the output here.

# cat /boot/loader.conf
# cat /etc/ttys


Cheers,
Franco

Jim contacted us directly this time, kindly explained the situation and that we were on the right track. The info corresponds with the available documentation here:

https://www.netgate.com/docs/rcc-ve-2440/opnsense.html

Specifically, the modified contents of both files is as follows...

/etc/ttys:

ttyu0 "/usr/libexec/getty al.115200" cons25 onifconsole secure
ttyu1 "/usr/libexec/getty al.115200" cons25 onifconsole secure
ttyu2 "/usr/libexec/getty al.115200" cons25 onifconsole secure
ttyu3 "/usr/libexec/getty al.115200" cons25 onifconsole secure


/boot/loader.conf:

console="comconsole"
comconsole_speed="115200"
comconsole_port="0x2F8"
hint.uart.0.flags="0x00"
hint.uart.1.flags="0x10"

thank you very much Franco.

good to know.
So may i have to do something else here to help?
Consider the the ADI device is already upgraded to opnsense now.

TIA

emilio

Hi Emilio,

Indeed, no further need for this. Marking it solved. :)


Cheers,
Franco

Many thanks to all who contributed to solve this problem.

See you

emilio