LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   connecting 2 computer via phone modem (https://www.linuxquestions.org/questions/linux-newbie-8/connecting-2-computer-via-phone-modem-187500/)

DropSig 05-29-2004 09:16 PM

connecting 2 computer via phone modem
 
Good Morning !
Here is my situation:
I have Slackware 9.1 installed on a 3gig HD (Computer A)
I have another computer with a 4 gig HD (Computer B)
computer A is Compaq, Computer B is IBM
Computer A is out of space, computer B is empty (100%)
Computer A use a USB Cable modem for internet, and has a phone line modem
Computer B does not and will not go on the net and has a phone line modem
I want to connect A to B via line modem to use the ressource of B.
What is the minimum i need to install on B (Kde, X, etc..)
And i can i go about on makin the conection

dubya 05-30-2004 01:30 AM

Hey,

I don't know how to do it, but I tried to attempt something like this a little while ago only on Windows machines so I could get files off of one computer which has become obsolete and has no other way of connecting to a network with the hardware I have access to.

It would be greatly appreciated if anyone can help with the above problem and, if possible, how to configure the same connection on a computer running Windows 98. Thanks in advance.

DavidPhillips 05-31-2004 11:14 AM

Dialup networking requires both computers to have ppp enabled in the kernel and installed. One of the computers must dial the phone and the other must answer. Once the phone is answered ppp will take care of the connection and the computer that would be refered to as the server should be setup to share the internet connection with the computer that you would call the client. You can also do a shell login over the connection, use sftp, ssh, scp, http, or anything else you need to use.

A getty program will answer the phone and start ppp on the server. For the client you can use command line, ppp scripts, or a gui like kppp if you want.

It is too involved to simply write it all down here, try this and let us know if you have any problems or questions.


http://www.wellmodem.com.tw/support/...m-HOWTO-1.html


http://www.wellmodem.com.tw/support/...ppp-howto.html



I have been using mgetty for years without a problem.


Maybe this will help, here is my /etc/ppp/options file on the server
Code:

asyncmap 0
netmask 255.255.255.0
ms-dns 68.63.0.5
ms-dns 68.63.0.6
ms-wins 192.168.1.101
proxyarp
lock
crtscts
modem
mtu 512

Here is my entry in /etc/inittab to run mgetty for answering the phone..
Code:

S0:2345:respawn:/sbin/mgetty -s 57600 -x 3 ttyS0
Here is my /etc/mgetty+sendfax/login.conf file entry...
Code:

/AutoPPP/ -    a_ppp  /usr/sbin/pppd auth -chap +pap login asyncmap 0 192.168.1.101:192.168.1.201
I also setup my serial port in rc.local like this..
Code:

setserial /dev/ttyS0 spd_hi

Using mgetty my server will also accept incoming faxes. It auto detects the connection and either receives a fax or logs in a user. It also emails out your incoming faxes.

DropSig 06-02-2004 05:41 PM

Tahnk for the reply it as given me a good and solid start point. I'm workin on it and i'll let you know how its goin.

DropSig 06-05-2004 07:58 PM

I think I'm getting closer, but i'm having problem with my modem. I've gotten a pkg called chk-modem which include a reset-serial. when i try to reset ttyS3 on the client it give me:
reset-serial:getattr: Input/output error

DavidPhillips 06-05-2004 11:31 PM

does the modem work in minicom?

TigerOC 06-06-2004 02:47 AM

I found this article sometime ago which may help.

edit: just tested the link but is refusing conection; may be temporary thing

DropSig 06-06-2004 11:07 AM

Does not work in minicom, it doe'nt bring any error hile initializing(I dont know if it would if there is a problem...) but it does'nt work.


All times are GMT -5. The time now is 01:47 PM.