Discussion Locked

Null-modem

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How do I connect two computers using Null-modem? Independent of OS.

5 replies

by dan

Hi Johan

I'm thinking of async serial communication when reading you question - Right?

Null-modem is a blackbox or a X (cross) cable with connectores of the type DB9(9pin), DB25(25pin) ,RJ11(phone) or RJ45. I'll refere to the DB25 connector. The cable or box is used to eliminate modems which operates as DCE (Tx on pin 3) in connection with a PC, which operate as DTE (Tx on pin 2). Thats to much talk all ready:
Connections:

PC1-DB25: PC-DB25:
(DTE) (DTE)
pin 2 - pin 3 (Rx)
pin 3 - pin 2 (Tx)
pin 7 - pin 7 (Gnd)

PC power or aktiv indicator add:
(DTR - DSR status)
pin 6 - pin 20
pin 20 - pin 6

with software handshake maby add:
(XOFF - XON signaling)
pin 4 pin 4 | |
pin 5 pin 5

with hardware handshake add:
(CTS - RTS signaling)
pin 4 - pin 5
pin 5 - pin 4

Thats all - Dan=
PS: Remember on a DB9 connector Tx is pin 3, Rx is pin 2, and Gnd is pin 5.

by mckaytech

The answer already offered was an excellent and detailed description of the hardware. On the software side, you really can't connect two computers "independent of OS" because it's the OS that drives the serial ports and supplies the stream of information.

If you're talking about just transferring files, you'll still need some sort of hand-shaking software to mediate the transfer. Several remote access products (e.g. pcAnywhere) can handle that function across a serial null modem connection. Or if you're talking about doing a telnet session from one computer to another, that would work across a null-modem connection as well.

paul

This discussion is closed to new replies.