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

    Console redirection after boot message

    Scheduled Pinned Locked Moved Hardware
    4 Posts 4 Posters 3.7k 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.
    • G
      gregober
      last edited by

      Hello,

      I am actually configuring a FW to make It 100% compatible with pfSense.
      I have faced problem with console redirection that I have solved by modifying the /boot/loader.conf by adding the following:

      console="comconsole,vidconsole"

      This has allowed me to have the boot messages displayed until pfSense launches It's menu… then I have no longer access to the menu…

      Do you know how I can proceed to modify the console parameter once pfSense has launched It's personal menu.
      pfSense obviously has got some personal parameters that displays the output on the VGA interface and not on the Console.

      Where should I dig?

      Thanks for your reply.

      1 Reply Last reply Reply Quote 0
      • D
        danswartz
        last edited by

        Google for this on the forums here.  I was doing this with a disk install on a soekris.  If I recall, I had to modify /etc/ttys so it would spawn a process on the console.  Sorry, don't remember the details though.

        1 Reply Last reply Reply Quote 0
        • Cry HavokC
          Cry Havok
          last edited by

          Look at embedded and nano installs which are designed to be used over the serial console.

          1 Reply Last reply Reply Quote 0
          • C
            carsten
            last edited by

            Just for the archives, as this is the first hit on google.

            Console redirection can be accomplished by the following steps:

            • 1. Add these two lines to /boot/loader.conf (adjust speed to your liking)
            
            console="comconsole,vidconsole"
            comconsole_speed="115200"
            
            
            • 2. Change the console entry in /etc/ttys like this
            
            console    "/usr/libexec/getty Pc"         cons25  on  secure
            
            
            • 3. Create the file /boot.config with the sole content "-h"

            • 4. Reboot

            Have fun,
            Carsten.

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