Author

Topic: [Minera v0.9.0] Your next mining dashboard - S9/L3+/D3/CPUminer/CGminer/BFGminer - page 104. (Read 850409 times)

full member
Activity: 339
Merit: 100
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
full member
Activity: 152
Merit: 100
member
Activity: 238
Merit: 10
OK   Shocked
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:
Code:
-e */1 * * * * www-data php /var/www/minera/index.php app cron
-e is enough

I removed it for having :
Code:
*/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

Code:
#!/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...

member
Activity: 238
Merit: 10
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...



There is a simple way to make them working ?

Olivier

full member
Activity: 224
Merit: 100
A Blockchain Mobile Operator With Token Rewards
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...
full member
Activity: 224
Merit: 100
A Blockchain Mobile Operator With Token Rewards
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

You said
Quote
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
full member
Activity: 152
Merit: 100
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.
full member
Activity: 224
Merit: 100
A Blockchain Mobile Operator With Token Rewards
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...
full member
Activity: 152
Merit: 100
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.
full member
Activity: 224
Merit: 100
A Blockchain Mobile Operator With Token Rewards
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

edit: tried to sort out with this: https://bitcointalksearch.org/topic/m.8490033
Setting 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):
Code:
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
member
Activity: 238
Merit: 10
Yes i installed it with last image
But doesn't work.

I'll try again with "fresh" image install...
legendary
Activity: 1015
Merit: 1000
Ok
I've found a very easy way to make it running  Grin

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.
full member
Activity: 238
Merit: 100
Wanna buy a Tesla? Visit TeslaBargain.com first!
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:

Quote from: friedcat
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.
member
Activity: 238
Merit: 10
Ok
I've found a very easy way to make it running  Grin

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)



member
Activity: 238
Merit: 10
Yes I try to put "stratum+tcp://:" 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"
        }
    ]
}


full member
Activity: 238
Merit: 100
Wanna buy a Tesla? Visit TeslaBargain.com first!
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.
legendary
Activity: 1015
Merit: 1000
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://:"
legendary
Activity: 1015
Merit: 1000
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!
full member
Activity: 238
Merit: 100
Wanna buy a Tesla? Visit TeslaBargain.com first!
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.
member
Activity: 238
Merit: 10
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
Jump to: