Skip to contentSkip to conversation

PPP is not establishing

DISCUSSION Bhaskar 2 participants 3 messages Apr 9, 2004 – Apr 10, 2004 PPP protocol drivers and compressors

lore
Share & tools
lore

Bhaskar

author
#0 lore raw

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

#1 lore raw
Quoted 5 lines · Bhaskar

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.

Quoted 35 lines

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]

Quoted 4 lines

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.

Quoted 11 lines

With best regards,
bhaskar

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 4 lines
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 |     [email protected]
Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/
author
#2 lore raw
In reply to 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

Quoted 80 lines · Bill Unruh
Quoted 5 lines · Bhaskar

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.

Quoted 35 lines

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]

Quoted 4 lines

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.

Quoted 11 lines

With best regards,
bhaskar

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 8 lines
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 |     [email protected]
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html