You are not logged in.
Hello everybody.
I use several network profiles on my laptop, one of them is wireless at home. I need to specify the DNS servers at /etc/network-profiles/home:
INTERFACE=eth1
HOSTNAME=lap
IFOPTS="dhcp"
DOMAIN=localdomain
DNS1=194.8.160.90
And it works perfectly. But after the lease renews, I get
nameserver 192.168.1.1
in /etc/resolv.conf (it is my router) instead of specified DNS servers. What can be done to use DNS servers from the network profile?
Last edited by cheer (2007-04-30 03:12:43)
Offline
Hi cheer,
try adding -R option to /etc/conf.d/dhcpcd
From dhcpcd man page:
-R Prevents dhcpcd from replacing /etc/resolv.conf or using resolvconf.
Offline
Yes, I know it. If I used a desktop computer, I would use this option. But I use laptop, so I don't want to replace my /etc/resolv.conf
P.S. it seems that this issue happened from upgrading of dhcpcd package.
P.P.S. The bug was opened, thanks to iphitus: http://bugs.archlinux.org/task/7024
Last edited by cheer (2007-04-30 03:14:49)
Offline