OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Cant get serial console to work
« previous next »
  • Print
Pages: [1]

Author Topic: Cant get serial console to work  (Read 2801 times)

derTyp

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Cant get serial console to work
« on: August 08, 2017, 10:20:13 am »
Hi,

I have a problem getting the serial console to work on my setup. I have a ASRock J3455B-ITX connected via a null modem cable to my NAS. The NAS is a Debian 8 Box (some Supermicro atom board).

In System->Administration I did set the primary console to serial with 115200 baud and secondary console to VGA. The VGA console started working after I disabled authentication but the serial console is not working no matter which settings I choose.
I can see the boot process on the serial console (I am using "cu" on the NAS to connect) but after "Mounting filesystem" it stops and doesn't display anything.

I want to get the serial console to work prior to updating to 17.7 for eventual debugging. I appreciate your help.

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 12575
  • Karma: 1073
    • View Profile
Re: Cant get serial console to work
« Reply #1 on: August 08, 2017, 03:01:26 pm »
Can you post the output of these two commands, please?

# tail /etc/ttys
# tail /boot/loader.conf
Logged

derTyp

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Cant get serial console to work
« Reply #2 on: August 08, 2017, 06:09:25 pm »
sure (i did a cat instead of tail to get everything):

Code: [Select]
root@OPNsense:~ # cat /etc/ttys
console none                            unknown off secure
#
ttyv0   "/usr/libexec/getty al.Pc"              xterm   on  secure
# Virtual terminals
ttyv1   "/usr/libexec/getty al.Pc"              xterm   on  secure
ttyv2   "/usr/libexec/getty al.Pc"              xterm   on  secure
ttyv3   "/usr/libexec/getty al.Pc"              xterm   on  secure
ttyv4   "/usr/libexec/getty al.Pc"              xterm   on  secure
ttyv5   "/usr/libexec/getty al.Pc"              xterm   on  secure
ttyv6   "/usr/libexec/getty al.Pc"              xterm   on  secure
ttyv7   "/usr/libexec/getty al.Pc"              xterm   on  secure
ttyv8   "/usr/local/bin/xdm -nodaemon"  xterm   off secure
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu0   "/usr/libexec/getty al.115200"  vt100   onifconsole secure
ttyu1   "/usr/libexec/getty al.115200"  vt100   onifconsole secure
ttyu2   "/usr/libexec/getty al.115200"  vt100   onifconsole secure
ttyu3   "/usr/libexec/getty al.115200"  vt100   onifconsole secure
# Dumb console
dcons   "/usr/libexec/getty std.9600"   vt100   off secure

Code: [Select]
root@OPNsense:~ # tail /boot/loader.conf
ng_tty_load="YES"
ng_vjc_load="YES"
ng_vlan_load="YES"

# dynamically generated settings follow
comconsole_speed="115200"
boot_multicons="YES"
boot_serial="YES"
#kern.vty
console="comconsole,vidconsole"
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Cant get serial console to work
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2022 All rights reserved
  • SMF 2.0.18 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2