raspberry pi – serial console – out of band management

To get out of band management access to your raspberry pi a serial connection can be used. The raspberry pi provides per default a serial connection on some of the GPIO pins.

I just bought a USB to TTL to UART  and used my netbook as a out of band management access via SSH and minicom.

Cable setup:

  • red = +5V
  • black = ground
  • white = TXD
  • green = RXD


A look onto the system with the connected RS232 cable.

Raspberry pi rs232




If necessary the Raspberry pi can be powered by the RS232. Just attach the red cable to pin 2 (just the first on the left in the second row on the picture)

A initial setup of minicom on a the raspberry pi or any other Debian / Ubuntu Linux shows if the RS232 connection works:

sudo aptitude install minicom
<output ommited>
sudo minicom -b 115200 -o -D/dev/ttyUSB0

If this works you can start get a permanent configuration for minicom

$useradd -G dialout your_user_name
$sudo minicom -s raspberry

Connection settings

  • Speed: 115200
  • Bits: 8
  • Parity: None
  • Stop Bits: 1
  • Flow Control: None


1 comment for “raspberry pi – serial console – out of band management

  1. Dave
    September 19, 2014 at 15:02

    I built something similar: http://outofbandmanagement.wordpress.com/

Leave a Reply

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