Linux.com

Author Message
JS
Joined: Aug 27, 2007
Posts: 1
Other Topics
Posted Aug 27, 2007 at 8:01:52 AM
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
Back to top Profile Email Website
linuxdynasty
Joined Aug 07, 2007
Posts: 47

Other Topics
Posted: Aug 29, 2007 3:59:49 PM
Subject: 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]
Back to top Profile Email Website
edcpartners
Joined Dec 08, 2007
Posts: 12

Other Topics
Posted: Dec 16, 2007 10:01:28 AM
Subject: 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]

web hosting provider affordable web hosting best suv best truck ericsson phone buy pc games online

Back to top Profile Email Website

Joined Nov 23, 2009
Posts: 241

Other Topics
Posted: Mar 18, 2008 11:00:20 PM
Subject: Serial port connection?
thanks for all
Back to top Profile Email
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya