lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] PPP server problem


From: LMao
Subject: [lwip-users] PPP server problem
Date: Mon, 4 May 2015 18:16:54 +0000

Hi Sylvain,

 

I try to use PPP server on AT91SAM7x chip and it failed authentication (both sides using PAP). Here’s the debug message from a Linux (PPP client) followed by lwIP PPP debug message. Interesting thing is the PPP authentication failure also causes the whole lwIP stack stop working. I continuously PING my Ethernet interface while I start the PPP client on Linux, after a while, the PING stopped and never come back.

 

Could you take a look at those messages and tell me what could be wrong?

 

Thanks,

 

Charles

 

 

 

Linux (PPP client) debug message:

 

address@hidden:/etc/ppp$ sudo pppd /dev/ttyS0 nodetach

using channel 5

Using interface ppp0

Connect: ppp0 <--> /dev/ttyS0

sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x15fea63a> <pcomp> <accomp>]

sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x15fea63a> <pcomp> <accomp>]

sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x15fea63a> <pcomp> <accomp>]

rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xeefa19da> <pcomp> <accomp>]

sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth pap> <magic 0xeefa19da> <pcomp> <accomp>]

rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x15fea63a> <pcomp> <accomp>]

sent [LCP EchoReq id=0x0 magic=0x15fea63a]

sent [PAP AuthReq id=0x1 user="test" password="test"]

rcvd [LCP EchoReq id=0x0 magic=0xeefa19da]

sent [LCP EchoRep id=0x0 magic=0x15fea63a]

rcvd [LCP EchoRep id=0x0 magic=0xeefa19da]

sent [PAP AuthReq id=0x2 user="test" password="test"]

sent [PAP AuthReq id=0x3 user="test" password="test"]

sent [PAP AuthReq id=0x4 user="test" password="test"]

sent [PAP AuthReq id=0x5 user="test" password="test"]

sent [PAP AuthReq id=0x6 user="test" password="test"]

sent [PAP AuthReq id=0x7 user="test" password="test"]

sent [PAP AuthReq id=0x8 user="test" password="test"]

sent [PAP AuthReq id=0x9 user="test" password="test"]

sent [PAP AuthReq id=0xa user="test" password="test"]

sent [LCP EchoReq id=0x1 magic=0x15fea63a]

No response to PAP authenticate-requests

sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]

sent [LCP TermReq id=0x3 "Failed to authenticate ourselves to peer"]

Connection terminated.

Modem hangup

address@hidden:/etc/ppp$

 

 

lwIP PPP debug message:

 

ppp phase changed[1]: phase=0..

ppp_listen[1]..

ppp phase changed[1]: phase=1..

pppos_listen: unit 1: listening..

ppp_start[1]..

pppos_send_config[1]: in_accm=FF FF FF FF..

ppp_send_config[1]..

pppos_recv_config[1]: in_accm=FF FF FF FF..

ppp_recv_config[1]..

ppp_start[1]: finished..

pppos_input[1]: got 20 bytes..

pppos_input[1]: got 20 bytes..

pppos_input[1]: got 7 bytes..

ppp: auth protocols: PAP=1 CHAP=0 CHAP_MD5=0 CHAP_MS=0 CHAP_MS2=0 EAP=0..

pppos_write[1]: len=28..

pppos_write[1]: len=24..

pppos_input[1]: got 1 bytes..

pppos_input[1]: got 3 bytes..

pppos_input[1]: got 4 bytes..

pppos_input[1]: got 4 bytes..

pppos_input[1]: got 6 bytes..

pppos_input[1]: got 17 bytes..

pppos_input[1]: got 6 bytes..

pppos_input[1]: got 2 bytes..

pppos_input[1]: got 4 bytes..

pppos_input[1]: got 3 bytes..

pppos_input[1]: got 8 bytes..

pppos_send_config[1]: in_accm=0 0 0 0..

ppp_send_config[1]..

pppos_recv_config[1]: in_accm=0 0 0 0..

ppp_recv_config[1]..

pppos_write[1]: len=12..

ppp phase changed[

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]