OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • [SOLVED] Serial console issues
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Serial console issues  (Read 5088 times)

sens_ible

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
    • View Profile
[SOLVED] Serial console issues
« 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
« Last Edit: October 09, 2017, 09:52:31 am by franco »
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Serial console issues
« Reply #1 on: September 28, 2017, 10:09:37 am »
I use minicom and this is the content of my config file for my OPNsense profile:

Code: [Select]
pu port             /dev/ttyUSB0

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

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13988
  • Karma: 1211
    • View Profile
Re: Serial console issues
« Reply #2 on: September 28, 2017, 01:53:42 pm »
Maybe it's the connector / cable.


Cheers,
Franco
Logged

sens_ible

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
    • View Profile
Re: Serial console issues
« Reply #3 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13988
  • Karma: 1211
    • View Profile
Re: [SOLVED] Serial console issues
« Reply #4 on: October 09, 2017, 09:53:04 am »
Hi sens_ible,

Thanks for sharing your solution!  :)


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • [SOLVED] Serial console issues
 

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