Last active
October 4, 2022 12:25
-
-
Save jamesmoriarty/3937761 to your computer and use it in GitHub Desktop.
Revisions
-
jamesmoriarty revised this gist
Jan 2, 2013 . 1 changed file with 18 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -39,4 +39,21 @@ sudo nano /etc/sysctl.conf transmission-daemon transmission transmission-cli transmission-common sudo nano /etc/transmission-daemon/settings.json sudo service transmission-daemon reload sudo service transmission-daemon restart # dyn dns sudo apt-get install inadyn curl sudo nano /etc/inadyn.conf # http://freedns.afraid.org/ # --username <yourusername> # --password <yourpassword> # --update_period 60000 # --forced_update_period 320000 # --alias something.something.com,alphanumeric string (see above) # --background # --dyndns_system [email protected] # --log_file /var/log/inadyn.log sudo apt-get install cron crontab -e # */30 * * * * /usr/sbin/inadyn -
jamesmoriarty revised this gist
Dec 29, 2012 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -31,7 +31,6 @@ sudo nano /etc/minidlna.conf # media_dir=/media/usb0 sudo rm /var/lib/minidlna/files.db sudo /etc/init.d/minidlna force-reload # fix - WARNING: Inotify max_user_watches [8192] sudo nano /etc/sysctl.conf # fs.inotify.max_user_watches = 100000 -
jamesmoriarty revised this gist
Dec 29, 2012 . 1 changed file with 17 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,16 @@ sudo raspi-config sudo reboot # mount external disk sudo apt-get install hfsplus hfsutils hfsprogs sudo mkdir /media/usb0 sudo nano /etc/fstab # /dev/sda2 /media/usb0 hfsplus defaults,force,gid=pi,uid=pi,noatime 0 0 sudo chown -R root:users /media/usb0/ sudo chmod -R ug=rwx,o=rx /media/usb0/ # samba sudo apt-get install samba samba-common-bin sudo nano /etc/samba/smb.conf # read only = no # security = user @@ -22,7 +25,19 @@ sudo nano /etc/samba/smb.conf # read only = no sudo service samba restart # minidlna sudo apt-get install minidlna sudo nano /etc/minidlna.conf # media_dir=/media/usb0 sudo rm /var/lib/minidlna/files.db sudo /etc/init.d/minidlna force-reload # fix - WARNING: Inotify max_user_watches [8192] sudo nano /etc/sysctl.conf # fs.inotify.max_user_watches = 100000 # transmission transmission-daemon transmission transmission-cli transmission-common sudo nano /etc/transmission-daemon/settings.json sudo service transmission-daemon reload sudo service transmission-daemon restart -
jamesmoriarty revised this gist
Dec 29, 2012 . 1 changed file with 21 additions and 25 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,32 +1,28 @@ sudo raspi-config sudo reboot sudo apt-get install minidlna samba samba-common-bin hfsplus hfsutils hfsprogs sudo mkdir /media/usb0 sudo nano /etc/fstab # /dev/sda2 /media/usb0 hfsplus defaults,force,gid=pi,uid=pi,noatime 0 0 sudo chown -R root:users /media/usb0/ sudo chmod -R ug=rwx,o=rx /media/usb0/ sudo nano /etc/samba/smb.conf # read only = no # security = user # # [usb0] # comment = Public Storage # path = /media/usb0 # valid users = @users # force group = users # create mask = 0775 # directory mask = 0775 # read only = no sudo service samba restart sudo apt-get install transmission-daemon transmission transmission-cli transmission-common sudo nano /etc/transmission-daemon/settings.json sudo service transmission-daemon reload sudo service transmission-daemon restart -
jamesmoriarty created this gist
Oct 23, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ sudo raspi-config # ssh # locale # resize # timezone sudo reboot sudo apt-get install minidlna samba samba-common-bin usbmount hfsplus hfsutils hfsprogs id sudo nano /etc/usbmount/usbmount.conf # FS_MOUNTOPTIONS="uid=1000,gid=1000" sudo apt-get install module-init-tools sudo depmod -ae && sudo reboot sudo smbpasswd -a pi sudo nano /etc/samba/smb.conf # security = user # read only = no # [usb1] # comment = Public Storage # path = /media/usb1 # valid users = @users # force group = users # create mask = 0660 # directory mask = 0771 # read only = no sudo nano /etc/minidlna.conf # media_dir=/media/usb1 sudo service minidlna force-reload