Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jan 2004 00:06:52 +0100
From:      Luca Gerli <theglide@tiscali.it>
To:        Scott Lambert <lambert@lambertfam.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: 5.2 RC2 DHCP/resolv.conf install problem
Message-ID:  <3FFDE28C.4050108@tiscali.it>
In-Reply-To: <20040108215409.GB902@www.lambertfam.org>
References:  <20040108204617.GA902@www.lambertfam.org> <20040108214238.489255D04@ptavv.es.net> <20040108215409.GB902@www.lambertfam.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Scott's problem happened to me too (DHCP is a Zyxel Prestige). I just
touched the /etc/resolv.conf and it all worked.
Luca.

Scott Lambert wrote:
> On Thu, Jan 08, 2004 at 01:42:38PM -0800, Kevin Oberman wrote:
> 
>>>Date: Thu, 8 Jan 2004 15:46:17 -0500
>>>From: Scott Lambert <lambert@lambertfam.org>
>>>Sender: owner-freebsd-current@freebsd.org
>>>
>>>I've had this happen a couple of times over the past mumble months.  But
>>>I don't install 5.x often enough and thought I was just seeing a fluke
>>>in the way my system installed.  Seeing it for third time is just too
>>>many flukes.
>>>
>>>Last night I installed 5.2 RC2 on my shiny new Compaq Presario 2195US.
>>>When it rebooted the first time, DHCP gave me my IP address and default
>>>route but resolv.conf did not exist.  To fix, I touched /etc/resolv.conf
>>>and restarted dhclient.
>>>
>>>My DHCP server is a Linksys WAP/Router/4-port switch, but I don't think
>>>the DHCP server is material to the issue.
>>
>>I was seeing the same thing last November when I was traveling. It only
>>happened in my hotel room on the broadband connection. 
>>
>>My suspicion is that the DHCP server is not providing a DNS server and
>>that it is simply deleting the resolv.conf instead of leaving the
>>existing one.
>>
>>You might want to try doing a capture of traffic to the bootps port on
>>your system and see if that is what is happening.
> 
> 
> I've only had this happen on the first boot; but I suppose I have a
> populated resolv.conf after that, don't I?  I'll have to dig some more.
> 
> Hmm, was one of these instances at work?  I'll have to check both
> places.
> 
> Thanks.
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FFDE28C.4050108>