Joao Batista Gomes de Freitas wrote:
Hi,
You dont need to switch to fix IP. Here, from man dhcpcd :
NAME
dhcpcd - DHCP client daemon
SYNOPSIS
dhcpcd [-dknrBCDHNRSTY] [-t <timeout>] [-c
<ExecFilePath>]
[-h <hostname>] [-i <vendorClassID>] [-I
<clientID>]
[-l <leasetime>] [-s [ipaddr]] [-G [gateway]] [-w
<windowsize>]
[-L <ConfigDir>] [interface]
-R Prevents dhcpcd from replacing existing /etc/resolv.conf file.
Am I miss something ?? Then, sorry. Just trying to help....
The way to use this is to put "PEERDNS=no" in the config file in
/etc/sysconfig/network-scripts for the interface. (ifcfg-eth0) There is
alos a check box for it if you are using MCC to set up the interface.
You can also leave PEERDNS=yes and set DNS1 and DNS2 if you want
specific name servers used when that interface is up.
PEERDNS=yes|no
modify /etc/resolv.conf if peer uses msdns extension (PPP only) or
DNS{1,2} are set, or if using pump or dhcpcd. default to "yes".
DNS{1,2}=<ipaddress>
provide DNS addresses that are dropped into the resolv.conf
file if PEERDNS is not set to "no".
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
____________________________________________________
Want to buy your Pack or Services from Mandriva?
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________