Suck news
List | Home
LinuxNetMag #1

Emulate with WINE
wwwoffle as Proxy
TeXteditor LYX
qps - QT Frontend for ps


suck news
ISDN - Who is calling?
recommended Links



Editorial Office

List of articles


  News System If you want to read news, you still have to start WINDOWS?
You are annoyed  that you are not able to read news offline with Netscape?
Why do not open your own news-server!


The ordinary german internetuser cannot read news online. The data comes very slowly through the line and you make the telecom a present.
The Mickysoft-version of Netscape gives you the special opportunity of writing and reading the news offline and sending everything at once. Did they forget this in the Linux-version?
NO! You do not need this function.
You build your own news-server and read the news from your computer instead.

read locally

The news-server is usually installed. You just need a program to download the news.
This is suck´s job. This program downloads all news from the news-groups you want. It delivers these up to the local news-server and you can read them from there.

You enter all wished news-groups in the file sucknewsrc.
Before starting the first time the file should look like this:

de.comp.os.linux.hardware -100
#dcolm has high traffic
de.comp.os.linux.misc -200
de.comp.os.linux.networking -300
de.comp.os.linux.x -50

You just enter the name of the news-group and after this a number. If this is a negative number suck will know that it has to download exactly this amount of news from this group. After downloading the news the number in the sucknewsrc will be replaced with the last downloaded news-number. With this change suck will know the next time where it stopped and will continue from this point.

Adapt the system

Right after this you have to adapt the script (or innxmit) for your own system. Suck gets the information out of this file where it finds the components of your news-system:
Spool, executable programs and the name of the news-server where you get your news from have to be changed.

For example here my own  configuration-file .
(for SUSE 5.2 and 5.3, not 6.0. See next issue!)

The next two steps concern the local news-server-configuration. In order to use the news with your own news-server the news-groups have to be notified.
Therefore the command addgroup exists.

Add groups

Attention: during configuring the news-server you should be logged in as the user "news" because there could be problems with the owner-rights later. First log in with 

su news
as the news-user then change to the directory 
and execute addgroup.
The syntax looks like
addgroup groupname y|n|m [=realgroup]
(e.g.: addgroup de.comp.os.linux y) to announce to a group.
The choice between y,n or m means:
  • y -- You are allowed to post in this news-group
  • n -- You have no rights to post in this news-group and may read only
  • m -- this group is a moderated group

The option [=realgroup] offers you the possibility to run the news-group with a different name at you local computer.

The next configuration affects the file /var/lib/news/sys. There you enter which local written news will be send otherwise nobody is able to read the composed news.
Usually the file is in "save mode" that means no news will get outside. That´s why you change the file to:

# file: /var/lib/news/sys!local,all/all:Lf 
# End 

Finally you have to create the directory where the news-server creates the list of all news it has to send. Therefore you make the directory

mkdir /var/spool/news/
There you produce the file "togo" which will include the number of all news that will be send later.

The offline news-system should run independently now.

(Of course you are able to change to the news-server of your choice - this is recommended because this server is extremly slow.)

Other issues of Linux NetMag
[ #1 | #2 | #3 | Main ]