Serial Console Redirection in pfsense

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
  • 9636 Usuários acharam útil
Esta resposta lhe foi útil?

Artigos Relacionados

Snort rules for isc.org and ripe.net DNS Amplification Attacks

Everything started with a few queries of isc.org thrugh open DNS servers located at our data...

Password Generation in UNIX

Below I’ll describe a couple of nice methods to generate passwords using Python and Bash....

Routing, a Brief Introduction

Introduction Routing is the process of finding the route to a destination, and routing protocols...

Nmap : Scanning Methods

Earlier we’ve discussed target specificationin detail. But it is almost as import to choose...

Nmap : Target Specification in Detail

Every now and then, we need to scan ports as system administrators, even if the target machine is...