Pages:
Author

Topic: [Announcing] MineNinja - BeagleBone Black Bitcoin Mining Platform - page 2. (Read 16932 times)

hero member
Activity: 630
Merit: 500
You probably just need to install libusb-1.0-dev

"opkg install libusb-1.0-dev"
sr. member
Activity: 244
Merit: 280
OK.  I am now attempting to build an older version of cgminer on the board that does support ztex.  Acts about the same.  I found that the build is not exactly happy about libusb-1.0, either the references in the (ztex) header file, or the link later on in the build process.

So let's ignore ztex, ignore my use of an older cgminer.  Does building the included cgminer for any libusb device complete and later on - function properly?  What is necessary to get it to recognize the include and lib?   
hero member
Activity: 630
Merit: 500
cgminer dropped ztex support a while back because there was an issue with it, neither of us have one, and no one popped up to support it and resolve the issue.

I just clicked on the web site (I have a BBB) and was looking at the price for a power adapter.
OUCH! More than $60 for a power adapter ... are they gold plated?

Pricing isn't tied to USD, we use a long-term average BTC conversion rate, and adjust when we reorder inventories.  Eventually all merchants that denominate primarily in BTC will take this approach, instead of converting from USD pricing basis.  The store is more of an experiment in running a fully BTC denominated supply chain.  It's interesting how the deflationary nature of BTC utterly fucks merchants holding inventory bought with BTC.
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
cgminer dropped ztex support a while back because there was an issue with it, neither of us have one, and no one popped up to support it and resolve the issue.

I just clicked on the web site (I have a BBB) and was looking at the price for a power adapter.
OUCH! More than $60 for a power adapter ... are they gold plated?
sr. member
Activity: 244
Merit: 280
does this distro work with ztex?
sr. member
Activity: 448
Merit: 250
had to ssh to my BBB running mineninja and change the passwd for xuser. why do they not give out the password for the xuser at least? anyway, thanks for all your help. I am off and running!
sr. member
Activity: 448
Merit: 250
I got mineninja (mineninaBBB106.img) to boot in my BBB this morning, however I don't have the login password to any of the accounts listed on the screen: Linux User, mpd, xuser. What are the passwords? I know with the debian image, the default user and passwd are debian. Any help here?

root account, no password set is how the image ships.  I strongly recommend setting a password the first time you login, and if you are really paranoid create a user account and disable root access.

So, I chose Other account from the list, type in root and press enter when password screen comes on, and it comes back says authentication failed.

What is the default password for root, for the purpose of logging in to the desktop???
hero member
Activity: 630
Merit: 500
I got mineninja (mineninaBBB106.img) to boot in my BBB this morning, however I don't have the login password to any of the accounts listed on the screen: Linux User, mpd, xuser. What are the passwords? I know with the debian image, the default user and passwd are debian. Any help here?

root account, no password set is how the image ships.  I strongly recommend setting a password the first time you login, and if you are really paranoid create a user account and disable root access.
hero member
Activity: 630
Merit: 500
Found a work-around for flashing

xz -cd ubuntu-raring-13.04-armhf-3.8.13-bone20.img.xz > /dev/mmcblk1

replace the img name with MineNinja's img name

This only works if you've booted from the SDcard


Now to try and figure out a way to script the BBB to reboot every 3hrs to clear my poor 'Zombie' Erupters  Undecided

Edit:

I think I may have found why the BBB drops the Erupters. At some point during it's process runtime, 'cgminer' begins utilizing 99.5% of the CPU. This remains in effect even after the Erupters are disconnected.

MineNinja's WebUI also continues to report all Erupters as connected at this point, in which, it appears 'cgminer' has hung.

The newest version of cgminer seems to do a much better job on this issue.  It replaces the standard USB drivers with some that actually work as I recall.
sr. member
Activity: 448
Merit: 250
I got mineninja (mineninaBBB106.img) to boot in my BBB this morning, however I don't have the login password to any of the accounts listed on the screen: Linux User, mpd, xuser. What are the passwords? I know with the debian image, the default user and passwd are debian. Any help here?
full member
Activity: 128
Merit: 100
...The Shadow knows.
Found a work-around for flashing

