{"id":906,"date":"2013-07-11T19:17:52","date_gmt":"2013-07-11T17:17:52","guid":{"rendered":"http:\/\/blog.chschmid.com\/?p=906"},"modified":"2019-11-20T12:23:36","modified_gmt":"2019-11-20T10:23:36","slug":"raspberry-pi-raspbian-squeezeslave-my-new-squeezebox","status":"publish","type":"post","link":"https:\/\/blog.chschmid.com\/?p=906","title":{"rendered":"Raspberry PI + Raspbian + Squeezeslave"},"content":{"rendered":"<p>I am not going to waste too many words this time, instead I am just posting the commands required to get squeezeslave run as deamon on a Raspbian Raspberry Pi.<\/p>\n<ol>\n<li>Download and untar latest Squeezslave for your Raspberry from https:\/\/code.google.com\/p\/squeezeslave\/. As of today this can be done via\n<pre class=\"brush: bash; pad-line-numbers: 2; title: ; notranslate\" title=\"\">\nwget https:\/\/squeezeslave.googlecode.com\/files\/squeezeslave-1.3-390-armhf-lnx32.tar.gz\ntar -zxvf squeezeslave-1.3-390-armhf-lnx32.tar.gz\n<\/pre>\n<\/li>\n<li>Move everything into the right places\n<pre class=\"brush: bash; first-line: 3; pad-line-numbers: 2; title: ; notranslate\" title=\"\">\nsudo mkdir \/usr\/local\/squeezeslave\nsudo mv squeezeslave \/usr\/local\/squeezeslave\nsudo chown root:root \/usr\/local\/squeezeslave\/squeezeslave\nsudo ln -s \/usr\/local\/squeezeslave\/squeezeslave \/usr\/local\/bin\/squeezeslave\n<\/pre>\n<p>From here on you should already be able to run squeezeslave via<\/p>\n<pre class=\"brush: bash; first-line: 7; pad-line-numbers: 2; title: ; notranslate\" title=\"\">squeezeslave -o 0 YOURSERVER<\/pre>\n<\/li>\n<li>To run squeezeslave as a deamon and at the system start you&#8217;ll need to add <a style=\"color: #a61222;\" href=\"media\/squeezeslave\">this file<\/a> and get it to the right place.\n<pre class=\"brush: bash; first-line: 8; pad-line-numbers: 2; title: ; notranslate\" title=\"\">\nwget https:\/\/blog.chschmid.com\/media\/squeezeslave\nsudo mv squeezeslave \/etc\/init.d\nsudo chown root:root \/etc\/init.d\/squeezeslave\nsudo chmod 755 \/etc\/init.d\/squeezeslave\nsudo update-rc.d squeezeslave defaults\n<\/pre>\n<\/li>\n<li>Now all that is left is to create a config file\n<pre class=\"brush: bash; first-line: 13; title: ; notranslate\" title=\"\">\nsudo joe \/etc\/default\/squeezeslave\n<\/pre>\n<p>with the following content:<\/p>\n<pre class=\"brush: bash; first-line: 14; title: ; notranslate\" title=\"\">\nSSMAC=\"xx:xx:xx:xx:xx:xx\"\nSBSHOST= YOURSERVER\nSSOPTIONS=\"-o 0\"\n<\/pre>\n<p>Obviously you want to configure it to work with your server and add the MAC address which you find under HWaddr using<\/p>\n<pre class=\"brush: bash; first-line: 17; title: ; notranslate\" title=\"\">\nifconfig\n<\/pre>\n<\/li>\n<li>You can now either reboot your machine or start the service manually\n<pre class=\"brush: bash; first-line: 18; title: ; notranslate\" title=\"\">\nsudo service squeezeslave start\n<\/pre>\n<\/li>\n<\/ol>\n<p>Another problem is that the Raspbian by default boots at a rather low audio volume. This can be fixed by<\/p>\n<ol>\n<li>setting the volume with the command line mixer\n<pre class=\"brush: bash; first-line: 19; title: ; notranslate\" title=\"\">\nsudo apt-get install alsa-utils\nalsamixer\n<\/pre>\n<\/li>\n<li>and storing the settings\n<pre class=\"brush: bash; first-line: 21; title: ; notranslate\" title=\"\">\nsudo alsactl store\n<\/pre>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>I am not going to waste too many words this time, instead I am just posting the commands required to get squeezeslave run as deamon on a Raspbian Raspberry Pi. Download and untar latest Squeezslave for your Raspberry from https:\/\/code.google.com\/p\/squeezeslave\/. As of today this can be done via wget https:\/\/squeezeslave.googlecode.com\/files\/squeezeslave-1.3-390-armhf-lnx32.tar.gz tar -zxvf squeezeslave-1.3-390-armhf-lnx32.tar.gz Move everything [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4],"tags":[18,16],"class_list":["post-906","post","type-post","status-publish","format-standard","hentry","category-life_and_stuff","tag-diy","tag-technology"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p15PpI-eC","_links":{"self":[{"href":"https:\/\/blog.chschmid.com\/index.php?rest_route=\/wp\/v2\/posts\/906","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.chschmid.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.chschmid.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.chschmid.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.chschmid.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=906"}],"version-history":[{"count":37,"href":"https:\/\/blog.chschmid.com\/index.php?rest_route=\/wp\/v2\/posts\/906\/revisions"}],"predecessor-version":[{"id":2619,"href":"https:\/\/blog.chschmid.com\/index.php?rest_route=\/wp\/v2\/posts\/906\/revisions\/2619"}],"wp:attachment":[{"href":"https:\/\/blog.chschmid.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.chschmid.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.chschmid.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}