🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
16 messages
16 total messages Started by Thufir Fri, 18 Aug 2006 19:09
pan set to localhost for leafnode?
#189416
Author: Thufir
Date: Fri, 18 Aug 2006 19:09
466 lines
17443 bytes
Pardon, but from "Tools" --> "News Servers..." in the menu for Pan,
then the "Pan: Servers" dialog pops up, the default server has an
address of "localhost" and a port of "119" which, I believe to be
correct for interacting with leafnode.  Yes?

Pan seems to work fine when I enter my ISP's server
(shawnews.vc.shawcable.net) with port 119.  For leafnode I'm prompted
to ask if I want a list of groups, but nothing actually happens :(

(At the moment, fetchnews seems to be running, albeit with the FQDN set
within the leafnode config file, not globally as suggested by the
leafnode documentation.)


[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# fetchnews -vvv
leafnode 1.11.5: verbosity level is 3, debugmode is 0
try_lock(timeout=5), fqdn="geidiprime.servebeer.com"
shawnews.vc.shawcable.net: connecting to port nntp...
shawnews.vc.shawcable.net: connected.
shawnews.vc.shawcable.net: using STAT <message-ID> command.
shawnews.vc.shawcable.net: 0 articles posted.
check_date: shawnews.vc.shawcable.net: clocks of upstream and this
computer are
more than10 minutes apart. Check your system clock.
shawnews.vc.shawcable.net: getting new newsgroups
shawnews.vc.shawcable.net: got 0 new newsgroups.
shawnews.vc.shawcable.net: reading server info from
/var/spool/news/leaf.node/shawnews.vc.shawcable.net
shawnews.vc.shawcable.net: conversation completed, disconnected.
wrote active file with 61857 lines
Started process to update overview data in the background.
Network activity has finished.
[root@localhost ~]# cat /etc/leafnode/config -n
     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  ## All the following parameters are optional
    11  ##
    12
    13  ## Important and recommended setting:
    14  ## Fetch only a few articles when we subscribe a new newsgroup.
The
    15  ## default is to fetch all articles.
    16  ## As leafnode forgets the article numbers of its upstream
server when
    17  ## a group is marked as uninteresting, and later marked
interesting
    18  ## again, you may end up downloading ALL articles from the
upstream
    19  ## in that group. So uncomment and adjust this line:
    20  # initialfetch = 100
    21
    22  ## Debugging setting:
    23  ##
    24  ## This MUST be accompanied by syslog.conf changes!
    25  ## ------------------------------------------------
    26  ## Make sure you've also read the TROUBLESHOOTING section in
README.
    27  ##
    28  ## The higher, the more output will be logged - note the
debugging
    29  ## output is copious in any case, so leave this at 0 for normal
use,
    30  ## and set to 1, 2 or 3 only for debugging.
    31  # debugmode = 3
    32
    33  ## I have free access to my news server. If you don't have,
comment out
    34  ## the following two lines and change them accordingly.
    35  # username = gulbrandsen
    36  # password = secret
    37
    38  ## By default, leafnode only serves connections from addresses
in the
    39  ## local networks and drops those from outside. An IPv4 address
is
    40  ## considered local if it is within the networks (IP/netmask)
of the
local
    41  ## interfaces. An IPv6 address is considered local if it is
site-local,
    42  ## link-local or the loopback address (::1).
    43  ##
    44  ## You can enable remote access by doing:
    45  ## 1. enabling access for single static IPs (or subnetworks)
through
    46  ##    your super server (xinetd, tcpserver) or, if the service
is wrapped
by
    47  ##    tcpd, hosts.allow/hosts.deny configuration,
    48  ## 2. disabling access for all other hosts (default to deny),
    49  ## 3. testing that "deny" works, to avoid abuse of your server,
    50  ## 4. uncommenting this option, capitalizing the "strangers"
subword and
    51  ##    setting the value to 42.
    52  ##
    53  ## WARNING: ENABLING THIS OPTION IS DANGEROUS. YOU AGREE TO BE
LIABLE
    54  ## FOR ALL ABUSE OF YOUR SERVER WHEN THIS OPTION IS ENABLED.
    55  ## IF ANYTHING ABOUT ITEMS 1. TO 3. ABOVE IS UNCLEAR, DO NOT
ENABLE THIS!
    56  ## IF YOU ARE NOT FAMILIAR WITH ACCESS CONTROL, OR YOUR CLIENTS
ARE ON
    57  ## DYNAMIC IPS, YOU MUST NOT ENABLE THIS. (You can use other,
authenticated,
    58  ## methods of access instead, for instance SSH tunnels.)
    59  ##
    60  # allowstrangers = 0
    61
    62  ## Standard news servers run on port 119, reserved for NNTP, so
that's
    63  ## the default port fetchnews wants to connect to. If your
ISP's news
    64  ## server (or other "upstream") does not listen on this
standard port,
    65  ## you can set the "port" option. Note that it is only relevant
for
    66  ## fetchnews, for leafnode, set the port in your inetd.conf,
xinetd.conf
    67  ## file or tcpsvd/tcpserver command line, whatever is relevant
for your
    68  ## system. Leafnode does not currently support SSL.
    69  ## Give "port" a numeric value, example:
    70  # port = 9119
    71
    72  ## If you want to guarantee that the stdout/stderr are line
buffered
    73  ## (GNU libc sets them to full buffering if they are redirected
to
    74  ## files), then set this:
    75  # linebuffer = 1
    76
    77  ## This is another news server which stores some groups that
are not
    78  ## available on the first one. You can define username,
password and port
    79  ## for each server separately.
    80  # server = specific.newsgroups.example.com
    81  # username = xenu
    82  # password = secret
    83
    84  ## This is a news server which does not understand the
    85  ## "LIST NEWSGROUP news.group" command. For this reason, we
don't try to
    86  ## download newsgroups descriptions when getting new
newsgroups. This is
    87  ## achieved by putting "nodesc = 1" somewhere behind the server
    88  ## line.
    89  # server = broken.upstream.example.org
    90  # nodesc = 1
    91
    92  ## Here we have another news server which has a very slow
connection. For
    93  ## that reason, we wait a full minute before we give up trying
to
connect.
    94  ## The default is 10 seconds.
    95  # server = really.slow.example.org
    96  # timeout = 60
    97
    98  ## Disable the updating of the active file unless specifically
requested
    99  ## in order to minimise network usage as much as possible.  The
active
   100  ## file can be updated manually with the "-f" option to
fetchnews.
   101  # server = even.slower.example.com
   102  # noactive = 1
   103
   104  ## And this is a news server you only want to pull news from,
but never
   105  ## post to. You can also use this as a workaround if you do not
have
posting
   106  ## permission on the server while it still greets you with a
200 code.
   107  ## The default is: nopost = 0
   108  # server = lurk-only.example.com
   109  # nopost = 1
   110
   111  ## And this is a news server you only want to post to, but
never
   112  ## fetch messages from. If set, noactive = 1 is also assumed.
   113  ## The default is: noread = 0
   114  # server = post-only.example.com
   115  # noread = 1
   116
   117  ## And this is a news server with broken XOVER. Forbid XOVER,
   118  ## leafnode will use XHDR. XHDR may be slower or faster than
XOVER,
   119  ## depending how many of the maxlines/minlines, maxbytes,
maxage
   120  ## and similar options.
   121  ## The default is: noxover = 0
   122  # server = post-only.example.com
   123  # noxover = 1
   124
   125  ## The post_anygroup parameter affects posting and makes
leafnode skip
   126  ## the check if the newsgroup is carried by the respective
server.
   127  ## Use this on servers that allow only posting, but no "GROUP"
commands.
   128  ## Note: do not enable unless you know you may post to that
server, your
   129  ## postings might end up in the failed.postings directory
otherwise.
   130  # server = post-only.example.com
   131  # post_anygroup = 1
   132
   133  ## This shows how a server is configured that only has specific
news
   134  ## groups. Note that this parameter is a PCRE, not a wildmat!
See
   135  ## pcre(3), pcrepattern(3) or pcre(7), depending on your PCRE
version.
   136  ## IMPORTANT: you must run fetchnews -f to make changes to this
   137  ## option effective.
   138  # server = cnews.corel.com
   139  # only_groups_pcre = corel\.
   140
   141  ## Another option related to and depending on this
only_groups_pcre
option
   142  ## is relevant for posting; if set, ALL groups in a Newsgroups:
header
   143  ## of a cross-posting will must match before the article is
posted to
   144  ## the server. If unset, ANY group that matches allows the
post.
   145  # only_groups_match_all = 1
   146
   147  ## Non-standard expire times (glob(7) wildcard constructs
possible)
   148  #
   149  # groups too big to hold articles 20 days:
   150  # groupexpire comp.os.linux.* = 5
   151  #
   152  # very interesting, hold articles longer:
   153  # groupexpire any.local.newsgroup = 100
   154  #
   155  # archive this group (fetchnews uses the global expire to
figure the
   156  # maxage, but texpire will skip it):
   157  # groupexpire my.archived.group = -1
   158
   159  ## Never fetch more than this many articles from one group in
one run.
   160  ## Be careful with this; setting it much below 1000 is probably
a bad
   161  ## idea.
   162  # maxfetch = 2000
   163
   164  ## If you want to use leafnode like an offline newsreader (e.g.
Forte
   165  ## Agent) you can download headers and bodies separately if you
set
   166  ## delaybody to 1. In this case, fetch will only download the
headers
   167  ## and only when you select an article, it will download the
body.
   168  ## This can save a huge amount of bandwith if only few articles
are
really
   169  ## read from groups with lots of postings.
   170  ## This feature works not very well with Netscape, though
(which is not
   171  ## a fault of Leafnode).
   172  # delaybody = 0
   173
   174  ## If you have configured delaybody mode and your newsreader
doesn't
   175  ## cope with articles changing their numbers but not their
Message-ID
   176  ## such as Knode, then try setting this switch to 1, which
   177  ## will make fetchnews keep the article number.
   178  ## You'll have to switch the article body cache off though in
your
   179  ## newsreader.
   180  # delaybody_in_situ = 0
   181
   182  ## To avoid spam, you can select the maximum number of
crosspostings
   183  ## that are allowed in incoming postings. Setting this below 5
is
   184  ## probably a bad idea. The default is unlimited crossposting.
   185  # maxcrosspost = 5
   186
   187  ## If you suffer from repeatedly receiving old postings (this
happens
   188  ## sometimes when an upstream server goes into hiccup mode) you
can
   189  ## refuse to receive them with the parameter "maxage" which
tells the
   190  ## maximum allowed age of an article in days. A value of 0
indicates that
   191  ## no checking should be performed. The default maxage is 10
days.
   192  ## WARNING: maxage can be overridden by expire! See the
clamp_maxage
   193  ## parameter below.
   194  # maxage = 10
   195
   196  ## By default, maxage is limited to groupexpire (if applicable)
or
   197  ## expire (otherwise). On some rare occasions, this limit may
be
   198  ## undesirable. To avoid this maxage manipulation, uncomment
this line:
   199  # clamp_maxage = 0
   200
   201  ## maxlines will make fetch reject postings that are longer
than a
certain
   202  ## amount of lines.
   203  # maxlines = 100
   204
   205  ## minlines will make fetch reject postings that are shorter
than a
certain
   206  ## amount of lines.
   207  # minlines = 2
   208
   209  ## maxbytes will make fetch reject postings that are larger
   210  # maxbytes = 50000
   211
   212  ## timeout_short determines how many days fetch gets a
newsgroup which
   213  ## has been accidentally opened. The default is two days.
   214  # timeout_short = 1
   215
   216  ## timeout_long determines how many days fetch will wait before
not
getting
   217  ## an unread newsgroup any more. The default is seven days.
   218  # timeout_long = 6
   219
   220  ## timeout_active determines how many days fetch will wait
before
re-reading
   221  ## the whole active file. The default is 90 days.
   222  # timeout_active = 365
   223
   224  ## timeout_client determines how many seconds of inactivity to
allow
before
   225  ## a client is forcibly disconnected. The default is 15 mins
(900s).
Optional.
   226  # timeout_client = 900
   227
   228  ## timeout_fetchnews determines how many seconds fetchnews will
wait for
   229  ## a server reply before assuming the server has become wedged.
   230  ## The default is 5 mins (300s). Optional.
   231  # timeout_fetchnews = 300
   232
   233  ## timeout_lock determines how long the leafnode programs retry
to
   234  ## obtain the lock file. The default is 5 seconds.
   235  ## Note you can use the LN_LOCK_TIMEOUT environment variable to
override
   236  ## this.
   237  # timeout_lock = 900
   238
   239  ## If you want to have your newsreader score/kill on Xref:
lines, you
might
   240  ## want to uncomment this.
   241  # create_all_links = 1
   242
   243  ## If you want to filter out certain regular expressions in the
header,
   244  ## create a "filterfile" (how this is done is explained in the
README)
   245  ## and set
   246  # filterfile = /etc/leafnode/filters
   247
   248  ## Note that filtering usually means HEAD and BODY are
downloaded
   249  ## separately, so fetchnews has to wait for the packets TWICE
to travel
   250  ## to the server and back. If you have a fast link with high
latencies
   251  ## (for example a DSL line with interleaving or a satellite
link), it
   252  ## may be faster to request header and body in a single command
