Hostname problems with xfmail

David Marsh dm
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
configuration,
but I don't know what!

In case these are of any use, here are the contents of the following
files:


> 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
hosts
# Now try the nameserver next.
bind
# If you have YP/NIS configured, uncomment the next line
# nis

> 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"
moused_enable="YES"
saver="logo"
blanktime="300"
font8x8="iso-8x8"
font8x14="iso-8x14"
font8x16="iso-8x16"
keymap="us.iso"
defaultrouter="NO"
network_interfaces="ppp0 lo0"
hostname="viewport"
linux_enable="YES"
lpd_enable="YES"



Any help would be much appreciated!


Thanks,


David.






More information about the Ukfreebsd mailing list