From a6b7619bab60277309da1c2ba1a77708798caebb Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Tue, 17 Jan 2012 20:29:36 +0100 Subject: [PATCH] serial console: set baudrate to 115200. --- config/grub/grub.conf | 4 ++-- config/rootfiles/core/56/update.sh | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config/grub/grub.conf b/config/grub/grub.conf index d71e0c6f6..553b10d42 100644 --- a/config/grub/grub.conf +++ b/config/grub/grub.conf @@ -5,9 +5,9 @@ background = ffffff #hiddenmenu # *** If you want use serial console comment next line splashimage (hd0,0)/grub/ipfire.xpm.gz -# *** add "console=ttyS0,38400n8" to kernel cmdline, +# *** add "console=ttyS0,115200n8" to kernel cmdline, # *** uncomment following lines and check also inittab -#serial --unit=0 --speed=38400 +#serial --unit=0 --speed=115200 #terminal --timeout=1 serial console title IPFire root (hd0,0) diff --git a/config/rootfiles/core/56/update.sh b/config/rootfiles/core/56/update.sh index 48ba06662..0b3845cc1 100644 --- a/config/rootfiles/core/56/update.sh +++ b/config/rootfiles/core/56/update.sh @@ -39,6 +39,11 @@ done #Extract files extract_files +# +#Edit baudrate in grub.conf and inittab +sed -i -e "s|38400|115200|g" /boot/grub/grub.conf +sed -i -e "s|38400|115200|g" /etc/inittab + # #Start services -- 2.39.2