LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 05-29-2004, 10:16 PM   #1
DropSig
Member
 
Registered: Apr 2004
Location: East of Quebec
Distribution: Kubuntu, LFS
Posts: 208

Rep: Reputation: 30
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
 
Old 05-30-2004, 02:30 AM   #2
dubya
Member
 
Registered: Mar 2004
Location: Kitchener, Ontario, Canada
Posts: 386

Rep: Reputation: 30
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.
 
Old 05-31-2004, 12:14 PM   #3
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
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.

Last edited by DavidPhillips; 05-31-2004 at 12:53 PM.
 
Old 06-02-2004, 06:41 PM   #4
DropSig
Member
 
Registered: Apr 2004
Location: East of Quebec
Distribution: Kubuntu, LFS
Posts: 208

Original Poster
Rep: Reputation: 30
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.
 
Old 06-05-2004, 08:58 PM   #5
DropSig
Member
 
Registered: Apr 2004
Location: East of Quebec
Distribution: Kubuntu, LFS
Posts: 208

Original Poster
Rep: Reputation: 30
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
 
Old 06-06-2004, 12:31 AM   #6
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
does the modem work in minicom?
 
Old 06-06-2004, 03:47 AM   #7
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I found this article sometime ago which may help.

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

Last edited by TigerOC; 06-06-2004 at 03:49 AM.
 
Old 06-06-2004, 12:07 PM   #8
DropSig
Member
 
Registered: Apr 2004
Location: East of Quebec
Distribution: Kubuntu, LFS
Posts: 208

Original Poster
Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to phone using irda chup Linux - General 0 11-05-2004 05:35 AM
Connecting mobile phone to the PC Alez Linux - Software 5 11-02-2004 08:50 AM
problems connecting cell phone as modem moxfyre Linux - Wireless Networking 10 10-19-2004 03:41 PM
Use a computer + modem for phone secretary valo Linux - Software 2 09-16-2003 03:56 AM
Modem + phone + phone line Griffon26 General 1 10-12-2001 12:34 AM


All times are GMT -5. The time now is 09:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration