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 1FO0oC-0000qa-4B
	for garchives@archives.gentoo.org; Mon, 27 Mar 2006 23:07:36 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k2RN6oEv009696;
	Mon, 27 Mar 2006 23:06:50 GMT
Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.224])
	by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k2RN2XZB000803
	for <gentoo-user@lists.gentoo.org>; Mon, 27 Mar 2006 23:02:34 GMT
Received: by wproxy.gmail.com with SMTP id 71so1507124wri
        for <gentoo-user@lists.gentoo.org>; Mon, 27 Mar 2006 15:02:33 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=nHZsigLh13XFpULprQyezmOHiRHj+sx99oz23ixKdjlB5OcP8Yi8iO0g3NIiZznHj9WKe29C5XAX18A+0Ukb2Yoz+0nfq0opCOEF/GVupAGrxMZUpZywDmhBjwCk6F/USWNeZbUQnr4cLK4gF2vrJr4Id169gDBBTx1fbI6YVeA=
Received: by 10.54.120.4 with SMTP id s4mr3422353wrc;
        Mon, 27 Mar 2006 15:02:33 -0800 (PST)
Received: by 10.54.66.7 with HTTP; Mon, 27 Mar 2006 15:02:33 -0800 (PST)
Message-ID: <bf6b6d5c0603271502m22154d0eibbf6202591ec5fcd@mail.gmail.com>
Date: Tue, 28 Mar 2006 00:02:33 +0100
From: "THUFIR HAWAT" <hawat.thufir@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] telnet localhost
In-Reply-To: <442853EE.5040200@badapple.net>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <bf6b6d5c0603262058qf737a42uab2bf1e4fa3e9293@mail.gmail.com>
	 <44283429.2060708@badapple.net>
	 <bf6b6d5c0603271233m3046021du5bc36f011903ac3b@mail.gmail.com>
	 <442853EE.5040200@badapple.net>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k2RN2XZB000803
X-Archives-Salt: f79f3dba-c640-4cf3-8e6f-be49f15adee5
X-Archives-Hash: 48b673311347267191ab867aa5b20ac2

On 3/27/06, kashani <kashani-list@badapple.net> wrote:
> THUFIR HAWAT wrote:
> > I've been rebooting :(
> > Is there a better way?
>
> /etc/init.d/xinetd stop
> /etc/init.d/xinetd start
>
> or
>
> /etc/init.d/xinetd restart
>

Ah, thank you :)

> > localhost ~ # date
> > Mon Mar 27 21:30:44 IST 2006
> > localhost ~ #
>
> I and many others aren't inclined to go searching through a page and
> half of logs ranging over two days especially when it appears that the
> problem has changed or been fixed.
>
> So is it working now? It appears to be doing something.
>
> kashani

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:

localhost ~ #
localhost ~ # telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.11.3.rel running at localhost (my
fqdn: hawat.thufir.gmail.com)
^]

telnet> quit
Connection closed.
localhost ~ # cat -n /etc/hosts
     1  # /etc/hosts:  This file describes a number of hostname-to-address
     2  #              mappings for the TCP/IP subsystem.  It is mostly
     3  #              used at boot time, when no name servers are running.
     4  #              On small systems, this file can be used instead of a
     5  #              "named" name server.  Just add the names, addresses
     6  #              and any aliases to this file...
     7  # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8
2003/08/04 20:12:25 azarah Exp $
     8  #
     9
    10
    11  127.0.0.1          localhost
    12  127.0.0.1          hawat.thufir.gmail.com arrakis
localhost ~ # cat -n /etc/leafnode/config
     1  ## Unread articles will be deleted after this many days if
     2  ## you don't define special expire times. Mandatory.
     3  expire = 20
     4
     5  ## This is the NNTP server leafnode fetches its news from.
     6  ## You need read and post access to it. Mandatory.
     7  server = shawnews.vc.shawcable.net
     8
     9
    10  hostname = hawat.thufir.gmail.com
    11
    12  initialfetch = 5
localhost ~ # cat -n /etc/xinetd.conf
     1  # /etc/xinetd.conf: sample configuration file for xinetd
     2
     3  defaults
     4  {
     5          only_from      = localhost
     6          instances      = 60
     7          log_type       = SYSLOG authpriv info
     8          log_on_success = HOST PID
     9          log_on_failure = HOST
    10          cps            = 25 30
    11  }
    12
    13  includedir /etc/xinetd.d
localhost ~ # cat -n /etc/xinetd.d/leafnode-nntp
     1  # default: off
     2  # description: Leafnode - accepts connections on port 119 (NNTP)
     3
     4  service nntp
     5  {
     6          socket_type = stream
     7          protocol    = tcp
     8          wait        = no
     9          user        = news
    10          server      = /usr/sbin/leafnode
    11          disable     = no
    12  }
localhost ~ # date
Mon Mar 27 23:58:26 IST 2006
localhost ~ #



Thanks so much all.  Pardon if I'm a bit dense with this stuff, I do
my best to read the manual.


-Thufir

-- 
gentoo-user@gentoo.org mailing list