*BSD News Article 43752


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!news.gmi.edu!zombie.ncsc.mil!news.mathworks.com!gatech!howland.reston.ans.net!pipex!sunic!sunic.sunet.se!newsfeed.tip.net!maggiore.dsnet.it!usenet
From: aturetta@stylo.italia.com (Angelo Turetta)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Error: '<hostname>: bad value' at boot with 950412-SNAP
Date: Mon, 08 May 1995 20:41:13 GMT
Organization: Stylo S.r.l. - Multimedia Software
Lines: 39
Message-ID: <3olve8$72p@maggiore.dsnet.it>
NNTP-Posting-Host: angelo.stylo.italia.com
X-Newsreader: Forte Free Agent v0.55

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:

>ed1: flags 8863<etc...etc..> mtu 1500 inet xx.yy.zz.ww netmask XXXXXXX broadcast aa.bb.cc.dd ether nn:nn:nn:nn:nn:nn
>.......timeout for about 1 minute
>unix.stylo.italia.com: bad value

of course I have a line in sysconfig:
hostname="unix.stylo.italia.com"

Maybe this has to do with the fact that the my installation script did
not end up correctly (I got a syntax error running extract.sh and
do_cksum.sh after ftp installation, so I had to do it by hand, then
the script didn't run anymore): I have configured 'sysconfig' by hand.

Another issue. Look at the result of two sysctl commands:

>unix# sysctl kern.hostname
>kern.hostname = unix.stylo.italia.com
>unix# sysctl kern.domainname
>kern.domainname = 

Is it normal that domainname be null ?

Thanks to anyone trying to help me.


Angelo Turetta.
System Administrator - STYLO S.r.l. - Bologna
aturetta@stylo.italia.com (Angelo Turetta)
100014.1757@compuserve.com