[systemd-devel] systemd version of an inittab entry -- for VT100 terminal

Michael Asher masher at deltatau.com
Tue Jun 26 20:10:58 UTC 2018


Thank you very much.

How do I change the settings from vt220 to vt100 and the baud rate to 115200?

Thanks again
- Michael Asher, Omron Delta Tau

-----Original Message-----
From: Lennart Poettering <mzerqung at 0pointer.de> 
Sent: Tuesday, June 26, 2018 12:54 PM
To: Michael Asher <masher at deltatau.com>
Cc: systemd-devel at lists.freedesktop.org; Henry Bausley <hbausley at deltatau.com>
Subject: Re: [systemd-devel] systemd version of an inittab entry -- for VT100 terminal

On Di, 26.06.18 19:29, Michael Asher (masher at deltatau.com) wrote:

> On SysV we set up a terminal/serial interface on our motion-controllers using /etc/inittab, see below.
> 
>    /etc/inittab
>      # How to put a getty on a serial line (for a terminal)
>       T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100
> 
> I have made a few attempts to do this with systemd none have worked.  All assistance is much appreciated.

We provide an instantiable unit file for this. try this command:

        systemctl enable serial-getty at ttyS0.service

And similar for other ports.

Lennart

-- 
Lennart Poettering, Red Hat



More information about the systemd-devel mailing list