etc/resolv.conf gets overwritten with blank file upon boot.
Paul Howarth
paul at city-fan.org
Tue Mar 8 19:27:43 UTC 2005
On Tue, 2005-03-08 at 14:01 -0500, Nat Gross wrote:
> >Go to /etc/sysconfig/network-scripts and edit the script which sets on
> >your interface. There shouldn't be any line with DHCP, just comment
> >them or remove them.
> >
> >
> Hmm... I am not that well versed with scripting bash. Also, are these
> scripts automatically generated? Should I not rather goto the source
> that causes the script be written? What happens if I turn dhcp on again
> in the future?
Try this:
$ fgrep BOOTPROTO /etc/sysconfig/network-scripts/ifcfg-*
If any of the resulting output (which might be empty) mentions DHCP then
edit the referenced file and change
BOOTPROTO=dhcp
to
BOOTPROTO=static
Paul.
--
Paul Howarth <paul at city-fan.org>
More information about the fedora-list
mailing list