*BSD News Article 43792


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!news.uoknor.edu!news.ecn.uoknor.edu!paladin.american.edu!zombie.ncsc.mil!news.mathworks.com!gatech!howland.reston.ans.net!news.sprintlink.net!helena.MT.net!nate
From: nate@trout.sri.MT.net (Nate Williams)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Error: '<hostname>: bad value' at boot with 950412-SNAP
Date: 10 May 1995 21:56:47 GMT
Organization: SRI Intl. - Montana Operations
Lines: 31
Message-ID: <3orcqv$ihq@helena.MT.net>
References: <3olve8$72p@maggiore.dsnet.it>
Reply-To: "Nate Williams" <nate@sneezy.sri.com>
NNTP-Posting-Host: trout.sri.mt.net

In article <3olve8$72p@maggiore.dsnet.it>,
Angelo Turetta <aturetta@stylo.italia.com> wrote:
>I've just installed my FreeBSD 2.0 gateway to the internet, and after
>some configuration issues with my service provider, now I have a PPP
>connection between my LAN and the net.
>
>Only, I don't understand why at boot time, after setting parameters
>for my ethernet card, the system seems to hang for about one minute.
>This timeout elapsed, I see an error 'bad value' and then all starts
>well (I mean sendmail, named, pppd etc....). This is what I get on the
>console:

This is most often caused because your system is using DNS by default.  So,
until your PPP link is up, your system doesn't know it's own IP address.

The solution is easy.  Make sure your IP address is in /etc/hosts, and
modify /etc/host.conf to do name resolution via /etc/hosts first, and
*then* use DNS.  This is one of the primary reasons I added this feature
2 years ago to FreeBSD 1.0.

>Is it normal that domainname be null ?

If you aren't running YP it is.  'domainname' is only used by YP.


Nate
-- 
nate@sneezy.sri.com    | Research Engineer, SRI Intl. - Montana Operations
nate@trout.sri.MT.net  |
work #: (406) 449-7662 | Loving life in God's country, the great state of
home #: (406) 443-7063 | Montana.