[Top][All Lists]

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

RE: [lwip-users] netif.flags not set with NETIF_FLAG_UP

From: j . burton
Subject: RE: [lwip-users] netif.flags not set with NETIF_FLAG_UP
Date: Fri, 22 Jul 2005 18:21:53 +0200

Sorry but what kind of debugger do you use?
I have already an embedded arm processor on a GSM/GPS device but I can't
find a tool for debugging code ....


>-- Messaggio Originale --
>From: "Charles-Christophe Thomart" <address@hidden>
>To: <address@hidden>
>Date: Fri, 22 Jul 2005 17:27:28 +0200
>Subject: [lwip-users] netif.flags not set with NETIF_FLAG_UP
>Reply-To: Mailing list for lwIP users <address@hidden>
>I am using lwIP on embedded ARM with modem and ppp support.
>I have been able to establish ppp and am now trying a DNS request. The
>request is correcly received by peer. The answer is received in function
>I user a debugger to see what was going out :
>- the "PP" netif is created whith correct IP and mask (given by peer).
>- the netif.flags is not set to NETIF_FLAG_UP
>What I am doing :
>- Connect PPP. The callback function is called with an error code of 0.
>- Create a socket with netconn_new(NETCONN_UDP)
>- send data to peer (dns request) :
>  netconn_connect
>  netconn_send
> I assume this is working since request is received and understood by peer.
>- wait incomming answer
>  netconn_recv
>This function does not return. As said above, data is received in ip_input,
>but is not transfered since netif.flags is not set with NETIF_FLAG_UP. It
>seems this should have been done by dhcp_bind: I am compiling with
>a -DLWIP_DHCP=1 flag.
>Does anyone have an idea on what I am doing wrong?
>lwip-users mailing list

Solo con Tiscali Adsl navighi senza limiti e telefoni senza canone Telecom
a partire da  19,95 Euro/mese.
Attivala entro il 28 luglio, il primo MESE รจ GRATIS! CLICCA QUI.

reply via email to

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