[ale] telneting via the com ports.

CTech ctech at alabama.dyn.ml.org
Tue May 19 16:48:24 EDT 1998


On Tue, 19 May 1998, Mofid Francis wrote:

> I am not sure if this question was asked before, I have redhat 4.0 kernel
> 2.0.13 running.  I want to be able to connect this box through com port 1
> (/dev/ttyS0).  how do i start a login process that will run on com port 1.  
> I did a "ps -uax" and no gpm on com 1(mouse).  
> 
> Also the com port 1 is 9 pins so can I make a cable, if so any info would
> help. 

Yes, it is possible to MAKE a cable, but the easiest way to do this, is
simply purchase what is known as a NULL modem adapter which will simply
plug into the end of a standard serial cable.  I do not have the specs for
it, but the basic setup for a NULL modem cable is as follows:

DTR -> DTS *
DTS -> DTR *
TX  -> RX
RX  -> TX
GND -> GND

* Assumes hardware handshaking

Also, to get your system to recognize the serial port as being another
terminal, simply add the following line to /etc/inittab:

T0:23:respawn:/sbin/getty -L ttyS0 19200 ansi

(note:  above line assumes COM1:  if you are using another comport, you
would change the number following the 'T' and the 'S' to the correct
comport identifier)

Hope this information helps.

+----------------------------+
|                            |
|           CTech            |
|                            |
|  ctech at alabama.dyn.ml.org  |
|                            |
+----------------------------+






More information about the Ale mailing list