Hi,

I am not certain, but one machine would have to accept dial ins the other would
dial out to the first. If this is what you have to do you can use the following
for the dial out:

>From RedHat 5.1 you have a beautiful tool called "linuxconf" it will allow
you to dial any provider (even ones that only allow PAP authenticated
connections). The whole thing is very easy.

Assuming you have linuxconfXXXX.rpm installed (check with: rpm -q
linuxconf):
1. Type "linuxconf" at the command prompt. (A menu driven program will
open)
2. Go into Config // Networking // PPP/SLIP/PLIP // Add
3. Select "PPP" (if you are making a PPP connection - normally you would)
4. Fill in the empty spaces as appropriate and select "Accept"
5. Go back to the main menu (where you had the choice "Config" or
"Control") by selecting "Quit" until you are there
6. Go into Control // Control PPP/SLIP/PLIP links
7. Select the PPPx connection you want to establish and confirm (it will
ask you)

To disconnect:
1. Go into Control // Control PPP/SLIP/PLIP links
2. Select the PPPx connection you want to terminate and confirm (it will
ask you)

You can also adjust more details of the connection in: "Config //
Networking // PPP/SLIP/PLIP" by selecting the PPPx connection you want to
amend, do all your changes then accept and try connection (Updated config
becomes active next time you activate that ppp connection)

Linuxconf can also keep your ppp connection up and running (mostly used
with permanent connections), if it drops out. Just select the appropriate
field when you amend the ppp configuration.

FOR DIAL IN:

Following is an E-mail I have send many times and I think it must have helped
thess people, because they did not come back to me with any questions. Here it
comes:

Here's a quick run down from an article in Aust PC Mag Dec 98:

Assuming your modem settings are correct.

Edit your /etc/inittab file so it contains the following line (Modem
connected to ttyS1 / COM2):

S1:2345:respawn /sbin/mgetty ttyS1

to restart init, type:

init q

Edit your /etc/mgetty+sendfax/login.config file to contain the line:

/AutoPPP/ -    a_ppp   /usr/sbin/pppd auth -chap +pap login kdebug 7 debug

instead of (do not delete it, put a "#" in front of the line):
/usr/sbin/pppd auth login


Edit your /etc/ppp/pap-secrets file so it contains:

*   *   ""   *

You will also need to have a look at /etc/ppp/options and comment out any
unwanted options. They are well described in the file itself or in the man
pppd pages


This is all you should have to do to make Linux answer your incoming modem
modem calls on COM1.




Hope this does it. Please let me know, as I might have to deal with leased
lines one day.

Regards
Bernhard



"R. Koirala" wrote:

> Dear Sir,
>
> I am trying to connect two computer running linux 5.2 using  lease line
> connection through modem, configured in leased mode. I am trying to use ppp
> on the both side so that each computer can recognize each other. Any
> suggestion how this can be achieved so that I can establish the ppp
> connection between the two computers.
>
> TIA.
>
> Regards,
> ranjan
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to [EMAIL PROTECTED]


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to