Direct network between computers over phone line

0

I have two computers with modems, that are far from each other (different locations), and do not have internet acsess. I have hyperterminal, and so how would I connect the 2 machines together (with phone lines)? Could you send TCP traffic? Share an internet connection if one machine has one? How?

Logern

Posted 2014-11-02T01:49:52.383

Reputation: 442

FYI: This would be painfully slow even at 56k is 4.5kb/s.(If your lucky). – cybernard – 2014-11-02T06:00:52.877

56k = 7000 bits = about 7k less overhead and ignoring compression. Of-course you can't get 56k because this requires special hardware and an ISDN connection on the server side, and even then In years of running an ISP I only saw a tiny handful of 56k connections. 42-50k were, from memory, typical. I 100% agree that it would be painfully (I'd say excruciatingly) slow. – davidgo – 2014-11-02T06:14:00.010

Answers

2

You can't create (what you would think of) as an Internet connection using Hyperterminal, although you can get 2 computers to communicate over it - and this is probably the simplest way of communicating between 2 systems, but does not do an aweful lot unless you have additional software and/or someone on the other end. [ This is how "BBS's" used to work in the Pre-Internet and early Internet days]

You should be aware that when you make this connection the maximum speed will be no greater then 33.6kbit - and probably slower. If your provider uses VOIP for delivering the calls it will probably not work. (Even if your modems are 56k, you can't get get 56k unless one side uses special hardware and ISDN lines ].

In order to connect these systems to the Internet, we need to break the problem in 2 - The client (which is relatively easy) and the server (which is hard). On the client side you can use PPP dialup software which comes with Windows.

The server side is hard. You need a setup which while allow you to dial in to it and then you need to set up routing (and NAT). This can be done under Linux (and for low volume servers at the start of the Internet usually was). Here is one link I found on it. That said, unless you are an Linux expert it probably falls way into the 'too hard' basket. Note that this will just connect the 2 machines using the Internet protocol. You additionally need to set up NAT to route the Internet. An alternative to this would be to find a router which handles PPP. You may be able to find some ancient CISCO gear which can do it, for example this.

To answer the question about streaming video and implied question of real-world speed - this won't work. The speed you will get will be about 3kbyte per second, so a typical 1 megabyte page will take 5 minutes to load. This connection is really only good for the most basic Internet experience - pretty much email and text only-browsing and Instant messaging.

davidgo

Posted 2014-11-02T01:49:52.383

Reputation: 49 152

I don't care about speed, – Logern – 2014-11-02T12:56:48.173

How would you create a connection with hyperterminal? – Logern – 2014-11-02T12:59:56.480

Have a look at https://support2.microsoft.com/kb/142899 - Basically, on the server side, load Hyperterminal or equivalent and type "AT&F&C1&D2<enter>" to initialise modem, then "ATS0=1<enter>" to tell the modem to automatically answer. On the client side, load Hyperterminal or equivalent and type "AT&F&C1&D2<enter>", then atdt "phonenumber" to dial the remote side. This will, after some old-school noises a bit similar to a fax machine and a few seconds create a connection. What you type on 1 side is then displayed on the other. (You can send and receive files as well)

– davidgo – 2014-11-02T17:20:19.317

Does the phone number need to be in quotes, and do you need the ampersands? – Logern – 2014-11-02T21:55:16.640

You definitely need the & characters and the phone number should NOT be in quotes. – davidgo – 2014-11-03T01:29:22.827

1

This can be done! In fact it was once the standard way to get a Linux box on-line around 1996 or so... The server computer, connected to the internet requires Linux, though it probably helps if both computers run Linux. You'll open the modem session from your client to the internet-connected server, then open a ppp connection through that shell session.

On the Server, you must install Slirp: the PPP/SLIP-on-terminal emulator. This software supports PPP and Serial Line IP encapsulation through a terminal session. The client computer needs ppp and chap. There are tutorials on the internet here and at LinuxJournal the cover the details of the slirp install, ppp config, routing, and even AT-commands.

glallen

Posted 2014-11-02T01:49:52.383

Reputation: 1 886

Can you stream movies over this? :-) – fixer1234 – 2014-11-02T02:32:35.720

1The first sentence is (roughly) correct, but the rest of it needs some revision. (Server does not need to be linux, you don't need (and should not use Slirp, as there are better ways of doing it - SLIP was deprecated - pppd is a much better way of doing things. Likewise, you can use PAP, you don't need chap ). – davidgo – 2014-11-02T05:52:44.360

How would you connect to the PPP? – Logern – 2014-11-02T13:01:20.383

I see (just read the link from your answer.) Yeah, last time I did this was with a Linux box connecting to a Solaris server in 1995. I guess Windows server w/ routing and remote access would work also, and setup either windows or linux with ppp dialin. – glallen – 2014-11-02T13:35:56.097

Can you run pppd over this? Do you need to manually use AT commands? – Logern – 2014-11-20T01:56:46.690