|
From: | Mehmet Ali Ekici |
Subject: | Re: [lwip-users] PPP with NO_SYS=1 in an interrupt context (David Empson) |
Date: | Fri, 17 Jun 2011 10:12:37 +0300 |
Hi David, That information was
a great help to us. We found that as you indicated the driver discards
null (00) characters. Although we have got rid of that problem we face a new
one. The peer doesn’t
respond to our IPCP message which I have checked message’s sanity.
I have tried the same module with windows too. Windows succeeds seting up the
PPP. I have compared both
only difference I see is Windows doesn’t get response to the first IPCP
and resends then succeeds. Lwip doesn’t do any retransmission if it doesn’t
get response which is suprising to me. If you can give us
someideas, we will appretiate a lot. Here is our log and
below is the window’s pppInit lcp_init: xmit_accm=0
0 0 0 upap_init: 0 pppOpen: COM1 pppOverSerialOpen:
unit 0: Connecting pppStart: unit 0 ppp_set_xaccm[0]:
outACCM=0 0 0 0 ppp_send_config[0]:
outACCM=ff ff ff ff ppp_recv_config[0]:
inACCM=0 0 0 0 lcp_lowerup:
asyncmap=0 0 0 0 LCP: lowerup state 0
(LS_INITIAL) -> 2 (LS_CLOSED) auth_reset: 0 lcp_addci: L opt=2 0 lcp_addci: L opt=5
52181044 lcp_addci: opt=7 lcp_addci: opt=8 pppWrite[0]: len=46 ff 7d 23 c0 21 7d 21
7d 21 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 7d 20 7d 20 7d 25 7d 26 52 7d 38 7d
30 44 7d 27 7d 22 7d 28 7d 22 6e e1 7e fsm_sdata(LCP): Sent code 1,1,20. LCP: sending
Configure-Request, id 1 LCP: open state 2
(LS_CLOSED) -> 6 (LS_REQSENT) pppStart: finished netif: setting
default interface lm System initialised7e
ff 7d 23 c0 21 7d 21 7d 21 7d 20 7d 2e 7d 22 7d 26 7d 20 7d 2a 7d 20 7d 20 7d
23 7d 24 c0 23 f3 4d 7e 7e ff 7d 23 c0 pppInProc[0]: got 40
bytes pppInput[0]: LCP
len=14 fsm_input(LCP):1,1,14 fsm_rconfreq(LCP):
Rcvd id 1 state=6 (LS_REQSENT) lcp_reqci:
ASYNCMAP=X PAP (C023) lcp_reqci: returning
CONFACK. pppWrite[0]: len=35 7e ff 7d 23 c0 21 7d
22 7d 21 7d 20 7d 2e 7d 22 7d 26 7d 20 7d 2a 7d 20 7d 20 7d 23 7d 24 c0 23 cd
ce 7e fsm_sdata(LCP): Sent code 2,1,14. pppInput[0]: packet
processed 21 7d 24 7d 21 7d 20
7d 2e 7d 25 7d 26 52 7d 38 7d 30 44 7d 27 7d 22 7d 28 7d 22 97 8d 7e pppInProc[0]: got 30
bytes pppInput[0]: LCP
len=14 fsm_input(LCP):4,1,14 fsm_rconfnakrej(LCP):
Rcvd id 1 state=8 (LS_ACKSENT) lcp_rejci: long opt 5
rejected lcp_rejci: void opt 7
rejected lcp_rejci: void opt 8
rejected lcp_addci: L opt=2 0 pppWrite[0]: len=28 ff 7d 23 c0 21 7d 21
7d 22 7d 20 7d 2a 7d 22 7d 26 7d 20 7d 20 7d 20 7d 20 5f ad 7e fsm_sdata(LCP):
Sent code 1,2,10. LCP: sending
Configure-Request, id 2 pppInput[0]: packet
processed 7e ff 7d 23 c0 21 7d
22 pppInProc[0]: got 8
bytes 7d 22 7d 20 7d 2a 7d
22 7d 26 7d 20 7d 20 7d 20 7d 20 36 d9 7e pppInProc[0]: got 21
bytes pppInput[0]: LCP
len=10 fsm_input(LCP):2,2,10 fsm_rconfack(LCP):
Rcvd id 2 state=8 (LS_ACKSENT) lcp_acki: Ack ppp_send_config[0]:
outACCM=0 0 a 0 ppp_recv_config[0]:
inACCM=0 0 0 0 pppWrite[0]: len=16 7e ff 03 c0 21 09 00
00 08 00 00 00 00 bb 6e 7e fsm_sdata(LCP): Sent code 9,0,8. link_established: unit
0; Lowering up all protocols... upap_lowerup: init 0
clientstate s=0 IPCP: lowerup state 0
(LS_INITIAL) -> 2 (LS_CLOSED) upap_authwithpeer: 0
user=none password=none s=1 pppWrite[0]: len=21 ff 03 c0 23 01 01 00
0e 04 6e 6f 6e 65 04 6e 6f 6e 65 de 60 7e pap_sauth: Sent id 1 pppInput[0]: packet
processed 7e ff 03 c0 21 0a 00
00 08 00 00 00 00 6b e4 7e 7e ff 03 c0 23 02 01 00 0d 08 4c 6f 67 69 6e 20 4f
4b 67 dc 7e pppInProc[0]: got 37
bytes pppInput[0]: LCP
len=8 fsm_input(LCP):10,0,8 fsm_input(LCP): default:
pppInput[0]: packet
processed pppInput[0]: PAP
len=13 pap_rauthack: Rcvd id
1 s=3 Remote message: Login
OK auth_withpeer_success:
0 proto=c023 pppWrite[0]: len=37 7e ff 03 80 21 01 01
00 1c 03 06 00 00 00 00 02 06 00 2d 0f 00 81 06 00 00 00 00 83 06 00 00 00 00
7d 5e 84 7e fsm_sdata(IPCP): Sent code 1,1,28. IPCP: sending
Configure-Request, id 1 IPCP: open state 2
(LS_CLOSED) -> 6 (LS_REQSENT) pppInput[0]: packet
processed [14/06/2011 00:18:43]
- Read data 7e ff 03 c0 23 02 00
00 0d 08 4c 6f 67 69 6e 20 ~ÿ.À#.....Login
4f 4b 32 59
7e
OK2Y~ [14/06/2011 00:18:43]
- Written data 7e ff 03 80 57 01 05
00 0e 01 0a 40 19 db 3f f2 ~ÿaddress@hiddenÛ?ò 21 84 47 ce ce 7e 7e
ff 03 80 fd 01 06 00 0a 12 !„GÎÎ~~ÿ.€i..... 06 00 00 00 01 47 5a
7e 7e ff 03 80 21 01 07 00 .....GZ~~ÿ.€!... 28 02 06 00 2d 0f 01
03 06 00 00 00 00 81 06 00 (...-.......... 00 00 00 82 06 00 00
00 00 83 06 00 00 00 00 84 ...‚.....ƒ.....„ 06 00 00 00 00 0b 92
7e
......’~
[14/06/2011 00:18:43]
- Read data 7e ff 03 c0 21 08 02
00 14 80 57 01 05 00 0e 01 ~ÿ.À!....€W..... 0a 40 19 db 3f f2 21
84 47 8c ae 7e 7e ff 03 c0 address@hiddenÛ?ò!„GŒ®~~ÿ.À 21 08 03 00 10 80 fd
01 06 00 0a 12 06 00 00 00 !....€i......... 01 e0 d5
7e
.àÕ~
[14/06/2011 00:18:43]
- Written data 7e ff 03 80 21 01 08
00 28 02 06 00 2d 0f 01 03 ~ÿ.€!...(...-... 06 00 00 00 00 81 06
00 00 00 00 82 06 00 00 00 ..........‚.... 00 83 06 00 00 00 00
84 06 00 00 00 00 c2 29 7e .ƒ.....„.....Â)~ [14/06/2011 00:18:43]
- Read data 7e ff 03 80 21 01 01
00 0a 03 06 c0 c8 01 15 66 ~ÿ.€!......ÀÈ..f 81 7e 7e ff 03 80 21
04 08 00 16 02 06 00 2d 0f ~~ÿ.€!.......-. 01 82 06 00 00 00 00
84 06 00 00 00 00 d1 c6 7e .‚.....„.....ÑÆ~ [14/06/2011 00:18:43]
- Written data 7e ff 03 80 21 02 01
00 0a 03 06 c0 c8 01 15 0f ~ÿ.€!......ÀÈ... f5 7e 7e ff 03 80 21
01 09 00 16 03 06 00 00 00 õ~~ÿ.€!......... 00 81 06 00 00 00 00
83 06 00 00 00 00 1f 68 7e ......ƒ......h~ [14/06/2011 00:18:43]
- Read data 7e ff 03 80 21 03 09
00 16 03 06 bc 39 96 bf 81 ~ÿ.€!......¼9–¿ 06 56 6c 84 a4 83 06
56 6c 84 a5 45 7a 7e .Vl„¤ƒ.Vl„¥Ez~
[14/06/2011 00:18:43]
- Written data 7e ff 03 80 21 01 0a
00 16 03 06 bc 39 96 bf 81 ~ÿ.€!......¼9–¿ 06 56 6c 84 a4 83 06
56 6c 84 a5 5a 79 7e .Vl„¤ƒ.Vl„¥Zy~
[14/06/2011 00:18:43]
- Read data 7e ff 03 80 21 02 0a
00 16 03 06 bc 39 96 bf 81 ~ÿ.€!......¼9–¿ 06 56 6c 84 a4 83 06
56 6c 84 a5 ac 8a 7e .Vl„¤ƒ.Vl„¥¬Š~
[14/06/2011 00:18:43]
- Written data 7e ff 03 00 21 45 00
01 48 00 01 00 00 80 7d 31 ~ÿ..!E..H....€}1 e6 ab bc 39 96 bf ff
ff ff ff 00 44 00 43 01 34 櫼9–¿ÿÿÿÿ.D.C.4 b2 07 01 08 00 00 68
47 c7 3a 06 00 00 00 bc 39 ².....hGÇ:....¼9 96 bf 00 00 00 00 00
00 00 00 00 00 00 00 00 00 –¿.............. 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00
00 00 00 00 00 00 00 63 82 ..............c‚ 53 63 35 01 08 3d 7d
31 00 34 a7 63 35 bf 61 42 Sc5..=}1.4§c5¿aB 4f 7d b1 bb bc 57 e8
cc 69 1f 0c 08 73 65 6b 2d O}±»¼WèÌi...sek- 61 63 65 72 3c 08 4d
53 46 54 20 35 2e 30 37 06 acer<.MSFT 5.07. 06 2c 2b 01 f9 0f ff
00 00 00 00 00 00 00 00 00 .,+.ù.ÿ......... b8 3b 7e 7e ff 03 00
21 45 00 00 4b 00 03 00 00 ¸;~~ÿ..!E..K.... 80 7d 31 0c 96 bc 39
96 bf 56 6c 84 a4 d5 a1 00 €}1.–¼9–¿Vl„¤Õ¡. 35 00 37 ed e6 d5 cc
01 00 00 01 00 00 00 00 00 5.7íæÕÌ......... 00 02 61 75 08 64 6f
77 6e 6c 6f 61 64 0d 77 69 ..au.download.wi 6e 64 6f 77 73 75 70
64 61 74 65 03 63 6f 6d 00 ndowsupdate.com. 00 01 00 01 a6 ec 7e
7e ff 03 00 21 45 00 00 3c ....¦ì~~ÿ..!E..< 00 04 00 00 80 7d 31
0c a4 bc 39 96 bf 56 6c 84 ....€}1.¤¼9–¿Vl„ a4 e6 7d b1 00 35 00
28 53 7d 33 09 7d 33 01 00 ¤æ}±.5.(S}3.}3.. 00 01 00 00 00 00 00
00 03 77 77 77 06 67 6f 6f .........www.goo 67 6c 65 03 63 6f 6d
00 00 01 00 01 15 df 7e gle.com......ß~ |
[Prev in Thread] | Current Thread | [Next in Thread] |