Saturday, November 7, 2015

Raspberry Steps ... Cause I keep forgetting and wasting time a few times a year.

1.)  install Raspberry pi to SD from mac... using this line..  download image etc.


sudo dd bs=1m if=/Users/Pookeye/Downloads/NAME_OF_IMAGE of=/dev/rdiskN

2.) go to pi@192.168.1.XXX and log in after putting SD card in.

3.)  sudo apt-get install exfat-utils -y

4.) put USB in the raspberry pi

4a) sudo mkdir -p /media/usbstorage/

4b) sudo chown -R pi:pi /media/usbstorage

4c) sudo mount -o uid=pi,gid=pi /dev/sda1 /media/usbstorage

5.) sudo blkid #to get the UID

6.) sudo nano /etc/fstab  #use the UID that u got from above

7.) UUID=XXXX-XXXX /mnt/usbstorage exfat nofail,uid=pi,gid=pi 0 0
   #add this at the end of fstab  wth the UID that u got.

use below instead....  /media/usbstorage/ etc.



UUID=54AF-0252 /mnt/PIHDD exfat defaults,auto,umask=000,users,rw 0 0
source = http://www.miqu.me/blog/2015/01/14/tip-exfat-hdd-with-raspberry-pi/

8.)sudo mount -a #make sure it works

9.) sudo apt-get install transmission-daemon  #install transmission now

10.) sudo nano /etc/transmission-daemon/settings.json

11.) 
# changes these
"incomplete-dir:": "/media/usbstorage/TorrentDownload",
"incomplete-dir-enabled": true,
"download-dir": "/media/usbstorage/TorrentsCompleted",
"rpc-password": "Your_Password",
"rpc-username": "Your_Username",
"rpc-whitelist": "192.168.*.*",
12. sudo service transmission-daemon stop

13. sudo nano /etc/init.d/transmission-daemon

14. #comment USER and make USER=pi

15. follow

http://www.htpcguides.com/create-samba-share-raspberry-pi/




IF we have MORE PERMISSION ISSUE TRY THE FOLLOWING

raspbmc - Transmission: permission denied on USB disk ...

http://raspberrypi.stackexchange.com/questions/4378/transmission-permission-denied-on-usb-disk