Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: alzhao on January 18, 2014, 04:20:28 AM



Title: cgminer+openwrt+antminer+block erupter
Post by: alzhao on January 18, 2014, 04:20:28 AM
Hi all,

I compiled cgminer for openwrt to support USB antminer and block erupter. Both can be download here. You can use the firmware on our smart router GL.iNet or on TP-link 720n, 703n etc.

The cgminer works with Block Erupter perfectly with hot plug and play support.

While for Antminer, there is a bug, when start cgminer as daemon or hot plug scripts, it will take 100% cpu. So better to start in terminal or reboot the devices, which will not have the issues. The source code is here: https://github.com/alzhao/openwrt-cgminer-antminer, hope someone can find the bug.
To use antminer, check this instruction: http://www.gl-inet.com/w/?p=336&lang=en

You can also flash the firmware provide from https://github.com/AntMiner/AntGen1/tree/master/firmware to GL.iNet smart router easily using the uboot web interface. But I cannot get it work with the USB ant miner.

I didn't test multiple devices with usb hub, as I only have one block erupter and one usb ant miner.
http://www.gl-inet.com/w/wp-content/uploads/2014/01/Screenshot-from-2014-01-16-203052.png http://www.gl-inet.com/w/wp-content/uploads/2014/01/0116_1.jpg
http://www.gl-inet.com/w/wp-content/uploads/2014/01/0116_2.jpg
http://www.gl-inet.com/w/wp-content/uploads/2014/01/manual_cgminer.png


Title: Re: cgminer+openwrt+antminer+block erupter
Post by: alzhao on February 16, 2014, 04:25:22 PM
Recompiled with USB 1.1 patch, you can do mining with WiFi on.
Download from
http://www.gl-inet.com/w/?page_id=115