From owner-freebsd-questions@FreeBSD.ORG Fri Oct 8 22:35:58 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65D8216A4CE for ; Fri, 8 Oct 2004 22:35:58 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B31C43D48 for ; Fri, 8 Oct 2004 22:35:58 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from working.potentialtech.com (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by internet.potentialtech.com (Postfix) with ESMTP id 9625869A40; Fri, 8 Oct 2004 18:35:56 -0400 (EDT) Date: Fri, 8 Oct 2004 18:35:54 -0400 From: Bill Moran To: lance@dallypost.com Message-Id: <20041008183554.0dba7fe3.wmoran@potentialtech.com> In-Reply-To: <1097271639.2782.20.camel@ringo.linux.dp> References: <1097271639.2782.20.camel@ringo.linux.dp> Organization: Potential Technologies X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: resolv.conf missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 22:35:58 -0000 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. Does 'netstat -rn' show a default route? If not, then you need to set one in /etc/rc.conf (or using sysinstall). I'm a little confused, though. Are you using DHCP? If so, the DHCP server _should_ set all this for you. (Although a DHCP server doesn't _have_ to set all this, it sure defeats the purpose if it doesn't) If you're not using DHCP to set the network information on the BSD machine, you'll need to manually add a "defaultrouter=" statement in /etc/rc.conf, and manually create /etc/resolv.conf (or you can use sysinstall to create them) -- Bill Moran Potential Technologies http://www.potentialtech.com