xz -cd ubuntu-raring-13.04-armhf-3.8.13-bone20.img.xz > /dev/mmcblk1

replace the img name with MineNinja's img name

This only works if you've booted from the SDcard


Now to try and figure out a way to script the BBB to reboot every 3hrs to clear my poor 'Zombie' Erupters  Undecided

Edit:

I think I may have found why the BBB drops the Erupters. At some point during it's process runtime, 'cgminer' begins utilizing 99.5% of the CPU. This remains in effect even after the Erupters are disconnected.

MineNinja's WebUI also continues to report all Erupters as connected at this point, in which, it appears 'cgminer' has hung.
hero member
Activity: 539
Merit: 500
So far...I'm liking this.

Glad I now use my phone for a media player at night...I can dedicate my BBB to mining instead of multi-purposing it was a miner and media player. Cheesy

EDIT:

Hmm, trying to figure out how I can access the WebUI using the Internet.

Tried with port-forwarding a port of my choosing that isn't in conflict, to the local IP of the BBB. then tried http:// WAN-IP:port-number. And it's a no-go Sad

I've also noticed that CGMiner will occasionally drop an Erupter completely requiring either a service restart or a full reboot of the BBB (using the restart service command fails to complete [aka go back to the prompt]).

Also, could we see a Windows addition to the Flashing section.

You need to tell apache to listen on that port as well, currently listening on 80.  Proceed with caution, not sure this is up to snuff in preventing advanced hacking attempts.  DMZ recommended.

Can't help much with the flashing as it still gives me a little trouble. 
full member
Activity: 128
Merit: 100
...The Shadow knows.
So far...I'm liking this.

Glad I now use my phone for a media player at night...I can dedicate my BBB to mining instead of multi-purposing it was a miner and media player. Cheesy

EDIT:

Hmm, trying to figure out how I can access the WebUI using the Internet.

Tried with port-forwarding a port of my choosing that isn't in conflict, to the local IP of the BBB. then tried http:// WAN-IP:port-number. And it's a no-go Sad

I've also noticed that CGMiner will occasionally drop an Erupter completely requiring either a service restart or a full reboot of the BBB (using the restart service command fails to complete [aka go back to the prompt]).

Also, could we see a Windows addition to the Flashing section.
hero member
Activity: 630
Merit: 500
Just thought I'd point out that BBB may have some bandwidth issues.

In case people wonder why their CGminer's hash rate doesn't match up, not even close, to what a mining pool says.

I'm using BFGminer and 14 Erupters. With '9', I get about 0.89% HW errors. With '14', I get 10%. All using the same Share Difficulty. I take the entire rig setup and plug it into my Windows box and get 0.98%

