From owner-freebsd-questions@FreeBSD.ORG Wed May 31 04:45:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 893E516AA6F for ; Wed, 31 May 2006 04:45:55 +0000 (UTC) (envelope-from mfitzgerald@pacific.net.au) Received: from jay.exetel.com.au (jay.exetel.com.au [220.233.0.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2E1A43D46 for ; Wed, 31 May 2006 04:45:53 +0000 (GMT) (envelope-from mfitzgerald@pacific.net.au) Received: (qmail 347 invoked by uid 507); 31 May 2006 14:45:52 +1000 Received: from 28.101.233.220.exetel.com.au (HELO ?192.168.1.100?) (220.233.101.28) by jay.exetel.com.au with SMTP; 31 May 2006 14:45:52 +1000 Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: <447CCFAE.6090603@daleco.biz> References: <447A662C.9050708@daleco.biz> <8f8af4261e016d4487bb94952df8157c@pacific.net.au> <447AF91C.10106@daleco.biz> <447C3A9D.2030908@daleco.biz> <447CCFAE.6090603@daleco.biz> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <73db090acabea3f364af96f7b267edba@pacific.net.au> Content-Transfer-Encoding: 7bit From: Malcolm Fitzgerald Date: Wed, 31 May 2006 14:45:50 +1000 To: freebsd-questions@FreeBSD. ORG X-Mailer: Apple Mail (2.623) Cc: Subject: Re: troubleshooting network settings 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, 31 May 2006 04:46:31 -0000 >> bsd-box# ifconfig lo0 inet 127.0.0.1 netmask 255.255.255.0 >> bsd-box# ifconfig -a >> rl0: flags=8843 mtu 1500 >> options=8 >> inet6 fe80::2e0:4cff:fe08:e02a%rl0 prefixlen 64 scopeid 0x1 >> inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255 >> ether 00:e0:4c:08:e0:2a >> media: Ethernet autoselect (100baseTX ) >> status: active >> plip0: flags=108810 mtu 1500 >> lo0: flags=8049 mtu 16384 >> inet 127.0.0.1 netmask 0xffffff00 >> inet6 ::1 prefixlen 128 >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 On 31/05/2006, at 2:28 AM, Jorn Argelo wrote: >> > There we have it. Apache is unable to resolve "bsd-box". This hostname > should be resolvable, otherwise Apache will not work. Adding it to > /etc/hosts is the easiest way: > > 192.168.1.104 bsd-box bsd-box.yourdomain.com This line was already in /etc/hosts; 127.0.0.1 localhost localhost.home.net bsd-box bsd-box.home.net and I've added this line 192.168.1.104 bsd-box bsd-box.home.net > > In addition to Jorn's advice, check /etc/defaults/rc.conf. The > file should exist and have permissions like so: > > $ ls -l /etc/defaults/rc.conf > -r--r--r-- 1 root wheel 31735 May 15 18:48 /etc/defaults/rc.conf > > and it should have the following line within: > > $ grep lo0 /etc/defaults/rc.conf > ifconfig_lo0="inet 127.0.0.1" # default loopback device > configuration. All present. Still cannot connect to localhost. malcolm