{"id":23562,"date":"2024-08-02T11:57:54","date_gmt":"2024-08-02T09:57:54","guid":{"rendered":"https:\/\/www.bitshopper.de?page_id=23562"},"modified":"2024-08-02T11:59:41","modified_gmt":"2024-08-02T09:59:41","slug":"compac-f-setup-mac","status":"publish","type":"page","link":"https:\/\/www.bitshopper.de\/en\/support\/instructions\/compac-f\/compac-f-setup-mac\/","title":{"rendered":"Compac F Setup Mac"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\" id=\"h-vorbereitung\">Preparation<\/h3>\n\n<p>For the successful setup of CGMiner for the Compac F for Mac, I recommend the following operating system versions and extensions<\/p>\n\n<ul class=\"wp-block-list\">\n<li>Mac OS Big Sur 11.16 or higher<\/li>\n\n\n\n<li>Homebrew Package Manager for Mac OS<\/li>\n<\/ul>\n\n<p>The first step is to install the Apple Command Line Tools on your Mac OS operating system. Open the Terminal app and enter the following to install the Apple Command Line Tools:<\/p>\n\n<pre class=\"wp-block-code\"><code>xcode-select --install<\/code><\/pre>\n\n<h3 class=\"wp-block-heading\" id=\"h-paketmanager-installieren-und-paketabhangigkeiten-auflosen\">Install package manager and resolve package dependencies<\/h3>\n\n<p>First, the free package manager Homebrew (<a href=\"https:\/\/brew.sh\">https:\/\/brew.sh<\/a>) for Mac OS must be installed. This takes 5-10 minutes, depending on the speed of your internet connection.<\/p>\n\n<pre class=\"wp-block-code\"><code>\/bin\/bash -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh)\"\nbrew analytics off<\/code><\/pre>\n\n<p>The following packages must be installed to resolve the package dependencies of CGMiner:<\/p>\n\n<h3 class=\"wp-block-heading\" id=\"h-build\">Build<\/h3>\n\n<p>For the Mac, Kano has a prepared a &#8220;recipe&#8221; (tap) in Homebrew:<\/p>\n\n<pre class=\"wp-block-code\"><code>brew tap kanoi\/cgminer\nbrew install cgminer<\/code><\/pre>\n\n<p>If you already use Homebrew as a package manager on your Mac, you can follow these steps to update Hombrew and install CGMiner:<\/p>\n\n<pre class=\"wp-block-code\"><code>brew analytics off\nbrew doctor\nbrew update\nbrew upgrade\nbrew cleanup\nbrew tap kanoi\/cgminer\nbrew install cgminer<\/code><\/pre>\n\n<p>To install smaller updates of CGMiner (with an already current Homebrew installation, the following command can be used:<\/p>\n\n<pre class=\"wp-block-code\"><code>brew reinstall cgminer<\/code><\/pre>\n\n<p>After that, I recommend testing the newly compiled binary as follows:<\/p>\n\n<pre class=\"wp-block-code\"><code>sudo cgminer -n<\/code><\/pre>\n\n<p>This command lists the detected miners. Example output \u201cCompac F BM1397 Bitcoin Miner\u201d.<\/p>\n\n<h3 class=\"wp-block-heading\" id=\"h-inbetriebnahme\">Setup<\/h3>\n\n<p>I recommend setting up a configuration file, it is much clearer than starting CGMiner with console parameters.<\/p>\n\n<h4 class=\"wp-block-heading\" id=\"h-beispiel-einer-gekko-conf-konfigurationsdatei\">Example of a gekko.conf configuration file:<\/h4>\n\n<pre class=\"wp-block-code\"><code>{\n\"pools\" : &#91;\n{\n\"url\" : \"stratum+tcp:\/\/stratum.kano.is:3333\",\n\"user\" : \"benutzername.worker\",\n\"pass\" : \"x\"\n}\n],\n\"gekko-compaca1-start-freq\" : \"300\",\n\"gekko-compaca1-freq\" : \"300\",\n\"gekko-compaca1-corev\" : \"300\",\n\"gekko-compaca1-detect\" : true,\n\"gekko-r909-freq\" : \"450\",\n\"gekko-r909-detect\" : true,\n\"gekko-compacf-freq\" : \"400\",\n\"gekko-compacf-detect\" : true,\n\"gekko-tune2\" : \"60\",\n\"suggest-diff\" : \"442\",\n\"failover-only\" : true,\n\"api-listen\" : true,\n\"api-port\" : \"4028\",\n\"api-allow\" : \"W:192.168.1.0\/24,W:127.0.0.1\"\n}<\/code><\/pre>\n\n<p>How to start CGMiner with configuration file:<\/p>\n\n<pre class=\"wp-block-code\"><code>cgminer -c gekko.conf\u00a0<\/code><\/pre>\n\n<p>This is how the command line looks like without a configuration file<\/p>\n\n<pre class=\"wp-block-code\"><code>cgminer --o stratum+tcp:\/\/stratum.kano.is:3333 -u 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr -p x --suggest-diff 442\u00a0--gekko-compacf-freq 400 --gekko-compacf-detect true<\/code><\/pre>\n\n<p>In the examples above, please replace the pool data as well as the user name and worker with your own pool data, user data and worker.<\/p>\n\n<p>Depending on the intended use, it is recommended to log the output of CGMiner in a log file:<\/p>\n\n<pre class=\"wp-block-code\"><code>cgminer -c gekko.conf 2> \"run-`date +%Y%m%d%H%M%S`.log\"<\/code><\/pre>\n\n<p>Alternatively, you can put CGMiner into a shell script that writes a log file:<\/p>\n\n<pre class=\"wp-block-code\"><code>touch cgminer.sh\nsudo nano cgminer.sh<\/code><\/pre>\n\n<p>Content of the shell script:<\/p>\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/sh\n#\nwhile true ; do\nnow=\"`date +%Y%m%d%H%M%S`\"\n#\n.\/cgminer -c gekko.conf \"$@\" 2&gt; \"run.$now.log\"\n#\necho \"Sleeping for 5 seconds ...\"\nsleep 5\ndone<\/code><\/pre>\n\n<p>Then make the shell script executable:<\/p>\n\n<pre class=\"wp-block-code\"><code>chmod +x cgminer.sh<\/code><\/pre>\n\n<p>The \u201c$@\u201d means that you can pass additional parameters to the shell script to be added to the running cgminer, e.g. to disable asicboost.<\/p>\n\n<pre class=\"wp-block-code\"><code>cgminer.sh --gekko-noboost<\/code><\/pre>\n\n<h3 class=\"wp-block-heading\" id=\"h-zugriff-auf-die-api-auf-dem-mac\">Accessing the API on Mac<\/h3>\n\n<p>Install Java for Mac. Oracle suggests the correct version of Java for desktop applications. Make sure you select the correct Java installation package for Intel or Apple Arm64 CPU.<\/p>\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;java.com\/<\/code><\/pre>\n\n<p>Please make sure that you have enabled the API functionality in the configuration file or via the console parameter:<\/p>\n\n<pre class=\"wp-block-code\"><code>--api-enable --api-allow \"W:127.0.0.1\"<\/code><\/pre>\n\n<p>Finally, you can test the Java API functionality on your Mac. Please enter the following in a terminal window<\/p>\n\n<pre class=\"wp-block-code\"><code>cd Library\/Caches\/Homebrew\/cgminer--git\/\njava API estats<\/code><\/pre>\n\n<h3 class=\"wp-block-heading\" id=\"h-zubehor\">Accessories<\/h3>\n\n<p>In particular, to operate the miner with a Raspberry Pi, it requires a USB hub with an active power supply that is able to provide at least 3 A per USB port. We saw good results with USB 2.0 devices from Anker and Orico. Our <a href=\"https:\/\/www.bitshopper.deen\/shop\/accessories\/7-port-usb-hub\/\">7-port USB hub<\/a> has self-resetting fuses on each port and can provide up to 6 amps per port.<\/p>\n\n<p>The Compac F hardware design is engineered for high performance and requires good cooling. Even 1-2 minutes without cooling can damage components on the circuit board. Therefore, good cooling is essential. We have had good experiences with the <a href=\"https:\/\/www.amazon.de\/dp\/B003XN24GY\">Arctic Breeze Mobile 92 mm<\/a>. Very quiet, powerful and durable. Alternatively, we also offer the Compac F with a snap-on fan, which operates with a USB splitter on the USB hub. The Sunon 40 mm fan installed here provides sufficient cooling at a volume of just 23 decibels.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Preparation For the successful setup of CGMiner for the Compac F for Mac, I recommend the following operating system versions and extensions The first step is to install the Apple Command Line Tools on your Mac OS operating system. Open the Terminal app and enter the following to install the Apple Command Line Tools: Install [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":21275,"menu_order":0,"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-23562","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Compac F Setup Mac - bitshopper.de<\/title>\n<meta name=\"description\" content=\"Preparation, package dependencies, configuration, build and operation for the Compac F USB Stick Miner under Mac OS (Intel and Apple)\" \/>\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\/compac-f\/compac-f-setup-mac\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Compac F Setup Mac\" \/>\n<meta property=\"og:description\" content=\"Preparation, package dependencies, configuration, build and operation for the Compac F USB Stick Miner under Mac OS (Intel and Apple)\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bitshopper.de\/en\/support\/instructions\/compac-f\/compac-f-setup-mac\/\" \/>\n<meta property=\"og:site_name\" content=\"bitshopper.de\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-02T09:59:41+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 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\\\/compac-f\\\/compac-f-setup-mac\\\/\",\"url\":\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/support\\\/instructions\\\/compac-f\\\/compac-f-setup-mac\\\/\",\"name\":\"Compac F Setup Mac - bitshopper.de\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/#website\"},\"datePublished\":\"2024-08-02T09:57:54+00:00\",\"dateModified\":\"2024-08-02T09:59:41+00:00\",\"description\":\"Preparation, package dependencies, configuration, build and operation for the Compac F USB Stick Miner under Mac OS (Intel and Apple)\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/support\\\/instructions\\\/compac-f\\\/compac-f-setup-mac\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/support\\\/instructions\\\/compac-f\\\/compac-f-setup-mac\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/support\\\/instructions\\\/compac-f\\\/compac-f-setup-mac\\\/#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\":\"Compac F\",\"item\":\"https:\\\/\\\/www.bitshopper.de\\\/en\\\/support\\\/instructions\\\/compac-f\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Compac F Setup Mac\"}]},{\"@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":"Compac F Setup Mac - bitshopper.de","description":"Preparation, package dependencies, configuration, build and operation for the Compac F USB Stick Miner under Mac OS (Intel and Apple)","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\/compac-f\/compac-f-setup-mac\/","og_locale":"en_US","og_type":"article","og_title":"Compac F Setup Mac","og_description":"Preparation, package dependencies, configuration, build and operation for the Compac F USB Stick Miner under Mac OS (Intel and Apple)","og_url":"https:\/\/www.bitshopper.de\/en\/support\/instructions\/compac-f\/compac-f-setup-mac\/","og_site_name":"bitshopper.de","article_modified_time":"2024-08-02T09:59:41+00:00","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.bitshopper.de\/en\/support\/instructions\/compac-f\/compac-f-setup-mac\/","url":"https:\/\/www.bitshopper.de\/en\/support\/instructions\/compac-f\/compac-f-setup-mac\/","name":"Compac F Setup Mac - bitshopper.de","isPartOf":{"@id":"https:\/\/www.bitshopper.de\/en\/#website"},"datePublished":"2024-08-02T09:57:54+00:00","dateModified":"2024-08-02T09:59:41+00:00","description":"Preparation, package dependencies, configuration, build and operation for the Compac F USB Stick Miner under Mac OS (Intel and Apple)","breadcrumb":{"@id":"https:\/\/www.bitshopper.de\/en\/support\/instructions\/compac-f\/compac-f-setup-mac\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bitshopper.de\/en\/support\/instructions\/compac-f\/compac-f-setup-mac\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bitshopper.de\/en\/support\/instructions\/compac-f\/compac-f-setup-mac\/#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":"Compac F","item":"https:\/\/www.bitshopper.de\/en\/support\/instructions\/compac-f\/"},{"@type":"ListItem","position":5,"name":"Compac F Setup Mac"}]},{"@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\/23562","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=23562"}],"version-history":[{"count":0,"href":"https:\/\/www.bitshopper.de\/en\/wp-json\/wp\/v2\/pages\/23562\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.bitshopper.de\/en\/wp-json\/wp\/v2\/pages\/21275"}],"wp:attachment":[{"href":"https:\/\/www.bitshopper.de\/en\/wp-json\/wp\/v2\/media?parent=23562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}