{"id":2841,"date":"2016-03-26T15:40:49","date_gmt":"2016-03-26T15:40:49","guid":{"rendered":"http:\/\/wiki.davelevy.info\/?p=2841"},"modified":"2025-04-28T17:43:19","modified_gmt":"2025-04-28T17:43:19","slug":"raspberry-pi","status":"publish","type":"post","link":"https:\/\/davelevy.info\/wiki\/raspberry-pi\/","title":{"rendered":"Raspberry Pi (Deprecated)"},"content":{"rendered":"\n<p>I bought a Raspberry Pi to act as a Media Server in the home. I bought a PI, case, SD card and power source. As ever here are my notes. Currently, getting started (or 1st boot), 1st customisations, and early days with the media browsers and XBMC\/Kodi. I have BBC, ITV and YouTube working, Channel 4 is going to be <strong>very<\/strong> hard <strong>and so is Sky<\/strong>, since among other things since <a href=\"https:\/\/en.wikipedia.org\/wiki\/Microsoft_Silverlight\">Silverlight is deprecated<\/a>. <strong><acronym title=\"getting it to work as a media browser 9 Apr 2016\">I have given up<\/acronym><\/strong>, and bought <a href=\"https:\/\/davelevy.info\/wiki\/streaming-tv-at-home-roku\/\">a Roku stick<\/a>. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p>In addition to the challenges of getting all the channels I want, even v3 of the Pi struggles with iplayer HD; it might be the CPU, it might be the BT broadband plus speed but it&#8217;s too hard. I shall reconstruct the page and use comments, as one of the purposes of making a notes page was collecting the various web pages that helped me get to wherever I got.<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><figure><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2844\" src=\"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2016\/03\/my-pi-mat-2.png\" alt=\"my-pi-mat-2\" width=\"625\" height=\"389\" srcset=\"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2016\/03\/my-pi-mat-2.png 625w, https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2016\/03\/my-pi-mat-2-300x187.png 300w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/figure><\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Installing an OS &amp; getting started<\/h3>\n\n\n\n<p>The first choice is whether to install using <acronym title=\"NOOBS is an installer for Raspbian\">NOOBS<\/acronym> or Raspbian Live CD. We want to end up with Raspbian since its an Ubuntu derivative and I know how to use that. Actually debian derivative but close enough.<\/p>\n\n\n\n<p>Here&#8217;s the &#8216;pi <a href=\"https:\/\/www.raspberrypi.com\/documentation\/computers\/getting-started.html\">quick start page<\/a>!<\/p>\n\n\n\n<p>And here&#8217;s some more; how to download NOOBS, make a device and install it onto the computer.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.raspberrypi.org\/downloads\/noobs\/\">https:\/\/www.raspberrypi.org\/downloads\/noobs\/<\/a> has the download hyperlinks<\/li>\n\n\n\n<li><a href=\"https:\/\/www.raspberrypi.org\/help\/noobs-setup\/\">https:\/\/www.raspberrypi.org\/help\/noobs-setup\/<\/a> has instructions on creating a bootable device<\/li>\n\n\n\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=PCcXa4UFeLg\">https:\/\/www.youtube.com\/watch?v=PCcXa4UFeLg<\/a> how to install the micro sd card<\/li>\n<\/ol>\n\n\n\n<p>From the download page, I <acronym title=\"download it, it's a .zip, extract the files, and copy them to the SD card, mine came appropriately formatted and empty\">installed the offline installer<\/acronym> onto my SD card and this worked as promised; installed Raspbian onto the SD card. Plug everything into the &#8216;pi, power last and up it comes, and then connect to the internet via Wifi.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1st stage customisation<\/h3>\n\n\n\n<p>First I add some users, making one of them a sudo user and change the password on the default user, I use the preferences panel to change the default user password; and will delete the default user in 15 minutes. I went and found some wallpaper.<\/p>\n\n\n\n<p>Second, Firefox is Iceweasel on Debian (FFS), and <code>apt-get install iceweasel<\/code>, works to install it, after <code>apt-get update<\/code>. Obvs. I then changed the default browser using update-alternatives. See also <a href=\"https:\/\/wiki.debian.org\/HOWTO\/DefaultWebBrowser\">here<\/a>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># update-alternatives --config gnome-www-browser\n<\/pre>\n\n\n\n<p>I still <em>need<\/em> to install a big button theme on firefox.<\/p>\n\n\n\n<p>After installing Unified Remote, (see below), I tart up the menu using the menu editor and I replace epiphany with ice weasel on the panel by placing the mouse cursor over one of the application launch bar application icons; right click and select application launch bar settings. This gives me a gui editor. I also set iceweasel to autostart by linking iceweasel.desktop to the appropriate sub-folder in my $HOME directory<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Building the Media Browsers<\/h3>\n\n\n\n<p>I installed Unified Remote from <a href=\"https:\/\/www.unifiedremote.com\/download\/other\">their web page<\/a>. They have an ARM debian package which installs using the following command, after downloading the package.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo dpkg -i \n<\/pre>\n\n\n\n<p>This allows me to use my phone as a mouse.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Flash<\/h3>\n\n\n\n<p>Argh! <strong>No Flash<\/strong>. I didn&#8217;t know this!<\/p>\n\n\n\n<p>The advice is to use <code>gnash<\/code>.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=cPwYvgaJHbw\">https:\/\/www.youtube.com\/watch?v=cPwYvgaJHbw<\/a> or<\/li>\n\n\n\n<li><a href=\"http:\/\/cagewebdev.com\/index.php\/raspberry-pi-playing-flash-movies\/\">http:\/\/cagewebdev.com\/index.php\/raspberry-pi-playing-flash-movies\/<\/a><\/li>\n<\/ol>\n\n\n\n<p>Although this works for youtube, but not for BBC or ITV. This is not going to be easy and takes us all to an uncomfortable place. My first researches suggest the following pages,<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">KODI\/XBMC<\/h3>\n\n\n\n<p>As of today, the recommendation seems to be KODI, which is an evolution of XBMC. This is an alternative viewer,<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/web.archive.org\/web\/20170127101619\/http:\/\/www.alphr.com\/software\/1002235\/what-is-kodi-all-you-need-to-know-about-the-app-formerly-known-as-xbmc\">http:\/\/www.alphr.com\/software\/1002235\/what-is-kodi-all-you-need-to-know-about-the-app-formerly-known-as-xbmc<\/a> an independent piece on the evolution of KODI<\/li>\n\n\n\n<li><a href=\"https:\/\/seo-michael.co.uk\/how-to-manually-install-bbc-iplayer-for-xbmc-kodi\/\">https:\/\/seo-michael.co.uk\/how-to-manually-install-bbc-iplayer-for-xbmc-kodi\/<\/a> instruction on how to enhance KODI for the BBC iplayer<\/li>\n\n\n\n<li><a href=\"https:\/\/web.archive.org\/web\/20230203101116\/https:\/\/kodi.wiki\/view\/HOW-TO:Install_Kodi_on_Raspberry_Pi\">http:\/\/kodi.wiki\/view\/HOW-TO:Install_Kodi_on_Raspberry_Pi<\/a> a little piece on their wiki, which presumably has much more, but this page documents the apt-get runes. install kodi<\/li>\n<\/ol>\n\n\n\n<p>We need to install channel managers.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/web.archive.org\/web\/20160605040136\/http:\/\/kodicommunity.com:80\/how-to-install-the-itv-player-on-kodi\">http:\/\/kodicommunity.com\/how-to-install-the-itv-player-on-kodi\/<\/a><\/li>\n\n\n\n<li>https:\/\/seo-michael.co.uk\/how-to-manually-install-itv-on-xbmc-kodi\/<\/li>\n\n\n\n<li><a href=\"https:\/\/web.archive.org\/web\/20170730221520\/http:\/\/www.xbmcandkodi.com:80\/how-to-install-add-ons\">http:\/\/www.xbmcandkodi.com\/how-to-install-add-ons\/<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/web.archive.org\/web\/20170615042832\/https:\/\/superrepo.org\/get-started\/\">https:\/\/superrepo.org\/get-started\/<\/a><\/li>\n\n\n\n<li>http:\/\/www.wirelesshack.org\/a-guide-to-kodi-and-watching-free-movies-and-tv-shows.html<\/li>\n<\/ol>\n\n\n\n<p>Channel 4 is a bit of a problem,<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>https:\/\/superrepo.org\/kodi\/addon\/repository.mossy\/<\/li>\n\n\n\n<li>https:\/\/superrepo.org\/get-started\/ includes the 4OD drivers<\/li>\n\n\n\n<li>https:\/\/superrepo.org\/kodi\/addon\/plugin.video.4od\/<\/li>\n\n\n\n<li>http:\/\/forum.kodi.tv\/showthread.php?tid=134118&amp;page=31 &#8211; seems it&#8217;s now broken<\/li>\n<\/ol>\n\n\n\n<p>Here are some manuals<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"http:\/\/lmgtfy.com\/?q=how+to+use+kodi\">http:\/\/lmgtfy.com\/?q=how+to+use+kodi<\/a><\/li>\n<\/ol>\n\n\n\n<p>An alternative approach might be documented at, <a title=\"you'd think given the author[s] had bothered to get the .tv domain\" href=\"http:\/\/raspi.tv\">http:\/\/raspi.tv<\/a>, where they have <a href=\"http:\/\/raspi.tv\/2014\/get_iplayer-raspberry-pi-update\">an article on get_iplayer<\/a>. I use get_iplayer on the Mac, but it&#8217;s 7 day index cache is limiting.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Silverlight<\/h3>\n\n\n\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Microsoft_Silverlight\">Silverlight is deprecated<\/a>, that means that Sky is going to be hard&#8217; if not impossible,<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Bluetooth<\/h3>\n\n\n\n<p>There&#8217;s no bluetooth on the Raspberry Pi, shame I <acronym title=\"No I didn't, now to see if I can find the software\">threw away my Belbin dongle<\/acronym> the other week. (It didn&#8217;t make it to the new house.) Mrs. L. is unimpressed with the mouse and keyboard cables.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Remote Access<\/h3>\n\n\n\n<p>The package <code>xrdp<\/code> is required and supports MS RDP and maybe VNC; we&#8217;ll see.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">TOR<\/h3>\n\n\n\n<p>Also not so easy. There&#8217;s no TOR package for ARM, so we may need to <a href=\"http:\/\/tor.stackexchange.com\/questions\/242\/how-to-run-tor-on-raspbian-on-the-raspberry-pi\">go to source<\/a>.<\/p>\n\n\n\n<p>Let&#8217;s look at SFTP, or maybe Samba?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I bought a Raspberry Pi to act as a Media Server in the home. I bought a PI, case, SD card and power source. As ever here are my notes. Currently, getting started (or 1st boot), 1st customisations, and early days with the media browsers and XBMC\/Kodi. I have BBC, ITV and YouTube working, Channel&#8230;<\/p>\n","protected":false},"author":1,"featured_media":2842,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[4,8,3],"tags":[1002,1184,54,912,998,1003,999,916,1001,997,994,372,1018,911,1000],"class_list":["post-2841","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-i-t","category-linux","category-technology","tag-bbc","tag-deprecated","tag-howto","tag-i-t","tag-ice-weasel","tag-itv","tag-kodi","tag-linux","tag-mouse","tag-noobs","tag-raspberry-pi","tag-rdp","tag-remote-access","tag-technology","tag-unified-remote"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2016\/03\/Raspberry-Pi-Logo-w650.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/2841","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/comments?post=2841"}],"version-history":[{"count":8,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/2841\/revisions"}],"predecessor-version":[{"id":12323,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/2841\/revisions\/12323"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media\/2842"}],"wp:attachment":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media?parent=2841"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/categories?post=2841"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/tags?post=2841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}