eWebtricity
12-14-2005, 11:33 AM
Thanks to Kiehlster for this one, submitted on 12/14/05
I'm curious if anyone else has been having trouble with their serial console not working. If you're not familiar with the serial console, check out your server data in your 1and1 control panel and you'll find the login information for that. You should be able to ssh to sercon with your credentials and then press enter to receive a login prompt. If you're nervous about running stuff by accident, send a ctrl+L to make sure you're not already logged in.
If you can't do this, you probably are in the situation I had at first. I only discovered what the problem really was when I reconfigured lilo and it returned a "unsupported baud rate" message when I did so. If you end up with such luck, I believe I have a solution. I was able to fix my serial console by lowering the baud rate from the initial 1and1 default (57600) to 38400.
You will find the serial console settings in your /etc/lilo.conf file. You should be able to easily find the baud rate value in the couple append strings which looks much like this: append="console=ttyS0,57600 console=tty0 panic=30"
Simply change 57600 to 38400, run lilo from your shell. lilo should complain if the baud rate is unsupported. If it isn't supported, then try lowering it to something like 28800 or 14400. As a reference, this is what my configuration looks like:
serial=0,38400
boot=/dev/sda
root=/dev/sda1
install=/boot/boot.b
vga=normal
timeout=60
prompt
lba32
read-only
default=lxser
append="console=ttyS0,38400 console=tty0 panic=30"
image=/boot/vmlinuz
label=lxser
append="console=tty0 console=ttyS0,38400 panic=30"
image=/boot/vmlinuz
label=lx
image=/boot/vmlinuz.old
optional
label=lxserold
append="console=tty0 console=ttyS0,38400 panic=30"
image=/boot/vmlinuz.old
optional
label=lxold Let me know if this is helpful. I spent a few minutes the other day trying to figure out why my console didn't work, and when I compiled a new kernel for other reasons, the message popped up, so I looked around for a little and got the console working.
I'm curious if anyone else has been having trouble with their serial console not working. If you're not familiar with the serial console, check out your server data in your 1and1 control panel and you'll find the login information for that. You should be able to ssh to sercon with your credentials and then press enter to receive a login prompt. If you're nervous about running stuff by accident, send a ctrl+L to make sure you're not already logged in.
If you can't do this, you probably are in the situation I had at first. I only discovered what the problem really was when I reconfigured lilo and it returned a "unsupported baud rate" message when I did so. If you end up with such luck, I believe I have a solution. I was able to fix my serial console by lowering the baud rate from the initial 1and1 default (57600) to 38400.
You will find the serial console settings in your /etc/lilo.conf file. You should be able to easily find the baud rate value in the couple append strings which looks much like this: append="console=ttyS0,57600 console=tty0 panic=30"
Simply change 57600 to 38400, run lilo from your shell. lilo should complain if the baud rate is unsupported. If it isn't supported, then try lowering it to something like 28800 or 14400. As a reference, this is what my configuration looks like:
serial=0,38400
boot=/dev/sda
root=/dev/sda1
install=/boot/boot.b
vga=normal
timeout=60
prompt
lba32
read-only
default=lxser
append="console=ttyS0,38400 console=tty0 panic=30"
image=/boot/vmlinuz
label=lxser
append="console=tty0 console=ttyS0,38400 panic=30"
image=/boot/vmlinuz
label=lx
image=/boot/vmlinuz.old
optional
label=lxserold
append="console=tty0 console=ttyS0,38400 panic=30"
image=/boot/vmlinuz.old
optional
label=lxold Let me know if this is helpful. I spent a few minutes the other day trying to figure out why my console didn't work, and when I compiled a new kernel for other reasons, the message popped up, so I looked around for a little and got the console working.