Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Has anyone ever got a serial console working in fedora 14 ?

Is it as simple as adding to grub:

serial --unit=0 --speed=38400

terminal --timeout=10 serial console

and add to the kernel lines: console=tty0 console=ttyS0,38400

If so, this isn't working for me. I have agetty installed, and I'm using minicom. The /etc/init/serial.conf file suggests it should pick up the kernel lines and begin working, but i get just nothing.

Currently getting no joy from any of this after 2 days. Does anyone know a method that definitely works on fedora 14 ? (no /etc/event.d/ needed or such)

Client side I'm using a null modem cable and usb-serial adaptor.

share|improve this question
    
even when i manually run /sbin/agetty -L -i 38400 ttyS0 vt102, still nothing –  lamba2 Dec 23 '10 at 17:19
    
Im having similar problems however /sbin/agetty -L 9600 ttyS0 vt102 works for me i removed the -i and changed 38400 to 9600 and the last vt102 to vt100....... However when i put it into inittab this line s0:123456:respawn:/sbin/agetty -L 9600 ttyS0 vt100 i get nothing :( –  Sparky Apr 9 '11 at 13:00
    
Run the command ps aux |grep tty. If the Kernel, /boot/grub/grub.conf and /etc/init/serial.conf are configured correctly, then you will see a line like /sbin/agetty /dev/ttyS0 .... –  Stefan Lasiewski Jan 6 '12 at 1:47

2 Answers 2

The terminal line may cause issues, as it'll try pumping grub to the serial interface and grub in fedora 14 uses a splashimage. If the machine is headless you'll need that turned off anyhow to boot without the gfx card also.

Try disabling the terminal line, and try running minicom on both ends of the connection initially to check connectivity.

share|improve this answer

Im not sure about the grub load and serial but i managed to get the getty or the login part working through serial on fedora 13

Create a file in /etc/init called serial-ttySx.conf Where x is the serial port Number

and in this file add this

#This service maintains a getty on /dev/ttyS0.

start on stopped rc RUNLEVEL=[2345]
stop on starting runlevel [016]

respawn
exec /sbin/agetty /dev/ttyS0 9600 vt100-nav
share|improve this answer
    
Normally, this shouldn't be needed if you have the appropriate kernel... console=ttyX setting in grub.conf. The Upstart file at /etc/init/serial.conf should do everything needed to automatically start the serial console for the primary console (the last console on the commandline in grub). –  Stefan Lasiewski Jan 6 '12 at 1:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.