SUSE 12, CentOS 7.3, EulerOS, and Oracle Linux 7.2 (x86)

The configuration files in this section are based on SUSE 12 SP1. Configuration files of other types of OSs may be different.

  1. Use the vi editor to open the /etc/default/grub file and add console=tty0 console=ttyS0 after GRUB_CMDLINE_LINUX.
  2. Run the following commands to update the configuration:

    stty -F /dev/ttyS0 speed 115200

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

    systemctl enable serial-getty@ttyS0

  3. 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.