I am having trouble installing exim; when it fails it says:
hostname: Unknown host
hostname --fqdn gave non-zero exit code 256   

I do not have a registered domain name; I suppose I need to set something fake 
like home.net.
The man page for hostname says I can query but not set the domainname, and 
suggests using /etc/hosts and/or /etc/host.conf, but the man pages for those 
are not quite explicit enough for me to get something to work.  I am using dhcp 
(pump, actually) to get an IP, so I can't hard-code an IP anywhere. I have 
tried quite a few combinations in the config files w/o luck;  hostname --fqdn 
always fails.  Currently (failing) I have
======  /etc/resolv.conf   =========
domain home.net
nameserver 192.168.2.1
====== /etc/host.conf  ===========
order hosts,bind
multi on
====== /etc/hosts   =============
127.0.0.1       localhost
# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
======= /etc/pump.conf ==========
domainsearch "home.net"
device eth0 {
    nodns
}
====== /etc/network/interfaces  ======
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
  leasetime 10000
  hostname dell330
==========  /etc/hostname  ========
dell330



Thanks for any suggestions!

Will



_____________________________________________________________
Get your own FREE e-mail account at http://www.volcanomail.com

Reply via email to