836 bytes added
, 18:23, 7 October 2018
== 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 <code>ttyHSL0::respawn:/sbin/getty -L ttyHSL0 115200 vt100</code> (adjust for the serial on your device) to the file <code>/etc/inittab</code>.
When the device is finished booting you will get a login prompt on the serial line.
<source>
Welcome to postmarketOS
Kernel 3.4.0-perf on an armv7l (/dev/ttyHSL0)
fairphone-fp2 login:
</source>
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.
[[User:Z3ntu|Z3ntu]] ([[User talk:Z3ntu|talk]]) 14:23, 7 October 2018 (EDT)