|
From: | Oliver Schindler |
Subject: | Re: [lwip-users] Ping zero checksum, hostname |
Date: | Mon, 5 Oct 2015 19:25:45 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
Hi Mark, On 30.09.2015 00:24, Mark Lederman
wrote:
Quite a while ago i faced the same problem, when i tried to ping my system from windows. So i implemented the "NetBios-NameService" for LWIP as a responder for the Windows NetBiosCalls. I didn't checked if this fits to an actual version of LWIP, but maybe it might help you as a jumpstart. Best regards, Oliver -------- Forwarded Message --------
Hi there, i'm quite new in this list, so didn't know, if this topic was handled before ... .. anyway, I'm using the lwip on an Arm9 together with FreeRtos and it's working smooth like anything. There was only one little naggi thing for me, because the counterpart of my SW is hosted in the windows-world, and this speaks only netbios for nameresolving. I'm in the need of using DHCP, so there is no chance to contact my Arm-board through a static IP. To keep long terms short, i wrote a little piece of SW which does the name-resolving for a netbios-name request and sends back the current IP-Adress. Maybe it's of any use for someone ... If the maintainer of the lwip find it somehow usefull, it can also be a part of the lwip. It consists of a c- and h -file and a part for the lwip-opts. The init is quite simple, jut give a pointer of your host-name, and pointer for the namelength and a pointer for your networkinterface. The last one is needed to get the IP-adress for the interface, so this will work also in cooperation with DHCP. The maximumlength for the hostname is 32 chars, this is the restriction from netbios. Thanks for your great work and c.u. soon, Oliver |
opt_part.h
Description: Text document
nbns.h
Description: Text document
nbns.c
Description: Text document
Attached Message Part
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |