[ECOS] Redboot DHCP

John Newlin jnewlin@rawbw.com
Tue Nov 4 16:18:00 GMT 2003


oops, forgot to include ecos group

John Newlin wrote:

> These 2 options:
> CYGPKG_REDBOOT_NETWORKING_DNS
> and
> CYGPKG_NS_DNS?
>
> or are there more?  So many to choose from.
>
>
> Also in the DHCP code there is a loop that goes over the returned 
> options and picks off the subnet, gateway, but does not pick up the 
> DNS server:
>
> #ifdef CYGSEM_REDBOOT_NETWORKING_USE_GATEWAY
>                            case TAG_SUBNET_MASK:  // subnet mask
>                                memcpy(__local_ip_mask,p,4);
>                                break;
>                            case TAG_GATEWAY:  // router
>                                memcpy(__local_ip_gate,p,4);
>                                break;
> #endif
>
>
> I was going to add a:
> case TAG_DNS:
>   // copy in the DNS server address
>   break;
>
>
> Thanks!
>
> -john
>
>
> Andrew Lunn wrote:
>
>> On Mon, Nov 03, 2003 at 05:47:24PM -0800, John Newlin wrote:
>>
>>> Works great now!
>>>
>>> I see there is at least some stub code for DNS, but does not
>>> look complete.  Is that something someone is working on?
>>>
>>
>> DNS should work when you add the DNS package to the configuration.
>>
>>    Andrew
>>
>>
>>
>
>



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list