AW: RE: [En-Nut-Discussion] No DNS addresses with DHCP, super Michel's DHCP

Oliver Schulz olischulz at web.de
Fri Dec 31 11:57:08 CET 2004


Hi all,

I just applied the bugfixes from Michel to the current HEAD pro/dhcpc.c.
Hope that it works! :-)

Cheers and a happy new year,
Oliver. 

-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Jean Pierre
Gauthier
Gesendet: Freitag, 31. Dezember 2004 09:23
An: 'Ethernut User Chat (English)'
Betreff: RE: RE: [En-Nut-Discussion] No DNS addresses with DHCP,super
Michel's DHCP


Hi Michel,
I tested this morning  your dhcp.c . 

Congratulations! IT WORKS! I discovered the "4 steps" DHCP protocol by eth
sniffing. (discover->offer->request->ack).
NutDnsConfig2 call "Hits" : 10 / 10 DHCP tests. Reliable.
NutDhcpIfConfig call returns OK after 2 seconds instead after timeout value
with the native DHCP. 

Remark:
I'm not sure but both dhcp.c  seem to not support when dhcp task memory
context is over 0x8000. (my ethernut1.3 has 64K context ram instead 32K). 
Perhaps negative pointer test ? "if (ptr<0)..." [bad]  instead "if (ptr ==
-1)" or (!ptr) [good]?
Original dhcp freeze the system and your dhcp returns NOK.... Better but not
clear ;-)

More tests today. 

Jean Pierre


 
-----Message d'origine-----
De : en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] De la part de Michel Envoyé :
jeudi 30 décembre 2004 13:33 À : 'Ethernut User Chat (English)'
Objet : RE: RE: [En-Nut-Discussion] No DNS addresses with DHCP

Hi Jean Pierre,

>DHCP is in sleep state. (70E1 dhcpc 64 SLP 0000 0944 70CD 492 OK )

I actually meant the state inside DHCP (REBOOTING, etc) Otherwise, try my
dhcp.c I sent to this list on 'za 18-12-2004 8:45'

Michel

_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion


_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion




More information about the En-Nut-Discussion mailing list