pppd-pap problem

Hi Everybody,
i need to make the ppp-authentication phase (pap) up in my linux -2.4 and the peer is Mandrake-linux-2.6. I am using pppd command for the same.
I am using the below command.
$pppd /dev/ppps locip:remip user (user_name) remotename(remote_name) papcrypt

In /etc/ppp/pap-secrets file, i am giving the secret passwd with which i authenticate the peer. In /etc/ppp/options i am giving auth option.

The same thing i am doing in the peer machine and when i started the pppd cmd in both machines,i get the error saying
pppd: The remote system (remote_name) is required to authenticate itself
pppd: but I couldn't find any suitable secret (password) for it to use to do so

How to sort out this?? Can anybody help me in this regard.

Thanks ,
Sriram

hello,

ppp term of remote means the box you dial to.
for example :

boxA dial to boxB then in the boxA to dial remote name must specify the username of boxB. and - in the boxB itself must specify its name as boxB.
this way so both the caller and receiver can auth them selves.

boxA:
username boxB password boxB

boxB:
username boxB password boxB

read more about pap/chap auth..:slight_smile:

cheers.