Re: Issue on connect 2 modems with a single phone line

From: Steve Bromwich
Date: Thu Dec 16 2004 - 09:03:00 EST


On Wed, 15 Dec 2004, Park Lee wrote:

> Hi,
> I want to try serial console in order to see the
> complete Linux kernel oops.
> I have 2 computers, one is a PC, and the other is a
> Laptop. Unfortunately,my Laptop doesn't have a serial
> port on it. But then, the each machine has a internal
> serial modem respectively.
> Then, can I use a telephone line to directly connect
> the two machines via their internal modems (i.e. One
> end of the telephone line is plugged into The PC's
> modem, and the other end is plugged into The Laptop's
> modem directly), and let them do the same function as
> two serial ports and a null modem can do? If it is,
> How to achieve that?

Hi,

This used to come up every now and then on the UK USR HST Fidonet echo.
You can do this back to back with a crossover phone cable with some
modems. Other modems require a circuit with a battery inline and resistors
(see http://www.repairfaq.org/ELE/F_ASCII_Schem_Tel.html#ASCIISCHEMTEL_010
for an example of the sort of thing you'd need, but I'd imagine you'll
need to change it for your local standards). You will need to set up your
modem on your laptop to auto-answer and save to NVRAM (usually ATS0=1&W),
and also disable DTR detection and again save to NVRAM (usually AT&D0&W).
On the other end you'll need to disable dial tone detection (usually ATX3)
and then dial a dummy number (ATDT0).

As was already noted, if the modem in the laptop is a softmodem you won't
be able to do this.

Cheers, Steve
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/