[En-Nut-Discussion] Change the IP/gateway

Ole Reinhardt ole.reinhardt at kernelconcepts.de
Wed Nov 24 18:39:59 CET 2004


Hi,

>  confnet.cdn_ip_addr = 192.168.1.2;
>  confnet.cdn_ip_mask = 255.255.255.0;
>  confnet.cdn_gateway = 192.168.1.2;

AFAIK you need to use the NutNetIfConfig to set these values. Before
doing this you better should clear the values in the confnet struct.
Escpecialy it seemed to me that the dhcp config does not work properly
if these fields are not cleared before.

> Is it possible to configure a DNS server adress?

Yes, it should be... have a look to the app directory of your NutOS
tree. I remember an application using DNS there...

Bye,

Ole

-- 
kernel concepts    Tel: +49-271-771091-14
Dreisbachstr. 24   Fax: +49-271-771091-19
D-57250 Netphen    E+ : +49-177-7420433
--





More information about the En-Nut-Discussion mailing list