Home Lab / Klobber
Building an 8-port Raspberry Pi serial console
A compact console server for network gear, hypervisors and the devices that always fail at 02:00.
A console port becomes valuable at exactly the moment the network is unavailable. An inexpensive Raspberry Pi and a set of labelled USB adapters can provide a dependable eight-port console shelf.
The parts
- Raspberry Pi with a reliable Ethernet connection
- Powered USB hub with individual ports
- Eight known-good USB serial adapters
- Cables labelled for each device
- A small rack shelf and cable restraint
sudo apt install ser2net minicom usbutils
ls -l /dev/serial/by-id
sudo systemctl enable --now ser2net
Use stable serial device links rather than /dev/ttyUSB0, because adapter enumeration can change after reboot.
Figure 1: Label both ends of every cable and include the voltage expectation.