Skip to content

Instantly share code, notes, and snippets.

@mbentley
mbentley / debian_8.sh
Last active August 8, 2022 22:05
Enable ttyS0 (Ubuntu 14.04 and Debian 8 (jessie)
### debian 8 (jessie)
mkdir /etc/systemd/system/serial-getty@ttyS0.service.d &&\
echo '[Service]
Environment="TERM=xterm"' > /etc/systemd/system/serial-getty@ttyS0.service.d/xterm.conf
systemctl daemon-reload &&\
systemctl enable serial-getty@ttyS0.service &&\
systemctl start serial-getty@ttyS0.service &&\
systemctl status serial-getty@ttyS0.service