Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!chi-news.cic.net!newspump.sol.net!www.nntp.primenet.com!nntp.primenet.com!news.mathworks.com!fu-berlin.de!mumu.inf.fu-berlin.DE!not-for-mail
From: arnulf@inf.fu-berlin.de (Arnulf Guenther)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Where did localhost go?
Date: 13 Sep 1996 10:21:50 GMT
Organization: Freie Universitaet Berlin
Lines: 34
Message-ID: <ARNULF.96Sep13122150@mumu.inf.fu-berlin.de>
References: <517pep$lla@Mars.mcs.com>
NNTP-Posting-Host: mumu.inf.fu-berlin.de (160.45.110.61)
X-Access: 16 17 19
In-reply-to: font@MCS.COM's message of 11 Sep 1996 20:36:25 -0500
>>>>> "Font" == Font <font@MCS.COM> writes:
Font> ~ $ ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes
Font> ping: sendto: Host is down ping: wrote 127.0.0.1 64 chars,
Font> ret=-1
Font> I'm pretty sure that this worked before I configured and
Font> tested user mode PPP. What should I look for in order to
Font> get this working again? I took a peek into /etc/sysconfig
Font> to see if anything got changed, but everything referring to
Font> localhost or lo0 is unchanged. Pinging the other machine in
Font> my network works fine, as does pinging the local machine by
Font> actual name in /etc/hosts (yes, localhost it in /etc/hosts).
Font> 2.1.5R. -- font@mcs.net Wishes are like dishes.
I can only think of one way to set this up:
example# ifconfig lo0 inet localhost
...
example# ifconfig lo0
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
example#
provided, of course, that in /etc/hosts is a line like this:
127.0.0.1 localhost
the first ifconfig line is to be found in /etc/netstart and
usually should be called upon boot time.
-Arnulf