From owner-freebsd-questions@FreeBSD.ORG Wed Sep 5 07:53:56 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A333416A418 for ; Wed, 5 Sep 2007 07:53:56 +0000 (UTC) (envelope-from pollywog@shadypond.com) Received: from mx-outbound01.easydns.com (mailout.easydns.com [205.210.42.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6ACFA13C45E for ; Wed, 5 Sep 2007 07:53:56 +0000 (UTC) (envelope-from pollywog@shadypond.com) Received: from slider.shadypond.com (69-12-173-117.static.humboldt1.com [69.12.173.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx-outbound01.easydns.com (Postfix) with ESMTP id 0020581B5 for ; Wed, 5 Sep 2007 03:35:31 -0400 (EDT) Received: from slider.shadypond.com (slider.shadypond.com [192.168.1.11]) by slider.shadypond.com (postoffice) with ESMTP id EBF54B67AC for ; Wed, 5 Sep 2007 07:35:26 +0000 (UTC) From: Pollywog Organization: A Small Pond To: freebsd-questions@freebsd.org Date: Wed, 5 Sep 2007 07:35:26 +0000 References: <200709050725.42317.lists-fbsd@shadypond.com> In-Reply-To: <200709050725.42317.lists-fbsd@shadypond.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709050735.26298.pollywog@shadypond.com> Subject: Re: loopback won't enable automatically [SOLVED] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2007 07:53:56 -0000 On Wednesday 05 September 2007 07:25:42 Pollywog wrote: > On Wednesday 05 September 2007 04:48:53 Ian Smith wrote: > > On Wed, 5 Sep 2007 01:47:47 +0000 Pollywog wrote: > > > I have to manually set the loopback interface after each reboot on one > > > machine (it is a laptop): > > > > > > ifconfig lo0 127.0.0.1 netmask 255.0.0.0 > > > > > > Then everything is fine. > > > > > > I added ifconfig_lo0="127.0.0.1 netmask 255.0.0.0" to /etc/rc.conf > > > but for unknown reasons it now looks like this and I still need to set > > > lo0 manually after reboots: > > > > > > ifconfig_lo0="inet 127.0.0.1 netmask 255.0.0.0" > > > > > > Any ideas? I am running FreeBSD 7 > > > > I noticed before when you posted your ifconfig with missing localhost > > IPv4 address. You shouldn't have had to add it to rc.conf in the first > > place, as you should find this line existing in /etc/defaults/rc.conf: > > > > ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. > > > > Check that nothing has messed with /etc/defaults/rc.conf, and also that > > you have no later ifconfig_lo0 entry in rc.conf. The last one found > > there is the one that applies, later entries overriding earlier ones. > > > > Apart from that, I can't imagine what might be deleting your default > > localhost configuration, unless you're using rc.local? Otherwise I'd be > > searching any active scripts in /usr/local/etc/rc.d/ for any oddnesses > > that may hae been installed by some port or other? > > > > Cheers, Ian > > I did find it in /etc/default/rc.conf: > > ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. I found the problem. lo0 was not listed in network_interfaces in rc.conf Adding it fixed the problem. thanks