Attached you will find a script, that will do it, but why not set up AutoPPP,
which will start the PPP session automatically when a user logs in. This has
the benefit, that you do not have to allow access to your shell.
Here's how:
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:
/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
calls.
Good luck
Bernhard
[EMAIL PROTECTED] wrote:
> > Hi, All!
> >
> > Could anyone tell me where I can get info about how to write ppp-script
> > for
> > Win 95? My clients dials into my Linux ppp-server, but when Linux asks
> > for user name and password, win 95 give it kind of junk
> >
> > Thanks in advance
> > Danila
> >
>
> Take a look to my Linux page
>
> http://www.tartu.customs.ee/linux/index.shtml
>
> There is page about callback with sample scripts. You can use them as
> base (simply omit lines, connected with callback itself and use rest).
>
> Regards,
>
> Valentin Abramov
> WEB: http://www.tartu.customs.ee/valentin.shtml
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to [EMAIL PROTECTED]
blue-net2.scp