FreeNAS - THE MOST COOLEST *UNIX THING EVER

Soldato
Joined
7 Jan 2007
Posts
10,607
Location
Sussex, UK
wow just wow.....

Free NAS is amazing, testing it on an old dell optiplex tonight. ITs the nuts, upnp streaming to my ps3, network shares all sorted.

now gotta setup torrents and try get sabnzbd wokring in it.

Seriously totally blown away by how easy it is.... :)
 
ok, had a little problem with freeNAS built in bittorrent support. Think I have found the problem though!!

I had mounted my drive, but in my haste I seem to have cocked it up.

/mnt only has a size of 380mb, I have a file /mnt/test/ which is 100GB. Dunno how I set it up like this.

Anyway I created mnt/torrent_download - to store my torrents, yes you guess it my torrent will only download 380mb lol.

Then I fudged the permissions and it wont download at all now, gonna re-format it and start again.

I sort of know what i'm doing now at least :p

ty for the vid chaos, i'll look at raid eventually, I need to get sabnzbd working first
 
/mnt is on your root filesystem, which is obviously 380meg as the footprint is quite small, if you created a directory in /mnt and just used it then it will only have 380meg of storage.

The /mnt/test is a mounted partition/disk and so is giving you 100GB if you don't want it at /mnt/test then change the mount point to somthing more sensible.

but you still have to have it within /mnt/ ?

am I creating directories in the root folder?

should it be in /home/username/test? or is this only in linux?

abit confused now.
 
no mention of openfiler? http://www.openfiler.com/
freenas is good but openfiler is good too.
also loading it on a compactflash card with a SATA to CF converter will save you having to load the OS on your storage space.

i did see openfiler but it literally has no documentation that I could see, it also is massively larger than freeNAS.

Can openfiler run the latest sabnzbd and transmission/deluge?
 
It's not hard. I have it running on an NSLU2 and it only took a couple of minutes to set up.

EDIT : Must...read..whole..thread. I see you got it working. :p

yeh mate, its running! but an old 0.4.3 version. This may not be a problem for me if it reads my RSS usenet feed. I can't test this till tommorrow night if you get me :D

Ideally I want it upgraded to 0.4.8 but this seems extremely hard for me to do, theres a little bit of info on sabnzbd forum and freenas forum but not a full guide. ATM im stuck with 0.4.3 but as I say that may not be a problem if it reads my RSS usenet feed properly tommorrow night.

Having said that I may not be able to use freeNAS after all :( just realised I need to run a printer server and somehow "backup" or centrally store pop3 e-mails, then pass the e-mails on my laptop.

Basically my parents run their own business, they go on holiday in the winter and obviously that leaves no one about to answer e-mails except me :/

I want to route these e-mails through my proposed server then to the laptop, purely so when they go away I can put an out of office message on thunderbird. I understand this cannot be done with pop3 systems alone.

As you can tell this is a side of BSD/Linux I know little about :)
 
Yeah, I've included 0.4.8 in that file (just forgot to update the filename). Install it like you did for 0.4.3 and you should have 0.4.8 ;)

(Don't count on it working, it might even break stuff, you never know :p)

I'll be testing it myself in a bit.

ah kewl.

how did you do it out of interest?

So to install

cd /mnt/disk1/temp/

pkg_add - r sabnzbd0.4.8.tbz

Then in theory it should work?
 
ok here is what i did..
folow these steps... and it wil run.
first ofcourse install freenas, and configure SSH so you can login as root.
log in using putty. login: root
Pasw: freenas

(root password = same as FreeNAS WebGUI password)
-------------------------------------------------------------------------------------------------------------------------------------------------------------
link for downloading sabnzbd ftp://ftp.freebsd.org /pub/FreeBSD/ports/i386/packages‐6.4‐release/All/
you can browse for other files.

TIP make sure you read point 12



found this info at. http://apps.sourceforge.net/phpbb/f...&t=9&sid=49197a7b2a1b1dfbb5a3fef35e71e650#p24

his is the Usenet client SABnzbd and includes all the dependencies required to run it.

More on SABnzbd here: http://www.sabnzbd.org

Overbyrn supplied the SABnzbd, dependencies and a shell script to run it.
SABnzbd: http://www.freenas.co.uk/files/sabnzb0.4.3.tar
Shell Script: http://www.freenas.co.uk/files/sab.sh


Auskento wrote a post processing script which will move downloaded files to folders specified in the postproc.conf file. It also handles VIDEO_TS folders making an .iso image and will join multiple .avi files.
I've modified this very slightly to work on FreeNAS.
Script: http://www.freenas.co.uk/files/sab_postproc.zip
Original Script available here: http://postproc.incinerator.com.au/

Overbyrn's instructions:-

1) Untar file to a temp folder on freenas. eg. tar zxvf sabnzb0.4.3.tar
2) pkg_add -v sabnzbdplus-0.4.3.tbz
3) first ran it from command line ... /usr/local/bin/SABnzbd.py
4) cntrl-c to exit.
5) it created a /root/.sabnzbd dir
6) edited /root/.sabnzbd/sabnzbd.ini
7) changed from localhost to 192.168.0.22
Cool re-ran as in step 3)
9) went to http://192.168.0.22:8080/sabnzbd/
10) configured to my liking
11) created script as below to stop / start as a daemon process...

#! /bin/sh
case "$1" in
start)
echo "Starting SABnzbd."
/usr/bin/sudo -u sabuser -H /usr/local/src/SABnzbd/SABnzbd.py -d -f /root/.sabnzbd/sabnzbd.ini
;;
stop)
echo "Shutting down SABnzbd."
/usr/bin/fetch "http://192.168.0.22:8080/sabnzbd/api?mode=shutdown" > /dev/null
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0

12) noticed in console logging external binary unzip missing...

2008-09-23 20:14:32,166::ERROR::unzip binary... NOT found!

13) did pkg_add -rv unzip. this installed unzip into /usr/local/bin
14) restarted sabnzbd using script... /root/sab.sh start
15) checked "connections" tab - no sign of missing unzip.

Used this sabnzbd wiki link for reference ... http://sabnzbd.wikidot.com/start

made and uploaded a newer version of the zip containing v0.4.3 build of sabnzbplus.

Im following that guide above. I think you have to install that 0.4.3 script, which also downloads all the dependancies. Then I guess you package may work
 
That's the one I'm following as well :)

In theory, yes it should work. However, it brought up some errors when I tried to run the python script and failed to create the initial /root/.sabnzbd folder, going to test the original tbz file now and see if it was my updates causing the problem.

To upgrade the files I got the SABnzndb+ 0.4.8 off their website & overwrote the files within "sabnzbdplus-0.4.3.tbz" with the newer files.

ah ok, so I guess your replacing "sabnzbdplus-0.4.3.tbz" with your version before you run "python /usr/local/binSAbnzbd.py"

Is that right?
 
im abit drunky wunky now lol. will process your posts tommorrow when i return from london. ty so much for sharing with me!!!


FReeNAS is awesome!!

EDIT: for trasmission make sure your download directory as the right permsissions. Maybe the error is something to do with you launching it in root???? who is the owner of transmission????? it loooks like root if its 999.
 
Last edited:
Back
Top Bottom