On Tue, 2006-03-28 at 00:02 +0100, THUFIR HAWAT wrote: > Thanks all, yes, the telnet is working :) > > Just a few minutes ago it wasn't, but I played around with the hosts > file. I don't understand why it's working now and not before because > I'm still using a FQDN which I was using from the beginning. However, > I changed the arrangement of a few things:
[snip] > localhost ~ # cat -n /etc/hosts [snip] > 11 127.0.0.1 localhost > 12 127.0.0.1 hawat.thufir.gmail.com arrakis typically, in your /etc/hosts file (as far as I have learnt it anyway) you would leave the 127.0.0.1 line just with localhost. Then put your FQDN, as well as your Shortened-domain-name on your "real ip address" line: $ cat /etc/hosts 127.0.0.1 localhost 172.16.0.52 orpheus orpheus.pcorp.com.au So, looking at one of your previous posts: 10 #127.0.0.1 localhost 11 127.0.0.1 hawat.thufir.invalid arrakis localhost (line 10 being ignored because it's commented) when you say "look for localhost", what is localhost? it's not even in the hosts file, so nobody knows how to get there! I think this is what's happening anyway. At least you have it working. I am curious though, are "hawat.thufir.gmail.com" and "arrakis" both names for your machine? cya, -- Iain Buchanan <iaindb at netspace dot net dot au> The major sin is the sin of being born. -- Samuel Beckett -- gentoo-user@gentoo.org mailing list