[leafnode-list] leafnode is working?

Thufir hawat.thufir at gmail.com
Mon Sep 3 08:03:28 CEST 2007


I think I have leafnode up and running:

arrakis ~ # 
arrakis ~ # cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
iface_eth1="dhcp"
dhcpcd_eth1=""
arrakis ~ # 
arrakis ~ # cat /etc/conf.d/hostname
#HOSTNAME="livecd"
#HOSTNAME="localhost arrakis.doesntexist.org"
HOSTNAME="arrakis"
#HOSTNAME="localhost"
arrakis ~ # 
arrakis ~ # cat /etc/hosts
# /etc/hosts: Local Host Database
#
# This file describes a number of aliases-to-address mappings for the for 
# local hosts that share this file.
#
# In the presence of the domain name service or NIS, this file may not be 
# consulted at all; see /etc/host.conf for the resolution order.
#

# IPv4 and IPv6 localhost aliases
#127.0.0.1      localhost
127.0.0.1       localhost.localdomain   localhost
192.168.2.110   arrakis.doesntexist.org arrakis
::1             localhost




#
# Imaginary network.
#10.0.0.2               myname
#10.0.0.3               myfriend
#
# According to RFC 1918, you can use the following IP networks for 
private 
# nets which will never be connected to the Internet:
#
#       10.0.0.0        -   10.255.255.255
#       172.16.0.0      -   172.31.255.255
#       192.168.0.0     -   192.168.255.255
#
# In case you want to be able to connect directly to the Internet (i.e. 
not 
# behind a NAT, ADSL router, etc...), you need real official assigned 
# numbers.  Do not try to invent your own network numbers but instead get 
one 
# from your network provider (if any) or from your regional registry 
(ARIN, 
# APNIC, LACNIC, RIPE NCC, or AfriNIC.)
#
arrakis ~ # 
arrakis ~ # cat /etc/xinetd.conf 
#
# This is the master xinetd configuration file. Settings in the
# default section will be inherited by all service configurations
# unless explicitly overridden in the service configuration. See
# xinetd.conf in the man pages for a more detailed explanation of
# these attributes.

defaults
{
# The next two items are intended to be a quick access place to
# temporarily enable or disable services.
#
        enabled         = nntp
#       disabled        =

# Define general logging characteristics.
        log_type        = SYSLOG daemon info 
        log_on_failure  = HOST
        log_on_success  = PID HOST DURATION EXIT

# Define access restriction defaults
#
#       no_access       =
        only_from       = localhost
#       max_load        = 0
        cps             = 50 10
        instances       = 50
        per_source      = 10

# Address and networking defaults
#
#       bind            =
#       mdns            = yes
        v6only          = no

# setup environmental attributes
#
#       passenv         =
        groups          = yes
        umask           = 002

# Generally, banners are not used. This sets up their global defaults
#
#       banner          =
#       banner_fail     =
#       banner_success  =
}

includedir /etc/xinetd.d
 
arrakis ~ # 
arrakis ~ # /etc/init.d/xinetd restart
 * Stopping 
xinetd ...                                                        [ ok ]
 * Starting 
xinetd ...                                                        [ ok ]
arrakis ~ # 
arrakis ~ # /etc/init.d/net.eth0 restart
 * Unmounting network 
filesystems ...                                         [ ok ]
 * Stopping eth0
 *   Bringing down eth0
 *     Stopping dhcpcd on 
eth0 ...                                            [ ok ]
 *     Shutting down 
eth0 ...                                                 [ ok ]
 * Starting eth0
 *   Configuration not set for eth0 - assuming DHCP
 *   Bringing up eth0
 *     dhcp
 *       Running 
dhcpcd ...                                                   [ ok ]
 *       eth0 received address 192.168.2.110/24
 * Mounting network 
filesystems ...                                           [ ok ]
arrakis ~ # 
arrakis ~ # hostname
arrakis
arrakis ~ # 
arrakis ~ # telnet arrakis nntp
Trying 192.168.2.110...
Connected to arrakis.doesntexist.org.
Escape character is '^]'.
Connection closed by foreign host.
arrakis ~ # 
arrakis ~ # telnet localhost nntp
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
arrakis ~ # 
arrakis ~ # telnet arrakis.doesntexist.org nntp
Trying 192.168.2.110...
Connected to arrakis.doesntexist.org.
Escape character is '^]'.
Connection closed by foreign host.
arrakis ~ # 
arrakis ~ # fetchnews -fvv
leafnode 1.11.5: verbosity level is 2, debugmode is 0
Forced active fetch requested from command-line (option -f).
try_lock(timeout=5), fqdn="arrakis.doesntexist.org"
news.gmane.org: connecting to port nntp...
news.gmane.org: connected.
news.gmane.org: using STAT <message-ID> command.
news.gmane.org: 0 articles posted.
news.gmane.org: getting all newsgroups (debug: active: nil, forceactive: 
true)
news.gmane.org: getting newsgroup descriptions
news.gmane.org: reading server info from /var/spool/news/leaf.node/
news.gmane.org
news.gmane.org: conversation completed, disconnected.
wrote active file with 9772 lines
Started process to update overview data in the background.
Network activity has finished.
arrakis ~ # 
arrakis ~ # date
Sun Sep  2 23:00:43 PDT 2007
arrakis ~ # 
arrakis ~ # 



Now it's just a matter of getting pan to read from leafnode?



thanks,

Thufir




More information about the leafnode-list mailing list