OpenWrt Wiki

User Contraptions

Webpagina Implements

Table of Contents

This is a guide on how to use an OpenWrt device to mine bitcoins using BFG Miner.

Hardware: You',ll need a router with USB, and some kleuter of hardware miner. For this example I will be using a single ASIC Sapphire Block Erupter.

Prerequisites: You',ll need USB support → usb.essentials

Installing Kernel Drivers

Very first verify your mining hardware is detected with this instruction:

The Driver=(none) indicates that you do not have the decent kernel module installed for this device so wij will need to install it. The section Product= will tell you which driver wij will need. Alternatively a common list of drivers provided by BFG Miner is spil goes after.

Since my particular controller uses a CP2102 wij will need to install the package:

*note it will also install its prereq kmod-usb-serial

Now to verify it worked:

If the driver now equals something other then (none) it is loaded successfully.

Wij also have to verify that USB device is available, kwestie the following and your USB device should show up here

If not you may need to fountain the drivers by hand using the insmod guideline. Consultatie the BFG Miner readme for more informatie on this.

Installing BFG Miner

Next wij will need to install BFG Miner, fortunately for us it provides an openwrt repository for most hardware. Instructions for adding it are here:

*note that you don',t have to do this from the guideline line, it can be done from luci at System→Sofware→Configuration

Next you',ll very likely want to set your router to run bfgminer at startup. The easiest way to do this is add a directive to the local startup script, available at System→Startup (scroll down).

This is the instruction I use, note that while my device is not an icarus device, the icarus instruction line options work fine.

You can also use an init script, which is explained here initscripts. I use the following script:

*note that it uses the screen guideline, which you will also have to install However because it uses the screen instruction you can view the BFG Miner interface to see the output by using the instruction screen -rS bfgminer . Then when you are finished klapper Ctrl+a d to suspend the screen again.

Mining Litecoins with OpenWrt

Also Bfgminer can be used to mining litecoins with OpenWrt, but only with the CPU ter this uur. This is not a good alternative due to the low spectacle of the CPUs found te the routers (i.e. a bcm6368 calculates 0',11 kH/s with both cores enabled mining litecoins), but wij voorwaarde take ter mind the low power comsumption of thesis devices.

This is a possible Makefile for cpuminer, but still needs a lotsbestemming of debug.

The bitcoin system is set up such that more bitcoins can be unlocked and released into the world – a process known spil mining. PHOTO: REUTERS

SINGAPORE – The popularity of cryptocurrency has seen a resurgence ter latest weeks, spil its poster boy, bitcoin, surged te price to cross overheen US$16,000 (S$21,550 ) vanaf bitcoin on Thursday (Dec 14).

This has fuelled rente not only te investors looking to rail the cryptocurrency wave, but also those who want to earn bitcoin simply by letting their computers run 24/7.

The bitcoin system is set up such that more bitcoins can be unlocked and released into the world – a process known spil mining.

You can earn bitcoin by using a pc to perform calculations – the more calculations it does and the quicker it does so, the higher your chances of earning bitcoins.

Here’s more about mining:

1 What is bitcoin mining?

Cryptocurrencies such spil bitcoin exists spil a series of decentralised transactions. It runs on what is known spil a blockchain, which acts like a ledger, or record system, of all the transactions made via bitcoin.

When users transfer bitcoin to one another, the transaction is verified not by one central system, but by all the computers within the system.

The only way bitcoin is exchanged and traded is through a series of exchanges which are independently verified by other computers ter the blockchain.

To prize users for helping to verify thesis transactions, the bitcoin system gives out bitcoin to users who participate te this verification process and who can solve a difficult computational problem.

Two How is bitcoin mined?

Information that is permanently being added to this ledger comes te the form of a fresh “block”, which is an update of the history of bitcoin transactions made thus far.

A fresh block is made every Ten minutes. Each time a fresh block is added, the user whose rekentuig guessed it receives a cashout of bitcoin.

Today, earning a block will netwerken miners 12.Five bitcoin. At current rates, this works out to $291,812.50, albeit the volatility of bitcoin means its monetary value can fluctuate drastically.

This prize for mining bitcoin halves every 210,000 blocks, or about every four years. The value will halve ter 2020 so that earning a block gives miners 6.25 bitcoin, and again te 2024, until the total number of bitcoin is capped at 21 million.

This means about 1,800 fresh bitcoin are presently created vanaf day.

But spil mentioned, creating a fresh block is not spil elementary spil verifying transactions. Miners vereiste also solve a complicated maths problem, known spil a hash.

Ter simplest terms, users get their computers to guess a number. And this is no petite number – it’s a 64-digit hexadecimal number, which could look something like this:

The more guesses or calculations a rekentuig makes vanaf 2nd, the higher the chances of it guessing the juist number, letting the miner earn that bitcoin.

Three What do miners use to mine bitcoin?

It could take trillions of attempts before a pc can guess the given hash for a block.

Mining uses a rekentuig’s central processing unit (CPU) or graphics processing unit (GPU), units which provide the computing power to run pc programs such spil software or games.

But since running software essentially boils down to making calculations, bitcoin miners use the CPU and GPU to perform the calculations needed to guess the bitcoin hash.

GPUs are the default device of choice because they can perform more calculations. Early bitcoin miners realised they could maximise their pc’s mining efficiency by stacking numerous GPUs together into what is called a mining equipment.

Te latest years, however, even more specialised and dedicated mining equipment has become popular. The latest uses application-specific integrated circuits (ASIC), which are laptop chips programmed to do one thing and one thing only.

ASIC devices are built for speed and capacity – the better to mine bitcons. The AntMiner S9, for example, goes for US$Two,490 and can perform 13.Five trillion calculations vanaf 2nd, far outpacing a GPU equipment which can perform only millions of calculations vanaf 2nd.

You can begin mining bitcoin with your current pc, or pump a few hundred dollars into a GPU mining equipment. But it will not be worth it because the low computational rates will not earn you much.

However, the lure of profits to be made from mining bitcoin has led hackers to think of innovative ways to outsource the computational requirements of doing so to ordinary users.

The Straits Times reported on Thursday (Dec14) that hackers have found ways to tapkast the processing power of hundreds of thousands of regular computers to mine bitcoin without users knowing it.

Four Should you embark mining for bitcoin?

Anyone can begin mining, but it’s a different story if you consider whether the comes back are worth it or not.

There is very first the upfront cost of getting a mining equipment or ASIC, which can run to thousands of dollars.

More importantly, mining requires equipment which runs 24/7, which requires a onveranderlijk supply of tens unit and power.

Bitcoin miners now agree it is not worth mining bitcoin spil a hobby or using a single pc, spil the electrical play bill would equal or even exceed the profits made.

There are now giant farms dedicated to mining bitcoin, mostly ter China, where electrical play is cheap. Mining farms have also sprung up te deserts ter the United States, which attempt to use solar energy to keep electro-therapy bills down.


Sponsored Content




Subscribe to The Straits Times

iPhones and iPads

Go after ST

The Straits Times

SPH Digital News / Copyright © 2017 Singapore Press Holdings Ltd. Co. Regn. No. 198402868E. All rights reserved

Wij have bot experiencing some problems with subscriber log-ins and apologise for the inconvenience caused. Until wij resolve the issues, subscribers need not loom ter to access ST Digital articles. But a log-in is still required for our PDFs.

Get via App Store Read this postbode ter our app!

Is a cloud mining subscription worth it?

I just commenced investing te Bitcoin and before I actually implement it, I want to verify my strategy / steps.

1) I made a wallet account on blockchain. Two) I want to purchase subscription from Genesis Mining for 1TH/s at $150.

My aim is to run this for a few months and transfer bitcoins to my wallet and see how market behaves.

Is this a good option for beginners to invest or get an idea of how Bitcoin works?

Three Answers

Keep ter mind, at current prices it would take a very long time to get your initial investment back with cloud mining. There have bot many reports of cloud mining to be a ponzi pyramid scheme spil they have the advantage of “time” on their side. They are basically paying you back what you paid them leisurely.

However, if the price of BTC does rise significantly you can make a profit doing cloud mining. You are better off using the $150 to buy $150 worth of btc and holding that vs mining it via the cloud. You would instantly get the BTC to USD value vs waiting.

My advice if you want to get into mining spil a “hobby” just get a usb miner you can find on ebay. Or just mine with your rekentuig and join a pool with one of the other profitable coins found here: — bitcoin mining is a losing battle for the soloist.

I’m not sure the reaction is so black and white. I am te lots of cloud mining programs at the ogenblik, some of which are genuine, some of which are almost certainly scams.

