If you want to show console output from a Serial device such as RS-232 interface, you need to make minor modifications in pfsense 2.0 distro.

Switch to shell by pressing 8 from the pfsense console menu and edit the file /boot/loader.conf by typing:

vi /boot/loader.conf

Add the below lines to the file after pressin “i” (insert) or “A” (append)

console=”comconsole,vidconsole”
comconsole_speed=”115200″

press ESC and type :wq to save and exit, we had choosen 115200 for baud rate as most of the devices accept those speeds, you may choose below rates.

Add the following line to /etc/ttys

console    “/usr/libexec/getty Pc”         cons25  on  secure

type the following to enable booting from serial console

echo ‘-h’ >> /boot.config

Note that, after adding -h to the
If available be sure to configure BIOS serial console redirection with the same speed you set above.

echo 'console="comconsole"' >> /boot/loader.conf

Leave a Reply

Your email address will not be published. Required fields are marked *