Re: Serial cable pinout??

1996-12-21 Thread Hamish Moffatt
 On Thu, 19 Dec 1996, David Puryear wrote:
  I'm trying to connect two computer with serial cable but I couldn't find
  the cable long enough. So I went to electronic store and bought cable
  without plugs and plugs. I ask them which wire went where, but they had
  no idea.:( I think I saw a posting of this somewhere, but have no idea

 One solution is to simply make your cable with the one-to-one mapping of
 pins and simply buy a null modem adapter to swap the pins.  If you want to
 hard wire the change into your cable, I've got a null modem that I've
 opened up here.  It looks like pins 2 and 3 have been interconnected. 
 Pins 4 and 5 on a given connector are tied together, and go to pin 8 on
 the opposite connector.  Pin 6 is tied to pin 20.  I would try to verify
 this with someone else though just to be sure.

Hmmm. This would probably work, but I wouldn't recommend it for
terminal use; I think it's the sort used for a laplink serial cable.
Pins 2  3 are TX and RX respectively, so they must be swapped.
4  5 are RTS and CTS flow control, 8 is DCD off the top of my head.
So turning on RTS turns on CTS and DCD. Pin 6 is DSR, 20 is DTR.

The problem with this is that if you're using RTS/CTS flow control,
when RTS gets dropped, so does DCD, and your getty will log you out.
I think DTR/DSR flow control would work, but this is a bit
more unusual.

I recommend the following;
2 - 3, 3 - 2: TX to RX, RX to TX
4 - 5, 5 - 4: RTS to CTS, CTS to RTS
6, 8 - 20, 20 - 6, 8: DTR to both DSR (data set ready) and DCD.
7 - 7; ground.

I've used this for a terminal connection with Linux and it works
fine. I believe it works with Laplink-type programs too.


hamish


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Serial cable pinout??

1996-12-20 Thread Daniel Stringfield
On Thu, 19 Dec 1996, Wayde Allen wrote:

 On Thu, 19 Dec 1996, David Puryear wrote:
 
[snip]

[snip] 

Transmit and recieve are the main pins that are important.  

2 and 3 are Transmit and receive.  Switch those two, and run your ground
straight through.

Only need 3 wires going through the line to make it work.  
--
  Daniel Stringfield  
   mailto:[EMAIL PROTECTED] http://www.jax-inter.net/users/servo
Send email for more information on the Jacksonville Linux Users Group!


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Serial cable pinout??

1996-12-20 Thread A. Paul Heely Jr.


On Thu, 19 Dec 1996, David Puryear wrote:

 Hi All,
 
 I'm trying to connect two computer with serial cable but I couldn't find
 the cable long enough. So I went to electronic store and bought cable
 without plugs and plugs. I ask them which wire went where, but they had
 no idea.:( I think I saw a posting of this somewhere, but have no idea
 as where. So I'm sorry if this is wrong place, but I don't know where to
 ask this. I asked all the computer stores around here and they don't
 know it either. One of them did say 2 and 3 are reversed, but didn't
 know anymore details. Does any one know the pinout of 9 pin serial
 cable?
 
 Thanks in advance,
 David
 
You can find the pinouts in the Serial-HOWTO.  If you don't have or can't
find this let me know and I will mail it to you.

A. Paul



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Serial cable pinout??

1996-12-19 Thread David Puryear
Hi All,

I'm trying to connect two computer with serial cable but I couldn't find
the cable long enough. So I went to electronic store and bought cable
without plugs and plugs. I ask them which wire went where, but they had
no idea.:( I think I saw a posting of this somewhere, but have no idea
as where. So I'm sorry if this is wrong place, but I don't know where to
ask this. I asked all the computer stores around here and they don't
know it either. One of them did say 2 and 3 are reversed, but didn't
know anymore details. Does any one know the pinout of 9 pin serial
cable?

Thanks in advance,
David


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Serial cable pinout??

1996-12-19 Thread Vatiainen Heikki
The Linux Serial HOWTO tells about null modem cables. There are instructions 
for both minimum and full handshake cables with the pinouts for both the 9 and 
25 pin connectors.

The URL straight to the section that tells about null modem cables is 
http://sunsite.unc.edu/LDP/HOWTO/Serial-HOWTO-8.html

// Heikki



--
This message was delayed because the list mail delivery agent was down.


Re: Serial cable pinout??

1996-12-19 Thread Sebastian Kuzminsky
David Puryear [EMAIL PROTECTED] wrote:
]   Does any one know the pinout of 9 pin serial
] cable?

   This specific information is available at:

http://www.paranoia.com/~filipg/HTML/LINK/PORTS/F_The_Serial_Port2.html#THESERIALPORT_002


   The site is run by Fil, and he also has LOTS of other good info
available.  His site should be required reading for anyone who wants to
be a hacker.  You can go to his home page at:

http://www.paranoia.com/~filipg


   or straight to the technical info (Fil's FAQ-Link-In Corner):

http://www.paranoia.com/~filipg/HTML/LINK/LINK_IN.html




Sebastian Kuzminsky
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Serial cable pinout??

1996-12-19 Thread Wayde Allen
On Thu, 19 Dec 1996, David Puryear wrote:

 I'm trying to connect two computer with serial cable but I couldn't find
 the cable long enough. So I went to electronic store and bought cable
 without plugs and plugs. I ask them which wire went where, but they had
 no idea.:( I think I saw a posting of this somewhere, but have no idea
 as where. So I'm sorry if this is wrong place, but I don't know where to
 ask this. I asked all the computer stores around here and they don't
 know it either. One of them did say 2 and 3 are reversed, but didn't
 know anymore details. Does any one know the pinout of 9 pin serial
 cable?

The problem is that the RS232 serial line has two device types.  If I
remember this correctly:  Data Communication equipment (DCE) and Data
Terminal Equipment (DTE).  When connecting something like a computer and
modem together you don't interchange any of the wires.  Since the send pin
on one matches the recieve pin on the other.  The wires only need switched
when connecting two pieces of equipment of the same type together, which
it sounds like you are doing.

One solution is to simply make your cable with the one-to-one mapping of
pins and simply buy a null modem adapter to swap the pins.  If you want to
hard wire the change into your cable, I've got a null modem that I've
opened up here.  It looks like pins 2 and 3 have been interconnected. 
Pins 4 and 5 on a given connector are tied together, and go to pin 8 on
the opposite connector.  Pin 6 is tied to pin 20.  I would try to verify
this with someone else though just to be sure.

Hope it helps.

- Wayde Allen
  ([EMAIL PROTECTED]) 



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Serial cable pinout??

1996-12-19 Thread John Hasler
David Puryear writes:
 I'm trying to connect two computer with serial cable but I couldn't find
 the cable long enough. So I went to electronic store and bought cable
 without plugs and plugs. I ask them which wire went where, but they had
 no idea.

Wire up your cable straight through, and then go back to the store and buy
a null modem.

John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]