If you build your own cable anyway it's best if pin 20 is tied to the remote
pin 6 as well as 8 rather than pulling 6 high locally.
jepp

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, April 06, 2000 1:31 AM
> To:   [EMAIL PROTECTED]
> Cc:   [EMAIL PROTECTED]
> Subject:      Re: Can't getty!
> 
> 
> 
> On Wed, 5 Apr 2000, Brendan Miller wrote:
> 
> >
> > I have followed known HOWTOs and other examples elsewhere, and cannot
> > for the life of me configure getty, mgetty, or agetty to run a login
> > prompt on /dev/ttyS0 or /dev/ttyS1.  I have put the correct stuff in
> > /etc/inittab and /etc/gettydefs, but still nothing.
> >
> > I am trying to hyperterm over a NULL modem cable from a Windows 95
> > machine.  I know the Win95 machine serial configuration is good, as
> > well as the null modem cable, as I have used them for other things.
> >
> > Any help for troubleshooting a bogus getty?
> >
> > Brendan
> >
> Each *getty is a little different to configure, but if you have referred
> to the man page for the appropriate *getty and can't get any of the to
> work, I would be willing to bet you a nickel you aren't using a full
> null-modem cable.  Never mind that it works for other apps, if you don't
> take special care to configure the *getty, and perhaps also the serial
> port, to allow for missing modem status signals, it is not going to work
> for linux serial comms unless all the status/control lines are correctly
> crossed.  For instance, unless you specify CLOCAL in the termios,
> open() on a serial line will block (unless you set O_NONBLOCK) waiting
> for carrier detect to come up.  I think.  In any case, things work much
> better with a proper null-modem cable.  I have used agetty, slattach,
> and pppd (by turns, not all at once) without any trouble over a
> null-modem cable built as described in the null-modem micro-howto that
> follows.
> 
> If you want to see it online, visit http://nwonknu.org/micro-howtos
> 
> Lawson
> 
> *******************************><******************************
> null-modem micro-howto version 0.0.1 <[EMAIL PROTECTED]>
> 20 February 2000  Use, distribute or change at your own risk.
> 
> Do yourself a favor.  Make up a full null-modem cable.  You will be
> amazed how much better things work.  Here is a quote from an old
> NET-3-HOWTO on how to wire it (for a 25 pin setup.  Translate the pin
> numbers for 9 pin, but this is the way you want to cross the signal
> lines):
> 
>   7.1.  Serial NULL Modem cable
> 
>   Not all NULL modem cables are alike. Many null modem cables do little
>   more than trick your computer into thinking all the appropriate
>   signals are present and swap transmit and receive data. This is ok but
>   means that you must use software flow control (XON/XOFF) which is less
>   efficient than hardware flow control. The following cable provides the
>   best possible signalling between machines and allows you to use
>   hardware (RTS/CTS) flow control.
> 
>        Pin Name  Pin                               Pin
>        Tx Data    2  -----------------------------  3
>        Rx Data    3  -----------------------------  2
>        RTS        4  -----------------------------  5
>        CTS        5  -----------------------------  4
>        Ground     7  -----------------------------  7
>        DTR        20 -\---------------------------  8
>        DSR        6  -/
>        RLSD/DCD   8  ---------------------------/-  20
>                                                 \-  6
> 
> And here is my rather cryptic 9 pin to 25 pin map:
> 
> 
>    5 4 3 2 1   f         1  2  3  4  5  6  7  8  9  10  11  12  13  m
>     9 8 7 6               14 15 16 17 18 19 20 21 22  23  24  25
> 
> 1 rlsd=cd 8  2 rd 3  3 xd 2  4 dtr 20  5 gnd 7  6 dsr 6  7 rts 4  8 cts 5
> 9 ring   22   xcl 9  -xcl 11   rcl 18   -rcl 25
> 
> You might find the Serial-HOWTO helpful, too.
> 
> 
> 
> 
> ________________________________________________________________
> YOU'RE PAYING TOO MUCH FOR THE INTERNET!
> Juno now offers FREE Internet Access!
> Try it today - there's no risk!  For your FREE software, visit:
> http://dl.www.juno.com/get/tagj.
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-serial" in
> the body of a message to [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]

Reply via email to