For some reason, xbmc and raspbmc didn’t auto update anymore on my raspberry pi (running Raspbmc) since april this year.
Usually when you reboot your device, auto update makes sure your raspbmc is using the latest version.
By deleting some files, you can trigger your pi to update again on the next restart. This will probably solve your problem if you have the same issue:
- sudo -s
- cd /scripts/upd_sys
- rm *.sh
- wget http://svn.stmlabs.com/svn/raspbmc/release/update-system/getfile.sh
- wget http://svn.stmlabs.com/svn/raspbmc/release/update-system/cdn_env_prep.sh
- cd /scripts/upd_hist
- rm xbmcver
If you want to update CouchPotato just execute the following commands in the bash shell:
- sudo /etc/init.d/couchpotato stop
- cd CouchPotatoServer (or cd CouchPotato, whatever folder you installed CouchPotato in).
- git pull
- sudo /etc/init.d/couchpotato start
Even after starting, it might take 60 seconds before your site responds to requests.
Resilio Sync is an open source tool to create a Dropbox-like file-syncing service. You can share a folder with anyone. Files are stored on the server (which can be your raspberry pi) and on all the other computers that you gave a secret key.
Continue reading “Resilio Sync on Raspbian”
By default, all requests arriving at the pi, coming from the internet (WAN), are blocked. Only requests coming from your local LAN are allowed.
To do this, Raspbmc uses iptables. It’s like a firewall, and uses a set of rules to determine if a request has to be blocked or not.
Continue reading “Raspbmc: iptables”
The raspberry pi is an awesome device. It’s affordable, it’s a media center, a web server, very slow and doesn’t use much electricity. It’s also a very good looking piece of hardware. Fits your living room!
This post is about how mine is configured!
- Xbmc (installed as raspbmc): a powerful media center, running on Debian.
- Transmission: A minimalistic torrent client.
- CouchPotato: Software that searches the movies you want and starts to download them as soon as they come available.
- BitTorrent Sync: Dropbox like service, easy way to backup folders on multiple computers.
- Samba: Share a hard disk to the local network.
My pi lives next to my TV. It’s powered by a 5V 2A power supply. It has a 8 gb sd card and their is a 2 TB external usb hard drive attached.
I use Putty to modify raspbmc via ssh, Yatse android app to control Xbmc. When needed I can connect an external keyboard because I still have 1 usb port over.
As you could possibly open up some ports to the internet, you will want to secure your raspberry pi.
I won’t list the complete process but refer to guides I followed.
0. Static IP
First we need to install raspbmc on the pi: http://www.raspbmc.com/wiki/user/windows-installation/.
2. CouchPotato, Transmission
3. BitTorrent Sync
4. Enable samba
You can do this in the xbmc interface.
5. Dynamic Dns
- By default, if there is no hdmi connected on boot, it won’t enable hdmi. That’s ridiculous!