    <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
     <channel>
        <title>Linux.com :: Serial port connection?</title>
        <link>http://www.linux.com/archive/forums/topic/137</link>
        <description>Everything Linux and Open Source</description>
        <dc:language>en-us</dc:language> 
        <dc:creator>Linux.com Admin</dc:creator> 
        <admin:generatorAgent rdf:resource="http://www.linux.com" /> 
        <admin:errorReportsTo rdf:resource="mailto:noreply@linux.com" />
       <sy:updatePeriod>hourly</sy:updatePeriod>
       <sy:updateFrequency>1</sy:updateFrequency>
       <docs>http://backend.userland.com/rss</docs>



<div class="xarbb-noteswrapper">
</div>

   <div class="xarbb-noteswrapper">
       <div class="xar-sub rightnote">
           <div>
                    <a href="http://www.linux.com/archive/forums/topic/56">
Previous Topic</a>
|
                    <a href="http://www.linux.com/archive/forums/topic/494">
Next Topic</a>
</div>

           <div>
                    <a href="http://www.linux.com/archive/forums/printtopic/137?theme=print">
Print this topic</a> |
You are not subscribed            </div>
        </div>
        <div style="clear: both;"></div>
    </div>

    <h1>
        <a class="xar-title" href="http://www.linux.com/archive/forums/topic/137">Serial port connection?</a>
   </h1>


   <div class="xarbb-topiccontrols">
<form action="http://www.linux.com/archive/forums?func=jump" method="post">
   <label for="xarbb_jump_menu">Forum Jump</label>
    <select name="f" id="xarbb_jump_menu" onchange="this.form.submit();">
        <optgroup label="Options">
            <option value="6" selected="selected">
Please select forum            </option>
            <option value="6">--------------------</option>
        </optgroup>
        <optgroup label="Forums">
                <option value="1">New to Linux</option>
                <option value="2">Hardware</option>
                <option value="3">Linux Distributions</option>
                <option value="4">Applications</option>
                <option value="5">Programming and Development</option>
                <option value="6">Miscellaneous Discussion</option>
                <option value="7">Linux.com Writers Forum</option>
                <option value="8">Jobs</option>
        </optgroup>
    </select>
    <input type="submit" class="button" value="Jump" />
</form>
<div style="clear: both;"></div>
   </div>

   <div class="xarbb-topiccontrols">

<span class="xar-sub">
    <a href="http://www.linux.com/archive/forums">
Forum Index    </a>
    <span style="font-size: larger;">&#187;</span>
    <a href="http://www.linux.com/archive/forums/category/4181">
        Forums 
    </a>
    <span style="font-size: larger;">&#187;</span>
    <a href="http://www.linux.com/archive/forums/forum/6">
        Miscellaneous Discussion   </a>
</span>
<div style="clear: both;"></div>
   </div>

<div class="xarbb-tablewrapper">



   <table>
       <tr>
           <th scope="col">
Author</th>
           <th scope="col">
Message</th>
       </tr>



            <tr>
                <td class="xar-norm author">
                    <div>
                        <a href="http://www.linux.com/archive/roles/388042">JS</a>
                   </div>
                   <div class="xar-sub">
Joined: Aug 27, 2007<br/>Posts: 1                        <br />
                        <a href="http://www.linux.com/archive/forums?by=388042&amp;func=searchtopics">
Other Topics</a>
                   </div>
               </td>

               <td class="xar-norm message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted Aug 27, 2007 at 8:01:52 AM</span>
                       </div>



<div style="float: left;">
                           <strong class="xar-sub">
Subject: Serial port connection?                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div>
                        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</div>

                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/137#top">
Back to top</a>
</td>
               <td class="xar-alt">

                        <a href="http://www.linux.com/archive/roles/388042">
                            <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                        </a>
                        <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=388042">
                            <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                       </a>
                            <a href="http://">
                                <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                           </a>
</td>
           </tr>





           <tr>
               <td class="xar-norm author">
                   <strong>

                            <a href="http://www.linux.com/archive/roles/386930">
                                linuxdynasty                           </a>
</strong>

                   <span class="xar-sub">
<br />
Joined Aug 07, 2007<br/>Posts: 47<br />
                        <br />
                        <a href="http://www.linux.com/archive/forums?by=386930&amp;func=searchtopics">
