Skip to content

Instantly share code, notes, and snippets.

@DarinDev1000
Created February 12, 2019 05:54
Show Gist options
  • Save DarinDev1000/bba8872fb5e86f7e7836b7fc998ce326 to your computer and use it in GitHub Desktop.
Save DarinDev1000/bba8872fb5e86f7e7836b7fc998ce326 to your computer and use it in GitHub Desktop.
# add the line to /etc/default/grub
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8"
update-grub
# enable the getty for com1 (a reboot may be needed)
systemctl enable serial-getty@ttyS0.service
systemctl start serial-getty@ttyS0.service
systemctl daemon-reload
# on a client machine
dmesg # to find usb ttyUSBx
chmod 777 /dev/ttyUSBx
screen /dev/ttyUSBx 115200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment