Subject: Re: stand alone system (was Why is ifconfig...)
To: None <current-users@NetBSD.ORG>
From: Patrick Welche <email@example.com>
Date: 04/15/1997 17:26:43
Andrew Brown wrote:
> yes, but my "stock" system at home doesn't have any network interfaces.
> i don't have a network. (it dials in periodically, but i don't ever get
> the same address from the isp so i can't use that). but i'd really like
> to give it a hostname. what would one do in such a situation? sure, i
> can give it a hostname, but that hostname won't resolve to an address and
> if it did, that address would not be reachable.
> unless i built in another lo device and ifconfig'ed it to something
> other than 127.0.0.1...ick!
Can't you do that in /etc/hosts with your hostname = localhost which
is on lo0 without needing another interface no matter what file you
choose to use for the configuration of the interface?