[plug] pppd

Garth Atkinson garth at cclinic.com.au
Sun Oct 31 05:37:55 WST 1999


Dean Wright wrote:
> 
> Could someone please help,
> 
> What I am trying to do is connect my win98 machine to a linux box.
> Currently I can dial into the box(mgetty answers the modem) using hyper
> terminal and remotely login, so I assume that my mgetty is working.
> 
> now I'm trying to configure pppd to auto run, can anyone suggest some
> settings for ppp that I can use that will allow me to use dialup networking
> on my win98 machine.
> 
> should I use pap?
> 
> I'm sorry my question isnt more specific but I dont really know what to
> ask..
> 
> I have read the man, nag, sag, ppp-howto and scoured user goups and I think
> I'm more confused now than when I started.
> 
> sorry if this is a sutpid question.
> 
> Dean
> 
> "When someone is annoying you remember, it takes 42 muscels to frown,
> but only 4 to reach out and smack them!!"
Hi Dean

You wont believe how close you already are to getting this working.
Mgetty will launch a ppp session for you if it detects any ppp packets
on the interface it is using. You will (probably) need to configure the
exact ppp setup that mgetty uses and you will have to setup
/etc/ppp/pap-secrets if you want to use the dialup-networking under
windows 98 without any scripting (I recommend you use pap because then
you dont have to dick around with extra windows stuff, like dialup
script files).

Linux files you should get to know...

/etc/mgetty+sendfax/login.config
/etc/ppp/pap-secrets

With regard to the invocation of pppd from
/etc/mgetty+sendfax/login.config you can try something like...

pppd debug kdebug 1 192.168.10.10:192.168.10.11 +pap login asyncmap 0
passive

Monitor /var/log/messages throughout your testing and when you have it
working remove the 'debug kdebug 1' from
/etc/mgetty+sendfax/login.config file

Note that by using the 'login' parameter for pppd as above that the user
you specify as part of the Windows 98 dial-up networking dial-in dialog
(whew) must exist as a user on your linux system. If this is not a good
thing then omit this parameter and just declare the user/password pair
in /etc/ppp/pap-secrets.

In the above pppd invocation 192.168.10.10 would be assigned to the
linux modem and 192.168.10.11 would be assigned to the windows 98 modem.

Garth



More information about the plug mailing list