Oh i see! Thank you very much. I am going through the archives, so far i havent found anything yet.
--- On Tue, 4/28/09, bonny gijzen <address@hidden> wrote:
From: bonny gijzen <address@hidden> Subject: RE: [lwip-users] netif hostname not active To: "Mailing list for lwIP users" <address@hidden> Date: Tuesday, April 28, 2009, 5:29 PM
You
need to have some SMB code.
An
example was posted already, check through the archives.
Bonny,
Hello,
Good day.
I have an issue using the
hostname to resolve netif.
When i tried to initialize a hostname
for the interface, i did it like this in the ethernet interface init
function:
#if LWIP_NETIF_HOSTNAME /* Initialize interface
hostname */ netif->hostname = "lwip"; #endif /*
LWIP_NETIF_HOSTNAME */
From the lwip/opt.h I enabled
LWIP_NETIF_HOSTNAME.
After having a call back funcion for the
ethernet interface init, i printed out the status and i got the actual
hostname "lwip". Then after initializing everything, I tried to ping the
network resource using the hostname "lwip", but it was not successful.
What do I need to do for the hostname to be activated? Please
advise.
Thanks, Emmanuel
| -----Inline Attachment Follows-----
|