HOME | SUPPORT | CONTACT
 
 
 
 
How To Usenet On Ubuntu
February 25th, 2009

This tutorial aims to provide instructions on how to post an attachment to Usenet using Ubuntu

Note: All commands, which you have to run in a terminal, are in code tags.

1. First install a few programs
Code:

sudo apt-get install par2 newspost rar

2. Place the files you want to upload in a folder.

3. Most files on Usenet are in rar-files. You can create these rar-files with this command:
Code:

rar a “name of rar file” -v10m -m0 “/home/example/upload/”*

Command Explanation:
name of rar file: This is the name of the rar-file. “.rar” will automatic be added.
-v10m: Split the file(s) to a new rar-archive after 10 MB
-m0: Set compression level (0-store…3-default…5-best).
“/home/example/upload/”*: This means; rar everything in the folder ‘/home/example/upload’

4. Now we can create par files.
Code:

par2create -r10 -n7 “name of par file” /home/example/upload/*.rar*

-r10: Percent par-files you want to create
-n7: Number of par-files you want to create
“name of par file”: I don’t want to explain this
/home/example/upload/*.rar*: means; Create par-files of everything in the folder /home/eample/upload, which ends with .rar

5. Upload your files
Code:

newspost -i upload.eweka.nl -u USERNAME -p PASSWORD -f noadress@noemail.com -n rec.social.sciences -y -s “SUBJECT” “/home/example/upload/*.part*” “/home/example/upload/*.par*”

Extra notes:
This is it. You can run commands after each one is done (with &&). Then it will be something like:
Code:

rar a “name of rar file” -v10m -m0 “/home/example/upload/”* && par2create -r10 -n7 “name of par file” /home/

 

No comments.





 
   

 Copyright © 2006-2010
Home | Support | Terms of Use | Contact Us