Bitcoin Forum

Bitcoin => Project Development => Topic started by: ncs0ne on October 12, 2013, 01:58:28 PM



Title: Multipool web-interface & more for KnCMiners
Post by: ncs0ne on October 12, 2013, 01:58:28 PM
Hi all,

I guess most of you added more than one pool to your KnCMiner's cgminer.conf
Unfortunately it has the disadvantage that the website tab for the miner config will not work any longer (empty page).

Therefore I enhanced the web-interface provided by KnC, in order to get rid of it.
In addition you can add new pools with the modified web interface.

My modifications are based on their code and has therefore legal implications.
Anyways I hope KnC is happy about customers helping each other, so enjoy.

PLEASE NOTICE:
Code is provided as is. Written with best intention. Please review it and let others know.
After reboot of your KnCMiner the changes are gone I guess (not tested, yet), after a firmware upgrade for sure.

TODO-List:
--------------
 *add all cgminer parameters to web-interface
 *improve speed
 *communicate with cgminer in order to apply parameters immediately (no restart)
   and let cgminer write the config file instead
 *layout/style (css) improvements

btw, how about a beer to motivate further development  :)
 BTC: 16zkgxgwiP4XVFKdcnzg7MTKtxth5gzK37



Download v0.1 here
--------------------------
http://wikisend.com/download/481590/multipool-webinterface-4-kncminer-v0.1.zip

md5sum c4dca978d9451694c1ee3a9c84be3893  multipool-webinterface-4-kncminer-v0.1.zip
Contains the modified web-interface (4 files), as well as a short README and a simple bash script installer pushing those files onto a KnCMiner.


Feedback and suggestions are very welcome!

*edit:
since multi-pool has meanwhile been integrated in the stock firmware I did no further development on it, in case you wonder


Title: Re: Multipool web-interface for KnCMiners
Post by: sbfree on October 13, 2013, 12:23:38 PM
seems noone has tried it yet....are mining with a knc rig or are waiting for one??


Title: Re: Multipool web-interface for KnCMiners
Post by: fhh on October 16, 2013, 11:50:07 AM
seems to work....


Title: Re: Multipool web-interface for KnCMiners
Post by: ncs0ne on November 07, 2013, 12:20:42 PM
Thanks for the donation whoever it was!!

I honestly hope it was intended and not by mistake as the modified web-interface writes in case of a broken/non-existing config (would prevent a startup and modification of config via webinterface') a default one containing eligus account for my donation address.

So I will do some more work in my spare free-time on KnCMiners.
If there are any wishes what should be enhanced or fixed or whatever as next - let me know, please

Meanwhile you might be interested in the following patch allowing you to make use of the new quota feature of cgminer without having a broken web-interface:
https://bitcointalk.org/index.php?topic=170332.msg3508074#msg3508074

Or into a memory observer in case your miner stops because of no RAM left:
https://bitcointalk.org/index.php?topic=170332.msg3508563#msg3508563