Subject: Re: SUP stopped working...
To: Roger Fischer <rogerf1@mac.com>
From: Frederick Bruckman <fb@enteract.com>
List: port-mac68k
Date: 03/11/2000 14:14:37
On Sat, 11 Mar 2000, Roger Fischer wrote:
> >> >>max# sup -sv | tee sup14.log
> >> >>SUP 8.26 (4.3 BSD) for system software at Mar 10 18:12:20
> >> >>SUP: Can't find my host entry
> >> >>max#
> >
> >Do you have your own host entry in /etc/hosts? IIRC that's what sup is
> >looking for.
>
> I have the following lines in my /etc/hosts file that point at my
> local machine. Max is my NetBSD box.
>
> #
> 127.0.0.1 localhost.localdomain localhost
> #
> 192.168.0.1 pete
> 192.168.0.2 scooter
> 192.168.0.3 max
Try adding an FQDN to the last line (max. or max.something).
Sup wants to see hostname() and gethostbyname(hostname()) each return
something. "hostname" does a hostname()--that's the value set in
/etc/rc.conf or /etc/myhost. "ping `hostname`" or "traceroute
`hostname`" will each do a gethostbyname(). Hope that helps.