From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FO1Xt-0005oQ-T0 for garchives@archives.gentoo.org; Mon, 27 Mar 2006 23:54:50 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k2RNqCnp008892; Mon, 27 Mar 2006 23:52:12 GMT Received: from mail.netspace.net.au (thunder.netspace.net.au [203.10.110.71]) by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k2RNkSbL016117 for ; Mon, 27 Mar 2006 23:46:29 GMT Received: from orpheus (unknown [150.101.6.82]) by mail.netspace.net.au (Postfix) with ESMTP id AC3964B9DD for ; Tue, 28 Mar 2006 10:46:23 +1100 (EST) Subject: Re: [gentoo-user] telnet localhost From: Iain Buchanan To: gentoo-user@lists.gentoo.org In-Reply-To: References: <44283429.2060708@badapple.net> <442853EE.5040200@badapple.net> Content-Type: text/plain Date: Tue, 28 Mar 2006 09:16:08 +0930 Message-Id: <1143503168.30035.20.camel@orpheus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-Archives-Salt: e0a62a97-496d-46c1-b1d3-f9bb692e65e4 X-Archives-Hash: 8ad4259417b8bc24b589e21cc1d16075 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 The major sin is the sin of being born. -- Samuel Beckett -- gentoo-user@gentoo.org mailing list