Re: Help with PAP!
>
> Helllo,
>
> I am now connecting to a different server from my ISP for X2 V.90
> dialup.
>
> Previosly, to dial in all I had to do was change
> /etc/chatscripts/provider with my username and password and the number
> to phone (there was no PAP/CHAP authentication).
>
> Now allegedly there is some sort of PAP authentification required, and
> no script is run (so no expect: ogin stuff).
>
> Under NT 4.0, the settings I use are don't run a script, dynamic DNS
> server (but have their IP adresses) and accept any authentication
> including clear text. This works.
>
> I'm confused about what to do with Debian (ham) however - shoudl I not
> be running my chatscript? If I just change the dialup number,name, etc
> in /etc/chatscripts/provider when I dialin I get garbage after expect:
> ogin
>
> {####}{#}}{*^###
>
> type stuff.
>
> How should I connect now there's PAP authentication and no script being
> run at the providers end?
>
> Confused,
>
> Martin
Your 'connect' chat script should end at CONNECT. PAP means that the
authentication is done during the PPP negotiation. All you have to do is to
add a line like this to your /etc/ppp/pap-secrets file:
your-name provider-name your-password
and to /etc/ppp/peers/provider:
user your-name
remotename provider-name
The latter line can be omitted if this is your only ISP connection - in that
case, substitute 'provider-name' with an * (asterisk).
Andras
Reply to: