Warning: Cannot modify header information - headers already sent by (output started at /home/mustaf95/public_html/wp-content/plugins/cryptocurrency-donation-box/admin/class-plugin-activation.php:1) in /home/mustaf95/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/mustaf95/public_html/wp-content/plugins/cryptocurrency-donation-box/admin/class-plugin-activation.php:1) in /home/mustaf95/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/mustaf95/public_html/wp-content/plugins/cryptocurrency-donation-box/admin/class-plugin-activation.php:1) in /home/mustaf95/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/mustaf95/public_html/wp-content/plugins/cryptocurrency-donation-box/admin/class-plugin-activation.php:1) in /home/mustaf95/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/mustaf95/public_html/wp-content/plugins/cryptocurrency-donation-box/admin/class-plugin-activation.php:1) in /home/mustaf95/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/mustaf95/public_html/wp-content/plugins/cryptocurrency-donation-box/admin/class-plugin-activation.php:1) in /home/mustaf95/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/mustaf95/public_html/wp-content/plugins/cryptocurrency-donation-box/admin/class-plugin-activation.php:1) in /home/mustaf95/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/mustaf95/public_html/wp-content/plugins/cryptocurrency-donation-box/admin/class-plugin-activation.php:1) in /home/mustaf95/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893
{"id":739,"date":"2022-09-06T21:22:01","date_gmt":"2022-09-06T21:22:01","guid":{"rendered":"http:\/\/mustafaozkaya.com.tr\/?p=739"},"modified":"2022-09-06T21:22:04","modified_gmt":"2022-09-06T21:22:04","slug":"crypto-mining-on-the-raspberry-pi","status":"publish","type":"post","link":"https:\/\/mustafaozkaya.com.tr\/2022\/09\/06\/crypto-mining-on-the-raspberry-pi\/","title":{"rendered":"Crypto Mining on the Raspberry Pi"},"content":{"rendered":"\n

Installation<\/h1>\n\n\n\n

Installing Ubuntu on the Raspberry Pi is a very straightforward process, you can find detailed documentation on the Ubuntu website:<\/p>\n\n\n\n

<\/a><\/p>\n\n\n\n

How to install Ubuntu Server on your Raspberry Pi | Ubuntu<\/a><\/h2>\n\n\n\n

In this tutorial, we walk you through the process of installing Ubuntu Server on a Raspberry Pi, connecting it to the\u2026<\/a><\/h3>\n\n\n\n

ubuntu.com<\/a><\/p>\n\n\n\n

After the installation and boot of the Raspberry Pi, we can log in with SSH and should be presented with the beautiful and familiar Ubuntu server start screen:<\/p>\n\n\n\n

Welcome to Ubuntu 20.04.3 LTS (GNU\/Linux 5.4.0-1042-raspi aarch64)* Documentation:  https:\/\/help.ubuntu.com<\/a>
* Management:
https:\/\/landscape.canonical.com<\/a>
* Support: https:\/\/ubuntu.com\/advantageSystem information as of Mon Dec 6 13:23:09 UTC 2021System load: 1.2 Temperature: 45.1 C
Usage of \/: 13.8% of 13.93GB Processes: 137
Memory usage: 28% Users logged in: 0
Swap usage: 0% IPv4 address for eth0: xxxxxxxxx<\/pre>\n\n\n\n

A small detail, we can even see the temperature of the Raspberry Pi, mine seems to be at 45 degrees Celcius just after boot.<\/p>\n\n\n\n

Setup Duino-Coin<\/h1>\n\n\n\n

To setup Duino-Coin all that is needed is to follow these commands, we start by installing all the dependencies:<\/p>\n\n\n\n

# Update package repositories and install dependencies$ sudo apt update
$ sudo apt install python3 python3-pip git python3-pil python3-pil.imagetk -y<\/pre>\n\n\n\n

Then we can clone the Duino-Coin repository:<\/p>\n\n\n\n

# Clone Duino-Coin repository
$ git clone
https:\/\/github.com\/revoxhere\/duino-coin<\/a> # Install Python dependencies for Duino-Coin
$ cd duino-coin
$ python3 -m pip install -r requirements.txt<\/pre>\n\n\n\n

We also need to generate a wallet where our mining profits are going to be added. Duino-Coin has a GUI Wallet, CLI Wallet, and Web Wallet.<\/p>\n\n\n\n

I chose the Web Wallet because it has additional features, like viewing your miner stats and calculating estimated profits.<\/p>\n\n\n\n

Just go to https:\/\/wallet.duinocoin.com\/register<\/a> to register for a new wallet:<\/p>\n\n\n\n

\"\"\/
Create new Wallet on Duino-Coin Web Wallet<\/figcaption><\/figure>\n\n\n\n

Mining Duino-Coin<\/h1>\n\n\n\n

To run the miner, we need to execute the following command:<\/p>\n\n\n\n

# Run Miner (inside duino-coin directory)
$ python3 PC_Miner.pyDuino-Coin basic configuration tool
Edit Duino-Coin PC Miner 2.75\/Miner_config.cfg file later if you want to change it.
Don't have an Duino-Coin account yet? Use Wallet to register on server.Enter your Duino-Coin username: xxxxxxxxxx
Set mining intensity (1-100)% (recommended: 95): 95
Set mining threads (recommended for your system: 4): 4
1 - Low difficulty (for Raspberry Pis, older computers)
2 - Medium difficulty (for typical computers)
3 - Network difficulty (for powerful computers)
Select mining difficulty you want to use (1-3): 1
Do you want to add an identifier (name) to this rig? (y\/N): y
Enter desired rig name: RPI3
Set developer donation level (0-5) (recommended: 1), this will not reduce your earnings: 1
Config saved! Launching the miner\u2016 Official Duino-Coin \u00a9 Python Miner (2.75) 2019-2021
\u2016
https:\/\/github.com\/revoxhere\/duino-coin<\/a>
\u2016 CPU: 4x Cortex-A53
\u2016 Developer donation level: 1
\u2016 Algorithm: DUCO-S1 \u2699 Low diff
\u2016 Rig identifier: RPI3
\u2016 Have a peaceful afternoon, xxxxxxxxx!16:12:51 net0 Searching for the fastest node to connect to
16:12:52 sys0 Thank You for being an awesome donator \u2764\ufe0f
Your donation will help us maintain the server and allow further development
16:12:53 sys0 Mining thread #0 is starting using DUCO-S1 algorithm with 95% efficiency
16:12:53 sys1 Mining thread #1 is starting using DUCO-S1 algorithm with 95% efficiency
16:12:53 sys2 Mining thread #2 is starting using DUCO-S1 algorithm with 95% efficiency
16:12:53 sys3 Mining thread #3 is starting using DUCO-S1 algorithm with 95% efficiency
16:12:53 net0 MOTD: You are mining on Bilapool, have fun!
16:12:53 net0 Connected to master Duino-Coin server (v2.7, 51.158.113.59:6043)
16:12:55 cpu0 \u26cf Accepted 1\/1 (100%) \u2219 02.1s \u2219 54 kH\/s \u2699 diff 2 k \u2219 ping 18ms
16:12:55 cpu3 \u26cf Accepted 2\/2 (100%) \u2219 02.4s \u2219 110 kH\/s \u2699 diff 2 k \u2219 ping 16ms
16:12:55 cpu1 \u26cf Accepted 3\/3 (100%) \u2219 02.5s \u2219 165 kH\/s \u2699 diff 2 k \u2219 ping 18ms
16:12:56 cpu2 \u26cf Accepted 4\/4 (100%) \u2219 03.1s \u2219 220 kH\/s \u2699 diff 2 k \u2219 ping 44ms
16:12:57 cpu1 \u26cf Accepted 5\/5 (100%) \u2219 01.7s \u2219 222 kH\/s \u2699 diff 5 k \u2219 ping 21ms
16:13:00 cpu2 \u26cf Accepted 6\/6 (100%) \u2219 04.3s \u2219 224 kH\/s \u2699 diff 4 k \u2219 ping 20ms
16:13:01 cpu0 \u26cf Accepted 7\/7 (100%) \u2219 06.0s \u2219 225 kH\/s \u2699 diff 5 k \u2219 ping 26ms
16:13:02 cpu3 \u26cf Accepted 8\/8 (100%) \u2219 06.9s \u2219 226 kH\/s \u2699 diff 5 k \u2219 ping 16ms
16:13:02 cpu1 \u26cf Accepted 9\/9 (100%) \u2219 05.2s \u2219 224 kH\/s \u2699 diff 5 k \u2219 ping 20ms
16:13:05 cpu3 \u26cf Accepted 10\/10 (100%) \u2219 03.2s \u2219 225 kH\/s \u2699 diff 4 k \u2219 ping 16ms
16:13:06 cpu2 \u26cf Accepted 11\/11 (100%) \u2219 05.2s \u2219 224 kH\/s \u2699 diff 4 k \u2219 ping 20ms
16:13:06 cpu0 \u26cf Accepted 12\/12 (100%) \u2219 05.3s \u2219 223 kH\/s \u2699 diff 4 k \u2219 ping 16ms<\/pre>\n\n\n\n

On the first run, the script will ask for the following configuration:<\/p>\n\n\n\n