onsdag 20 mars 2013

Screen as a serial console software

How cool is that? Old, honest screen can actually be used to connect to a serial console. Typically, you nowadays have some fancy usb-to-serier converter and when you connect the usb, you'll probably find the right tty with

$ dmesg | grep ttyUSB
[1384486.485394] usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB3

Then you can use screen to access the serial console (it's good to know the Baud rate, too):

$ screen /dev/ttyUSB3 115200

Neat!

(And, yeah, screen is old and the code-base is not maintained, so one should really migrate to tmux some day.)

Inga kommentarer:

Skicka en kommentar