Purpose:
This guide is to provide a simple step-by-step guidance for users to follow on how to modify the baud rate in Linux to fulfill the access via SOL or com port.
Refer to How to check SOL information and change SOL baud rate?
Target Audience:
For those engineers who has background of linux CLI knowledge and how to use IPMItool and SOL (Serial Over LAN) feature.
Applicable model list:
All products with Linux base system and BMC with IPMI / SOL functions.
Requirement:
Linux OS be installed
Method:
Step 1: # modify /etc/default/grub
Add parameters in grub by following red color.
[root@localhost ~]# cat /etc/default/grub
GRUB_CMDLINE_LINUX='console=ttyS0,115200n8 console=tty0 ...'
GRUB_TERMINAL_OUTPUT=console
GRUB_SERIAL_COMMAND='serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1'
....
Step 2: # Update the grub configuration
For legacy boot, the path as below
[root@localhost ~]# grub2-mkconfig -o /boot/grub2/grub.cfg
Or
[root@localhost ~]# grub-mkconfig -o /boot/grub/grub.cfg
For EFI boot , <OS name> depends on type of linux , like "ubuntu" or "centos"
[root@localhost ~]# grub2-mkconfig -o /boot/efi/EFI/<OS name>/grub.cfg
Or
[root@localhost ~]# grub-mkconfig -o /boot/efi/EFI/<OS name>/grub.cfg
Step 3: reboot
[root@localhost ~]# reboot
Comments
0 comments
Please sign in to leave a comment.