Hi, all
I am runn CentOS 7.6 and has getty@ttyS0 service enabled and running
● getty@ttyS0.service - Getty on ttyS0
Loaded: loaded (/usr/lib/systemd/system/getty@.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2019-05-31 21:23:57 CST; 22h ago
Docs: man:agetty(8)
man:systemd-getty-generator(8)
http://0pointer.de/blog/projects/serial-console.html
Main PID: 16605 (agetty)
CGroup: /system.slice/system-getty.slice/getty@ttyS0.service
└─16605 /sbin/agetty --noclear ttyS0 vt220
But I can not connect to this machine with null modem cable. This cable and putty client can connect
to other box without any problem and I tried every baud rate combination. Is there any
thing I should do to fix this?
CentOS 7.6 serial console probelm
Re: CentOS 7.6 serial console probelm
You need to add console=ttyS0 to the kernel command line.
Re: CentOS 7.6 serial console probelm
I add console=ttyS0 to the kernel command line and see following process running
4344 ? Ss 0:00 /sbin/agetty --keep-baud 115200,38400,9600 ttyS0 vt220
But putty connection still no login prompt
4344 ? Ss 0:00 /sbin/agetty --keep-baud 115200,38400,9600 ttyS0 vt220
But putty connection still no login prompt