So yes, there are many scam sites out there but I know of three that are paying regularly, one of which is very awesome.

The two golden rules are do your research and never deposit more than you can afford to lose.

Feel free to have a read.

No it is not. The value of Bitcoin fluctuates overheen time. Cloud mining takes years, not months, to be profitable. By then, you’ve missed out on profit from the price fluctuations, which is much higher than the profit from cloud mining. Cloud mining is only profitable if you assume the value of Bitcoin will not increase during thesis years.

The controversial cyber specie resumes to gather rhythm

THE next phase of Bitcoin',s extreme development has bot marked by the launch of its very first everzwijn futures contract.

Spil it stands on December 15, a single Bitcoin wasgoed valued at a $16,531 (12299). Experts believe the launch of Bitcoin futures could legitimise the digital currency spil an asset class – and drive up its value.

What is Bitcoin?

Bitcoin is a virtual currency that wasgoed created te 2009 by an unknown pc whizz using the zogeheten Satoshi Nakamoto.

Individual Bitcoins are created by rekentuig code.

The total value of all Bitcoin te existence is now more than £112billion.

Transactions are made without middle guys, so there are no transaction fees and no need to give your real name.

More businesses are beginning to accept them and ter some parts of the world you can even buy pizza with Bitcoins.

You can set up a virtual wallet websites like Blockchain to store, keep track and spend your digital money.

You are also able to purchase Bitcoin through an online exchange or Bitcoin ATM.

To find merchants that accepts Bitcoin ter the UK click here.

Bitcoins aren’t printed, like pounds, dollars or euros – they’re produced by people, and increasingly businesses, running computers all around the world.

It’s the very first example of a growing category of money known spil cryptocurrency.

Bitcoin is attractive to some users because of its anonymity, spil well spil its lack of government control.

The webstek Silk Road wasgoed closed te 2013 following raids by the FBI and other agencies amid allegations of drug dealing with authorities seizing millions of dollars worth of Bitcoin during the raids.

How do Bitcoins work?

The value of Bitcoin, like all currencies, is determined by how much people are willing to exchange it for.

To process Bitcoin transactions, a proces called ',mining', voorwaarde take place, which involves a rekentuig solving a difficult mathematical problem with a 64-digit solution.

For each problem solved, one block of Bitcoin is processed.

Te addition, the miner is rewarded with fresh Bitcoin.

To compensate for the growing power of pc chips, the difficulty of the puzzles is adjusted to ensure a stable stream of fresh Bitcoins are produced each day.

There are presently about 16 million ter existence.

The Bitcoin protocol – the rules that make Bitcoin work – say that only 21 million Bitcoins can everzwijn be created by miners.

However, thesis coins can be divided into smaller parts with the smallest divisible amount one hundred millionth of a Bitcoin.

This is called a ",Satoshi",, after the founder.

To receive a Bitcoin, a user vereiste have a Bitcoin address – a string of 27-34 letters and numbers – which acts spil a zuigeling of virtual postbode opbergruimte.

Since there is no register of thesis addresses, people can use them to protect their anonymity when making a transaction.

Thesis addresses are te turn stored ter Bitcoin wallets, which are used to manage savings.

What is its price ter USD and GBP?

The record high for one Bitcoin of £8015 ($Ten,740) wasgoed reached on November 29 and basically sees the coin striking its mainstream ogenblik.

The dramatic rise has bot attributed to surging request ter China, where authorities warn it is used to channel money out of the country.

Te March 2017 the price exceeded the value of an ounce of gold for the very first time – then around £940.

What is mining and how does it work?

The creators of Bitcoin designed the system so there would only everzwijn be a limited supply of bitcoins to be mined (a maximum of 21 million).

To ensure the longevity of the system, the cryptographic problems involved ter the mining get progressively firmer, meaning it takes longer to earn them.

Miners are turning to more powerful computers to accomplish thesis tasks and earn bitcoin.

Spil a result, mining (and on the flipside, bitcoin transactions) are sucking up greater and greater amounts of electro-stimulation.

Bitcoin transactions now use so much energy that the electro-therapy used for a single trade could power a huis for almost a entire month, according to Dutch bankgebouw ING.

The bulk of Bitcoin ",mining", is done ter China, where energy costs are comparatively cheaper than te places like the UK or US.