and
   253  ## discard the body. Note that the filter applies to the header
only in
   254  ## either case because PCRE matching is expensive.
   255  ##
   256  ## If you have one of the high-latency high-throughput links
and have
   257  ## enough free traffic left or a flat rate (no per-MByte
billing),
uncomment
   258  ## this:
   259  # article_despite_filter = 1
   260
   261  ## If your newsreader does not supply a Message-ID for your
postings
   262  ## Leafnode will supply one, using the hostname of the machine
it is
   263  ## running on.  If this hostname is not suitable, this
parameter can be
   264  ## used to override it.  Do not use a fantasy name, it may
interfere with
   265  ## the propagation of your messages.  Most modern newsreaders
do provide
   266  ## a Message-ID.
   267  # hostname = myhost.example.org
   268  hostname = geidiprime.servebeer.com
   269
   270
   271  ## You can also override the From: header address shown in
placeholder
   272  ## articles. It should be the news administrator's mail
address.
   273  # newsadmin = postmaster@another.example.org
   274
   275  ## If in your local Usenet hierarchy, posting unencoded 8-bit
data in
   276  ## headers is condoned, uncomment this option to allow this.
8-bit data
   277  ## in headers is officially illegal, although the header
character set
   278  ## may change to UTF-8 soon.
   279  # allow_8bit_headers = 1
