Updated on 2022-08-24 GMT+08:00

x86: SUSE 11 SP4

  1. Use the vi editor to open the /etc/inittab file and add the following information to the end of the file:
    S0:12345:respawn:/sbin/agetty -L 115200 ttyS0
  2. Modify the /boot/grub/menu.lst file and add the following information after gfxmenu (hd0,1)/boot/message:
    serial --unit=0 --speed=115200
    terminal --timeout=5 serial console

    Add the following information to the rows that contain kernel:

    consoleblank=600 console=tty0 console=ttyS0,115200n8

  3. To enable user root to log in to the BMS through a serial port, add ttyS0 to the end of the security configuration file /etc/securetty.