Setting up RPI2 for usenet box

DjoeN

Captain Haddock!
OP
Member
Joined
Oct 21, 2005
Messages
5,489
Trophies
0
Age
53
Location
Somewhere in this potatoland!
Website
djoen.dommel.be
XP
2,835
Country
Belgium
Well i've been busy for a whole week trying to configure my Raspberry pi 2 to be my main download computer
First days, reading and gathering alot of information (I'm a Windows guy, never worked with Linux)

Setup:
- Raspberry Pi 2 + powersuply 2A
- Wired network
- Samsung M3 Station external HDD 2TB (own power)
- 32GB Sandisk SD class 10
- pure command Line (No need for StartX GUI)
- Wired USB Keyboard
- Wireless mouse
- Connected throu HDMI with my monitor/tv (Samsung SynchMaster 233HD DTV monitor)

What i want to setup:
- Samba share so i can access it with my computer
- Pi2 has a static IP
- SABnzbd+
- SickRage (Sickbeard fork)
- Couchpotato
- unrar
- Synch certain folders with my windows desktop computer when i turn it on.

What i have working so far:
- Berryboot (Multi OS boot selector)
- Raspbian (updated and upgraded)
- Automount HDD on boot
- SABnzbd+ (autostarts as service on boot)
- unrar
- SickRage (autostarts as service on boot)
- Static IP
- No GUI (Command line)

What works partially (i'll include a screenshot as soon as i'm home again)
- Samba share, Windows can see the share and when i try to access it, a login window pops up on my Windows 8.1 PC, then when i enter the needed info i configured in samba, it says i do not have the needed permissions etc...

pishare1.png
pishare2.png


- running CouchPotato as a service on boot

Installing CouchPotato works fine, but trying to run it as a service or getting it autostart when the pi2 startsup gives me either kernel panic or messes up my hdd mount etc...
It's the 4the time i started from scratsh and everytime i end up screwing my SD or the linux kernel, or freezing the pi2

So a good guide on how to setup couchpotato and getting it run as service on bootup would be nice (i tried different guides i found, but all or for Pi, not Pi2, don't know if it is any different and always somehow i messed up ending in a corrupt raspbian install (not SD) that would not boot up anymore.

Why?
Now my Windows Desktop PC is on 24h/24h and consumes alot of power and that drives my bill i have to pay high, i want to replace it with the RPI2 and an external HDD conected to it, that is shared and i can access from any computer or mediaplayer (chromecast with plex/ or appletv/other pi or computer with kodi) in my network.

This way i only need to turn on my desktop computer when i'm home and in need of it.

Any help is welcome on why i can't access my Samba share on my windows 8.1 computer and auto boot as CouchPotato as a service (Without installing "startup" (i know that one gets me always kernel panics))

Thanks

(I learned to make an image of my SD after every programm i install :P )
 

Wabsta

you fight like a dairy farmer
Member
Joined
Apr 25, 2008
Messages
2,495
Trophies
0
Age
31
Location
SCUMM Bar
Website
www.wabsta.com
XP
438
Country
Netherlands
Do your samba shares need to be protected by a password?
If not, you could just set it to public. This is my samba share config:
Code:
[samba]
  comment = Share the folders in /mnt
  path = /mnt
  guest ok = no
  browseable = yes
  writeable = yes
  public = yes
  only guest = no
  create mask = 0777
  directory mask = 0777
I don't know anything about NZBing with the RPi though, so can't help you there.
I have a similair setup, but with torrents. (and FlexGet for the automatic downloading)
 

DjoeN

Captain Haddock!
OP
Member
Joined
Oct 21, 2005
Messages
5,489
Trophies
0
Age
53
Location
Somewhere in this potatoland!
Website
djoen.dommel.be
XP
2,835
Country
Belgium
No it doesn't really need to be.

So how do i remove the password from pi user then?

Code:
[pi2home]
comment = Rapberry Pi shares
path = /mnt/hdd1
valid users = @users
force group = users
create mask = 0660
directory mask = 0771
read only = no
public = yes
browseable = yes
writeable = yes

EDIT:

I took over a bit of your config:

[pi2home]
comment = Rapberry Pi shares
path = /mnt/hdd1
guest ok = no
only guest = no
read only = no
public = yes
browseable = yes
writeable = yes
create mask = 0777
directory mask = 0777

and i can access it now without password :)
i can access my files and folders now :)

Anyway, 1 problem solved, thanks for including that :)
 

You may also like...

General chit-chat
Help Users
  • captainbob321 @ captainbob321:
    What's so Funny, @M4x1mumReZ
    ?
    +1
  • M4x1mumReZ @ M4x1mumReZ:
    Welcome new user
  • trepp0 @ trepp0:
    Just got the notice that school is being released 2 hours early cause of the winter storm
  • trepp0 @ trepp0:
    lets go
  • Psionic Roshambo @ Psionic Roshambo:
    Better than 3 hours late from a lockdown lol
    +1
  • FAST6191 @ FAST6191:
    While I know you mean in case of someone confusing schooling establishment from shooting establishment (many of the same letters) I am still going to read that as lockdown (also known as lock in) for a pub
  • FAST6191 @ FAST6191:
    where if you were in the club you could be invited to be there as a guest of the landlords after things are supposed to stop being served
  • FAST6191 @ FAST6191:
    Have technically done that in a school but it was the sports centre associated with the school more than the school itself
  • FAST6191 @ FAST6191:
    being drunk in school was either because drunk on playing field or could not be arsed with one particular Thursday afternoon so went and had some beers and played some games instead before returning for an ill advised last lesson/period
  • K3N1 @ K3N1:
    Being drunk and high in school was cool
  • K3N1 @ K3N1:
    It was high school
  • The Real Jdbye @ The Real Jdbye:
    my power cut out twice
  • The Real Jdbye @ The Real Jdbye:
    my pi running octoprint wiped all my plugins and i cba to fix it
  • Psionic Roshambo @ Psionic Roshambo:
    No pi for you lol
  • Sonic Angel Knight @ Sonic Angel Knight:
    Psi, you didn't spell your name right
  • Sonic Angel Knight @ Sonic Angel Knight:
    It's "Psionic" not "PI"
  • Psionic Roshambo @ Psionic Roshambo:
    So R Kelly is probably pissing himself right now
    +1
  • K3N1 @ K3N1:
    R Kelly knows how to piss on himself?
    +1
  • Veho @ Veho:
    Is it better to be pissed off than pissed on?
    Veho @ Veho: https://i.imgur.com/hzJyHNP.jpg