21 Ocak 2020 Salı

Red Hat Enterprise Linux 8 - Serial console


Benim gibi kendi ev internet erişim cihazını kullanmayı düşünüyorsanız,  büyük ihtimal ekran kartı olmayan bir kart alarak başlayacaksınız.
Ağ işlemleri için tasarlanmış kartlarda genelde 1 veya iki tane serial konsol olur;

# dmesg |grep -i tty
[    0.000000] console [tty0] enabled
[    1.707576] 00:07: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    1.728486] 00:08: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A


Her iki seri konsolda terminal çalıştırmak için grub2-editenv ile "console=ttyS0,115200 console=ttyS1,115200 " parametersini eklememiz gerekiyor.
115200 değeri, serial adaptorun tipine gore değisebilir.

# grub2-editenv - set "kernelopts=root=/dev/mapper/rhel-root ro crashkernel=auto resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap console=ttyS0,115200 console=ttyS1,115200  console=tty0 "

# grub2-editenv - list | grep kernelopts
kernelopts=root=/dev/mapper/rhel-root ro crashkernel=auto resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap console=ttyS0,115200 console=ttyS1,115200  console=tty0 

Hiç yorum yok:

Yorum Gönder

Ansible automation platform kurarken dikkat edilmesi gereken noktalar

 1. iç ortamamınızda kullanılacak aap için yerel sertifikalar üretilmeli. Aşağıdaki script kullanılabilir. https://github.com/linuxliste/ara...