OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: sens_ible on September 28, 2017, 09:16:11 AM

Title: [SOLVED] Serial console issues
Post by: sens_ible on September 28, 2017, 09:16:11 AM
I have installed OPNsense-17.7-OpenSSL-nano-i386 and it seems that the system is booting properly.

When the system is booting, I can see all messages properly and after some time I arrive at the login prompt. However, I can not send characters to login. I have to press some keys three or four times before the correct letter appears and some keys do not seem to work at all. Hence, I can not log in and got stuck at this point.

1) Does anybody know, which settings are expected by the serial console of OPNsense?

2) Does anybody know a terminal for Ubuntu which will work "out-of-the-box" (or which is at least easily configurable with the correct settings)?

3) Is there an alternative for login? I can see that one of the boxes interfaces has requested and received an IP-address, however, it will not respond to an SSH request or to an HTTP request to that interface.

I use an ALIX 2D3 board as OPN appliance and try to login via serial console from an Ubuntu 16.04 PC.

My settings for the serial terminal are:
Baudrate: 115200
Data bits: 8
Stop bits: 1
Parity: None
Flow control: XON/XOFF

I have tried the graphical PuTTY client and 'screen" on the CLI. In both cases I can not send data correctly.

Thanks a lot for your help

Markus
Title: Re: Serial console issues
Post by: fabian on September 28, 2017, 10:09:37 AM
I use minicom and this is the content of my config file for my OPNsense profile:


pu port             /dev/ttyUSB0


The filename is "/etc/minirc.opnsense" and I can attach the shell using "minicom opnsense" as root.

Title: Re: Serial console issues
Post by: franco on September 28, 2017, 01:53:42 PM
Maybe it's the connector / cable.


Cheers,
Franco
Title: Re: Serial console issues
Post by: sens_ible on October 08, 2017, 08:31:59 PM
Thanks for all replies.

Finally, setting the flow control from "XON/XOFF" to "None" solved the problem.

Just in case anybody else faces the same problem
Title: Re: [SOLVED] Serial console issues
Post by: franco on October 09, 2017, 09:53:04 AM
Hi sens_ible,

Thanks for sharing your solution!  :)


Cheers,
Franco