linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PPP is not establishing
@ 2004-04-09  8:38 Bhaskar
  2004-04-09 15:30 ` Bill Unruh
  2004-04-10  7:24 ` Bhaskar
  0 siblings, 2 replies; 3+ messages in thread
From: Bhaskar @ 2004-04-09  8:38 UTC (permalink / raw)
  To: linux-ppp

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 :
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.


With best regards,
bhaskar



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PPP is not establishing
  2004-04-09  8:38 PPP is not establishing Bhaskar
@ 2004-04-09 15:30 ` Bill Unruh
  2004-04-10  7:24 ` Bhaskar
  1 sibling, 0 replies; 3+ messages in thread
From: Bill Unruh @ 2004-04-09 15:30 UTC (permalink / raw)
  To: linux-ppp

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PPP is not establishing
  2004-04-09  8:38 PPP is not establishing Bhaskar
  2004-04-09 15:30 ` Bill Unruh
@ 2004-04-10  7:24 ` Bhaskar
  1 sibling, 0 replies; 3+ messages in thread
From: Bhaskar @ 2004-04-10  7:24 UTC (permalink / raw)
  To: linux-ppp

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-04-10  7:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-09  8:38 PPP is not establishing Bhaskar
2004-04-09 15:30 ` Bill Unruh
2004-04-10  7:24 ` Bhaskar

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).