Other Topics                        </a>
                    </span>
                </td>

                <td class="xar-accent message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted:
                                Aug 29, 2007 3:59:49 PM                           </span>
                       </div>
                       <div class="rightnote">
</div>
                       <div style="float:left;">
                           <strong class="xar-sub">
Subject:
                                <a name="1164595" href="http://www.linux.com/archive/forums/topic/137#1164595">
                                    Re:  Re:  Serial port connection?                                </a>
                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div style="clear: left;">
                        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]
                    </div>
                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/137#top">
Back to top</a>
</td>

               <td class="xar-alt">

                            <a href="http://www.linux.com/archive/roles/386930">
                                <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                            </a>
                            <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=386930">
                                <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                           </a>
                                <a href="http://www.linuxdynasty.org">
                                    <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                               </a>
</td>
           </tr>

           <tr>
               <td class="xar-norm author">
                   <strong>

                            <a href="http://www.linux.com/archive/roles/394015">
                                edcpartners                           </a>
</strong>

                   <span class="xar-sub">
<br />
Joined Dec 08, 2007<br/>Posts: 12<br />
                        <br />
                        <a href="http://www.linux.com/archive/forums?by=394015&amp;func=searchtopics">
Other Topics                        </a>
                    </span>
                </td>

                <td class="xar-norm message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted:
                                Dec 16, 2007 10:01:28 AM                           </span>
                       </div>
                       <div class="rightnote">
</div>
                       <div style="float:left;">
                           <strong class="xar-sub">
Subject:
                                <a name="1174963" href="http://www.linux.com/archive/forums/topic/137#1174963">
                                    Re:  Re:  Serial port connection?                                </a>
                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div style="clear: left;">
                        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]
<p class="hiddensignature">
<a href="http://webhosting.reviewitonline.net/">web hosting provider</a>
<a href="http://webhosting.reviewitonline.net/">affordable web hosting</a>
<a href="http://suv.reviewitonline.net/">best suv</a>
<a href="http://www.besttruckratings.com/">best truck</a>
<a href="http://www.ericssonphone.net/">ericsson phone</a>
<a href="http://www.buypcgamesonline.net/">buy pc games online</a></p>
                    </div>
                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/137#top">
Back to top</a>
</td>

               <td class="xar-alt">

                            <a href="http://www.linux.com/archive/roles/394015">
                                <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                            </a>
                            <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=394015">
                                <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                           </a>
                                <a href="http://webhosting.reviewitonline.net">
                                    <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                               </a>
</td>
           </tr>

           <tr>
               <td class="xar-norm author">
                   <strong>

                            <a href="http://www.linux.com/archive/roles/399680">
                                                           </a>
</strong>

                   <span class="xar-sub">
<br />
Joined Nov 26, 2009<br/>Posts: 241<br />
                        <br />
                        <a href="http://www.linux.com/archive/forums?by=399680&amp;func=searchtopics">
Other Topics                        </a>
                    </span>
                </td>

                <td class="xar-accent message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted:
                                Mar 18, 2008 11:00:20 PM                           </span>
                       </div>
                       <div class="rightnote">
</div>
                       <div style="float:left;">
                           <strong class="xar-sub">
Subject:
                                <a name="1185331" href="http://www.linux.com/archive/forums/topic/137#1185331">
                                    Serial port connection?                                </a>
                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div style="clear: left;">
                        thanks for all                    </div>
                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/137#top">
Back to top</a>
</td>

               <td class="xar-alt">

                            <a href="http://www.linux.com/archive/roles/399680">
                                <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                            </a>
                            <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=399680">
                                <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                           </a>
</td>
           </tr>
</table>
</div>

<div class="xarbb-topiccontrols">

<span class="xar-sub">
    <a href="http://www.linux.com/archive/forums">
Forum Index    </a>
    <span style="font-size: larger;">&#187;</span>
    <a href="http://www.linux.com/archive/forums/category/4181">
        Forums 
    </a>
    <span style="font-size: larger;">&#187;</span>
    <a href="http://www.linux.com/archive/forums/forum/6">
        Miscellaneous Discussion   </a>
</span>

</div>



            </channel>
</rss>
