{"id":186,"date":"2014-12-20T13:24:36","date_gmt":"2014-12-20T12:24:36","guid":{"rendered":"http:\/\/www.digital-coins.net\/wordpress\/?p=186"},"modified":"2014-12-30T17:02:32","modified_gmt":"2014-12-30T16:02:32","slug":"setup-your-raspberry-pi-as-mining-device-controller","status":"publish","type":"post","link":"https:\/\/www.digital-coins.net\/index.php\/2014\/12\/20\/setup-your-raspberry-pi-as-mining-device-controller\/","title":{"rendered":"Setup your Raspberry Pi as mining device controller"},"content":{"rendered":"<p>As I just bought a new miner (Rockbox new R-Box) I was looking into a convenient way to operate and administrate this box. Currently it is running on a Windows 7 machine using cgminer (a tutorial will follow on that one). As I got some Raspberry Pi&#8217;s lying around, I was looking into way how to setup one of the Pi&#8217;s as controller.<\/p>\n<p>After digging around I bit, I found first <a title=\"Minepeon\" href=\"http:\/\/minepeon.com\/\" target=\"_blank\">Minepeon<\/a>. But after a bit of research on the project page and the forums, it seems this project is pretty much dead: Latest release is from early 2014, forums not having any recent post except for one thread with the title &#8220;<a class=\"topictitle\" title=\"Minepeon Forum\" href=\"http:\/\/minepeon.com\/forums\/viewtopic.php?f=3&amp;t=1779\" target=\"_blank\">Minepeon Project Died?<\/a>&#8220;.<\/p>\n<p>So I found this great project called &#8220;<a title=\"Minera\" href=\"http:\/\/getminera.com\/\" target=\"_blank\">Minera<\/a>&#8220;.\u00a0<a title=\"Minera\" href=\"http:\/\/getminera.com\/\" target=\"_blank\">Minera<\/a> is a &#8211; very important &#8211; active project providing a lot of features on how to control your mining device(s). Its features are<\/p>\n<ul>\n<li>Web frontend with Dashboard and widgets<\/li>\n<li>Currencies rates<\/li>\n<li>Detailed tables for pool and device info&#8217;s<\/li>\n<li>Charts<\/li>\n<li>System monitor like temperature, system load<\/li>\n<li>Autorestart, autorecover<\/li>\n<li>and much more<\/li>\n<\/ul>\n<p>Sounds like the tool you need? That is exactly what I thought as well.<\/p>\n<div id=\"attachment_192\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.digital-coins.net\/wp-content\/uploads\/2014\/12\/minera_dashboard.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-192\" class=\"size-medium wp-image-192\" src=\"https:\/\/www.digital-coins.net\/wp-content\/uploads\/2014\/12\/minera_dashboard-300x154.jpg\" alt=\"Minera Dashboard\" width=\"300\" height=\"154\" srcset=\"https:\/\/www.digital-coins.net\/wp-content\/uploads\/2014\/12\/minera_dashboard-300x154.jpg 300w, https:\/\/www.digital-coins.net\/wp-content\/uploads\/2014\/12\/minera_dashboard.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-192\" class=\"wp-caption-text\">Minera Dashboard<\/p><\/div>\n<p>&nbsp;<\/p>\n<p><strong>Hardware requirements<\/strong><\/p>\n<ul>\n<li>Raspberry Pi<\/li>\n<li>USB Power plug (preferable with a on\/off switch<\/li>\n<li>HDMI cable in case you like to attach a TV\/monitor to the Pi<\/li>\n<li>SD card with at least 4gb<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><strong>Software requirements<\/strong><\/p>\n<p>Browse to the <a title=\"Minera\" href=\"http:\/\/getminera.com\/\" target=\"_blank\">Minera project page<\/a> and download the prepared image for your Raspberry Pi in the <a title=\"Minera download page\" href=\"http:\/\/getminera.com\/#download\" target=\"_blank\">download section<\/a>. Click on &#8220;Auto Install&#8221; and the download starts. Once the download completed, extract the zip file with your favourite zip tool (like Winzip, Winrar, Archive Manager). This gives you the the file minera-latest.img.<\/p>\n<p>As the next step, copy the image to the SD card. Depending on the operating system you are using, it may vary a bit. As mentioned before, this SD card needs to be at least 4gb.<\/p>\n<ul>\n<li>Linux: If you are on Linux you can use <a href=\"https:\/\/launchpad.net\/usb-imagewriter\">ImageWriter<\/a> or the command line below. You probably have to run it with the sudo command or as root:<br \/>\n<code>dd bs=4M if=minera-latest.img of=\/dev\/your-sd-card<\/code><\/li>\n<li>Windows: If you are on Windows you can use <a href=\"http:\/\/sourceforge.net\/projects\/win32diskimager\">Win32DiskImager <\/a><\/li>\n<li>Mac OSX: If you are on a Mac OS X you can use <a href=\"http:\/\/www.tweaking4all.com\/hardware\/raspberry-pi\/macosx-apple-pi-baker\/\">ApplePi-Baker <\/a><\/li>\n<\/ul>\n<p>Writing the image to the SD card may take a while. Once completed, put it into your Raspberry Pi, connect the Power\/USB and the HDMI cable to it, attach any mining devices and boot it up.<\/p>\n<p>There is not a lot to see on the monitor, as\u00a0<a title=\"Minera\" href=\"http:\/\/getminera.com\/\" target=\"_blank\">Minera<\/a> is mainly controlled via the web interface. But it shows you an important detail: The IP address where\u00a0<a title=\"Minera\" href=\"http:\/\/getminera.com\/\" target=\"_blank\">Minera<\/a> is reachable. So go to your computer and type in the following URL<\/p>\n<p>http:\/\/&lt;RaspberryPi IP&gt;\/minera<\/p>\n<p>The default password is &#8220;minera&#8221;. There you go; welcome to your mining dashboard.<\/p>\n<p>In the next article we look at how to configure <a title=\"Minera\" href=\"http:\/\/getminera.com\/\" target=\"_blank\">Minera<\/a>:<\/p>\n<ul>\n<li>How to add your mining pool<\/li>\n<li>select your favourite mining sftware (cgminer, bfgminer)<\/li>\n<li>and explore some other features<\/li>\n<\/ul>\n<div id=\"attachment_194\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.digital-coins.net\/wp-content\/uploads\/2014\/12\/minera_settings.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-194\" class=\"size-medium wp-image-194\" src=\"https:\/\/www.digital-coins.net\/wp-content\/uploads\/2014\/12\/minera_settings-300x168.jpg\" alt=\"Minera Settings\" width=\"300\" height=\"168\" srcset=\"https:\/\/www.digital-coins.net\/wp-content\/uploads\/2014\/12\/minera_settings-300x168.jpg 300w, https:\/\/www.digital-coins.net\/wp-content\/uploads\/2014\/12\/minera_settings.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-194\" class=\"wp-caption-text\">Minera Settings<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>As I just bought a new miner (Rockbox new R-Box) I was looking into a convenient way to operate and administrate this box. Currently it is running on a Windows 7 machine using cgminer (a tutorial will follow on that one). As I got some Raspberry Pi&#8217;s lying around, I was looking into way how &#8230; <span class=\"more\"><a class=\"more-link\" href=\"https:\/\/www.digital-coins.net\/index.php\/2014\/12\/20\/setup-your-raspberry-pi-as-mining-device-controller\/\">[Read more&#8230;]<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":236,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[2,48,47,46,19],"class_list":["entry","post","publish","author-administrator","post-186","format-standard","has-post-thumbnail","category-tutorial","post_tag-bitcoin","post_tag-minepeon","post_tag-minera","post_tag-raspberrypi","post_tag-tutorial-2"],"_links":{"self":[{"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/posts\/186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/comments?post=186"}],"version-history":[{"count":11,"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/posts\/186\/revisions"}],"predecessor-version":[{"id":237,"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/posts\/186\/revisions\/237"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/media\/236"}],"wp:attachment":[{"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/media?parent=186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/categories?post=186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.digital-coins.net\/index.php\/wp-json\/wp\/v2\/tags?post=186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}