On Wed, 26 Sep 2001, Santanu Chatterjee wrote:

> Is it possible to connect our computers using the dial-up
> modems, without using the ISP's connection ?

ofcourse

> I want to dial one of their phone numbers using, say minicom,
> and his computer is to respond so that I can log on using 
> say, rlogin.

you have to setup say mgetty to listen to your modem, so when you dial
into your friend, mgetty should pick up the call and provide you with the 
login prompt, with which you will be able to interact. So now you have a
simple connection to the remote machine.

this will require you to tweak the inittab to make mgetty listen to the
serial port on a virtual terminal. You would also need to add yourself
into the remote /etc/passwd beforehand.( side effect: if that machine has
a single modem on a single serial port, he wont be able to surf the net
with it )

setting this up is really very easy. The next stage would be to set up a
PPP server. For that you would need to setup the remote and server
ip-addresses in the /etc/ppp/ttyS* files. You can start PPP on the server
in 2 ways

i) once somebody logs in he manually starts pppd ( one can use wvdial to
do this ).

ii) or in the /etc/passwd file keep pppd as the shell, so that it starts
automatically once when someone logs in.

> If this is possible, how do I start ? 

PPP-HOWTO for further details

-- sreangsu


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to