pppd-pap problem


 
Thread Tools Search this Thread
Special Forums Cybersecurity pppd-pap problem
# 1  
Old 12-06-2006
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

Last edited by sriram.ec; 12-06-2006 at 04:10 AM..
# 2  
Old 12-07-2006
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..Smilie

cheers.
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Solaris

PPPD on ttya with serial console...?

Hi. I am very very new to Solaris. I found an abandoned Sun Blade 150. I created a 3-wire null modem cable, connected it to an abandoned laptop and successfully installed Solaris 10 using the serial port. This laptop doesn't have ethernet. So I want to establish a PPP connection. Part of the... (2 Replies)
Discussion started by: neutronscott
2 Replies

2. UNIX for Dummies Questions & Answers

pppd problem

Hello, I have Zydas 56k USB modem.... (it tells you lots of:) and the thing is I'd like to make it work with FreeBSD 5.2.1, however after all: /etc/ppp/options /etc/ppp/chat.script have been set up it gives an error like: tcgettatr: Invalid argument. (the modem is connected to ugen0) If you... (3 Replies)
Discussion started by: wopsis
3 Replies

3. Linux

SIGHUP received to pppd

Hi all, I have a question about pppd. I got a Slack box with kernel 2.4.20. I'm learning how to connect my CONSOLE to internet with a chat script. Following these steps, MANY times I can connect to internet very pretty nice. But also MANY times (says 50%-50%) SIGHUP received to pppd... (2 Replies)
Discussion started by: jaguar
2 Replies
Login or Register to Ask a Question