What will toebijten with Bitcoin',s futures trading?

This latest development could have a giant influence on Bitcoin',s ultimate success.

Futures, spil they are known, permit two parties to exchange an asset at a specified price at an agreed upon date te the future.

The combined value of every bitcoin presently ter existence is around $274bn – more than most major companies.

Te theory, investors will now be able to bet against Bitcoin – which could help find the currency',s true value.

Where can I buy Bitcoin and how much is it worth?

Several marketplaces called “Bitcoin exchanges” permit people to buy or sell Bitcoins using different currencies.

Japan-based Mt Gox is the largest Bitcoin exchange. It wasgoed launched te July 2010, and by 2013 wasgoed treating 70 vanaf cent of all Bitcoin transactions.

People can also send Bitcoins to each other using mobile apps or their computers te the same way people send metselspecie digitally.

The value of Bitcoin has fluctuated frantically since they were introduced and have reached a record high.

Te 2013 when they very first came to public attention, the value soared by Ten,000 vanaf cent before the price crashed.

A year ago ter September 2016, a Bitcoin wasgoed being traded for around £469.

Ter October 2017, a Bitcoin is traded for more than £4,000, according to currency tracker

Is Bitcoin the future of online trading?

No one knows what will become of Bitcoin spil it is mostly unregulated, but that could switch spil governments are worried about taxation and their lack of control overheen it.

So its', USP – the anonymity – could eventually prove its downfall.

While it keeps Bitcoin users’ transactions private, it also lets them buy or sell anything without lightly tracing it back to them.

That’s why it has become the currency of choice for people online buying drugs or other illicit activities.

And not many governments will waterput up with that for long.

However, it is increasingly used ter shops and restaurants – with a fraction of a bitcoin used to buy a pizza, for example.

And people selling their houses have even said they are willing to accept the cryptocurrency.


Mega sale




FIRST-CLASS Informatie


How much did the NHS cyber attack ransomware hackers request?

The thickest cyber attack ter the history of the NHS caused “significant problems” with IT systems and telephone networks across NHS trusts te England and Scotland.

Hackers encrypted files requiring NHS staff pay ransoms of $300 (£233) vanaf laptop via the digital currency service Bitcoin to regain access.

They warned the sum would be doubled if it wasgoed not paid within three days.

Ryan Kennedy, 30, siphoned off a big sum ter digital currency te a “very complicated and sophisticated fraud”, say prosecutors.

  • Topics
  • Bitcoin and cryptocurrencies
  • Cyber Crime and hacking
  • Explainers
  • NHS Cyber Attack


Most Popular

Mega sale

Need a last-minute Christmas bounty? Check out Amazon',s last minute sale


More than 600k families at grace of lending ',sharks', to pay for gifts


Ripple price – why has cryptocurrency XRP spiked and how does it work?


How to buy Bitcoin securely and the lowdown on Iota and Ethereum

FIRST-CLASS Informatie

Get your skates on. thesis are the last posting dates for Christmas 2017


Four-bed Essex house becomes very first ter the world to be sold te BITCOIN


Do you have a 50p worth up to £140? Wij expose the most valuable coins


Poundland',s copycat £1 Toblerone being sold on eBay for £15


Aldi exposes prices for fresh turkey and the cheapest cost just £3.95


Iota is one of the newer cryptocurrencies that is quick gaining ter value

By continuing to use the webpagina, you agree to the use of cookies. You can switch this and find out more by following this listig

Go after The Zon


©,News Group Newspapers Limited ter England No. 679215 Registered office: 1 London Bridge Street, London, SE1 9GF. “The Zon”, “Zon”, “Zon Online” are registered trademarks or trade names of News Group Newspapers Limited. This service is provided on News Group Newspapers’ Limited’s Standard Terms and Conditions te accordance with our Privacy &, Cookie Policy. To inquire about a licence to reproduce material, visit our Syndication webpagina. View our online Press Pack. For other inquiries, Voeling Us. To see all content on The Zon, please use the Webpagina Opbergmap. The Zon webstek is regulated by the Independent Press Standards Organisation (IPSO)

Our journalists strive for accuracy but on occasion wij make mistakes. For further details of our complaints policy and to make a complaint please click here.

Related movie: Day Trading Bitcoin: For Beginners

Leave a Reply

Your email address will not be published. Required fields are marked *