wareck
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 238
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 03, 2014, 05:54:49 AM |
|
Hello Very nice job ! I've got a problem with my version. I'm using raspberry pi B+ and last minera version. I've made all update and rebuild bfgminer "official" but I haven't got my Dashboard working... (there is no update of some values) Did I missed something ? ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Ffolivier.homelinux.org%2FSans%2520titre.jpg&t=665&c=R4zD26IlcSd4mg) Olivier
|
|
|
|
Master One
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 238
Merit: 100
Wanna buy a Tesla? Visit TeslaBargain.com first!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 03, 2014, 06:23:55 AM |
|
All that is required is that it will work with either BFGMiner or CGMiner official versions. Then you run the script to update that miner on Minera and it will work. AFAIK the AM Prisma does not work with the official cgminer version, but with their own (patched) fork. So I guess it would require to install Minera first, and then download and compile AM's cgminer to replace the one that comes with Minera? I do not have any miners or control units (like Raspberry PI) yet, I'm just gathering information to find out if the AM Prisma is a go or no-go for me, because I really want to have a nice web-GUI to access and configure my miners, and the Prismas do not come with one, but cgminer support instead. If it would easily be possible to get Minera to work with AM's Prisma I'd really be interested.
|
|
|
|
michelem (OP)
Legendary
Offline
Activity: 1015
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 03, 2014, 06:33:14 AM |
|
All that is required is that it will work with either BFGMiner or CGMiner official versions. Then you run the script to update that miner on Minera and it will work. AFAIK the AM Prisma does not work with the official cgminer version, but with their own (patched) fork. So I guess it would require to install Minera first, and then download and compile AM's cgminer to replace the one that comes with Minera? I do not have any miners or control units (like Raspberry PI) yet, I'm just gathering information to find out if the AM Prisma is a go or no-go for me, because I really want to have a nice web-GUI to access and configure my miners, and the Prismas do not come with one, but cgminer support instead. If it would easily be possible to get Minera to work with AM's Prisma I'd really be interested. I think there is no problem at all, I read they ship a CGminer fork version and it will be open source, so just grab it, compile and copy the binary file over the original one on Minera. Then use CGminer as miner software. Of course this device is not shipped yet so it's extremely hard to find out someone who tried Minera with it. Good luck!
|
|
|
|
michelem (OP)
Legendary
Offline
Activity: 1015
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 03, 2014, 06:35:28 AM |
|
Hello Very nice job !
I've got a problem with my version. I'm using raspberry pi B+ and last minera version.
I've made all update and rebuild bfgminer "official"
but I haven't got my Dashboard working... (there is no update of some values)
Did I missed something ?
Olivier
We need the configuration you use to launch your miner to undertand something more, but I can see an "http://" on the main pool url without any port specification, that could be the problem. Pools are usualy in the form like this: "stratum+tcp://<the-url>:<theportnumber>"
|
|
|
|
Master One
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 238
Merit: 100
Wanna buy a Tesla? Visit TeslaBargain.com first!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 03, 2014, 07:03:17 AM |
|
I think there is no problem at all, I read they ship a CGminer fork version and it will be open source, so just grab it, compile and copy the binary file over the original one on Minera. Then use CGminer as miner software. Of course this device is not shipped yet so it's extremely hard to find out someone who tried Minera with it. Good luck! Thanks a lot for your input, I'm indeed very optimistic now! The AM Prisma could be a great alternative to Bitmain & SP-T hardware, if not the best (I'm not affiliated with any of them), the only uncertainty was getting a proper control unit.
|
|
|
|
wareck
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 238
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 03, 2014, 07:11:39 AM |
|
Yes I try to put "stratum+tcp://<the-url>:<theportnumber>" but i've got this message:
"HTTP request failed: Protocol stratum+tcp not supported or disabled in libcurl"
My config is:
{ "api-listen": true, "api-allow": "W:127.0.0.1", "scan": "all", "log-file": "\/var\/log\/minera\/bfgminer.log", "pools": [ { "url": "stratum.bitcoin.cz:3333", "user": "x", "pass": "x" } ] }
|
|
|
|
wareck
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 238
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 03, 2014, 07:21:47 AM |
|
Ok I've found a very easy way to make it running ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) sudo aptitude install autoconf libtool libncurses-dev yasm curl libcurl4-openssl-dev libjansson-dev libudev-dev libusb-dev libsensors4-dev And then rebuild my bfgminer in usermode ./build_miner.sh bfgminer (not "sudo ./build_miner.sh" to be sure bfgminer have right to read/write without root privileges)
|
|
|
|
Master One
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 238
Merit: 100
Wanna buy a Tesla? Visit TeslaBargain.com first!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 03, 2014, 07:29:35 AM |
|
I think there is no problem at all, I read they ship a CGminer fork version and it will be open source, so just grab it, compile and copy the binary file over the original one on Minera. Then use CGminer as miner software. Of course this device is not shipped yet so it's extremely hard to find out someone who tried Minera with it. Good luck! Oh, forgot to ask one more thing: Is there a limitation on how many miners can be run on one control unit (Raspberry PI + Minera)? The official AM Prisma thread tells: Each ethernet controller or Raspberry PI can run up to 32 units. But it has been mentioned that due to Raspberry PI USB limitations (?) it's not recommended to run more than 4 Prismas (= 16 units) on each Raspberry PI. If possible of course I'd rather only use 2 controls units for a set of 10 Prismas instead of 3.
|
|
|
|
michelem (OP)
Legendary
Offline
Activity: 1015
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 03, 2014, 07:43:43 AM |
|
Ok I've found a very easy way to make it running ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) sudo aptitude install autoconf libtool libncurses-dev yasm curl libcurl4-openssl-dev libjansson-dev libudev-dev libusb-dev libsensors4-dev And then rebuild my bfgminer in usermode ./build_miner.sh bfgminer (not "sudo ./build_miner.sh" to be sure bfgminer have right to read/write without root privileges) Didn't you install it via image file? The image install should have those packages installed yet. If you have opted for manual install you had to run the ./install_minera.sh script before compiling anything, just as note for others.
|
|
|
|
wareck
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 238
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 03, 2014, 07:49:20 AM |
|
Yes i installed it with last image But doesn't work.
I'll try again with "fresh" image install...
|
|
|
|
Goldenboyz
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 224
Merit: 100
A Blockchain Mobile Operator With Token Rewards
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 03, 2014, 09:36:35 AM Last edit: October 03, 2014, 10:51:57 AM by Goldenboyz |
|
Is it possible to point each device to a different pool? Like ttyACM0 to this pool with this user:pass, ttyACM1 to this pool with this user:pass etc etc... I can't find a way for doing this with minera ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif) edit: tried to sort out with this: https://bitcointalk.org/index.php?topic=596620.msg8490033#msg8490033Setting rc.local and removing the default .json , but the webserver only see ttyACM0, ttyACM1 is not seen even if it's mining fine. Sometimes is a double ttyACM0 in "miner details" in the dashboard. rc.local is(the miner part): su - minera -c "/usr/bin/screen -dmS cointellect1 /var/www/minera/minera-bin/minerd --gc3355=/dev/ttyACM0 --gc3355-timeout=300 --gc3355-autotune --freq=835 --retries=2 -c /var/www/minera/conf/conf1.json" sleep 10 su - minera -c "/usr/bin/screen -dmS cointellect2 /var/www/minera/minera-bin/minerd --gc3355=/dev/ttyACM1 --gc3355-timeout=300 --gc3355-autotune --freq=835 --retries=2 -c /var/www/minera/conf/conf2.json" exit 0
Any hint? Thanks
|
|
|
|
Axiste
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 03, 2014, 11:01:41 AM |
|
Minera dashboard pulls its information from the Api of the Miner it starts, it cannot pull information from multiple instances of miner software.
You can use the built in rc.local settings in Minera > Settings page to start exra bfg / cgminer instances however the dashboard cannot monitor more than 1.
|
If my advice has helped you out, feel free to throw some Satoshi's my way! BTC: 1Nq7hrRDamdnNiTBaFxEn5DuZYS9kD3tbJ Running a Full Node ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
Goldenboyz
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 224
Merit: 100
A Blockchain Mobile Operator With Token Rewards
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 03, 2014, 11:08:17 AM |
|
Minera dashboard pulls its information from the Api of the Miner it starts, it cannot pull information from multiple instances of miner software.
You can use the built in rc.local settings in Minera > Settings page to start exra bfg / cgminer instances however the dashboard cannot monitor more than 1.
I'm testing and it's in part true: it detects the first miner it starts, if i start first ttyACM1, minera shows me ttyACM1 instead of ttyACM0, that is working anyway. If i duplicate minerd, is it possibile to "monitor" it through minera? Could be seen as another miner i think...
|
|
|
|
Axiste
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 03, 2014, 11:10:58 AM |
|
If you can get minerd to spit some api info out to the network, you could monitor it with something like MultiMiner or Awesome Miner, Id love to do it just for my normal Minera setup, but havnt found a way.
|
If my advice has helped you out, feel free to throw some Satoshi's my way! BTC: 1Nq7hrRDamdnNiTBaFxEn5DuZYS9kD3tbJ Running a Full Node ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
Goldenboyz
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 224
Merit: 100
A Blockchain Mobile Operator With Token Rewards
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 03, 2014, 12:04:07 PM Last edit: October 03, 2014, 12:47:05 PM by Goldenboyz |
|
If you can get minerd to spit some api info out to the network, you could monitor it with something like MultiMiner or Awesome Miner, Id love to do it just for my normal Minera setup, but havnt found a way.
i'm using minera mainly for the awesome webserver, i used multiminer but don't want to do rude things ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) You said Minera dashboard pulls its information from the Api of the Miner it starts, it cannot pull information from multiple instances of miner software.
You can use the built in rc.local settings in Minera > Settings page to start exra bfg / cgminer instances however the dashboard cannot monitor more than 1. I wonder if the problem is the api bind or if it's just minera that is build to monitor only one miner software. isn't there a way to modify and "catch" other miners? ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif)
|
|
|
|
Goldenboyz
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 224
Merit: 100
A Blockchain Mobile Operator With Token Rewards
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 03, 2014, 12:35:50 PM Last edit: October 03, 2014, 02:14:09 PM by Goldenboyz |
|
another thing, with firefox there are some issues with terminal inside the webpage: the characters are black( black on very dark bg ) and i can't send "-" character (near right shift). It works fine with chrome tho...
|
|
|
|
wareck
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 238
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 03, 2014, 10:52:32 PM |
|
Ok my rig is working and mining (I started again from raspberry last image, and install manualy minera) But I still have a bug, my history and chart are not working... ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Ffolivier.homelinux.org%2FSans%2520titre2.png&t=665&c=-5dZt7-VksJWpA) There is a simple way to make them working ? Olivier
|
|
|
|
wareck
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 238
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 04, 2014, 04:22:43 AM |
|
OK ![Shocked](https://bitcointalk.org/Smileys/default/shocked.gif) I found the bug !!!! I don't know why, script seems to be good but when I made "install_minera.sh" or "upgrade_minera.sh" system files where modified , and there is a mistake into file /etc/cron.d/minera:-e */1 * * * * www-data php /var/www/minera/index.php app cron
-e is enough I removed it for having : */1 * * * * www-data php /var/www/minera/index.php app cron
then sudo /etc/init.d/cron restart And Abracadabra !!! my hashtable are working and everything working !!So after test , in a bash file , I tried this #!/bin/bash echo -e "Adding cron file in /etc/cron.d\n-----\n" echo -e "*/1 * * * * www-data php `pwd`/index.php app cron" > test.txt
result in test.txt: -e */1 * * * * www-data php /var/www/minera/index.php app cron So i think is last echo package was bugged not realy minera...
|
|
|
|
Axiste
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 04, 2014, 09:27:01 AM |
|
Good work!
|
If my advice has helped you out, feel free to throw some Satoshi's my way! BTC: 1Nq7hrRDamdnNiTBaFxEn5DuZYS9kD3tbJ Running a Full Node ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
icekohl
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 05, 2014, 02:10:35 AM |
|
I'm sure I've missed a post or two here but, is anyone running a Zues Thunder on Minera? Care to share your commandline arguments? I use BFG
*Edit* it's a X6 20MH
|
|
|
|
|