linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bhaskar <vbhaskar@roc.co.in>
To: linux-ppp@vger.kernel.org
Subject: Re: PPP is not establishing
Date: Sat, 10 Apr 2004 07:24:00 +0000	[thread overview]
Message-ID: <1081581123.984.4.camel@Bhaskar> (raw)
In-Reply-To: <1081499169.3142.12.camel@Bhaskar>

Hi,
Thank you for your response. I have solved the problem.  I tried giving
default-asyncmap in the configuration and the ISP has authenticated and
I was able to login successfully.
Thank you again.

I was wondering of there is any documentation on source code of PPP. 
Although I was able to understand the PPP by going through the code, it
would be easy for me for have a document.
Can somebody give some links where I can find the documentation.

TIA

with best regards,
bhaskar
On Fri, 2004-04-09 at 21:00, Bill Unruh wrote:
> On Fri, 9 Apr 2004, Bhaskar wrote:
> 
> > Hi all,
> > I am trying to connect to an ISP using my linux machine.  I am using
> > RedHat Linux 8.0 .  And the ppp version is 2.4.1.  I am not able to
> > understand why ISP is terminating the connection.  I have traced the PPP
> > packets and sequence is :
> 
> Your isp seems to be completely incomptetent. He first asks for pap, and
> then after you send your username/password, he asks for chap. That makes
> very little sense. Find a new ISP.
> 
> 
> > Serial connection established.
> > using channel 9
> > Using interface ppp0
> > Connect: ppp0 <--> /dev/ttyS0
> > sent [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <magic 0x6f879d4a>
> > <pcomp> <accomp>]
> > sent [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <magic 0x6f879d4a>
> > <pcomp> <accomp>]
> > sent [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <magic 0x6f879d4a>
> > <pcomp> <accomp>]
> > rcvd [LCP ConfReq id=0x1 <mru 1514> <asyncmap 0x0> <auth pap> <magic
> > 0x67f90746> <pcomp> <accomp>]
> > sent [LCP ConfAck id=0x1 <mru 1514> <asyncmap 0x0> <auth pap> <magic
> > 0x67f90746> <pcomp> <accomp>]
> > rcvd [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0x0> <magic 0x6f879d4a>
> > <pcomp> <accomp>]
> > sent [PAP AuthReq id=0x1 user="ELAN123" password=<Hidden>]
> > rcvd [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0x0> <magic 0x6f879d4a>
> > <pcomp> <accomp>]
> > rcvd [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0x0> <magic 0x6f879d4a>
> > <pcomp> <accomp>]
> > rcvd [LCP ConfReq id=0x1 <mru 1500> <auth chap MD5> <magic 0xa2057c03>]
> > sent [LCP ConfReq id=0x2 <mru 1500> <asyncmap 0x0> <magic 0x5bd54857>
> > <pcomp> <accomp>]
> > sent [LCP ConfAck id=0x1 <mru 1500> <auth chap MD5> <magic 0xa2057c03>]
> > rcvd [LCP ConfRej id=0x2 <asyncmap 0x0> <pcomp> <accomp>]
> > sent [LCP ConfReq id=0x3 <mru 1500> <magic 0x5bd54857>]
> > rcvd [LCP ConfAck id=0x3 <mru 1500> <magic 0x5bd54857>]
> > rcvd [LCP EchoReq id=0x0 magic=0xa2057c03]
> > sent [LCP EchoRep id=0x0 magic=0x5bd54857]
> > rcvd [LCP TermReq id=0x2]
> > LCP terminated by peer
> > sent [LCP TermAck id=0x2]
> > 
> > 
> > ISP is expecting both PAP and CHAP authentication.  If PAP is
> > successful, then only CHAP authentication is requested.
> > What could be the reason for the termination.
> > Please give your comments.
> 
> While probably not illegal (ie against the rules) it is very weird. You
> might try removing pap authentication, or chap (ie make pap-secrets or
> chap-secrets unreadable to see if your agreeing to both is what is
> sending the isp crazy) I am not terribly hopeful. Get a new isp.
> 
> 
> > 
> > 
> > With best regards,
> > bhaskar
> > 
> > 
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > 
> 
> -- 
> William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
> Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
> UBC, Vancouver,BC  |   Program in Cosmology |     unruh@physics.ubc.ca
> Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



      parent reply	other threads:[~2004-04-10  7:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-09  8:38 PPP is not establishing Bhaskar
2004-04-09 15:30 ` Bill Unruh
2004-04-10  7:24 ` Bhaskar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1081581123.984.4.camel@Bhaskar \
    --to=vbhaskar@roc.co.in \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).