resolv.conf missing

Nathan Kinkade nkinkade at ub.edu.bz
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 (www.dallypost.com) 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: 192.168.0.1
> fedora computer: 192.168.0.2
> bsd computer: 192.168.0.3
> 
> >From the v 5.x computer I can ping 182.168.0.1 and 192.168.0.2.
> When I try to ping 192.168.0.3, the ping fails. I can however ping
> 192.168.0.4 successfully. I cannot ping anything on the Internet.
> 
> Problem 1: During the install, I set the ip to 192.168.0.3, yet the bsd
> computer is responding as 192.168.0.4.
> 
> 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?

Nathan
-- 
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=get&search=0xD8527E49
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041008/e4246c02/attachment.bin


More information about the freebsd-questions mailing list