lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Setting local IP address with PPP


From: Winformatik Info
Subject: [lwip-users] Setting local IP address with PPP
Date: Tue, 21 Sep 2004 11:24:33 +0200
User-agent: Mozilla Thunderbird 0.8 (Windows/20040913)

Hi

I am trying to get PPP running over a serial link with a W2K machine. Before the connection is up, I always get the debug message "Could not determine local IP address". LwIP version is 1.0. Does someone knows where the local IP address for PPP needs to be defined (I don't use DHCP) ?
A text file with the debug output is attached to this email.

Regards
Roland

netif_set_ipaddr: netif address being changed
netif: IP address of interface pp set to 172.16.0.100
netif: netmask of interface pp set to 255.255.255.0
netif: GW address of interface pp set to 172.16.0.1
netif: added interface lo IP addr 172.16.0.100 netmask 255.255.255.0 gw 172.16.0
.1
lcp_init: xmit_accm=0 0 0 0
upap_init: 0
lcp_init: xmit_accm=0 0 0 0
pppMain: unit 0: Connecting
pppStartCB: 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 -> 2
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=47
fsm_sdata(LCP): Sent code 1,1,20.
LCP: sending Configure-Request, id 1
LCP: open state 2 -> 6
pppInProc[0]: got 43 bytes
pppInProc[0]: got 6 bytes
pppInProc[0]: got 2 bytes
pppInput[0]: LCP len=23
fsm_input(LCP):1,0,23
fsm_rconfreq(LCP): Rcvd id 0 state=6
lcp_reqci: rcvd ASYNCMAP=0 MAGICNUMBER (41D66288) PCOMPRESSION ACCOMPRESSION
lcp_reqci:  unknown 13
lcp_reqci: returning CONFREJ.
pppWrite[0]: len=22
fsm_sdata(LCP): Sent code 4,0,7.
pppInProc[0]: got 29 bytes
pppInProc[0]: got 6 bytes
pppInProc[0]: got 5 bytes
pppInProc[0]: got 6 bytes
pppInProc[0]: got 2 bytes
pppInput[0]: LCP len=20
fsm_input(LCP):2,1,20
fsm_rconfack(LCP): Rcvd id 1 state=6
lcp_acki: Ack
pppInProc[0]: got 23 bytes
pppInProc[0]: got 5 bytes
pppInProc[0]: got 5 bytes
pppInProc[0]: got 5 bytes
pppInProc[0]: got 5 bytes
pppInProc[0]: got 2 bytes
pppInput[0]: LCP len=20
fsm_input(LCP):1,1,20
fsm_rconfreq(LCP): Rcvd id 1 state=7
lcp_reqci: rcvd ASYNCMAP=0 MAGICNUMBER (41D66288) PCOMPRESSION ACCOMPRESSION
lcp_reqci: returning CONFACK.
pppWrite[0]: len=45
fsm_sdata(LCP): Sent code 2,1,20.
ppp_send_config[0]: outACCM=0 0 0 0
ppp_recv_config[0]: inACCM=0 0 0 0
link_established: 0
upap_lowerup: 0 s=0
IPCP: lowerup state 0 -> 2
pppWrite[0]: len=36
fsm_sdata(IPCP): Sent code 1,1,28.
IPCP: sending Configure-Request, id 1
IPCP: open state 2 -> 6
pppInProc[0]: got 4 bytes
pppInProc[0]: got 5 bytes
pppInProc[0]: got 5 bytes
pppInProc[0]: got 5 bytes
pppInProc[0]: got 5 bytes
pppInput[0]: LCP len=18
fsm_input(LCP):12,2,18
pppWrite[0]: len=29
fsm_sdata(LCP): Sent code 7,2,22.
pppInProc[0]: got 25 bytes
pppInProc[0]: got 5 bytes
pppInput[0]: LCP len=23
fsm_input(LCP):12,3,23
pppWrite[0]: len=34
fsm_sdata(LCP): Sent code 7,3,27.
pppInProc[0]: got 25 bytes
pppInProc[0]: got 5 bytes
pppInProc[0]: got 6 bytes
pppInProc[0]: got 5 bytes
pppInProc[0]: got 5 bytes
pppInput[0]: IPCP len=40
fsm_input(IPCP):1,4,40
fsm_rconfreq(IPCP): Rcvd id 4 state=6
ipcp_reqci: received COMPRESSTYPE p=45 old=0 maxslot=15 cflag=1
ipcp_reqci: ADDR 172.16.0.10
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=36
fsm_sdata(IPCP): Sent code 4,4,28.
pppInProc[0]: got 27 bytes
pppInput[0]: IPCP len=22
fsm_input(IPCP):4,1,22
fsm_rconfnakrej(IPCP): Rcvd id 1 state=6
pppWrite[0]: len=27
fsm_sdata(IPCP): Sent code 1,2,20.
IPCP: sending Configure-Request, id 2
pppInProc[0]: got 5 bytes
pppInProc[0]: got 5 bytes
pppInProc[0]: got 5 bytes
pppInProc[0]: got 5 bytes
pppInProc[0]: got 2 bytes
pppInput[0]: IPCP len=16
fsm_input(IPCP):1,5,16
fsm_rconfreq(IPCP): Rcvd id 5 state=6
ipcp_reqci: received COMPRESSTYPE p=45 old=0 maxslot=15 cflag=1
ipcp_reqci: ADDR 172.16.0.10
ipcp_reqci: returning Configure-ACK
pppWrite[0]: len=23
fsm_sdata(IPCP): Sent code 2,5,16.
pppInProc[0]: got 20 bytes
pppInput[0]: IPCP len=14
fsm_input(IPCP):4,2,14
fsm_rconfnakrej(IPCP): Rcvd id 2 state=8
pppWrite[0]: len=17
fsm_sdata(IPCP): Sent code 1,3,10.
IPCP: sending Configure-Request, id 3
pppMainWakeup: unit 0 sio_read len=1504 returned 0
pppInProc[0]: got 349 bytes
pppInput[0]: IPCP len=10
fsm_input(IPCP):2,3,10
fsm_rconfack(IPCP): Rcvd id 3 state=8
np_up: 0 proto=21
np_up: maxconnect=0 idle_time_limit=0
ipcp: up
Could not determine local IP address
ipcp: down
np_down: 0 proto=21
sifvjcomp: VJ compress enable=0 slot=0 max slot=0
sifdown: unit 0: linkStatusCB=2011689 errCode=0
callback -6
pppWrite[0]: len=47
fsm_sdata(IPCP): Sent code 5,4,40.
IPCP: close reason=Could not determine local IP address state 9 -> 4

reply via email to

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