I realized that It's work fine now, but just with the first IP that I set... for example, I set 192.168.0.30 Then, running the program, I change to IP 192.168.0.31 and when I ping 192.168.0.31 it works, but when I ping HOSTNAME appear: ping to 192.168.0.30! may i have to restart the connection, I dont know what to do.. Any Ideas?
Diego Diecol wrote: > > Thanks Kieran > > I tryed to do what U told me to do.. but it isnt work yet. > So I tryed to do otherwise. > > I went to savannah site and downloaded the old version of netbios.c, the > 1.7! > And now it works fine! > I just have one problem, I put netbios_init(); after lwip_init(); and when > I use static IP it works good, but when changes to DHCP ON, it isnt ;( > I already tryed to just write the netbios_init() after DHCP ON, to just > write netbios_init() after lwip_init() no matter what, if DHCP ON or OFF, > and write after lwip_inti and after DHCP started but nothing.. > > Any Ideas? > > when I have to call netbios_init()? It's work with DHCP right? > > Thks again > > Diego > > > Kieran Mansley wrote: >> >> >> On 11 Jan 2011, at 18:25, Diecol wrote: >> >>> So, I replace in external libs folder of my project the new version ow >>> lwip >>> and now I'm trying to modifie step by step ;( >> >> That won't work. There are three parts to the code you have: >> >> 1) Your network hardware driver >> 2) lwIP core code - this is what you have downloaded from savannah >> 3) The operating system specific port of lwIP >> >> These three all have dependencies on each other. You've replaced (2) in >> the list above with a newer version, but the APIs in that version that >> connect it to the network driver and the operating specific port will be >> different - they are changed and improved as we develop the lwIP core. >> >> There are also the lwIP configuration files which will have had some >> minor changes over time - new items added, perhaps some default values >> have changed - so you should also review those. >> >> You will need to update the network driver and operating system specific >> port to work with the newer APIs. This is somewhere where we don't have >> a lot of documentation, but there is some detail on the wiki about >> changes in recent versions and what to update. Unfortunately this >> doesn't go back as far as the 1.1.1 version that you're starting from, so >> you will have a bit of work to do. If you can't do that by yourself you >> might be lucky and find that someone else has already done a port of the >> lwIP core to your operating system and hardware driver (much like the >> code you found originally that included lwIP 1.1.1, but for lwIP >> 1.4.0rc1). >> >> Kieran >> _______________________________________________ >> 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-tp30643324p30664714.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
