{"id":1809,"date":"2017-11-15T18:19:35","date_gmt":"2017-11-15T16:19:35","guid":{"rendered":"https:\/\/www.bitshopper.desupport\/instructions\/2pac\/2pac-setup-linux-raspberry-pi\/"},"modified":"2020-12-22T13:36:32","modified_gmt":"2020-12-22T12:36:32","slug":"2pac-setup-linux-raspberry-pi","status":"publish","type":"page","link":"https:\/\/www.bitshopper.de\/en\/support\/instructions\/2pac\/2pac-setup-linux-raspberry-pi\/","title":{"rendered":"2Pac Setup Linux\/ Raspberry Pi"},"content":{"rendered":"<h3>2Pac Inbetriebnahme Linux\/ Raspberry PI<\/h3>\n<p>Preparation, Package Dependencies, Configuration and Build for Raspbian &#8211; Kernel version: 4.4 (Debian 8.7.1) or higher of for Ubuntu 16.04.1 LTS or higher<\/p>\n<h3>Preparation<\/h3>\n<p>This installation guide describes setup, configuration and build based on a freshly installed Raspbian (Debian) or Ubuntu installation. You will need sudo rights. It&#8217;s not necessary to use root.<\/p>\n<p>First steps: update and upgrade of system and reqired packages:<\/p>\n<pre>sudo apt-get update\r\nsudo apt-get upgrade -y<\/pre>\n<p>The following packages are mandatory to properly build CGMiner:<\/p>\n<ul>\n<li>build-essential: Compiler and Compile Tools<\/li>\n<li>git: source code repository<\/li>\n<li>autoconf: Used to build from GIT<\/li>\n<li>automake: Used to build from GIT<\/li>\n<li>libtool: provides shared library access for CGMiner<\/li>\n<li>pkg-config: Used for build and compile<\/li>\n<li>libcurl4-openssl-dev: http connectivity for CGMiner<\/li>\n<li>libudev-dev: USB support for CGMiner<\/li>\n<li>libusb-1.0-0-dev: USB support for CGMiner<\/li>\n<li>libncurses5-dev: text base user interface for CGMiner<\/li>\n<\/ul>\n<pre>sudo apt-get install -y build-essential git autoconf automake libtool pkg-config libcurl4-openssl-dev libudev-dev libusb-1.0-0-dev libncurses5-dev<\/pre>\n<p>Now you can clone the GekkoScience CGMiner branch from GIT:<\/p>\n<pre>mkdir -p mining\/2pac; cd mining\/2pac\r\ngit clone https:\/\/github.com\/vthoang\/cgminer.git\r\ncd cgminer<\/pre>\n<p>After successful cloning you can start to build CGMiner.<\/p>\n<pre>CFLAGS=\"-O2\" .\/autogen.sh --enable-gekko\r\nmake -j 2<\/pre>\n<hr \/>\n<p>The build command for Ubuntu 16.04.1 LTS (or higher) is slightly different:<\/p>\n<pre>CFLAGS=\"-O2 -march=native\" .\/autogen.sh --enable-gekko\r\nmake -j 2<\/pre>\n<p>Explanation notes: The build parameter <strong>&#8211;enable-gekko<\/strong> activates the GekkoScience drivers both for Compac (single ASIC) and 2Pac (dual ASIC).<\/p>\n<p>Now test the freshly built binary:<\/p>\n<pre>.\/cgminer -n<\/pre>\n<p>This command returns a list of detected miners. You should see sth. like &#8220;2Pac BM1384 Bitcoin Miner&#8221;.<\/p>\n<h3>Accessories<\/h3>\n<p>This USB Stick Miner requires a actively powered USB Hub which can independently provide 2 A for each USB port We have achieved good results with several USB 2.0 Hubs from Anker or Orico while Users reported several compatibility issues with USB 3.0 Hubs with Intel chipsets. For more details please check the following link on bitcointalk.org.<\/p>\n<p>We recommend a quality USB fan for operating clock rates greater than 150 MHz. We achieved best results with Arctic Breeze Mobile 92 mm (quiet, performant, high-quality).<\/p>\n<h3>Setup<\/h3>\n<p>The following command will start up the CGMiner Software (example):<\/p>\n<pre>cd ~\/mining\/2pac\/cgminer\r\n.\/cgminer -o stratum+tcp:\/\/pool.ckpool.org:3333 -u 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr -p x --suggest-diff 32 --gekko-2pac-freq 150<\/pre>\n<p>The Pool configuration which is used in the example above should be replaced by your own pool configuration data. Please contact your pool operator or check the pool setup guide for more details. The example above shows a Solo-Mining configuration in Con Kolivas\u2019 Solo Mining pool.<\/p>\n<p>The Clock Rate can be set with the following commandline parameter: gekko-2pac-freq. If you want to operate your Miner without active cooling, we recommend a Clock Rate up to 100 MHz max.<\/p>\n<p>The mining performance depends on your Clock Rate and Core Voltage setup. You can calculate the average hash rate using the following formula:<\/p>\n<ul>\n<li>Performance in GH = 0.11 * MHz<\/li>\n<li>Example GH = 0.11 * 150 =&gt; Hashrate ~ 16,5 GH\/s (+-15%).<\/li>\n<li>The higher the hashrate, the bigger is the deviation from this average, caused by ASIC manufacturing tolerances.<\/li>\n<\/ul>\n<p>Power consumption:<\/p>\n<p>&nbsp;<\/p>\n<p>For enhanced support please visit the public support forum on <a href=\"http:\/\/bitcointalk.org\/\" target=\"_blank\" rel=\"noopener\">bitcointalk.org<\/a> or write us a e-mail.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>2Pac Inbetriebnahme Linux\/ Raspberry PI Preparation, Package Dependencies, Configuration and Build for Raspbian &#8211; Kernel version: 4.4 (Debian 8.7.1) or higher of for Ubuntu 16.04.1 LTS or higher Preparation This installation guide describes setup, configuration and build based on a freshly installed Raspbian (Debian) or Ubuntu installation. You will need sudo rights. It&#8217;s not necessary [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1650,"menu_order":200,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-1809","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>2Pac Setup Linux\/ Raspberry Pi - bitshopper.de<\/title>\n<meta name=\"description\" content=\"2Pac Setup Linux\/ Raspberry Pi. Preparation, Package Dependencies, Configuration and Build with Raspbian 4.4 (Debian 8.7.1)\/ Ubuntu 16.04.1 LTS\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bitshopper.de\/en\/support\/instructions\/2pac\/2pac-setup-linux-raspberry-pi\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"2Pac Setup Linux\/ Raspberry Pi\" \/>\n<meta property=\"og:description\" content=\"2Pac Setup Linux\/ Raspberry Pi. Preparation, Package Dependencies, Configuration and Build with Raspbian 4.4 (Debian 8.7.1)\/ Ubuntu 16.04.1 LTS\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bitshopper.de\/en\/support\/instructions\/2pac\/2pac-setup-linux-raspberry-pi\/\" \/>\n<meta property=\"og:site_name\" content=\"bitshopper.de\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-22T12:36:32+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/support\\\/instructions\\\/2pac\\\/2pac-setup-linux-raspberry-pi\\\/\",\"url\":\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/support\\\/instructions\\\/2pac\\\/2pac-setup-linux-raspberry-pi\\\/\",\"name\":\"2Pac Setup Linux\\\/ Raspberry Pi - bitshopper.de\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/#website\"},\"datePublished\":\"2017-11-15T16:19:35+00:00\",\"dateModified\":\"2020-12-22T12:36:32+00:00\",\"description\":\"2Pac Setup Linux\\\/ Raspberry Pi. Preparation, Package Dependencies, Configuration and Build with Raspbian 4.4 (Debian 8.7.1)\\\/ Ubuntu 16.04.1 LTS\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/support\\\/instructions\\\/2pac\\\/2pac-setup-linux-raspberry-pi\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/support\\\/instructions\\\/2pac\\\/2pac-setup-linux-raspberry-pi\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/support\\\/instructions\\\/2pac\\\/2pac-setup-linux-raspberry-pi\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Support\",\"item\":\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Instructions\",\"item\":\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/support\\\/instructions\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"2Pac\",\"item\":\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/support\\\/instructions\\\/2pac\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"2Pac Setup Linux\\\/ Raspberry Pi\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/\",\"name\":\"bitshopper.de\",\"description\":\"Digital mining equipment &amp; more\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"2Pac Setup Linux\/ Raspberry Pi - bitshopper.de","description":"2Pac Setup Linux\/ Raspberry Pi. Preparation, Package Dependencies, Configuration and Build with Raspbian 4.4 (Debian 8.7.1)\/ Ubuntu 16.04.1 LTS","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bitshopper.de\/en\/support\/instructions\/2pac\/2pac-setup-linux-raspberry-pi\/","og_locale":"en_US","og_type":"article","og_title":"2Pac Setup Linux\/ Raspberry Pi","og_description":"2Pac Setup Linux\/ Raspberry Pi. Preparation, Package Dependencies, Configuration and Build with Raspbian 4.4 (Debian 8.7.1)\/ Ubuntu 16.04.1 LTS","og_url":"https:\/\/www.bitshopper.de\/en\/support\/instructions\/2pac\/2pac-setup-linux-raspberry-pi\/","og_site_name":"bitshopper.de","article_modified_time":"2020-12-22T12:36:32+00:00","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.bitshopper.de\/en\/support\/instructions\/2pac\/2pac-setup-linux-raspberry-pi\/","url":"https:\/\/www.bitshopper.de\/en\/support\/instructions\/2pac\/2pac-setup-linux-raspberry-pi\/","name":"2Pac Setup Linux\/ Raspberry Pi - bitshopper.de","isPartOf":{"@id":"https:\/\/www.bitshopper.de\/en\/#website"},"datePublished":"2017-11-15T16:19:35+00:00","dateModified":"2020-12-22T12:36:32+00:00","description":"2Pac Setup Linux\/ Raspberry Pi. Preparation, Package Dependencies, Configuration and Build with Raspbian 4.4 (Debian 8.7.1)\/ Ubuntu 16.04.1 LTS","breadcrumb":{"@id":"https:\/\/www.bitshopper.de\/en\/support\/instructions\/2pac\/2pac-setup-linux-raspberry-pi\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bitshopper.de\/en\/support\/instructions\/2pac\/2pac-setup-linux-raspberry-pi\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bitshopper.de\/en\/support\/instructions\/2pac\/2pac-setup-linux-raspberry-pi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bitshopper.de\/en\/"},{"@type":"ListItem","position":2,"name":"Support","item":"https:\/\/www.bitshopper.de\/en\/support\/"},{"@type":"ListItem","position":3,"name":"Instructions","item":"https:\/\/www.bitshopper.de\/en\/support\/instructions\/"},{"@type":"ListItem","position":4,"name":"2Pac","item":"https:\/\/www.bitshopper.de\/en\/support\/instructions\/2pac\/"},{"@type":"ListItem","position":5,"name":"2Pac Setup Linux\/ Raspberry Pi"}]},{"@type":"WebSite","@id":"https:\/\/www.bitshopper.de\/en\/#website","url":"https:\/\/www.bitshopper.de\/en\/","name":"bitshopper.de","description":"Digital mining equipment &amp; more","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bitshopper.de\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.bitshopper.de\/en\/wp-json\/wp\/v2\/pages\/1809","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bitshopper.de\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bitshopper.de\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bitshopper.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bitshopper.de\/en\/wp-json\/wp\/v2\/comments?post=1809"}],"version-history":[{"count":0,"href":"https:\/\/www.bitshopper.de\/en\/wp-json\/wp\/v2\/pages\/1809\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.bitshopper.de\/en\/wp-json\/wp\/v2\/pages\/1650"}],"wp:attachment":[{"href":"https:\/\/www.bitshopper.de\/en\/wp-json\/wp\/v2\/media?parent=1809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}