Serial console

From securityrouter.org, an OpenBSD-based firewall
Jump to: navigation, search
DE-9 serial port
USB to RS-232 converter
Null modem cable
PuTTY serial settings

The console can either be a standard PC monitor (video), a virtual machine console or a serial (RS-232) port. The Halon HSR hardware appliances, as well as typical Halon VSR installations on "embedded" hardware such as Soekris[1] or ALIX[2] uses the serial port as console.

Connecting to a serial console

Accessing a serial console is similar to how you would connect a standard PC monitor to the VGA port of a computer, except that the monitor is in fact a computer with a terminal emulation software. In some operating systems, the serial ports are referred to as COM ports.

  1. Make sure that you computer has a serial port (usually a DE-9[3]) or purchase a "USB to RS-232" adapter
  2. Connect the appliance and the computer using a RS-232 serial cable, sometimes referred to as null modem[4] cable
  3. Start a serial terminal emulator and connect
    • On Windows, you can use the sometimes built-in HyperTerminal or download the free PuTTY program[5]
    • On Mac, run screen /dev/cu.usbserial (where cu.usbserial might be something else) in Terminal
    • On Linux, run screen /dev/ttyUSB0 (where ttyUSB0 might be something else) or minicom -D /dev/ttyUSB0 -b 9600 depending on which you like the most; on Debian-based distributions you can install for example minicom[6] with apt-get install minicom.

The default baud rate is 9600 bps.