Upgrading Raspbmc

Raspbmc Upgrade

For those of you who have been using Raspbmc you will be aware that was an update on the 22nd of Feb.

A lot of people seem to have had problems with the update starting, then hanging with a screen that says:

“Relax CMBG will restart shortly”

I have attached a screen shot of this below:

 

Raspbmc

Raspbmc

 

I fixed the problem using the following steps.

Note you will need to also download any 3rd party plugins again or copy the zip files if your Raspberry Pi if you still have them on there.

Start by backing up your Raspbmc settings. You can do this by shelling into your Raspberry Pi and taring the settings.

tar -czf xbmc-backup.tar.gz .xbmc

Copy the tar file to another machine. For example you can open a fresh shell into the Raspberry Pi and secure copy (scp) the file to your local machine

scp <user>@<ip address>:/path/to/backup .

Next head over to the Raspbmc website’s download page.

http://www.raspbmc.com/download/

You can find the instructions here to re-install Raspbmc.

Once the instillation is complete, copy your tar file containing the settings back up to the Raspberry  Pi.

Running the following command will then untar the settings and re-load them.

sudo initctl stop xbmc && tar -xzf xbmc-backup.tar.gz && sudo initctl start xbmc

Finally you will need to setup your 3rd party plugins again.

Raspbmc book

Sam Nazarko the creator of Raspbmc also has a book out on the subject, you can check it out on the Packt Publishing website.

Raspberry Pi powered TV and dd-wrt router configuration

Introduction

Yesterday the snow hit so I decided to try to knock off some projects that had been on the back-burner.  Two of these were related to one another, the first being setting up my spare wireless router as a client bridge and the second setting up a Raspberry Pi with raspbmc.

Completing these two projects would allow me to create a Media Center for television and music.

Wireless router – client bridged mode

I had spent several days deciding  whether to use the wireless router I had spare to create a second network at home (not connected to the Internet), or to use it in client bridged mode.

In the end I opted for client bridged mode. The wireless router has a number of Ethernet ports located on it and would be perfect to place next to my TV as this is nowhere near my existing Ethernet switch. With this in place I could then run a short Ethernet cable from my Raspberry Pi into the wireless router and then stream TV over the wireless connection back through the Ethernet connection to the RPi and then over HDMI to the TV.

This image from the dd-wrt website shows an example of a network setup using two wireless routers one in client bridged mode:

Client_Bridge.jpg

Client Bridge example from dd-wrt.com

Setting up the wireless router was fairly straight forward. I used a Cisco Linksys E4200 router and installed the dd-wrt software onto this.

Linksys E4200

Linksys E4200

You can check your wireless router to see if it is supported at the following link:

http://www.dd-wrt.com/site/support/router-database

Once you have found your router download the firmware and follow the instructions on the dd-wrt site. There are a number of warnings on there to help you avoid ‘bricking’ (screwing up the router so it as much use as a brick) your router.

I would recommend following these as it will cause you less pain in the long run.

Once you have the router setup, follow these steps to set up the router in client bridged mode:

http://www.dd-wrt.com/wiki/index.php/Client_Bridged

If everything goes well you will now have a second wireless router connected to your primary wireless router and can then use it with the Raspberry Pi.

Raspbmc

Raspbmc is a version of the Debian Linux distro specially compiled for the Raspberry Pi to turn your Pi into a XBMC media center.

Installing it is fairly straight forward. Format  an SD card and then follow the steps located here depending on what machine you are using to format the card.

Once you have the SD card ready to go you can hook up your RPi to the wireless router, TV and power and get things started.

Raspberry Pi

Raspberry Pi

Note: If you have problems with the HDMI cable not displaying a picture, try the steps at this link:

http://elinux.org/R-Pi_Troubleshooting#Red_power_LED_is_on.2C_green_LED_does_not_flash.2C_nothing_on_display

When the Pi boots up it will run through the Raspbmc installation process.

Raspbmc splash screen after installing

Raspbmc splash screen after installing

Once the installation is complete you will now have the XMBC media center ready to start using.

Raspbmc

Raspbmc

Accessing the IP# of your Raspberry Pi via a web browser on port 80 will give you access to the ‘remote control’

e.g.

http://192.168.1.80:80

From here you can navigate through the menus on your TV and access content.

A wide variety of content is available on Raspbmc ranging from BBC iPlayer through to Hulu.

Hulu

Hulu

You can find instructions on installing the various TV networks software from the UK, US, Canada, France etc. at these following links:

General plugins:

http://wiki.xbmc.org/index.php?title=Unofficial_add-on_repositories

UK TV specific:

http://djb31st.co.uk/blog/catch-up-tv-on-raspberry-pi-raspbmc-bbc-iplayer/

Some content will not work in your area due to restrictions, for example BBC iPlayer TV content is not available outside of an UK IP address range (however radio is).

Tunlr.net seems to be a popular choice for circumnavigating this – Disclaimer: I’m not sure what the legalities of this are so you use these services at your own risk, if you don’t know it is probably best to avoid it.

Conclusion

So there we have it, a simple XMBC media center running on your Raspberry Pi that you can use to stream TV, radio and other media from.

You can read more about XMBC’s features and quick start guide at the following URL:

http://wiki.xbmc.org/index.php?title=XBMC_Quick_Start_Guide

I have  Gertboard ready to build for this Pi as well, so I will be looking at what I can use this for in my media center.

Enjoy!