Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    No serial console

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    4 Posts 3 Posters 3.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pedda
      last edited by

      Hi,

      I did an installation of pfSense rc2 on my computer and have some trouble getting the serial console working.

      In System/Advanced functions I turned the "Enable Serial Console" option on. When rebooting, I get the whole boot process on my serial console until it reaches the line

      "Bootup complete"

      After this, there is a total silence on the serial console, I can't get a login menu.
      I think it has something to do with the following lines in /etc/ttys:

      
      ...
      # Serial terminals
      # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
      ttyd0   "/usr/libexec/getty std.9600"   dialup  off secure
      ttyd1   "/usr/libexec/getty std.9600"   dialup  off secure
      ttyd2   "/usr/libexec/getty std.9600"   dialup  off secure
      ttyd3   "/usr/libexec/getty std.9600"   dialup  off secure
      ...
      
      

      Musten't there be at least ttyd0 turned on instead of off?
      Disabling and enabling the serial console in WebGUI changes nothing to this.

      Can anyone help me out?

      Peter

      1 Reply Last reply Reply Quote 0
      • B
        bw
        last edited by

        Your assumption is correct.  The first version of the embedded snapshot included an incorrect /etc/ttys.  That was removed shortly after.

        To fix your problem edit /etc/ttys so it looks similar to this

        
        ...
        # If console is marked "insecure", then init will ask for the root password
        # when going to single-user mode.
        console "/usr/libexec/getty Pc"         cons25  on secure
        #
        #ttyv0  "/usr/libexec/getty Pc"         cons25  on  secure
        # Virtual terminals
        ttyv1   "/usr/libexec/getty Pc"         cons25  off  secure
        ...
        
        

        After, you can either run "init q" from a shell to re-read /etc/ttys or reboot.

        1 Reply Last reply Reply Quote 0
        • S
          sullrich
          last edited by

          I can reproduce this here as well.  We're working on getting it fixed for RC3.

          Thanks for the report.

          1 Reply Last reply Reply Quote 0
          • P
            pedda
            last edited by

            Thank you, after changing my /etc/ttys as mentioned above, I can work on the serial console.

            The only problem I have is that CTRL-C is not working; I see a ^C in my terminal window and the process is not stopped. Any idea about this?

            Peter

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.