|
From: | meiqin |
Subject: | [Savannah-users] Lwip -1.4.0 PPP server mode ask |
Date: | Mon, 13 Aug 2012 11:54:38 +0800 |
Hi savannah-users
I am using the lwip-1.4.0 ,but i
don`t know how
to make the Lwip work in the PPP server mode
, can you help me please?
This is my debug information as below :
PC DialUp Lwip PPP
Handshaking...
Handshake !
verSerialOpen: unit 0: Connecting
pppStart: unit 0
ppp_set_xaccm[0]: outACCM=00 00 00 00
ppp_send_config[0]: outACCM=FF FF FF FF
ppp_recv_config[0]: inACCM=00 00 00 00
lcp_lowerup: asyncmap=00 00 00 00
LCP: lowerup state 0 (LS_INITIAL) -> 2 (LS_CLOSED)
auth_reset: 0
lcp_addci: L opt=2 X
lcp_addci: L opt=5 X
lcp_addci: opt=7
lcp_addci: opt=8
pppWrite[0]: len=47
S->:7E 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 82 7D 2A 7D 2B 3F 7D 27 7D 22 7D 28 7D 22 FD AB 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
sifup[0]: Set i/f IP addresses
pppFD=0, chap=0, pap=1
R<-:7E FF 7D 23 C0 21 7D 21 7D 20 7D 20 7D 37 7D 22 7D 26 7D 20 7D 20 7D 20 7D 20 7D 25 7D 26 79 81 60 C5 7D 27 7D 22 7D 28 7D 22 7D 2D 7D 23 7D 26 E6 62 7E
pppInput[0]: LCP len=23
fsm_input(LCP):1,0,23
fsm_rconfreq(LCP): Rcvd id 0 state=6 (LS_REQSENT)
lcp_reqci: rcvd ASYNCMAP=0 MAGICNUMBER (798160C5) PCOMPRESSION ACCOMPRESSION
lcp_reqci: CI:0D->13
lcp_reqci: unknown 13
lcp_reqci: returning CONFREJ.
pppWrite[0]: len=23
S->:7E FF 7D 23 C0 21 7D 24 7D 20 7D 20 7D 27 7D 2D 7D 23 7D 26 AD 36 7E
fsm_sdata(LCP): Sent code 4,0,7.
pppInput[0]: packet processed
R<-:7E FF 7D 23 C0 21 7D 22 7D 21 7D 20 7D 34 7D 22 7D 26 7D 20 7D 20 7D 20 7D 20 7D 25 7D 26 82 7D 2A 7D 2B 3F 7D 27 7D 22 7D 28 7D 22 7D 36 C2 7E
pppInput[0]: LCP len=20
fsm_input(LCP):2,1,20
fsm_rconfack(LCP): Rcvd id 1 state=6 (LS_REQSENT)
lcp_acki: Ack
pppInput[0]: packet processed
7E 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 79 81 60 C5 7D 27 7D 22 7D 28 7D 22 7D 2F C6 7E
pppInput[0]: LCP len=20
fsm_input(LCP):1,1,20
fsm_rconfreq(LCP): Rcvd id 1 state=7 (LS_ACKRCVD)
lcp_reqci: rcvd ASYNCMAP=0 MAGICNUMBER (798160C5) PCOMPRESSION ACCOMPRESSION
lcp_reqci: returning CONFACK.
pppWrite[0]: len=45
S->:7E FF 7D 23 C0 21 7D 22 7D 21 7D 20 7D 34 7D 22 7D 26 7D 20 7D 20 7D 20 7D 20 7D 25 7D 26 79 81 60 C5 7D 27 7D 22 7D 28 7D 22 E4 AF 7E
fsm_sdata(LCP): Sent code 2,1,20.
ppp_send_config[0]: outACCM=00 00 00 00
ppp_recv_config[0]: inACCM=00 00 00 00
pppWrite[0]: len=15
S->:FF 03 C0 21 09 00 00 08 82 0A 0B 3F 05 24 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)
pppWrite[0]: len=29
S->:FF 03 80 21 01 01 00 16 03 06 00 00 00 00 81 06 00 00 00 00 83 06 00 00 00 00 6E DB 7E
fsm_sdata(IPCP): Sent code 1,1,22.
IPCP: sending Configure-Request, id 1
IPCP: open state 2 (LS_CLOSED) -> 6 (LS_REQSENT)
pppInput[0]: packet processed
R<-:7E C0 21 0C 02 00 12 79 81 60 C5 4D 53 52 41 53 56 35 2E 31 30 C2 D5 7E
pppInput[0]: LCP len=18
fsm_input(LCP):12,2,18
fsm_input(LCP): default:
pppWrite[0]: len=29
S->:FF 03 C0 21 07 02 00 16 0C 02 00 12 79 81 60 C5 4D 53 52 41 53 56 35 2E 31 30 9D 77 7E
fsm_sdata(LCP): Sent code 7,2,22.
pppInput[0]: packet processed
R<-:7E C0 21 0C 03 00 16 79 81 60 C5 4D 53 52 41 53 2D 30 2D 4D 51 42 45 53 54 93 F9 7E pppInput[0]: LCP len=22
fsm_input(LCP):12,3,22
fsm_input(LCP): default:
pppWrite[0]: len=33
S->:FF 03 C0 21 07 03 00 1A 0C 03 00 16 79 81 60 C5 4D 53 52 41 53 2D 30 2D 4D 51 42 45 53 54 62 79 7E
fsm_sdata(LCP): Sent code 7,3,26.
pppInput[0]: packet processed
R<-:7E 80 FD 01 04 00 0A 12 06 00 00 00 01 C3 2F 7E pppInput[0]: rejecting unsupported proto 0xx len=33021
pppWrite[0]: len=23
S->:FF 03 C0 21 08 04 00 10 80 FD 01 04 00 0A 12 06 00 00 00 01 DD BE 7E
fsm_sdata(LCP): Sent code 8,4,16.
R<-:7E 80 21 01 05 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 3E 6F 7E
pppInput[0]: IPCP len=40
fsm_input(IPCP):1,5,40
fsm_rconfreq(IPCP): Rcvd id 5 state=6 (LS_REQSENT)
ipcp_reqci: Rejecting COMPRESSTYPE not allowed
ipcp_reqci: Reject ADDR 0.0.0.0
ipcp_reqci: Rejecting DNS1 Request
ipcp_reqci: received WINS2 Request
ipcp_reqci: Rejecting DNS2 Request
ipcp_reqci: Rejecting unknown CI type 132
ipcp_reqci: returning Configure-REJ
pppWrite[0]: len=47
S->:FF 03 80 21 04 05 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 05 31 7E
fsm_sdata(IPCP): Sent code 4,5,40.
pppInput[0]: packet processed
R<-:7E C0 21 0A 00 00 08 79 81 60 C5 20 57 7E
pppInput[0]: LCP len=8
fsm_input(LCP):10,0,8
fsm_input(LCP): default:
pppInput[0]: packet processed
7E 80 21 04 01 00 16 03 06 00 00 00 00 81 06 00 00 00 00 83 06 00 00 00 00 05 57 7E
pppInput[0]: IPCP len=22
fsm_input(IPCP):4,1,22
fsm_rconfnakrej(IPCP): Rcvd id 1 state=6 (LS_REQSENT)
pppWrite[0]: len=21
S->:FF 03 80 21 01 02 00 0E 01 0A 00 00 00 00 00 00 00 00 88 97 7E
fsm_sdata(IPCP): Sent code 1,2,14.
IPCP: sending Configure-Request, id 2
pppInput[0]: packet processed
R<-:7E 80 21 01 06 00 0A 03 06 00 00 00 00 8F 2F 7E
pppInput[0]: IPCP len=10
fsm_input(IPCP):1,6,10
fsm_rconfreq(IPCP): Rcvd id 6 state=6 (LS_REQSENT)
ipcp_reqci: Reject ADDR 0.0.0.0
ipcp_reqci: returning Configure-REJ
pppWrite[0]: len=17
S->:FF 03 80 21 04 06 00 0A 03 06 00 00 00 00 4A 5D 7E
fsm_sdata(IPCP): Sent code 4,6,10.
pppInput[0]: packet processed
R<-:7E 80 21 04 02 00 0E 01 0A 00 00 00 00 00 00 00 00 66 F7 7E
pppInput[0]: IPCP len=14
fsm_input(IPCP):4,2,14
fsm_rconfnakrej(IPCP): Rcvd id 2 state=6 (LS_REQSENT)
pppWrite[0]: len=11
S->:FF 03 80 21 01 03 00 04 B8 02 7E
fsm_sdata(IPCP): Sent code 1,3,4.
IPCP: sending Configure-Request, id 3
pppInput[0]: packet processed
R<-:7E 80 21 05 07 00 10 79 81 60 C5 00 3C CD 74 00 00 02 E2 90 BD 7E
pppInput[0]: IPCP len=16
fsm_input(IPCP):5,7,16
fsm_rtermreq(IPCP): Rcvd id 7 state=6 (LS_REQSENT)
pppWrite[0]: len=11
S->:FF 03 80 21 06 07 00 04 F8 36 7E
fsm_sdata(IPCP): Sent code 6,7,4.
pppInput[0]: packet processed
R<-:7E FF 7D 23 C0 21 7D 25 7D 28 7D 20 7D 30 79 81 60 C5 7D 20 3C CD 74 7D 20 7D 20 7D 20 7D 20 7B 9F 7E
pppInput[0]: LCP len=16
fsm_input(LCP):5,8,16
fsm_rtermreq(LCP): Rcvd id 8 state=9 (LS_OPENED)
LCP terminated by peer ()
link_down: 0
upap_lowerdown: 0 s=1
IPCP: lowerdown state 6 (LS_REQSENT) -> 1 (LS_STARTING)
IPCP: close reason=LCP down state 1 (LS_STARTING) -> 0 (LS_INITIAL)
pppLinkDown: unit 0
pppRecvWakeup: unit 0
ppp_send_config[0]: outACCM=FF FF FF FF
ppp_recv_config[0]: inACCM=00 00 00 00
pppWrite[0]: len=18
S->:7E FF 7D 23 C0 21 7D 26 7D 28 7D 20 7D 24 EE 7D 5E 7E
fsm_sdata(LCP): Sent code 6,8,4.
pppInput[0]: packet processed
R<-:0D 0A 4E 4F 20 43 41 52 52 49 45 52 0D 0A
pll POS was closed!P: unit 0 sig_hup -> pppHupCB
pppHupCB: unit 0
LCP: lowerdown state 5 (LS_STOPPING) -> 1 (LS_STARTING)
link_terminated: 0
Connection terminated.
pppLinkTerminated: unit 0
pppRecvWakeup: unit 0
pppLinkTerminated: unit 0: linkStatusCB= errCode=1053311
PPP ErrCode =-8
pppLinkTerminated: finished.
pppClose() called
pppClose: unit 0 kill_link -> pppStop
pppStop: unit 0
LCP: close reason=User request state 1 (LS_STARTING) -> 0 (LS_INITIAL)
pppRecvWakeup: unit 0 2012-08-13
Best Regards,
梅勤(MeiQin) GHL Wuhan Representative Office Telephone: +86-27-87690909/19/29/39 ext. Ext. Number | Mobile: +86-18607100936 Room 604A, Information Industrial Tech. Building, No.1 YouKeYuan Road, Hongshan District.,Wuhan, Hubei Province, P.R.China, 430074 Disclaimer:
This email contains confidential information. Please notify the sender immediately if you have received by mistake and delete this email. You also should check for the presence of viruses. GHL Systems accepts no liability for any damage caused by any virus transmitted by this email |
[Prev in Thread] | Current Thread | [Next in Thread] |