Re: [SLUG] Null modem and phone cord

From: Eben King (eben1@tampabay.rr.com)
Date: Sat Sep 18 2004 - 00:40:08 EDT


On Sat, 18 Sep 2004, Robert Foxworth wrote:

> > So here I am, trying to get my mac to output to serial (through the
> > modem) to my pc (through its modem)...using a regular phone cord. I
> > don't have a null modem cable, besides, I've got two different kinds
> of
> > hardware...they don't have the same type of connectors, though they do
> > share the modems and phone cord...
> >
> > Both are running debian, and I know that I'm talking to the modem on
> > each machine, but I can't get the one to output to the other. Or if it
> > is, I can't tell...
> >
> > I'd like to know if it's possible to use a regular phone cord to have
> > one pc output to serial to another pc. Can anyone help!
>
> It sounds like you are trying to get the Mac to talk to the PC via
> the serial ports.

Either log in, or transfer files are my guesses.

> If these computers were running terminal programs, they should link
> directly through the serial ports, assuming those ports were connected
> through a null modem cable,

I think he said he doesn't have one.

> (the Mac may not use this type of connector, either, I am not sure.
> Sounds like that is your case).

Mini-DIN something. Round, similar to a PS/2 port.

> If you get modems involved, then the Com ports talk to the
> serial interface on each modem (assuming they are external
> modems; if they are internal, then no serial lines are even
> involved). The modems would talk to each other through a phone
> cord, which can have just 2 wires, and in that case one modem
> has to be able to be told to "dial" the other.

Would this work without a phone line involved?

> A "regular phone cord" won't work for serial data whenever
> hardware handshaking (RTS-CTS) is needed. It MAY be made
> to work if TD and RD are the only pins you need to send across
> (pins 2 and 3) and software handshaking (XON-XOFF, or, ctrl-Q
> and ctrl-S) are embedded in the data stream, which obviously
> won't work for binary data).

You just escape some characters, similar to how you do SLIP with XON/XOFF
flow control. Not "plug-n-chug" anymore, but hey...

Or uuencode everything...

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar

Hi! I'm a .sig virus! Copy me to your .sig!

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:49:19 EDT