forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: guoyanyan <guoyanyan3@huawei.com> Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
4.3 KiB
4.3 KiB
x86: Ubuntu 16.04/Ubuntu 18.04
- Use the vi editor to open the /etc/default/grub file and add the following information after the GRUB_CMDLINE_LINUX field:
consoleblank=600 console=tty0 console=ttyS0,115200
- Run the following commands to update the configuration:
- Use the vi editor to open the /etc/rc.local file and add the following content to the file:
systemctl stop getty@ttyS0
- 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.
- Run the systemctl is-enabled serial-getty@ttyS0 command to check whether serial-getty@ttyS0 is set to automatically start upon system startup.
Parent topic: Configuring Remote Login to a BMS