[root@localhost ~]# pan &
[1] 2446
[root@localhost ~]# exit
logout

[1]+  Done                    pan
[thufir@localhost ~]$ pan &
[1] 2454
[thufir@localhost ~]$ date
Fri Aug 18 12:55:53 IST 2006
[1]+  Done                    pan
[thufir@localhost ~]$
[thufir@localhost ~]$












thanks,

Thufir
Re: pan set to localhost for leafnode?
#189415
Author: Peter J Ross
Date: Fri, 18 Aug 2006 19:40
37 lines
2220 bytes
On 18 Aug 2006 12:09:30 -0700, Thufir <hawat.thufir@gmail.com> wrote
in news.software.readers:

> Pardon, but from "Tools" --> "News Servers..." in the menu for Pan,
> then the "Pan: Servers" dialog pops up, the default server has an
> address of "localhost" and a port of "119" which, I believe to be
> correct for interacting with leafnode.  Yes?

Yes. If localhost doesn't work, you could try 127.0.0.1.

> Pan seems to work fine when I enter my ISP's server
> (shawnews.vc.shawcable.net) with port 119.  For leafnode I'm prompted
> to ask if I want a list of groups, but nothing actually happens :(
>
> (At the moment, fetchnews seems to be running, albeit with the FQDN set
> within the leafnode config file, not globally as suggested by the
> leafnode documentation.)

Has fetchnews finished downloading the list of groups? It can take a
while.

<...>

> [root@localhost ~]# cat /etc/leafnode/config -n

This kind of thing is easier to read if you don't add line numbers.
And you don't need to paste all the comment lines. We leafnode users
have seen them before.


PJR :-)
-- 
  _  _(o)_(o)_  _       Tired of the same old posters in your
