Ubuntu 16.04 (x86)
- Use the vi editor to open the /etc/default/grub file and add console=tty0 console=ttyS0 after GRUB_CMDLINE_LINUX.
- Run the following commands to update the configuration:
stty -F /dev/ttyS0 speed 115200
grub-mkconfig -o /boot/grub/grub.cfg
- Use the vi editor to open the /etc/rc.local file and add the following content:
systemctl stop getty@ttyS0
- To enable user root to log in to the BMS through the serial port, add ttyS0 to the end of the security configuration file /etc/securetty.
Last Article: EulerOS (ARM)
Next Article: Ubuntu 16.04 (ARM)
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.