Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

connect 2 computers with 2 modems, how? 1

Status
Not open for further replies.

shopfit

ISP
Sep 14, 2002
2
0
0
LT
how can you use 56k modems insted of nic. could anyone assist on the wiring together of such items if it can be done.

thank you
 
yes please shopfit, i would also like to know, im sure youll need some sort of power supply inbetween. ill keep a eye as i am also on the look out.
 
I'm not sure i follow. Maybe you could get more specific about what exactly do you want to do?

My guess is that you want to connect 2 PCs with each other using Back2Back MODEM connection !!!

If that's the case then you should know that this kind of connection is possible only with some surgery in the RS232C connectors (Short-out some pins). If you're not a technician then you should find another way to do that.

If you're a technician and have a good knowledge on RS232 structure, i could gather up some informations i have and send it back to you ...

* If you want to connect the PCs thru a phone line that's not a problem for you (Sinse your category is ISP !!!).

Let me know ....
Random is what we can't see
Devine is what we can't understand
and If 1=2 then I'm the pope
 
In order to connect two modems you'll need two phone lines.
There is a way to do it without two phone lines but it involves some scripting.
The other option is to remove the modems and connect the two ports with "null modem" cable.
 
Null MODEM is acceptable but it has some flaws and some irritating characterisitics.

1. It doesn't support communication over 15m of cable (12m is my standard).

2. You will have to get the first computer a HOST and the other as CLIENT (This means that only 1 can have TRUE access to the other computer).

3. You cannot make this permanent (you will have to do this over and over again every single time you reboot 1 of the computers)

4. If the connection fails you will probably have to reboot both computer because windows will keep seeing the COM ports as occupied.

5. The speed is VERY-VERY-VERY low.

6. Null MODEM doesn't support any kind of data compresion or other useful protocols.

7. You will slave one of your COM ports for a job that can be done with a MODEM thus giving you a lot more flexibility and potential.


ARISTON Engineering Ltd
Michael Vezyrgianopoulos
R&D Manager
 
Depending on what OS you are using, it is possible to network two computers with modems and nothing else, but it is not trivial, not very user friendly (connection setup is completely manual and drops every time one of the computers is rebooted) and it is VERY slow.

Basically, you need to set the two machines up for a PPP connection. Contrary to popular belief, PPP is actually a peer-to-peer protocol, not a client server protocol, but because we typically only authenticate in one direction, the computer that answers the telephone call is often referred to as a PPP server, while the one that places the call is referred to as a PPP client. It doesn't help that Windows actually separated the outgoing and incoming PPP processes into two separate applications (Dial Up Networking and Remote Access Server).

If you have Linux on the two computers, there is a great primer on PPP that goes through manually setting a connection up using minicom and starting the PPP daemon. You can set up the two modems back to back, type ATD on one and then ATA on the other and they will establish a connection. After the connection is established, then you can exit minicom (making sure that you do not drop DTR and terminate the connection). You can then start the pppd and the machines will authenticate in whatever manner you have configured them for (mutual authentication, one-way authentication, or no authentication).

If you are running Windows on both computers (and I have to assume that you are) then you will have to establish the connection manually as well. It is a little trickier under Windows because you do not have dialtone, nor ring voltage to force an answer. To solve the dialtone problem, you can bring up a terminal window prior to dialing and issue the X1 command (ignore call progress tones), or you can change the dial string to something like ATX1DT. You can then enter any telephone number into the dialup networking dialog box and the modem will go off hook, and then dial the number completely in the blind.

The issue with Windows comes with RAS. I don't know of any way to get RAS to respond manually. Somehow, you have to convince the modem to enter answer mode (ATA).

If this is over a distance, and you are going to be using modems and phone lines, then it really is not a problem at all. You can also purchase a relativley inexpensive Telephone Line Simulator that gives you dial tone and ring voltage.

Don't forget though, since you have an analog modem on each end, you can only achieve V.34 modem speeds (33.6K max).

pansophic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top