Difference between revisions of "Talk:Serial debugging:Cable schematics"
Jump to navigation
Jump to search
(Created page with "== 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 syst...") |
Knuxfanwin8 (talk | contribs) m (Knuxfanwin8 moved page Talk:Serial debugging to Talk:Serial debugging:Cable schematics) |
(No difference)
|
Latest revision as of 05:35, 20 November 2020
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.