OK, I thought that had a way out, like to force to update the IP list at windows!
What about the DHCP, I just wanna to use a Hostname for the IP that was configured by DHCP. eg: I'm using Static IP 192.168.0.30 and then I wanna to turn DHCP on, and when I do that (without use netbios_init) DHCP configures a IP for me and reconnect, eg: 192.168.0.107.. And now, I can ping 192.168.0.107.. Well, When I use netbios_init, when I try to turn DHCP on, the program stop to work and when I try to already start with DHCP on, it isnt work too! Isn't It simple? to use a hostname for a IP configured by DHCP? Diego Simon Goldschmidt wrote: > > Diecol <[email protected]> wrote: >> Really it was the problem.. I did ping for another PC and it worked! >> But how can I do this on the same machine? >> Because I'll need to change the IP and I can't turn off the machine at >> real >> situation! > > You cannot "solve" this. It's just the way windows works: it caches > netbios names and doesn't ask on the network every time. The reason for > this is that it tries to prevent broadcast flooding of the LAN, since > netbios names are resolved using local UDP broadcast (unless a central > server is used, which isn't the case for lwIP). > >> PS: The problem with DHCP & Hostname I couldnt solve yet.. It just works >> with Static IP.. > > I'm afraid I don't understand that. If you mean letting the DHCP client > pass a hostname (selected by lwIP) to the DHCP server and then being able > to ping that hostname: this cannot be easily configured, as you need a > linux/unix DHCP server that is bundled with a local DNS server and the > client PC trying to ping via hostname has to use that DNS server. It can > be done, but I don't think this turned on by default. > > Simon > -- > Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir > belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de > > _______________________________________________ > lwip-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users > > -- View this message in context: http://old.nabble.com/Using-HostName-with-lwip-1.4.0-tp30643324p30671123.html Sent from the lwip-users mailing list archive at Nabble.com. _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
