resolv.conf missing

Nathan Kinkade nkinkade at
Fri Oct 8 15:11:25 PDT 2004

On Fri, Oct 08, 2004 at 03:40:40PM -0600, Lance Earl wrote:
> I am planning to convert my redhat server ( to 5.x
> freebsd when 5.x is released as stable. Until then, I am working with
> 5.1.2 to get familiar with it.
> I have installed it on a dhcp network with the following:
> dhcp server:
> fedora computer:
> bsd computer:
> >From the v 5.x computer I can ping and
> When I try to ping, the ping fails. I can however ping
> successfully. I cannot ping anything on the Internet.
> Problem 1: During the install, I set the ip to, yet the bsd
> computer is responding as
> Problem 2: Because I cannot ping the internet, I went to take a look at
> etc/resolv.conf but it is not there.
> I have installed v 4.9 on multiple occasions and it has always worked
> fine. Installion of 5.1.2 exactly the same way fails to connect to the
> internet via my gateway. Any help will be appreciated.

Was it a type that you excluded the initial slash (/) from
etc/resolv.conf?  resolv.conf is usually just 3 or 4 lines longs, so if
for some strange reason it is missing you can always just create it.
Put in one or two entries such as:

nameserver <IPofDNS1>
nameserver <IPofDNS2>

# man resolv.conf

Perhaps resolv.conf missing could be cause to invesitage whether your
install went well, and if other things might be missing as well?

PGP Public Key:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list