Talk:Serial debugging:Cable schematics
getty on the serial line
It can be useful to have a tty on the serial line, e.g. if USB networking doesn't work and you still want to access the shell on a running system.
This can be achieved by enabling getty on the serial line. To achieve this, add ttyHSL0::respawn:/sbin/getty -L ttyHSL0 115200 vt100
(adjust for the serial on your device) to the file /etc/inittab
.
When the device is finished booting you will get a login prompt on the serial line.
Welcome to postmarketOS
Kernel 3.4.0-perf on an armv7l (/dev/ttyHSL0)
fairphone-fp2 login:
TODO: Has to be integrated (and reworded) into the main page. It's currently only about hardware so this software section would have to be fitted in somewhere.