[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Gateway address problem



> > # cat /etc/resolv.conf
> > search
> > #nameserver 192.168.1.1
> > nameserver 62.211.69.150
> > 
> > Do you know how to make "automatized" all at boot (wlan up)?
> 
> Normally on the dhcp server in dhcpd.conf:
> 
> option domain-name-servers  62.211.69.150, 192.168.1.1;
> 
> I am using dhcp3 , so this file is /etc/dhcp3/dhcpd.conf
> 
> If you only connect wireless to this server, you can also do it on the
> client in /etc/dhclient.conf:
> 
> prepend domain-name-servers 62.211.69.150;
> 
> but this way when you use another server it could be a very unhelpfull
> DNS.

Sorry, my bad explain. When I start my system /etc/resolv.conf remain same without change nothing in dhcp.conf.
However, every time I must do:

# iwconfig wlan0 essid NODE-NAME
# dhcpd wlan0

and all works. But, how can I automatize two commands above?

Giulio



Reply to: