From owner-freebsd-questions@FreeBSD.ORG Tue May 30 23:05:30 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 B462F16B52A for ; Tue, 30 May 2006 23:05:30 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 122C643D58 for ; Tue, 30 May 2006 23:05:29 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id k4UN5NNr035785; Tue, 30 May 2006 18:05:25 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <447CCFAE.6090603@daleco.biz> Date: Tue, 30 May 2006 18:05:18 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.2) Gecko/20060509 SeaMonkey/1.0.1 MIME-Version: 1.0 To: Malcolm Fitzgerald References: <447A662C.9050708@daleco.biz> <8f8af4261e016d4487bb94952df8157c@pacific.net.au> <447AF91C.10106@daleco.biz> <447C3A9D.2030908@daleco.biz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@FreeBSD. ORG" 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: Tue, 30 May 2006 23:05:40 -0000 Malcolm Fitzgerald wrote: > > On 30/05/2006, at 10:29 PM, Kevin Kinsey wrote: > >> Malcolm Fitzgerald wrote: >>>> Malcolm Fitzgerald wrote: >>> Running that command returns this: >>> ifconfig: -inet: bad value >> >> >> Bah! I'm on the road too much lately. No "dash" >> before "inet" ... > > here's the output > > 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 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. If all these aren't true, that would explain why the loopback isn't configured. Kevin Kinsey -- There's an old proverb that says just about whatever you want it to.