._\`:_ F S M _:' \_,    newsgroup? Why not visit news.groups.reviews
    / (`---'\ `-.       and attract new talent by posting a review?
 ,-`  _)    (_,   F_P   (Please read the posting guidelines.)
Re: pan set to localhost for leafnode?
#189417
Author: SINNER
Date: Fri, 18 Aug 2006 19:43
13 lines
1377 bytes
* Thufir wrote in news.software.readers:

[Leafnode not connecting]

> fqdn="geidiprime.servebeer.com"
> 

Is this your leafnode server?

Add it to your host file.

-- 
David
Re: pan set to localhost for leafnode?
#189418
Author: Thufir
Date: Fri, 18 Aug 2006 19:56
67 lines
3423 bytes
SINNER wrote:
> * Thufir wrote in news.software.readers:
>
> [Leafnode not connecting]
>
> > fqdn="geidiprime.servebeer.com"
> >
>
> Is this your leafnode server?
>
> Add it to your host file.
>
> --
> David

I'm running Fedora (FC5) and am reading:

'2. On many systems, you will have to put the fully qualified host name
into /etc/hosts, too, so the system can find out the full name with
domain if given just its bare name without a domain. (On networked
systems, using NIS, DNS or LDAP is also feasible if the client is
configured to use the respective system to resolve host names.)
Usually, a computer that is to resolve a hostname will look at
/etc/hosts first and then at DNS.

An /etc/hosts line might look like this:

 192.168.0.1 abacus.mid.example.com abacus oldname

Keep the original name of the computer as an alias in case you
configured some other software to use the old name.'
<http://www.leafnode.org/doc_en/README-FQDN.html>

Here's what I have so far:

[root@localhost ~]#
[root@localhost ~]# cat /etc/hosts -n
     1  # Do not remove the following line, or various programs
     2  # that require network functionality will fail.
     3  127.0.0.1               geidiprime.servebeer.com geidiprime
localhost
[root@localhost ~]# /etc/init.d/xinetd restart
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
[root@localhost ~]# fetchnews -vvv

Leafnode must have a fully-qualified and globally unique domain name,
not just "localhost.localdomain".
Edit your /etc/hosts file to add a unique, fully qualified domain name.
"localhost.localdomain" or thereabouts will not work;
it's qualified, but not unique.
Please see the README-FQDN file for details.

Killed
[root@localhost ~]# telnet localhost 119
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
[root@localhost ~]# date
Fri Aug 18 11:38:57 IST 2006
[root@localhost ~]#

Did I not enter a FQDN in the /etc/hosts?

thanks,

Thufir
Re: pan set to localhost for leafnode?
#189420
Author: Thufir
Date: Fri, 18 Aug 2006 20:11
21 lines
1981 bytes
Peter J Ross wrote:
[...]
> > (At the moment, fetchnews seems to be running, albeit with the FQDN set
> > within the leafnode config file, not globally as suggested by the
> > leafnode documentation.)
>
> Has fetchnews finished downloading the list of groups? It can take a
> while.
[...]


Fetchnews has finished, but I'm not sure that there's a list of groups.
 Would I find such a list in the filesystem?  I'll go through the
config file to see why, apparently, no list of groups downloaded.

Previously I configured Pan and Leafnode, but that was a different
computer and I can't figure out exactly how I did it.


-Thufir
Re: pan set to localhost for leafnode?
#189424
Author: Peter J Ross
Date: Fri, 18 Aug 2006 20:40
39 lines
2332 bytes
On 18 Aug 2006 13:11:59 -0700, Thufir <hawat.thufir@gmail.com> wrote
in news.software.readers:

> Peter J Ross wrote:
>
>> Has fetchnews finished downloading the list of groups? It can take a
>> while.
> [...]
>
>
> Fetchnews has finished, but I'm not sure that there's a list of groups.
>  Would I find such a list in the filesystem?

There should be a file called groupinfo, probably in
/var/spool/news/leaf.node/. This is the list of groups available to
your users. It's constructed from the active lists of all your
specified upstream servers.

If that file exists, Pan should be able to read it when you try to
list available groups. If it doesn't exist, please run "fetchnews
-fvv" and report the results when it finishes.

> I'll go through the
> config file to see why, apparently, no list of groups downloaded.
>
> Previously I configured Pan and Leafnode, but that was a different
> computer and I can't figure out exactly how I did it.

If everything else works, you'll probably want to adjust or create the
cron job for fetchnews to ensure that it runs frequently enough.


PJR :-)
-- 
  _  _(o)_(o)_  _       Tired of the same old posters in your
._\`:_ F S M _:' \_,    newsgroup? Why not visit news.groups.reviews
    / (`---'\ `-.       and attract new talent by posting a review?
 ,-`  _)    (_,   F_P   (Please read the posting guidelines.)
Re: pan set to localhost for leafnode?
#189428
Author: Whiskers
Date: Fri, 18 Aug 2006 21:48
39 lines
2542 bytes
On 2006-08-18, Thufir <hawat.thufir@gmail.com> wrote:
> Peter J Ross wrote:
> [...]
>> > (At the moment, fetchnews seems to be running, albeit with the FQDN set
>> > within the leafnode config file, not globally as suggested by the
>> > leafnode documentation.)
>>
>> Has fetchnews finished downloading the list of groups? It can take a
>> while.
> [...]
>
>
> Fetchnews has finished, but I'm not sure that there's a list of groups.
>  Would I find such a list in the filesystem?  I'll go through the
> config file to see why, apparently, no list of groups downloaded.

When you copied the output from leafnode -vvv into the first article in 
this thread, it included:-

    shawnews.vc.shawcable.net: conversation completed, disconnected.
    wrote active file with 61857 lines
    Started process to update overview data in the background.
    Network activity has finished.

so it looks to me as though leafnode has downloaded a list of available 
newsgroups.

Read man leafnode and man fetchnews to find out where things are meant to 
go.

> Previously I configured Pan and Leafnode, but that was a different
> computer and I can't figure out exactly how I did it.

Take notes!

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: pan set to localhost for leafnode?
#189439
Author: Thufir
Date: Sat, 19 Aug 2006 02:54
14 lines
1821 bytes
Peter J Ross wrote:
[...]
> There should be a file called groupinfo, probably in
> /var/spool/news/leaf.node/.
[...]

File "/var/spool/news/leaf.node/groupinfo" exists, and has, apparently,
61857 groups, or at least that number of lines.  Having established
that leafnode grabbed the grouplist, now it's just a matter of
configuring pan to read that list!?  thanks :)


-Thufir
Re: pan set to localhost for leafnode?
#189440
Author: Thufir
Date: Sat, 19 Aug 2006 03:00
17 lines
1899 bytes
Whiskers wrote:
[...]
> > Previously I configured Pan and Leafnode, but that was a different
> > computer and I can't figure out exactly how I did it.
>
> Take notes!
[...]

I did, and thought I'd documented the process for myself on usenet (I
would just lose the notes if I kept them).  I'm reading my old posts
and can't figure out what I did then that I haven't done yet :(

However, I haven't finished looking over those old posts.


-Thufir
Re: pan set to localhost for leafnode?
#189443
Author: Thufir
Date: Sat, 19 Aug 2006 04:52
93 lines
4558 bytes
Thufir wrote:
> Whiskers wrote:
> [...]
> > > Previously I configured Pan and Leafnode, but that was a different
> > > computer and I can't figure out exactly how I did it.
> >
> > Take notes!
[...]


Probably _some_ of the below steps are unnecesary.  However, by going
through my notes I was able to get back to the point of installing the
telnet server in order to telnet into leafnode.  I don't recall the
significance of that, but I do recall that it was significant ;)


[root@localhost ~]# yum -y install telnet-server
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna
[1/4]
core
[2/4]
updates
[3/4]
extras
[4/4]
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for telnet-server to pack into transaction set.
telnet-server-0.17-35.2.1 100% |=========================| 8.1 kB
00:00
---> Package telnet-server.i386 1:0.17-35.2.1 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository
Size
=============================================================================
Installing:
 telnet-server           i386       1:0.17-35.2.1    core
34 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 34 k
Downloading Packages:
(1/1): telnet-server-0.17 100% |=========================|  34 kB
00:01
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: telnet-server                #########################
[1/1]

Installed: telnet-server.i386 1:0.17-35.2.1
Complete!
[root@localhost ~]# service network restart
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:
Determining IP information for eth0... done.
                                                           [  OK  ]
[root@localhost ~]# /etc/init.d/xinetd restart
Stopping xinetd:                                           [FAILED]
Starting xinetd:                                           [  OK  ]
[root@localhost ~]# /etc/init.d/xinetd restart
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
[root@localhost ~]# telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.11.5 running at
geidiprime.servebeer.com (my fqdn: hawat.thufir.gmail.com)



of course, the fqdn shouldn't have gmail.com, but I'll fix that :)


-Thufir
Re: pan set to localhost for leafnode?
#189444
Author: Thufir
Date: Sat, 19 Aug 2006 05:07
81 lines
4151 bytes
On Fri, 18 Aug 2006 21:52:11 -0700, Thufir wrote:

> Thufir wrote:
>> Whiskers wrote:
>> [...]
>> > > Previously I configured Pan and Leafnode, but that was a different
>> > > computer and I can't figure out exactly how I did it.
>> >
>> > Take notes!
> [...]
> 
> 
> Probably _some_ of the below steps are unnecesary.  However, by going
> through my notes I was able to get back to the point of installing the
> telnet server in order to telnet into leafnode.  I don't recall the
> significance of that, but I do recall that it was significant ;)
[...]
> of course, the fqdn shouldn't have gmail.com, but I'll fix that :)
[...]

Posting from pan :)


[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# cat /etc/xinetd.d/leafnode -n
     1  # THIS IS A GENERATED FILE - MAINTAINER, EDIT THE .in FILE INSTEAD
     2
     3  # /etc/xinetd.d/leafnode
     4
     5  # This is a sample configuration to run leafnode from xinetd,
     6  # and installed by the official leafnode RPM.
     7
     8  # NOTE #1:
     9  # For this to work, your /etc/xinetd.conf must contain a line
    10  # includedir /etc/xinetd.d
    11
    12  # NOTE #2:
    13  # When running this on a standalone machine without local network,
    14  # uncomment the bind line below for additional security. Leafnode will
    15  # then only be accessible on address "127.0.0.1". This address is
    16  # invisible from remote computers.
    17
    18  # NOTE #3:
    19  # This entry is currently disabled, comment out the disable line below
    20  # to enable it (or change it to disable=no)
    21
    22  # NOTE #4:
    23  # Should your xinetd NOT be linked against libwrap
    24  # (/etc/hosts.{allow,deny} support), then see the INSTALL file that
    25  # comes with leafnode for further installation suggestions.
    26
    27  service nntp
    28  {
    29          disable         = no
    30          socket_type     = stream
    31          protocol        = tcp
    32          wait            = no
    33          user            = news
    34          server          = /usr/sbin/leafnode
    35  #       bind            = 127.0.0.1
    36  }
[root@localhost ~]# cat /etc/leafnode/config -n
     1  ## Unread articles will be deleted after this many days if
     2  ## you don't define special expire times. Mandatory.
     3    expire = 2
     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    hostname = geidiprime.servebeer.com
    10
    11    initialfetch = 5
[root@localhost ~]# date
Fri Aug 18 23:06:30 IST 2006
[root@localhost ~]#



-Thufir
Re: pan set to localhost for leafnode?
#189450
Author: Whiskers
Date: Sat, 19 Aug 2006 12:26
61 lines
3527 bytes
On 2006-08-19, Thufir <hawat.thufir@gmail.com> wrote:
> Thufir wrote:
>> Whiskers wrote:
>> [...]
>> > > Previously I configured Pan and Leafnode, but that was a different
>> > > computer and I can't figure out exactly how I did it.
>> >
>> > Take notes!
> [...]
>
>
> Probably _some_ of the below steps are unnecesary.  However, by going
> through my notes I was able to get back to the point of installing the
> telnet server in order to telnet into leafnode.  I don't recall the
> significance of that, but I do recall that it was significant ;)

I can't think why a telnet server would be required for Leafnode to run 
properly.

snip

> [root@localhost ~]# service network restart
> Shutting down interface eth0:                              [  OK  ]
> Shutting down loopback interface:                          [  OK  ]
> Bringing up loopback interface:                            [  OK  ]
> Bringing up interface eth0:
> Determining IP information for eth0... done.               [  OK  ]

That should make sure that all the changed networking settings are now 
operational.

> [root@localhost ~]# /etc/init.d/xinetd restart
> Stopping xinetd:                                           [FAILED]

xinetd was not running?  That would mean no leafnode either.

> Starting xinetd:                                           [  OK  ]
> [root@localhost ~]# /etc/init.d/xinetd restart
> Stopping xinetd:                                           [  OK  ]
> Starting xinetd:                                           [  OK  ]

OK

> [root@localhost ~]# telnet localhost 119
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 200 Leafnode NNTP Daemon, version 1.11.5 running at
> geidiprime.servebeer.com (my fqdn: hawat.thufir.gmail.com)
>
>
>
> of course, the fqdn shouldn't have gmail.com, but I'll fix that :)

Where Leafnode says 'running at geidiprime.servebeer.com' it is showing 
that you now have a valid 'hostname' for your machine.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: pan set to localhost for leafnode?
#189460
Author: Thufir
Date: Sat, 19 Aug 2006 17:21
17 lines
1921 bytes
Whiskers wrote:
[...]
> I can't think why a telnet server would be required for Leafnode to run
> properly.

Ok, removed with yum :)

[...]
> xinetd was not running?  That would mean no leafnode either.

That would explain the inconsistencies in the outcome of "telnet
localhost 119", then :)

thanks,

Thufir
Re: pan set to localhost for leafnode?
#189586
Author: Thufir
Date: Mon, 21 Aug 2006 05:00
11 lines
1799 bytes
Whiskers wrote:
[...]
> xinetd was not running?  That would mean no leafnode either.
[...]

Seems it'd be preferable to always have xinetd running for leafnode
then, yes?


-Thufir
Re: pan set to localhost for leafnode?
#189601
Author: Whiskers
Date: Mon, 21 Aug 2006 12:53
15 lines
1883 bytes
On 2006-08-21, Thufir <hawat.thufir@gmail.com> wrote:
> Whiskers wrote:
> [...]
>> xinetd was not running?  That would mean no leafnode either.
> [...]
>
> Seems it'd be preferable to always have xinetd running for leafnode
> then, yes?

Yes; not only Leafnode either!  See man xinetd

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: pan set to localhost for leafnode?
#189605
Author: hawat.thufir
Date: Mon, 21 Aug 2006 14:43
22 lines
2028 bytes
On Mon, 21 Aug 2006, Whiskers wrote:

> From: Whiskers <catwheezel@operamail.com>
> Subject: Re: pan set to localhost for leafnode?
> Newsgroups: news.software.readers
> 
> On 2006-08-21, Thufir <hawat.thufir@gmail.com> wrote:
>> Whiskers wrote:
>> [...]
>>> xinetd was not running?  That would mean no leafnode either.
>> [...]
>>
>> Seems it'd be preferable to always have xinetd running for leafnode
>> then, yes?
>
> Yes; not only Leafnode either!  See man xinetd


Ok.


-Thufir
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads