Tag Archives: Raspberry Pi

Installing OpenELEC (on a Raspberry Pi)

After a recent update broke my OpenELEC installation (or was it a problem with the SD card?) I thought I better write down all the steps to get it up and running again, in case I need to reinstall it again in the future.

These steps are specific to the way I use Openelec (NAS, passwords, …). Generic advice can be found at http://wiki.openelec.tv/index.php/Raspberry_Pi

Download disk image

Download disk image from http://openelec.tv/get-openelec

Write the disk image to the memory card

Write the disk image to the memory card, see http://wiki.openelec.tv/index.php/HOW-TO:Installing_OpenELEC/Writing_The_Disk_Image

Booting

Boot Raspberry Pi with SD card.

Resizing storage seems to have happened automatically.

SSH default user is root, default password is openelec.

Set up IP address in router.

Audio channels

Change to fit: System / System / Audio Output / Number of channels

Accessing password protected shared folders

Edit Userdata/sources.xml so that Openelec can access my password protected smb shared folders from the NAS, see http://kodi.wiki/view/Sources.xml

Examples:

<music>
 <default pathversion="1"></default>
 <source>
   <name>Music (Bullfinch)</name>
   <path>smb://raspi:password@192.168.0.12/music/Music/</path>
   <allowsharing>true</allowsharing>
 </source>
 <source>
   <name>Streams</name>
   <path>smb://raspi:password@192.168.0.12/music/Streams/</path>
   <allowsharing>true</allowsharing>
 </source>
 <source>
   <name>Music (local)</name>
   <path pathversion="1">/storage/music/</path>
   <allowsharing>true</allowsharing>
  </source>
 </music>

Add to the library

Music Files, choose source, long press, scan source to library.

Video Files, choose course, long press, choose what kind of content it is (movies, TV series).

 

 

More about the WL-700N-RXS

After spending quite a bit of time trying to get the WL-700N-RXS WiFi adapter to work on the Raspberry Pi, advertised by CPC as a Raspberry Pi accessory, I gave up and contacted Farnell, telling them that the chipset has changed and that the new version of the adapter is not working out of the box with the Raspberry Pi anymore.

They confirmed that this is the case. They will authorise credit for the original order of the WiFi adapter and said they’ll remove this adapter from the Raspberry Pi page as soon as possible.

The problem with WiFi adapters…

After I bought my Raspberry Pi I also bought a cheap HDMI to VGA adapter and a cheap WiFi adapter from eBay.

Everything was working fine, the only issue was that I had to edit the config.txt to get the HDMI to VGA adapter to display anything other than a black screen.

The Raspberry Pi was powered by a Amazon Kindle charger (0.85A) and was connected to a no-name unpowered USB hub, a keyboard, an optical mouse, the WiFi adapter mentioned earlier and the HDMI to VGA adapter (with a built-in HDMI audio to 3.5mm adapter) – and everything was working fine.

Recently I bought a HDMI to VGA adapter and a Dynamode Wireless USB adapter from CPC. Both were much more expensive than my original equipment. CPC’s HDMI to VGA adapter needs so much power that even after switching to a 1A power supply I still had problems powering my USB devices. This was not unexpected, it was a wonder that the previous set up was working at all, so I got a powered USB hub (which came with a 2A power supply).

Unfortunately even the “good” WiFi adapter only wants to work when plugged directly into  the Raspberry Pi, not when plugged into the powered hub …and CPC’s WiFi adapter doesn’t work out of the box, probably because the manufacturer changed the chipset.

What a mess – and I thought I’d be safe buying the expensive stuff from one of the licensed manufacturers of the Raspberry Pi.

Using eduroam at UCLan on a Raspberry Pi

Unfortunately UCLan doesn’t provide eduroam instructions for GNU/Linux (yet).

Here are the settings for the Raspberry Pi (Raspian), Debian, etc.

Image

the complete input for the CA certificate line is:
/etc/ssl/certs/UTN_USERFirst_Hardware_Root_CA.pem

…or, if you prefer the shell, here are the setting for /etc/wpa_supplicant/wpa_supplicant.conf


network={
ssid="eduroam"
proto=RSN
key_mgmt=WPA-EAP
pairwise=CCMP
auth_alg=OPEN
eap=PEAP
identity="username@uclan.ac.uk"
password="************"
ca_cert="/etc/ssl/certs/UTN_USERFirst_Hardware_Root_CA.pem"
phase2="auth=MSCHAPV2"

…make sure the quotes are straight quotes.