sandor111
|
|
May 11, 2014, 10:54:35 PM |
|
noticed after today's update autotune isn't kicking in. it was working fantastic prior to. /usr/bin/screen -dmS cpuminer /var/www/minera/minera-bin/minerd --gc3355-detect --gc3355-autotune --freq=850MHz --log /var/www/minera/application/logs/cpuminer.log -o stratum+tcp://some.pool:3333 -u someworker -p somepassword --freq=850MHz should be --freq=850
|
|
|
|
SilentH
Member
Offline
Activity: 65
Merit: 10
|
|
May 11, 2014, 11:04:23 PM |
|
not sure where to change that in Minera....
Never mind. Ran a manual config removing the "MHz". I'll let ya know
|
|
|
|
dloganbill
|
|
May 11, 2014, 11:07:14 PM |
|
Is the latest version compatible with Nicehash yet? I'm holding off until it is.
|
|
|
|
gbyg
Member
Offline
Activity: 71
Merit: 10
|
|
May 11, 2014, 11:09:45 PM |
|
when i try to compile the new version i get ./install_minera.sh: line 45: unexpected EOF while looking for matching ``' ./install_minera.sh: line 48: syntax error: unexpected end of file any idea?
|
|
|
|
SilentH
Member
Offline
Activity: 65
Merit: 10
|
|
May 11, 2014, 11:17:25 PM |
|
looks like the install script is still missing the backtick.. if you feel like editing it, look for this area: echo -e "Chown minera dir\n-----\n" chown -R minera.minera `pwd` chmod -R 777 `pwd/application/logs add a backtick (`) at the end of logs and the script will run.
|
|
|
|
gbyg
Member
Offline
Activity: 71
Merit: 10
|
|
May 11, 2014, 11:22:56 PM |
|
looks like the install script is still missing the backtick.. if you feel like editing it, look for this area: echo -e "Chown minera dir\n-----\n" chown -R minera.minera `pwd` chmod -R 777 `pwd/application/logs add a backtick (`) at the end of logs and the script will run. thanks it is working now.
|
|
|
|
SilentH
Member
Offline
Activity: 65
Merit: 10
|
|
May 11, 2014, 11:28:19 PM |
|
noticed after today's update autotune isn't kicking in. it was working fantastic prior to. /usr/bin/screen -dmS cpuminer /var/www/minera/minera-bin/minerd --gc3355-detect --gc3355-autotune --freq=850MHz --log /var/www/minera/application/logs/cpuminer.log -o stratum+tcp://some.pool:3333 -u someworker -p somepassword --freq=850MHz should be --freq=850 So Minera still showing a flat 850 across the board and hashrate is a solid 360KHs across the board. Looking at the stats of JSON it shows autotune on: {"start_time":1399849641,"devices":{"ttyACM8":{"chips":[{"autotune":1,"frequency":850,"accepted":13,"hashrate":72040,"rejected":0,"last_share":1399850707,"hw_errors":0,"shares":1440},{"autotune":1,"frequency":850,"accepted":12,"hashrate":72008,"rejected":0,"last_share":1399850414,"hw_errors":0,"shares":1200},{"autotune":1,"frequency":850,"accepted":10,"hashrate":72043,"rejected":0,"last_share":1399850651,"hw_errors":0,"shares":1184},{"autotune":1,"frequency":850,"accepted":10,"hashrate":72024,"rejected":0,"last_share":1399850744,"hw_errors":0,"shares":928},{"autotune":1,"frequency":850,"accepted":17,"hashrate":72007,"rejected":0,"last_share":1399850703,"hw_errors":0,"shares":1696}],"serial":"6D8054995148"},"ttyACM6":{"chips":[{"autotune":1,"frequency":850,"accepted":11,"hashrate":72045,"rejected":0,"last_share":1399850461,"hw_errors":0,"shares":1200},{"autotune":1,"frequency":850,"accepted":9,"hashrate":72045,"rejected":0,"last_share":1399850487,"hw_errors":0,"shares":1088},{"autotune":1,"frequency":850,"accepted":14,"hashrate":72017,"rejected":0,"last_share":1399850711,"hw_errors":0,"shares":1536},{"autotune":1,"frequency":850,"accepted":11,"hashrate":72004,"rejected":0,"last_share":1399850586,"hw_errors":0,"shares":960},{"autotune":1,"frequency":850,"accepted":14,"hashrate":72024,"rejected":0,"last_share":1399850749,"hw_errors":0,"shares":1504}],"serial":"6D91278F4857"},"ttyACM10":{"chips":[{"autotune":1,"frequency":850,"accepted":10,"hashrate":72031,"rejected":0,"last_share":1399850715,"hw_errors":0,"shares":960},{"autotune":1,"frequency":850,"accepted":12,"hashrate":72032,"rejected":0,"last_share":1399850574,"hw_errors":0,"shares":1472},{"autotune":1,"frequency":850,"accepted":14,"hashrate":72032,"rejected":0,"last_share":1399850710,"hw_errors":0,"shares":1520},{"autotune":1,"frequency":850,"accepted":13,"hashrate":72023,"rejected":1,"last_share":1399850590,"hw_errors":0,"shares":1264},{"autotune":1,"frequency":850,"accepted":8,"hashrate":72018,"rejected":0,"last_share":1399850649,"hw_errors":0,"shares":848}],"serial":"6D81267A4857"},"ttyACM9":{"chips":[{"autotune":1,"frequency":850,"accepted":14,"hashrate":72043,"rejected":0,"last_share":1399850697,"hw_errors":0,"shares":1632},{"autotune":1,"frequency":850,"accepted":7,"hashrate":72032,"rejected":0,"last_share":1399850741,"hw_errors":0,"shares":608},{"autotune":1,"frequency":850,"accepted":7,"hashrate":72012,"rejected":0,"last_share":1399850747,"hw_errors":0,"shares":576},{"autotune":1,"frequency":850,"accepted":11,"hashrate":72017,"rejected":0,"last_share":1399850668,"hw_errors":0,"shares":624},{"autotune":1,"frequency":850,"accepted":19,"hashrate":72022,"rejected":0,"last_share":1399850709,"hw_errors":0,"shares":2048}],"serial":"6D8D266D4857"},"ttyACM7":{"chips":[{"autotune":1,"frequency":850,"accepted":18,"hashrate":72039,"rejected":0,"last_share":1399850648,"hw_errors":0,"shares":2112},{"autotune":1,"frequency":850,"accepted":13,"hashrate":72040,"rejected":1,"last_share":1399850610,"hw_errors":0,"shares":1376},{"autotune":1,"frequency":850,"accepted":17,"hashrate":72040,"rejected":0,"last_share":1399850743,"hw_errors":0,"shares":1648},{"autotune":1,"frequency":850,"accepted":15,"hashrate":72029,"rejected":0,"last_share":1399850598,"hw_errors":0,"shares":1488},{"autotune":1,"frequency":850,"accepted":15,"hashrate":72037,"rejected":0,"last_share":1399850599,"hw_errors":0,"shares":1744}],"serial":"6D8142684857"},"ttyACM5":{"chips":[{"autotune":1,"frequency":850,"accepted":13,"hashrate":72036,"rejected":0,"last_share":1399850541,"hw_errors":0,"shares":1344},{"autotune":1,"frequency":850,"accepted":11,"hashrate":72035,"rejected":0,"last_share":1399850730,"hw_errors":0,"shares":1072},{"autotune":1,"frequency":850,"accepted":10,"hashrate":72018,"rejected":0,"last_share":1399850544,"hw_errors":0,"shares":784},{"autotune":1,"frequency":850,"accepted":14,"hashrate":72027,"rejected":0,"last_share":1399850502,"hw_errors":0,"shares":1488},{"autotune":1,"frequency":850,"accepted":8,"hashrate":72019,"rejected":0,"last_share":1399850552,"hw_errors":0,"shares":640}],"serial":"8D770F8C4951"},"ttyACM4":{"chips":[{"autotune":1,"frequency":850,"accepted":15,"hashrate":72036,"rejected":0,"last_share":1399850584,"hw_errors":0,"shares":1392},{"autotune":1,"frequency":850,"accepted":15,"hashrate":72033,"rejected":0,"last_share":1399850617,"hw_errors":0,"shares":1568},{"autotune":1,"frequency":850,"accepted":13,"hashrate":72037,"rejected":0,"last_share":1399850738,"hw_errors":0,"shares":1568},{"autotune":1,"frequency":850,"accepted":7,"hashrate":72022,"rejected":0,"last_share":1399850691,"hw_errors":0,"shares":640},{"autotune":1,"frequency":850,"accepted":10,"hashrate":71961,"rejected":0,"last_share":1399850638,"hw_errors":0,"shares":1184}],"serial":"6D9344AD4857"},"ttyACM3":{"chips":[{"autotune":1,"frequency":850,"accepted":18,"hashrate":72034,"rejected":0,"last_share":1399850716,"hw_errors":0,"shares":1968},{"autotune":1,"frequency":850,"accepted":13,"hashrate":72036,"rejected":0,"last_share":1399850636,"hw_errors":0,"shares":1344},{"autotune":1,"frequency":850,"accepted":7,"hashrate":72036,"rejected":0,"last_share":1399850664,"hw_errors":0,"shares":784},{"autotune":1,"frequency":850,"accepted":9,"hashrate":71967,"rejected":0,"last_share":1399850751,"hw_errors":0,"shares":720},{"autotune":1,"frequency":850,"accepted":12,"hashrate":72015,"rejected":0,"last_share":1399850626,"hw_errors":0,"shares":1056}],"serial":"6D75428B4857"},"ttyACM2":{"chips":[{"autotune":1,"frequency":850,"accepted":11,"hashrate":72028,"rejected":0,"last_share":1399850583,"hw_errors":0,"shares":960},{"autotune":1,"frequency":850,"accepted":13,"hashrate":72028,"rejected":0,"last_share":1399850722,"hw_errors":0,"shares":1392},{"autotune":1,"frequency":850,"accepted":17,"hashrate":72036,"rejected":0,"last_share":1399850682,"hw_errors":0,"shares":1792},{"autotune":1,"frequency":850,"accepted":8,"hashrate":72011,"rejected":0,"last_share":1399850743,"hw_errors":0,"shares":864},{"autotune":1,"frequency":850,"accepted":12,"hashrate":71998,"rejected":0,"last_share":1399850754,"hw_errors":0,"shares":1376}],"serial":"6D7341794857"},"ttyACM1":{"chips":[{"autotune":1,"frequency":850,"accepted":11,"hashrate":72028,"rejected":0,"last_share":1399850729,"hw_errors":0,"shares":1200},{"autotune":1,"frequency":850,"accepted":16,"hashrate":72043,"rejected":0,"last_share":1399850671,"hw_errors":0,"shares":1808},{"autotune":1,"frequency":850,"accepted":17,"hashrate":72013,"rejected":0,"last_share":1399850719,"hw_errors":0,"shares":1696},{"autotune":1,"frequency":850,"accepted":14,"hashrate":72023,"rejected":0,"last_share":1399850484,"hw_errors":0,"shares":1424},{"autotune":1,"frequency":850,"accepted":10,"hashrate":72014,"rejected":0,"last_share":1399850715,"hw_errors":0,"shares":1120}],"serial":"6D8638B04857"},"ttyACM0":{"chips":[{"autotune":1,"frequency":850,"accepted":11,"hashrate":72043,"rejected":0,"last_share":1399850493,"hw_errors":0,"shares":1296},{"autotune":1,"frequency":850,"accepted":10,"hashrate":72042,"rejected":0,"last_share":1399850602,"hw_errors":0,"shares":688},{"autotune":1,"frequency":850,"accepted":6,"hashrate":72026,"rejected":0,"last_share":1399850278,"hw_errors":0,"shares":768},{"autotune":1,"frequency":850,"accepted":21,"hashrate":72013,"rejected":0,"last_share":1399850702,"hw_errors":0,"shares":2160},{"autotune":1,"frequency":850,"accepted":13,"hashrate":72018,"rejected":0,"last_share":1399850744,"hw_errors":0,"shares":1488}],"serial":"6D8244895650"}},"err":0,"sysload":[0.06,0.12,0.13]
|
|
|
|
sandor111
|
|
May 11, 2014, 11:55:23 PM |
|
noticed after today's update autotune isn't kicking in. it was working fantastic prior to. /usr/bin/screen -dmS cpuminer /var/www/minera/minera-bin/minerd --gc3355-detect --gc3355-autotune --freq=850MHz --log /var/www/minera/application/logs/cpuminer.log -o stratum+tcp://some.pool:3333 -u someworker -p somepassword --freq=850MHz should be --freq=850 So Minera still showing a flat 850 across the board and hashrate is a solid 360KHs across the board. Looking at the stats of JSON it shows autotune on: {"start_time":1399849641,"devices":{"ttyACM8":{"chips":[{"autotune":1,"frequency":850,"accepted":13,"hashrate":72040,"rejected":0,"last_share":1399850707,"hw_errors":0,"shares":1440},{"autotune":1,"frequency":850,"accepted":12,"hashrate":72008,"rejected":0,"last_share":1399850414,"hw_errors":0,"shares":1200},{"autotune":1,"frequency":850,"accepted":10,"hashrate":72043,"rejected":0,"last_share":1399850651,"hw_errors":0,"shares":1184},{"autotune":1,"frequency":850,"accepted":10,"hashrate":72024,"rejected":0,"last_share":1399850744,"hw_errors":0,"shares":928},{"autotune":1,"frequency":850,"accepted":17,"hashrate":72007,"rejected":0,"last_share":1399850703,"hw_errors":0,"shares":1696}],"serial":"6D8054995148"},"ttyACM6":{"chips":[{"autotune":1,"frequency":850,"accepted":11,"hashrate":72045,"rejected":0,"last_share":1399850461,"hw_errors":0,"shares":1200},{"autotune":1,"frequency":850,"accepted":9,"hashrate":72045,"rejected":0,"last_share":1399850487,"hw_errors":0,"shares":1088},{"autotune":1,"frequency":850,"accepted":14,"hashrate":72017,"rejected":0,"last_share":1399850711,"hw_errors":0,"shares":1536},{"autotune":1,"frequency":850,"accepted":11,"hashrate":72004,"rejected":0,"last_share":1399850586,"hw_errors":0,"shares":960},{"autotune":1,"frequency":850,"accepted":14,"hashrate":72024,"rejected":0,"last_share":1399850749,"hw_errors":0,"shares":1504}],"serial":"6D91278F4857"},"ttyACM10":{"chips":[{"autotune":1,"frequency":850,"accepted":10,"hashrate":72031,"rejected":0,"last_share":1399850715,"hw_errors":0,"shares":960},{"autotune":1,"frequency":850,"accepted":12,"hashrate":72032,"rejected":0,"last_share":1399850574,"hw_errors":0,"shares":1472},{"autotune":1,"frequency":850,"accepted":14,"hashrate":72032,"rejected":0,"last_share":1399850710,"hw_errors":0,"shares":1520},{"autotune":1,"frequency":850,"accepted":13,"hashrate":72023,"rejected":1,"last_share":1399850590,"hw_errors":0,"shares":1264},{"autotune":1,"frequency":850,"accepted":8,"hashrate":72018,"rejected":0,"last_share":1399850649,"hw_errors":0,"shares":848}],"serial":"6D81267A4857"},"ttyACM9":{"chips":[{"autotune":1,"frequency":850,"accepted":14,"hashrate":72043,"rejected":0,"last_share":1399850697,"hw_errors":0,"shares":1632},{"autotune":1,"frequency":850,"accepted":7,"hashrate":72032,"rejected":0,"last_share":1399850741,"hw_errors":0,"shares":608},{"autotune":1,"frequency":850,"accepted":7,"hashrate":72012,"rejected":0,"last_share":1399850747,"hw_errors":0,"shares":576},{"autotune":1,"frequency":850,"accepted":11,"hashrate":72017,"rejected":0,"last_share":1399850668,"hw_errors":0,"shares":624},{"autotune":1,"frequency":850,"accepted":19,"hashrate":72022,"rejected":0,"last_share":1399850709,"hw_errors":0,"shares":2048}],"serial":"6D8D266D4857"},"ttyACM7":{"chips":[{"autotune":1,"frequency":850,"accepted":18,"hashrate":72039,"rejected":0,"last_share":1399850648,"hw_errors":0,"shares":2112},{"autotune":1,"frequency":850,"accepted":13,"hashrate":72040,"rejected":1,"last_share":1399850610,"hw_errors":0,"shares":1376},{"autotune":1,"frequency":850,"accepted":17,"hashrate":72040,"rejected":0,"last_share":1399850743,"hw_errors":0,"shares":1648},{"autotune":1,"frequency":850,"accepted":15,"hashrate":72029,"rejected":0,"last_share":1399850598,"hw_errors":0,"shares":1488},{"autotune":1,"frequency":850,"accepted":15,"hashrate":72037,"rejected":0,"last_share":1399850599,"hw_errors":0,"shares":1744}],"serial":"6D8142684857"},"ttyACM5":{"chips":[{"autotune":1,"frequency":850,"accepted":13,"hashrate":72036,"rejected":0,"last_share":1399850541,"hw_errors":0,"shares":1344},{"autotune":1,"frequency":850,"accepted":11,"hashrate":72035,"rejected":0,"last_share":1399850730,"hw_errors":0,"shares":1072},{"autotune":1,"frequency":850,"accepted":10,"hashrate":72018,"rejected":0,"last_share":1399850544,"hw_errors":0,"shares":784},{"autotune":1,"frequency":850,"accepted":14,"hashrate":72027,"rejected":0,"last_share":1399850502,"hw_errors":0,"shares":1488},{"autotune":1,"frequency":850,"accepted":8,"hashrate":72019,"rejected":0,"last_share":1399850552,"hw_errors":0,"shares":640}],"serial":"8D770F8C4951"},"ttyACM4":{"chips":[{"autotune":1,"frequency":850,"accepted":15,"hashrate":72036,"rejected":0,"last_share":1399850584,"hw_errors":0,"shares":1392},{"autotune":1,"frequency":850,"accepted":15,"hashrate":72033,"rejected":0,"last_share":1399850617,"hw_errors":0,"shares":1568},{"autotune":1,"frequency":850,"accepted":13,"hashrate":72037,"rejected":0,"last_share":1399850738,"hw_errors":0,"shares":1568},{"autotune":1,"frequency":850,"accepted":7,"hashrate":72022,"rejected":0,"last_share":1399850691,"hw_errors":0,"shares":640},{"autotune":1,"frequency":850,"accepted":10,"hashrate":71961,"rejected":0,"last_share":1399850638,"hw_errors":0,"shares":1184}],"serial":"6D9344AD4857"},"ttyACM3":{"chips":[{"autotune":1,"frequency":850,"accepted":18,"hashrate":72034,"rejected":0,"last_share":1399850716,"hw_errors":0,"shares":1968},{"autotune":1,"frequency":850,"accepted":13,"hashrate":72036,"rejected":0,"last_share":1399850636,"hw_errors":0,"shares":1344},{"autotune":1,"frequency":850,"accepted":7,"hashrate":72036,"rejected":0,"last_share":1399850664,"hw_errors":0,"shares":784},{"autotune":1,"frequency":850,"accepted":9,"hashrate":71967,"rejected":0,"last_share":1399850751,"hw_errors":0,"shares":720},{"autotune":1,"frequency":850,"accepted":12,"hashrate":72015,"rejected":0,"last_share":1399850626,"hw_errors":0,"shares":1056}],"serial":"6D75428B4857"},"ttyACM2":{"chips":[{"autotune":1,"frequency":850,"accepted":11,"hashrate":72028,"rejected":0,"last_share":1399850583,"hw_errors":0,"shares":960},{"autotune":1,"frequency":850,"accepted":13,"hashrate":72028,"rejected":0,"last_share":1399850722,"hw_errors":0,"shares":1392},{"autotune":1,"frequency":850,"accepted":17,"hashrate":72036,"rejected":0,"last_share":1399850682,"hw_errors":0,"shares":1792},{"autotune":1,"frequency":850,"accepted":8,"hashrate":72011,"rejected":0,"last_share":1399850743,"hw_errors":0,"shares":864},{"autotune":1,"frequency":850,"accepted":12,"hashrate":71998,"rejected":0,"last_share":1399850754,"hw_errors":0,"shares":1376}],"serial":"6D7341794857"},"ttyACM1":{"chips":[{"autotune":1,"frequency":850,"accepted":11,"hashrate":72028,"rejected":0,"last_share":1399850729,"hw_errors":0,"shares":1200},{"autotune":1,"frequency":850,"accepted":16,"hashrate":72043,"rejected":0,"last_share":1399850671,"hw_errors":0,"shares":1808},{"autotune":1,"frequency":850,"accepted":17,"hashrate":72013,"rejected":0,"last_share":1399850719,"hw_errors":0,"shares":1696},{"autotune":1,"frequency":850,"accepted":14,"hashrate":72023,"rejected":0,"last_share":1399850484,"hw_errors":0,"shares":1424},{"autotune":1,"frequency":850,"accepted":10,"hashrate":72014,"rejected":0,"last_share":1399850715,"hw_errors":0,"shares":1120}],"serial":"6D8638B04857"},"ttyACM0":{"chips":[{"autotune":1,"frequency":850,"accepted":11,"hashrate":72043,"rejected":0,"last_share":1399850493,"hw_errors":0,"shares":1296},{"autotune":1,"frequency":850,"accepted":10,"hashrate":72042,"rejected":0,"last_share":1399850602,"hw_errors":0,"shares":688},{"autotune":1,"frequency":850,"accepted":6,"hashrate":72026,"rejected":0,"last_share":1399850278,"hw_errors":0,"shares":768},{"autotune":1,"frequency":850,"accepted":21,"hashrate":72013,"rejected":0,"last_share":1399850702,"hw_errors":0,"shares":2160},{"autotune":1,"frequency":850,"accepted":13,"hashrate":72018,"rejected":0,"last_share":1399850744,"hw_errors":0,"shares":1488}],"serial":"6D8244895650"}},"err":0,"sysload":[0.06,0.12,0.13] It takes ~1-2 hours to adjust the frequency depending on the difficulty.
|
|
|
|
|
SilentH
Member
Offline
Activity: 65
Merit: 10
|
|
May 11, 2014, 11:58:58 PM |
|
It takes ~1-2 hours to adjust the frequency depending on the difficulty.
yea at 45min up, they started switching speeds. I must be getting old. i thought i saw them start right away previously.
|
|
|
|
edonkey
Legendary
Offline
Activity: 1150
Merit: 1004
|
|
May 12, 2014, 01:37:51 AM |
|
Michelem09, can you think about moving your logs to /var/log? It makes a bit more sense than having logs in a subdirectory of www.
Also, some of us (er, I might be the only one) are using ramlog on our Raspbery Pi's to avoid SD flash wear and tear. If you move your logs to /var/log, then they will automatically take advantage of writing the logs to a ram disk mount point.
If you can't do this, no big deal. I guess I can make a symlink from your directory to /var/log. But that means some maintenance when I do an update of Minera. Maybe I'll pull together a post update script...
Also, I still have no fix for the problem where rebooting leaves cpuminer in a bad initial state on Ubuntu 12.10. Should I bring this up with Sandor111 in the support/tuning thread?
|
Was I helpful? BTC: 3G1Ubof5u8K9iJkM8We2f3amYZgGVdvpHr
|
|
|
michelem (OP)
Legendary
Offline
Activity: 1015
Merit: 1000
|
|
May 12, 2014, 06:05:48 AM |
|
Michelem09, can you think about moving your logs to /var/log? It makes a bit more sense than having logs in a subdirectory of www.
Also, some of us (er, I might be the only one) are using ramlog on our Raspbery Pi's to avoid SD flash wear and tear. If you move your logs to /var/log, then they will automatically take advantage of writing the logs to a ram disk mount point.
If you can't do this, no big deal. I guess I can make a symlink from your directory to /var/log. But that means some maintenance when I do an update of Minera. Maybe I'll pull together a post update script...
Also, I still have no fix for the problem where rebooting leaves cpuminer in a bad initial state on Ubuntu 12.10. Should I bring this up with Sandor111 in the support/tuning thread?
Well, I think I haven't problem to do that thanks for suggestion. I just fixed the frequency issue (you need to re-save the settings) and the famous backtick issue. (I can't understand why it continues to appear...) For OperWrt, if I can help you please tell me but if the resources are those, I don't think you can fit everything into it.
|
|
|
|
christian1980
Member
Offline
Activity: 112
Merit: 10
|
|
May 12, 2014, 07:59:51 AM |
|
For OperWrt, if I can help you please tell me but if the resources are those, I don't think you can fit everything into it.
Thanks. If i have time, ill try to create a openwrt release with nginx and php5-fpm. How are you saving your settings? Is there a database needed too?
|
|
|
|
michelem (OP)
Legendary
Offline
Activity: 1015
Merit: 1000
|
|
May 12, 2014, 08:04:56 AM |
|
For OperWrt, if I can help you please tell me but if the resources are those, I don't think you can fit everything into it.
Thanks. If i have time, ill try to create a openwrt release with nginx and php5-fpm. How are you saving your settings? Is there a database needed too? Yes, Minera uses Redis Server to keep data like settings and stored stats. Nginx+php5-fpm is very good for your needs, also you should look at install_minera.sh to try to replicate the same on your OS (rc.local, sudoers, cron, etc...)
|
|
|
|
christian1980
Member
Offline
Activity: 112
Merit: 10
|
|
May 12, 2014, 08:22:36 AM |
|
Yes, Minera uses Redis Server to keep data like settings and stored stats. Nginx+php5-fpm is very good for your needs, also you should look at install_minera.sh to try to replicate the same on your OS (rc.local, sudoers, cron, etc...)
Can you create a simple mysql release too? I think there is no port of redis server on openwrt.
|
|
|
|
Hasenpfote
Newbie
Offline
Activity: 11
Merit: 0
|
|
May 12, 2014, 09:07:10 AM |
|
I have a little idea. How about an Email-Notification for warnings, failures etc.? I think about an email that will be send, if the miner stoppeds or there are some other problems. Is that somthing you could integrated as well?
Greeting Hasenpfote
|
|
|
|
michelem (OP)
Legendary
Offline
Activity: 1015
Merit: 1000
|
|
May 12, 2014, 09:20:06 AM |
|
I'm sorry but I wanna totally avoid the use of relational databases like Mysql in Minera. Using them I should always do upgrades on it to add fields or whatever miss from previous versions and this is so much annoying and waste of time. I could think about using a json file to save the settings and the stored data but you understand this will be crazy to maintain cause every time I add an option I need to fit it into two different datasets and I'm getting too old to do this without making the caos in a couple of releases. So if you can't use Redis, the best way should be fork the project and completely re-invent how to store/retrieve data for that kind of devices. Of course, we could do something together and I could help you, but as I'm still developing the first public image release this is not the right period to start thinking to a fork for me
|
|
|
|
michelem (OP)
Legendary
Offline
Activity: 1015
Merit: 1000
|
|
May 12, 2014, 09:22:39 AM |
|
I have a little idea. How about an Email-Notification for warnings, failures etc.? I think about an email that will be send, if the miner stoppeds or there are some other problems. Is that somthing you could integrated as well?
Greeting Hasenpfote
Yes this is on the roadmap I have in my mind ETA is not defined yet
|
|
|
|
christian1980
Member
Offline
Activity: 112
Merit: 10
|
|
May 12, 2014, 10:26:54 AM |
|
I'm sorry but I wanna totally avoid the use of relational databases like Mysql in Minera. Using them I should always do upgrades on it to add fields or whatever miss from previous versions and this is so much annoying and waste of time. I could think about using a json file to save the settings and the stored data but you understand this will be crazy to maintain cause every time I add an option I need to fit it into two different datasets and I'm getting too old to do this without making the caos in a couple of releases. So if you can't use Redis, the best way should be fork the project and completely re-invent how to store/retrieve data for that kind of devices. Of course, we could do something together and I could help you, but as I'm still developing the first public image release this is not the right period to start thinking to a fork for me After a bit research, i found a package: http://see.sl088.com/wiki/Redis-luaIs this correct? But i dont have any experience with redis. I can prepare everything, but maybe we need to work together to get this running.
|
|
|
|
michelem (OP)
Legendary
Offline
Activity: 1015
Merit: 1000
|
|
May 12, 2014, 10:39:46 AM |
|
I'm sorry but I wanna totally avoid the use of relational databases like Mysql in Minera. Using them I should always do upgrades on it to add fields or whatever miss from previous versions and this is so much annoying and waste of time. I could think about using a json file to save the settings and the stored data but you understand this will be crazy to maintain cause every time I add an option I need to fit it into two different datasets and I'm getting too old to do this without making the caos in a couple of releases. So if you can't use Redis, the best way should be fork the project and completely re-invent how to store/retrieve data for that kind of devices. Of course, we could do something together and I could help you, but as I'm still developing the first public image release this is not the right period to start thinking to a fork for me After a bit research, i found a package: http://see.sl088.com/wiki/Redis-luaIs this correct? But i dont have any experience with redis. I can prepare everything, but maybe we need to work together to get this running. Nope, that's a client library you need the Redis Server package
|
|
|
|
|