Setup:
.............................................-> 9 port self-powered HUB-> 9 erupters
BBB -> 7 port self-powered hub [
.............................................-> 7 port self-powered HUB-> 5 erupters

*Just swap the 'BBB' for Windows, and it's 0.98%.

This leads me to my conclusion that BBB (and possible Pi) can't handle the [read: Process] USB 2.0's full bandwidth.

*BBB is being powered via a USB cable as the DC port failed after about 4 days  Undecided . I do have it plugged into a 5v,2a (same as the power block that was recommended for a BBB) "Fast Charge" port. Hopefully the thing won't catch fire  Tongue

We had much better luck with Cgminer 3.6.6, had up to 40 block erupters running solid.
full member
Activity: 128
Merit: 100
...The Shadow knows.
Just thought I'd point out that BBB may have some bandwidth issues.

In case people wonder why their CGminer's hash rate doesn't match up, not even close, to what a mining pool says.

I'm using BFGminer and 14 Erupters. With '9', I get about 0.89% HW errors. With '14', I get 10%. All using the same Share Difficulty. I take the entire rig setup and plug it into my Windows box and get 0.98%

Setup:
.............................................-> 9 port self-powered HUB-> 9 erupters
BBB -> 7 port self-powered hub [
.............................................-> 7 port self-powered HUB-> 5 erupters

*Just swap the 'BBB' for Windows, and it's 0.98%.

This leads me to my conclusion that BBB (and possible Pi) can't handle the [read: Process] USB 2.0's full bandwidth.

*BBB is being powered via a USB cable as the DC port failed after about 4 days  Undecided . I do have it plugged into a 5v,2a (same as the power block that was recommended for a BBB) "Fast Charge" port. Hopefully the thing won't catch fire  Tongue
full member
Activity: 243
Merit: 100
Hi i wanted to buy one or two block eruptors but, the problem is that when i put my billing adress it says that u cant deliver to spain, so i cant buy anything?
Can you do something to ship them here?
hero member
Activity: 630
Merit: 500
6.10.13 Release - Update to 9/04 Angstrom image, cgiminer 3.5.0+. - mineninjaBBB106.img.xz

Image available from http://release.mineninja.com


What is the easiest way (How do you?) to update the image on your mineninja host if you need to/want to?  Also, have you looked into any of the other miners yet for compatibility such as bfgminer/bitminter?

Thanks!
https://github.com/slayersoft/MineNinja/wiki/Flashing-the-BeagleBone-eMMc should help, basically boot your BBB from a microSD, then use dd to write the image to the eMMc.
hero member
Activity: 630
Merit: 500
I left credit to pshep in, and you should be leaving credit to both of us because that's how GPL works.

That's not how GPL works, basically I can modify GPL software anyway I want, make my own fork, and there's no attribution requirement.  The only requirement is that the derivative work is released under the GPL, which it is. BTW I gutted out most of the acuity template.  You aren't going to get any donations anyhow.
hero member
Activity: 518
Merit: 500
Manateeeeeeees
So, why have you removed credit of the original authors from the GPL source code you're using?

https://github.com/slayersoft/MineNinja/blob/master/WebUI/footer.inc.php
Original: https://github.com/hank/ANUBIS/blob/master/footer.inc.php

I know you forked from me since you're using acuity (which I added to pshep's version).
  
https://github.com/slayersoft/MineNinja/tree/master/WebUI/css
https://github.com/hank/ANUBIS/tree/master/css

pshep's for comparison: https://github.com/pshep/ANUBIS/tree/master/css

I left credit to pshep in, and you should be leaving credit to both of us because that's how GPL works.  If you need to take it off of the interface footer, do so, but take yourself off as well and simply say "This code is GPL" or something like that.  Then, make an AUTHORS file in the WebUI root and credit everyone.

I also see you removed the link to the contact page, which also credits myself and pshep (it's even still in your repo):
https://github.com/slayersoft/MineNinja/blob/b7580e6871174b2ed6707893964bf1203f2af189/WebUI/contact.php

(Cleaned up for readability):
Quote
Contact
You can msg me (https://bitcointalksearch.org/user/pshep-47656">p_shep) on bitcointalk.org or have a look here: https://bitcointalksearch.org/topic/anubis-a-cgminer-web-frontend-57342">https://bitcointalksearch.org/topic/anubis-a-cgminer-web-frontend-57342
Donations
Anubis has taken many hours and hard work to get to the stage it's in. If
you like Anubis, any donation will be appreciated:
1Fxpijq1NN52LzSzD2WtGbT3ZTWq366ejj

If you like this theming (dark/black), it was done with a forked copy of the
original software by http://github.com/hank">hank@github. Maybe
you could send a small percentage of what you sent to p_shep to the following
address: 1ErikgLXAmxuTk76tdCrRW3iLnX1GS8mFd

You might want to go delete that if you want to continue making it appear that you originated all this code, and if you want to prevent myself and pshep from receiving donations.
hero member
Activity: 490
Merit: 500
6.10.13 Release - Update to 9/04 Angstrom image, cgiminer 3.5.0+. - mineninjaBBB106.img.xz

Image available from http://release.mineninja.com


What is the easiest way (How do you?) to update the image on your mineninja host if you need to/want to?  Also, have you looked into any of the other miners yet for compatibility such as bfgminer/bitminter?

Thanks!
Pages:
Jump to: