Pogoplug - Sickbeard, Sabnzbd & Mount Network Drive Question

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Pogoplug - Sickbeard, Sabnzbd & Mount Network Drive Question

Postby kiniki » Mon Sep 26, 2011 6:28 pm

I bought the E02 model a little while back and whilst it's been serving me well, I thought I might try something new with it...

I have an iomega cloud drive 2tb which is serving my Apple TV2 running XBMC. I run Sickbeard & sabnzbd on my laptop.

I am wondering whether I can get it all automated by running sickbeard & sabnzbd on the pogoplug, then once the files are downloaded, moved to the network drive? Without having to have it plugged in via usb?

I have a spare hd I could use just to run sickbeard etc....

So, is this possible?

If so, can anyone give me an idea of how?
kiniki
 
Posts: 9
Joined: Mon Sep 26, 2011 6:23 pm

Re: Pogoplug - Sickbeard, Sabnzbd & Mount Network Drive Ques

Postby WarheadsSE » Mon Sep 26, 2011 7:41 pm

What options are available for mounting the drive? samba/cifs, etc ,etc ?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogoplug - Sickbeard, Sabnzbd & Mount Network Drive Ques

Postby kiniki » Mon Sep 26, 2011 8:34 pm

Samba is how I have it set up currently... It's the only type of connection I know it does
kiniki
 
Posts: 9
Joined: Mon Sep 26, 2011 6:23 pm

Re: Pogoplug - Sickbeard, Sabnzbd & Mount Network Drive Ques

Postby WarheadsSE » Mon Sep 26, 2011 11:42 pm

Then it would be quite simple to mount the samba share to the plug's fs, and copy to it
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogoplug - Sickbeard, Sabnzbd & Mount Network Drive Ques

Postby kiniki » Tue Sep 27, 2011 12:11 am

$this->bbcode_second_pass_quote('WarheadsSE', 'T')hen it would be quite simple to mount the samba share to the plug's fs, and copy to it


Ok, so it shouldn't be too difficult to set up post-processing on Sabnzbd to automatically move the file once downloaded to the Iomega over smb?
kiniki
 
Posts: 9
Joined: Mon Sep 26, 2011 6:23 pm

Re: Pogoplug - Sickbeard, Sabnzbd & Mount Network Drive Ques

Postby WarheadsSE » Tue Sep 27, 2011 1:40 am

That is what I am saying, yes.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogoplug - Sickbeard, Sabnzbd & Mount Network Drive Ques

Postby kiniki » Tue Sep 27, 2011 7:28 am

I better get searching then...

Thanks
kiniki
 
Posts: 9
Joined: Mon Sep 26, 2011 6:23 pm

Re: Pogoplug - Sickbeard, Sabnzbd & Mount Network Drive Ques

Postby kiniki » Tue Sep 27, 2011 9:57 am

Considering my lack of knowledge in this area I just want to check if I follow the steps below.. I'll be heading in the right direction..

Firstly follow the steps to install Arch Linux Arm....

Then install samba

$this->bbcode_second_pass_code('', 'Run the following, and answer yes to all questions:
pacman -Sy samba avahi

Now we create a user that will be used for guest access. Use all defaults and pick a password.
adduser pcguest

Add the new guest account to samba. (Use a blank password since it's a guest account).
smbpasswd -a pcguest

Note: This will not work until you have created the configuration file below.

The only thing left is to create a configuration file. The Samba server will not launch without one being present.

Configuration
To configure your Samba install, you need to create a smb.conf file. Below is a very simple configuration file.

touch /etc/samba/smb.conf

Now edit it. (Check the bottom of this page for a link to Samba configuration help. Any Samba guide will work.)

nano /etc/samba/smb.conf

Here's a sample configuration file that should allow full public access to the first plugged in drive (for the Pogoplug. Adjust the drive's path to match the path to the drive you want to share.

[global] workgroup = WORKGROUP server string = ALARM netbios name = ALARM security = share load printers = no printing = bsd printcap name = /dev/null disable spools = yes log file = /var/log/samba/%m.log max log size = 50 dns proxy = no socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072 SO_KEEPALIVE [ArchLinuxARM] path = /tmp/.cemnt/mnt_sdb1/ read only = no public = yes writable = yes force user = root

In order to avoid some Windows 7 related errors edit /etc/security/limits.conf, scroll down to the end of the file and add the following line:

* - nofile 16384

Save the file and reboot in order for the changes to take effect.

Starting the Server
To start Samba, run:
/etc/rc.d/samba start

To start Samba on boot edit /etc/rc.conf, scroll down to the end of the file and add "samba" to the list of DAEMONS.')

Followed by creating the swapfile

$this->bbcode_second_pass_code('', 'This will create a 512MB swap file, named "swapfile.img" in /.
dd if=/dev/zero of=/swapfile.img bs=1M count=512 #for a 1GB swapfile, use count=1024 mkswap /swapfile.img

You can now turn the swap file on using:
swapon /swapfile.img

You can also turn it off by using:
swapoff /swapfile.img

Always-on Swapfile
To have your swapfile always enabled, even after a reboot, without having to manually turn it on or off, add the following line to the end of your /etc/fstab file using nano or similar:
/swapfile.img none swap sw 0 0

If you're worried about editing /etc/fstab, you can add "swapon /swapfile.img" to a new line in your /etc/rc.local file. The effect is the same.')

For Sabnzbd $this->bbcode_second_pass_code('', 'pacman -Sy sabnzbd ')

And Sickbeard $this->bbcode_second_pass_code('', 'yaourt -AS sickbeard ')

Then it's just a case of configuring Sab & Sickbeard?
kiniki
 
Posts: 9
Joined: Mon Sep 26, 2011 6:23 pm

Re: Pogoplug - Sickbeard, Sabnzbd & Mount Network Drive Ques

Postby WarheadsSE » Tue Sep 27, 2011 11:14 am

I can't speak to sikbeard and sabnzbd as I don't use them, but the rest looks good.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogoplug - Sickbeard, Sabnzbd & Mount Network Drive Ques

Postby kiniki » Tue Sep 27, 2011 11:27 am

Excellent... Looking forward to the end of work so I can get home and do this
kiniki
 
Posts: 9
Joined: Mon Sep 26, 2011 6:23 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 10 guests