cheap nfl jerseys china cheap nfl jerseys free shipping wholesale nfl jerseys china wholesale jerseys from china cheap nfl jerseys free shipping cheap nfl jerseys for sale cheap jerseys free shipping wholesale nfl jerseys from china cheap nfl jerseys sale cheap nike nfl jerseys china wholesale jerseys free shipping cheap nfl jerseys wholesale wholesale nfl jerseys online cheap nfl jerseys wholesale china jerseys wholesale cheap coach handbags outlet authentic designer handbags cheap coach handbags outlet cheap coach purses outlet discount coach bags coach bags sale coach purse outlet cheap real coach purses coach handbags sale online coach purse outlet michael kors outlet online store cheap michael kors bags cheap michael kors purse michael kors factory outlet online cheap michael kors handbags cheap michael kors purses michael kors bags outlet online cheap michael kors purse michael kors handbags discount cheap michael kors purse michael kors handbags discount
cheap nfl jerseys china cheap nfl jerseys free shipping wholesale nfl jerseys china wholesale jerseys from china cheap nfl jerseys free shipping cheap nfl jerseys for sale cheap jerseys free shipping wholesale nfl jerseys from china cheap nfl jerseys sale cheap nike nfl jerseys china wholesale jerseys free shipping cheap nfl jerseys wholesale wholesale nfl jerseys online cheap nfl jerseys wholesale china jerseys wholesale cheap coach handbags outlet authentic designer handbags cheap coach handbags outlet cheap coach purses outlet discount coach bags coach bags sale coach purse outlet cheap real coach purses coach handbags sale online coach purse outlet michael kors outlet online store cheap michael kors bags cheap michael kors purse michael kors factory outlet online cheap michael kors handbags cheap michael kors purses michael kors bags outlet online cheap michael kors purse michael kors handbags discount cheap michael kors purse michael kors handbags discount

Cork.linux.ie     Nokia Optimised     Statistics     Backend     Copyright     Sitemap    

Search Website:

Search Archives
  Search the archives.
ILUG FAQ
  Some Questions & Answers about the ILUG.
Mailing Lists
  Read about the ILUG mailing lists.
Beginners' Linux Guide
  A guide on installing and using Linux in plain English.
Linux Web Resources
  Ivan Griffin's LWR.
Irish Linux Counter Homepage
  How to register with the Linux Counter.
Tips Forum
  Get your quick tip fix here.
Mirrors
  Local mirrors of what you want.
ILUG SETI@home team
  View the stats or join the ILUG SETI@home team.
Hardware Vendors
  Hardware vendors in Ireland, as recommended by ILUG members.
Who's Who
  Delve deep into the backgrounds of those involved with the ILUG.
Downloads
  Tools and utilities ready for use.
Quotes
  Humourous sayings from ILUG members.
Library
  Need to borrow a book or CD?
  Look no further.
Linux In Industry
  The uses of Linux in the commercial industries of Ireland.
Connection Scripts
  Set up your connection with these scripts.
Tutorials
  Learn through our ILUG Tutorials.
Reviews
  Read through the ILUG Reviews.
F2F minutes
  Minutes of Face2Face meetings.
  Cable your own house.
  Dualbooting Linux & Windows
  Fonts on RedHat
  Installing & Configuring Leafnode
  Setting up Samba
  Learn about SSH
  Learn more about vi.
  Vi filters, search & replace and more...
