[En-Nut-Discussion] RFC: Extending Network Configuration

Bob Shaver bobs at pmdinc.com
Tue Oct 31 21:14:48 CET 2006


Hi All,

> I'm currently working on adding a few things to Nut/OS. One being SNTP
> resolution via DHCP. In the course of this I have stumbled across a few
> details that require some changes.
>
> The first is that the NUTCONF structure will have to grow to add IP
> Addresses for DNS (two entries) and NTP. There is not much what we can do
> about NUTCONF growing - it was bound to happed one day - so anybody that has
> data stored in the EEPROM right behind NUTCONF will have to shift that data.

Possibly dumb comment from someone new to EtherNut, but....

DNS info should come as part of the DHCP packet (i.e. IP address, netmask, 
gateway and DNS), should it not?  So why should the EEPROM cfg be extended to 
hold it if it is dynamic?

Or are you simply allowing for situations when DHCP does NOT provide this info, 
or when DHCP is not used?


Bob.




More information about the En-Nut-Discussion mailing list