Console redirection after boot message
-
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.
-
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.
-
Look at embedded and nano installs which are designed to be used over the serial console.
-
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.