Skip to content

this is a project that mines duinocoin on your router

License

Notifications You must be signed in to change notification settings

azagramac/MineCryptoOnWifiRouter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MineCryptoOnWifiRouter

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.

  1. 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.

  1. SSH into your router. Under Linux run: "ssh root@[routerip]. Under Windows use Putty. The default port 22 is fine.

  2. Download the script to the router

  3. wget -c https://raw.githubusercontent.com/AzagraMac/MineCryptoOnWifiRouter/main/entware-ngu-setup.sh

  4. type: "opkg update", "opkg install python3" and "opkg install coreutils-nohup" to install python and nohup.

  5. 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 to True 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..

  6. Now use a program like Winscp to get the miner.py script onto your router. Select SCP as protocol.

  7. Then go back to putty and type "python3 miner.py", or "nohup python3 -u miner.py > /tmp/mnt/sda1/miner.log 2>&1 &"

  8. 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.

  9. That's it! Your router is now mining crypto! Happy Mining!

Officially tested Routers:

Model Hashrate Difficulty Profit
Asus RT-AX58U 42kH/s 2500 ~15-20 DUCO per day

How can I further develop this?

  1. Create a fork
  2. Change the things you want to change and make sure everything works
  3. Open a pull request

Packages

No packages published

Languages

  • Shell 67.1%
  • Python 32.9%