Irish Linux Users Group
Installing & Configuring Leafnode 22nd September 1999
Introduction
Most ISPs provide a news server along with their dialup access. These servers can have any number of newsgroups but most provide around 100+.
Nobody would ever want to subscribe to and read all of these newsgroups, however, subscribing to a few groups of interest can be both helpful, entertaining and perhaps fun.
Anyone who uses a news client to access the news server directly will know all too well the long delays and limited options.
The reason why most News clients cannot read news offline is because they only deal with messages one at a time, downloading and displaying them as you select them.
This is where Leafnode comes in, Leafnode provides all of the functions available in news readers such as Outlook Express with a few extra features (such as intelligent bandwidth handling and newsgroup independant message expiration.

Leafnode Specification & General Info
Still with me? Good. There are three parts to Leafnode, each as important as each other, they have been listed and described below.
Fetchnews: This program is responsible for retrieving messages from the server that you use. This is the program to run when you want to synchronise your offline news with news on the Internet. Fetchnews also takes care of delivering any posts that you have made.
Leafnode: This is a server daemon that runs on your machine. This part of the program serves all your messages on a server on your machine. (This is why you are able to read news offline as you are connecting to your machine and not one on the Internet.)
Texpire: This part takes care of removing messages that are more than a certian number of days old, the options for expiring messages can be controlled through the very simple config file which I will cover later in this tutorial. In the unlikely event that you will want to keep every message that you have ever recieved, you can disable expiration by setting expire = to an impossibly high number.

Installing Leafnode

  1. Download the latest source from www.leafnode.org
  2. Extract the archive to a suitable directory.
  3. Do a make installall - if that fails do a make all & make install.
  4. Read the makefile to make any changes for directories etc.
  5. Run make to Install the program.

Config and inetd
Below I have prepared an example config file for Leafnode, this file must reside in /etc/leafnode or anyother directory that you specified in the makefile. You must also watch that this file is readable by the user "news" at all times, some editors such as Kedit change file permissions. Please note the comments in italics and above the relevant line.
#This is where you specify the servers want to use, you can specify as many as you want on seperate lines
server = my.news.server
#Specify any restrictions to the newsgroup list eg comp.os* uses all comp.os Newsgroups
newsgroups = news.group.restrictions
#The delay before the newsgroup is ignored
timeout short = 7
#The delay before the newsgroup is unsubscribed
timeout long = 21
#The global expire for all messages except specific newsgroup expire settings
expire = 21
#Specify expire settings for individual groups, for busier groups, use a lower number
groupexpire = busy.* = 1
#The maximum amount of bytes to be fetched
maxfetch = 1500
#The amount of messages to be retrieved at first
initialfetch = 500
#The maximum amount of bytes in a message, if a message has more than the specified maxbytes it is ignored, good for filtering out attachments
maxbytes = 50

Now, as root, open /etc/inetd.conf, delete all lines starting with nntp and replace with:

nntp	stream	tcp	nowait	news
/usr/local/sbin/leafnode

Then do a killall -HUP inetd

Commands
Run /usr/sbin/fetchnews -v -n or fetchnews -v -n as root when connected to the net to retrieve the news list.
Open your newsreader and add the server 127.0.0.1, or whatever your machine's ip number is.
Subscribe to groups you like and when you read the placeholders in the groups you like, real articles will be retrieved when you do your next fetchnews.

Finalising The Process
You may be quite happy running fetchnews with fetchnews -v -n every time you want news and texpire every time you want to expire messages, If you want a more automated approach, however, just add the fetchnews command to /etc/ipup.local to make fetchnews run every time you connect and add texpire to /etc/crontab to schedule expiration.
(Try man 5 crontab for help)

About Me (zzzzzzz)
Well, I hope you have enjoyed my Leafnode article, and have enjoyed leafnode, email me @ eddie@uklinux.net for help if you need it!
I am a 14 year old secondary school pupil called Edward J Benton who lives in Upperlands, near Maghera in County Derry.
I go to a school called the Rainey Endowed in Magherafelt and I am currently in 3rd year facing KS3 (Science tomorrow when I wrote this)
I enjoy using all flavours of Linux, admit it in public and enjoy converting more broad minded Windows users.
When I am online, I go by a few aliases, however by far the most common is NeocortX, if you ever see him, its either me or a sad imposter ;)
If you need help of any sort or perhaps want to know morre of my boring lifestyle ;) mail eddie@uklinux.net , all Linux ILUG users are welcome!
ATB,
Eddie Benton (NeocortX)


Please tell us what you thought of this tutorial:

Too technical
Just right
Not technical enough

Too long
Just right
Too short


 
Powered by INDIGO Maintained by the ILUG website team. Linux is a trademark of Linus Torvalds, used with permission. Networking services kindly provided by Indigo. No penguins were harmed in the production or maintenance of this website. Click on our logo at the top of the page to return to the main page.