For netbios, you don't really have to search the list: there is code in
the contrib module (also available in the download section). You just
have to define the device's name as NETBIOS_LWIP_NAME and call
netbios_init() after the stack is initialized. The udp raw api is used
to answer to request packets asking for the name defined by
NETBIOS_LWIP_NAME.
Simon
bonny gijzen wrote:
Yes, you must implement netbios name resolving.
Do a search in this list, some people have posted code snippets how to
do this.
Regards Bonny Gijzen,
------------------------------------------------------------------------
*Van:* [email protected]
[mailto:[email protected]] *Namens
*Joseph Thomas-Kerr
*Verzonden:* vrijdag 24 juli 2009 00:39
*Aan:* lwip-users
*Onderwerp:* [lwip-users] Setting my hostname on a LAN controlled by
Windows2003 Server
Hi,
I'm building an embedded web server using LWIP. It uses DHCP to get an
IP address, and I have enabled hostnames so the name is sent back in
the DHCP REQUEST packet.
This platform is an example kit for customers so I want them to be
able to plug it into their LAN and then navigate to the server using
its hostname in a web browser.
This doesn't seem to work on our network which uses Windows 2003
Server. I suspect that the list of hostnames is secured by the windows
domain server, so it won't dynamically assign the hostname for my
server when I plug it in.
Is there any way around this?
Regards,
Joe.
------------------------------------------------------------------------
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users