Morten Nilsen wrote:
> I want to use my own DNS, rather than that given by the ISP, and for
> this reason, I put PEERDNS=no in my ifcfg-eth1 - this didn't work, and
> neither did putting it in /etc/sysconfig/network
>
> what must I do?
>
after a little poking around, it seems that the pertinent section in
ifup never takes effect;
if [ "${PEERDNS}" = "no" ]; then
# Do not update/replace resolv.conf.
PUMPARGS="${PUMPARGS} -d"
DHCPCDARGS="${DHCPCDARGS} -R"
fi
root 13309 0.0 0.2 2448 1120 ? Ss 08:58 0:00
/sbin/dhclient -1 -q -lf /var/state/dhcp/dhclient-eth1.leases -pf
/var/run/dhclient-eth1.pid -cf /etc/dhclient-eth1.conf eth1
ifcfg-eth1:
DEVICE=eth1
BOOTPROTO=bootp
ONBOOT=yes
PEERDNS=no
I see absolutely no reason why -R shouldn't be in the command line above..
--
Morten
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss