Serial port connection?
Author Message
Posted : Mon, 27 August 2007 08:01:52
Subject : Serial port connection?
Hi, I have been trying to setup a headless server and a console client in linux via serial ports. With no success. I use Minicom and the null modem cable. The baud rate, parity, word size and stop bit are set as in the instruction. The dial and redial strings for the modem are blanked. The serial port settings on the remote client seems OK. The results of stty and setserial both showed that I have ttyS0 and ttyS1. However, [b]the login prompt would not show [/b]when I activate the Minicom. I could not get any input. I had tried to set the ttyS2 and ttyS3 to irq 0x0 to avoid irq conflict and also add the ttyS0 and ttyS1 in the securetty to authorize the login. But all are in vain. So it will be greatly appreciated if anybody have some experience on this issue or have suggestions. Thanks in advance. Regard, js
linuxdynasty
Posted : Wed, 29 August 2007 15:59:49
Subject : Re: Re: Serial port connection?
this is what I have and it works for me.. Let me know if it does not for you.. edit /etc/inittab co:2345:respawn:/sbin/agetty ttyS0 9600 vt100-nav then edit /boot/grub.conf add these 2 lines serial --unit=0 --speed=9600 terminal --timeout=5 serial console then in your kernel section append this to the end of the line console=tty0 console=ttyS0,9600n8 This is how mine looks title CentOS (2.6.9-55.0.2.EL) root (hd1,0) kernel /vmlinuz-2.6.9-55.0.2.EL ro root=/dev/VolGroup00/LogVol00 console=tty0 console=ttyS0,9600n8 initrd /initrd-2.6.9-55.0.2.EL.img now reboot, and it should work as it works on my fedora and centos box. FYI Some bios have the feature for console redirect as well Check out my site I added a tutorial for RedHat based systems and for Ubuntu Feisty 7.0.4 http://www.linuxdynasty.org/Serial_Console_Linux_Howto http://www.linuxdynasty.org Where IT pros come to share their knowledge. [Modified by: linuxdynasty on August 29, 2007 11:01 AM] [Modified by: linuxdynasty on August 29, 2007 01:19 PM]
edcpartners
Posted : Sun, 16 December 2007 10:01:28
Subject : Re: Re: Serial port connection?
Mine is set up like linuxdynasty's and works perfectly. Elad @[url=http://webhosting.reviewitonline.net]Web Hosting Provider[/url] [Modified by: edcpartners on January 06, 2008 09:04 AM]
Posted : Tue, 18 March 2008 23:00:20
Subject : Serial port connection?
thanks for all