This is a short guide that shows you how to mine DuinoCoin on a wifi router. DuinoCoin is a crypto that can even be mined on such low power devices.
- Flash the router you want to use with OpenWRT . There many guides for your specific router out there. This will void your Warranty!
If you want to buy a router in purpose, I would recommend a tplink. You can flash them very easily and they're cheap.
-
SSH into your router. Under Linux run: "ssh root@[routerip]. Under Windows use Putty. The default port 22 is fine.
-
type: "opkg update", "opkg install python3" and "opkg install coreutils-nohup" to install python and nohup.
-
Now edit line 14 to your username. If you want to use LEDs of your router as a indication if there was a accepted or declined share, go to line 16 and change variable 'enableLEDNotification' from
False
toTrue
and set line 17 to the first led and line 18 to the second led. They're coments. You can get the led names by visiting the openwrt webinterface and going to system -> LED-Configuration. Pick 2 that are free.. -
Now use a program like Winscp to get the miner.py script onto your router. Select SCP as protocol.
-
Then go back to putty and type "python3 miner.py".
-
If everything seems to work, and the router is mining, press Ctrl + c and type "nohup python3 miner.py &". If it doesn't, open an issue.
-
That's it! Your router is now mining crypto! Happy Mining!
Officially tested Routers:
Model | Hashrate | Difficulty | Profit |
---|---|---|---|
AVM Fritz!Box 4040 | 100kH/s | 2400 | ~10-15 DUCO per day |
TP-LINK WR841N | 5kH/s | 5000 |
How can I further develop this?
- Create a fork
- Change the things you want to change and make sure everything works
- Open a pull request