Hostname problems with xfmail
Thu Sep 30 23:37:21 BST 1999
My new 3.2 system is just about up and running successfully now,
apart from one thing.. :-(
xfmail gets stuck when it starts up, as it tries to resolve my
(local) hostname, and just sits there..
(The log window says: async_gethostbyname: viewport)
('viewport' is the name of my local machine)
I can't work out what's going on, as no other internet applications
seem to care or do this!
I think that there is probably something wrong with my hostname
but I don't know what!
In case these are of any use, here are the contents of the following
> more /etc/hosts
# Host Database
# This file should contain the addresses and aliases
# for local hosts that share this file.
# In the presence of the domain name service or NIS, this file may
# not be consulted at all; see /etc/host.conf for the resolution order.
127.0.0.1 localhost viewport
#127.0.0.1 viewport.f9.co.uk localhost.f9.co.uk localhost
# Imaginary network.
#10.0.0.1 viewport viewport.f9.co.uk
#10.0.0.2 myname.my.domain myname
#10.0.0.3 myfriend.my.domain myfriend
# According to RFC 1918, you can use the following IP networks for
# private nets which will never be connected to the Internet:
# 10.0.0.0 - 10.255.255.255
# 172.16.0.0 - 172.31.255.255
# 192.168.0.0 - 192.168.255.255
# In case you want to be able to connect to the Internet, you need
# real official assigned numbers. PLEASE PLEASE PLEASE do not try
# to invent your own network numbers but instead get one from your
# network provider (if any) or from the Internet Registry (ftp to
# rs.internic.net, directory `/templates').
> more /etc/host.conf
# $Id: host.conf,v 1.5 1998/11/16 02:02:30 jkh Exp $
# First try the /etc/hosts file
# Now try the nameserver next.
# If you have YP/NIS configured, uncomment the next line
> more /etc/rc.conf
# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.
# -- sysinstall generated deltas -- #
ifconfig_ppp0="inet netmask 255.255.255.0"
Any help would be much appreciated!
More information about the Ukfreebsd