From owner-freebsd-questions Mon Mar 20 10:52:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from janus.afccc.af.mil (janus.afccc.af.mil [209.22.30.2]) by hub.freebsd.org (Postfix) with ESMTP id 128CE37B9A0 for ; Mon, 20 Mar 2000 10:52:03 -0800 (PST) (envelope-from kevin.havener@afccc.af.mil) Received: from janus.afccc.af.mil (root@localhost) by janus.afccc.af.mil with ESMTP id SAA08507; Mon, 20 Mar 2000 18:52:00 GMT Received: from thor.afccc.af.mil (thor.afccc.af.mil [209.22.31.24]) by janus.afccc.af.mil with ESMTP id SAA08502; Mon, 20 Mar 2000 18:52:00 GMT Received: from afccc.af.mil (olasun7.afccc.af.mil [209.22.31.56]) by thor.afccc.af.mil with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id 1P8NS72V; Mon, 20 Mar 2000 13:46:36 -0500 Message-ID: <38D67310.8D4C96C2@afccc.af.mil> Date: Mon, 20 Mar 2000 13:50:56 -0500 From: Kevin Havener X-Mailer: Mozilla 4.08 [en] (X11; U; SunOS 5.7 sun4u) MIME-Version: 1.0 To: Ben Smithurst Cc: freebsd-questions@freebsd.org Subject: Re: Can't resolve localhost References: <38D6394D.8A62059D@afccc.af.mil> <20000320163816.A17092@strontium.scientia.demon.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ben Smithurst wrote: > > Kevin Havener wrote: > > > I suddenly can't resolve localhost. I found this when I tried > > fetching my mail with fetchmail. It gave me this error message. > What do you get if you kdump the output of "ktrace ping localhost", for > example? > > > # -- sysinstall generated deltas -- # > > ifconfig_ppp0="inet netmask 255.255.255.0" > > moused_enable="YES" > > defaultrouter="NO" > > network_interfaces="ppp0 lo0" > > hostname="freebsd" > > linux_enable="YES" > > lpd_enable="YES" > > browserPackage="lynx" > > ah... where's the ifconfig_lo0 line? That could cause problems. You need > ifconfig_lo0="127.0.0.1" I'll try this when I get home tonight. I'll check the /etc/defaults/rc.conf to see that I didn't muck it up, but I'm pretty sure I heeded the advice to make local changes in /etc/rc.conf. I've put a fake domain in my hosts file, didn't make any difference. When I had my cvsup problem, had to make sure that my hosts file had "127.0.0.1 localhost freebsd" in it, and I think the order was important, too. As you can see, this has always been flaky for me. How would I make sure the hosts file gets re-read by the system (besides rebooting)? Maybe I haven't been consistent in this respect. thanks for the help Kevin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message