Le 17/09/2010 17:15, Bob Brusa a écrit :
Hi
I am playing around with the example http_2 that comes with ecos. My
Zyxel router recognizes my board and assigns it an IP-address. And yes
- the program responds when entering this IP-address on a browser
running on any of the PCs connected to my LAN. Similarely - a ping to
this address works fine. The problem: The Zyxel router can not find the
name of the board and hence, addressing my board by name does not work.
In the archive I found mails on this subject, but did not really
understand them. It seems the name resolution code is already included
in lwip. It uses netbios and is hence UDP based. So one has to enable
UDP-protocol. Furthermore I found a remark, that this
"netbios-handling"-thread must be initialized (in the http_2 app
running in my board). All this triggers two questions:
a) where can I define the hostname of my board?
b) How and when do I start this netbios name resolution protocol?
Thanks for help and best regards
roe
Am 20.09.2010, 07:10 Uhr, schrieb Nicolas Pinault <[email protected]>:
Hi,
Adding netbios name management is easy.
Just add netbios.c and netbios.h to your source files and call
netbios_init() during initialisation.
Be careful that netbios name must be in uppercase letters.
You can find netbios.c and netbios.h in lwip/contrib/apps/netbios
Regards,
Nicolas
Hi Nicolas
Fine, adding netbios helped. Now I can get into contact with my board,
running a corresponding program on my PC that uses the NETBIOSNAME to
connect. However, Zyxel still does not know the name of my board - which
obiously allows my Win-XP program to connect with my board. Has anybody a
hint what is missing?
Regards roe
_______________________________________________
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