Page 1 of 1

fitlet2 serial port naming for centos 7

Posted: Thu May 21, 2020 12:18 pm
by liorK
do you have a solution to activate fitlet2 serial com port on centos 7 ?

Re: fitlet2 serial port naming for centos 7

Posted: Thu May 21, 2020 8:19 pm
by Andrey.Mazlin
liorK wrote:
Thu May 21, 2020 12:18 pm
do you have a solution to activate fitlet2 serial com port on centos 7 ?
Did you try this?
----------------------------------------------
Let's open up our text editor: nano /etc/sysconfig/grub.
Find the line labeled GRUB_CMDLINE_LINUX and add console=ttyS0 to the end (this assumes your serial port is ttyS0). ...
Save the file and exit.
Run

Code: Select all

stty -F /dev/ttyS0 speed 9600
Then

Code: Select all

grub2-mkconfig -o /boot/grub2/grub.cfg
Finally

Code: Select all

systemctl start getty@ttyS0