On Thu, 11 May 2006 23:54:56 +1200 Andrew Packer <[EMAIL PROTECTED]> wrote:
> On Thu, 2006-05-11 at 23:07 +1200, Christopher Sawtell wrote: > > On Thursday 11 May 2006 22:58, Andrew Packer wrote: > > > /etc/hosts looks like this: > > > > > > ABC.DEF.1.3 marian > > > ABC.DEF.1.2 andrew > > > 127.0.0.1 logcabin localhost > > > > > > (Sorry to be coy with the ABC.DEF, but I don't know whether it > > > is > > > considered bad form to post one's internal network addresses on > > > a public forum.) Logcabin's non-loopback address is > > > ABC.DEF.1.4. > > > > Could you tell us what happens if you change /etc/hosts to:- > > > > 127.0.0.1 localhost > > ABC.DEF.1.2 andrew > > ABC.DEF.1.3 marian > > ABC.DEF.1.4 logcabin > > > > I think that that will fix your problem. > > > > Sorry, I left something out that I had put into my original message > (that the list server bounced because I sent it from the wrong account). > I had actually done almost what you've suggested: given the name > logcabin and the alias localhost to both 127.0.0.1 and ABC.DEF.1.4. Or > I had tried. Each time I added the 127.0.0.1 line, the ABC.DEF.1.4 line > disappeared, and vice-versa. > > I just gave it another stab, calling 127.0.0.1 localhost and ABC.DEF.1.4 > logcabin, but the Gnome Network Administration Tool > (system-config-network) wouldn't retain more than three lines. I > hand-edited the /etc/hosts file with 127.0.0.1 as localhost and > ABC.DEF.1.4 as logcabin, rebooted: same hangup. I changed the 127.0.0.1 > line to read 127.0.0.1 localhost.localdomain localhost, rebooted: same > hangup. I've made sure the 127.0.0.1 line is the first line > in /etc/hosts. > > I note that what the Gnome Network Admin. Tool reports in its Hosts tab > doesn't agree with /etc/hosts (and /etc/hosts is not being changed by > the system), so from where is the GNAT getting its information? And why > should a dodgy GUI tool matter anyway? > > (At this point my brain is threatening industrial action, so I'll look > at the machine again in the morning.) Thank you for the assistance. > > =====Andrew > You haven't defined your fully qualified domain name ( FQDN ) anywhere, and sendmail may well not like this. Fedora sets your server name to an IP af 127.0.0.1, which is plain wrong and can break lots of things. add in an entry ABC.DEF.1.4 logcabin.packer.org.nz logcabin and remove the definition of logcabin on the 127.0.0.1 line. Also, make sure that the file /etc/sysconfig/network contains the following lines NETWORKING=yes HOSTNAME=logcabin.packer.org.nz GATEWAY=ABC.DEF.1.GHI ( Choose your own domain name! ) The other thing that you'll need to be sure is working is dns resolution. The contents of /etc/resolv.conf need to have the nameservers as defined by your ISP ( or probably just your router IP? ). There are almost always at the bottom of timeouts like this. I run a dns server at 10.0.x.y, and ue my router as secondary, and my resolv.conf looks like this... search greengecko.co.nz nameserver 10.0.x.y nameserver 10.0.x.z Good Luck! Steve PS. I hope ABC.DEF is either 192.168 or 10.0 - these are non-routable addresses, and are not important. When giving examples like this it is common to define your IP addresses as 192.168.x.y, as it signifys this, as well as anonymising your network.
