Author

Topic: Linux mining distro for the Raspberry PI - MinePeon - page 121. (Read 685140 times)

hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
The MinePeon's 2013.06.11 version is working fine with my 2 USB Block Eruptors, but I still have to SSH to the RPI / sudo console -r
to see the hash rate, as I still can't get the web Status screen annd tryipg the miner.php page, I always get a server error:

Code:
The website encountered an error while retrieving https://192.168.1.115/miner.php. It may be down for maintenance or configured incorrectly.
Error code: 500

To have the RPI's IP "static", I reserved it's macaddress at the DD-WRT router's DHCP.

A little video of my USB Gizmos (I recommend selecting HD): https://www.facebook.com/photo.php?v=10201539124267144

A little video of MinePeon's cgminer working: https://www.facebook.com/photo.php?v=10201539131827333
legendary
Activity: 896
Merit: 1000
Someone knows if the mining_proxy could be installed into MinePeon?   For use with ASICMiner Blade and RPi for Stratum.

I tried with instructions from https://github.com/slush0/stratum-mining-proxy/ , but doesn't works.

Thanks  Smiley

It could be done, I am not sure why when you followed those instructions it did not work (Slush is an absolute python guru and I have used those instructions several times).  Can you give me the output of where you had a problem?

Its not something I would be terribly keen to add to the standard distro though, sooner or later we are going to run into resourcing problems with the Raspberry Pi and the mid-state calculations that stratum-mining-proxy uses are quite CPU intensive and will eventually be a problem.

Neil
member
Activity: 71
Merit: 10
Someone knows if the mining_proxy could be installed into MinePeon?  For use with ASICMiner Blade and RPi for Stratum.

I tried with instructions from https://github.com/slush0/stratum-mining-proxy/ , but doesn't works.

Thanks  Smiley
hero member
Activity: 504
Merit: 504
PGP OTC WOT: EB7FCE3D
Is there a command that can be run from ssh that will show the current cgminer hash rate?  and the current pool being used?

it is discussed on the previous page.
sudo screen -x

when you-re done detach the screen by pressing ctrl-a + d
closing the terminal window should work as well

Code:
[minepeon@minepeon ~]$ sudo screen -x
[sudo] password for minepeon:
[detached]
[minepeon@minepeon ~]$
sr. member
Activity: 257
Merit: 250
The rasb pi is not showing up on my router ?

You're probably looking at the DHCP client table, which only reports IP addresses that the router assigned. If you assign a static IP, it won't be on that list.

I configured minepeon 2013-06-11 for static ip.
ifconfig shows correct configuration but networking does not work , ie cannot ping google.

Without any routing information (a default route/gateway), it'll only be able to communicate with the network it's on. So, you should be able to ping your router, but not google.com, without a default route. You'll have to configure a default route to communicate with anything outside of your own network. If you're not sure how to do that, just let it use DHCP instead of setting a static IP.

It was not showing up on DHCP either which is why I went for the static route. Cheers for the feedback.
newbie
Activity: 26
Merit: 0
The rasb pi is not showing up on my router ?

You're probably looking at the DHCP client table, which only reports IP addresses that the router assigned. If you assign a static IP, it won't be on that list.

I configured minepeon 2013-06-11 for static ip.
ifconfig shows correct configuration but networking does not work , ie cannot ping google.

Without any routing information (a default route/gateway), it'll only be able to communicate with the network it's on. So, you should be able to ping your router, but not google.com, without a default route. You'll have to configure a default route to communicate with anything outside of your own network. If you're not sure how to do that, just let it use DHCP instead of setting a static IP.
newbie
Activity: 37
Merit: 0
Is there a command that can be run from ssh that will show the current cgminer hash rate?  and the current pool being used?


It would also be nice if these could be added to the index.php page.
sr. member
Activity: 452
Merit: 250
Will I be able to run 2 USB erupters and a Ztex board on a rasberry pi , using minepeon ? .
If there is a guide on the forum please point me in the right direction.

Mineforemans site seems to be down ?

Yeah it should work fine with that config, just make sure your usb hub has plenty of power available as the erupters will use a little over 1A at 5v.

I run four erupter USBs and a BFL jalapeno on minepeon.

The install is really easy, you just need an image burning program that will burn the image onto your SD card, toss it in the raspi and then use your other computer to navigate to the config webpage. The webpage has all the settings for setting up your pools and performance charts.

To access the config page enter the raspi's IP address in your browser.
sr. member
Activity: 257
Merit: 250
 The rasb pi is not showing up on my router ?

I configured minepeon 2013-06-11 for static ip.
ifconfig shows correct configuration but networking does not work , ie cannot ping google.
sr. member
Activity: 257
Merit: 250
Will I be able to run 2 USB erupters and a Ztex board on a rasberry pi , using minepeon ? .
If there is a guide on the forum please point me in the right direction.

Mineforemans site seems to be down ?
hero member
Activity: 504
Merit: 504
PGP OTC WOT: EB7FCE3D
How much ransom do I have to pay to get it back?  I cant do 20... but I honestly would give you another donation to get that feature back!

volunteering a bit time for testing should do.

I can walk you through the one time fix until next release is out. pm me if interested
hero member
Activity: 644
Merit: 500
Invest & Earn: https://cloudthink.io
Perhaps more stats and data would help. 
How about Mh/s for 1m, 1hr, 1 day?  Hardware errors, temperature data, ... from cgminer, ect?

BAMT had be spoiled. 

There used to be this screen...

UPDATE: http://mineforeman.com/2013/05/26/minepeon-beta-1-code-name-butterfly-bob-released/

Sorry I have been a bit unresponsive for the past few weeks, I have been hard at work on the new release!



Is it just me?  or is the page for "stats" where you could see all the data from CGminer gone?  Maybe I set something up wrong... but the previous version "just worked" for me... this version seems to be missing some options or I did something wrong.

I did that on purpose and I am holding it for ransom, send 20 BTC to the donation address to get it back.....

Seriously though, whoops, this is why I need testers!  It is still there if you put miner.php in the URL box.

I have been having a few problems with it and forgot to put it back.

Neil

Neil has yet to put it back in Sad

How much ransom do I have to pay to get it back?  I cant do 20... but I honestly would give you another donation to get that feature back!
hero member
Activity: 504
Merit: 504
PGP OTC WOT: EB7FCE3D
--> sudo screen -r
nope, to resume screen, you need to have one running.

The super user has one running. Or something. sudo screen -r works.

you're right, superuser has one running. probably right from the boot.

update: in fact the miner is running in the screen so if you kill the screen instead of detaching it, you stop mining.
hero member
Activity: 530
Merit: 500
..
I guess if this is not possible with Minepeon I need to install Linux on my Rpi and then try what you said.
sr. member
Activity: 299
Merit: 250
Code:
$ screen -r
There is no screen to be resumed.

 Huh

--> sudo screen -r

nope, to resume screen, you need to have one running.

The super user has one running. Or something. sudo screen -r works.
hero member
Activity: 504
Merit: 504
PGP OTC WOT: EB7FCE3D
Code:
$ screen -r
There is no screen to be resumed.

 Huh

--> sudo screen -r

nope, to resume screen, you need to have one running.
hero member
Activity: 981
Merit: 500
DIV - Your "Virtual Life" Secured and Decentralize
Hmm, I will get 3 Singles which I will hook up to the RPi.
Now just only 1 single is mine and I wanted to have each Single have his own worker.

But I guess then each device needs his own instance of bfgminer to realise this right? And Minepeon is only running one now.
Neil can you help me out here?

So:  

Rpi 1 ---- Single 1 -> Worker 1

Rpi 1 ---- Single 2 -> Worker 2

Rpi 1 ---- Single 3 -> Worker 3

That would require 3 instances of cgminer running, each using a seperate comm port. I can't find the details now in cgminer readme because it changed to "Cgminer should automatically find all of your Avalon ASIC, BFL ASIC, BitForce
FPGAs, Icarus bitstream FPGAs, ASICMINER usb block erupters, ModMiner FPGAs,
or Ztex FPGAs" but I think the command was something like this:

first instance (note, this isn't exactly right for linux, I only know this from my windows machine. COM1 is a little different for linux (edit: /dev/ttyUSBn) but I have no idea what to put it as):
Code:
cgminer.exe -o pool -u username -p password -S COM1
2nd:
Code:
cgminer.exe -o pool -u username -p password -S COM2
3rd:
Code:
cgminer.exe -o pool -u username -p password -S COM3

I have no idea how to set this up in minepeon, but it will give you a little bit of an idea where to get started. IMO it would be easier to submit all to 1 worker then divide total by 3 when you pay out  Tongue

Edit: looked at an older version of cgminer. not sure if scan-serial still works on newer ones or not, but it's not in the readme anymore

Quote
--scan-serial|-S Serial port to probe for FPGA mining device

This option is only for BitForce and/or Icarus FPGAs

By default, cgminer will scan for autodetected FPGAs unless at least one
-S is specified for that driver. If you specify -S and still want cgminer
to scan, you must also use "-S auto". If you want to prevent cgminer from
scanning without specifying a device, you can use "-S noauto". Note that
presently, autodetection only works on Linux, and might only detect one
device depending on the version of udev being used.

On linux is usually of the format /dev/ttyUSBn
On windows is usually of the format \\.\COMn
Check the FPGA Readme for newer versions it lists how to specify 1 unit so autodetect will not grab anymore then the specified amount.
newbie
Activity: 26
Merit: 0
Perhaps more stats and data would help. 
How about Mh/s for 1m, 1hr, 1 day?  Hardware errors, temperature data, ... from cgminer, ect?

BAMT had be spoiled. 
yxt
legendary
Activity: 3528
Merit: 1116
@Morblias

thx  Smiley
hero member
Activity: 576
Merit: 500
Hmm, I will get 3 Singles which I will hook up to the RPi.
Now just only 1 single is mine and I wanted to have each Single have his own worker.

But I guess then each device needs his own instance of bfgminer to realise this right? And Minepeon is only running one now.
Neil can you help me out here?

So:  

Rpi 1 ---- Single 1 -> Worker 1

Rpi 1 ---- Single 2 -> Worker 2

Rpi 1 ---- Single 3 -> Worker 3

That would require 3 instances of cgminer running, each using a seperate comm port. I can't find the details now in cgminer readme because it changed to "Cgminer should automatically find all of your Avalon ASIC, BFL ASIC, BitForce
FPGAs, Icarus bitstream FPGAs, ASICMINER usb block erupters, ModMiner FPGAs,
or Ztex FPGAs" but I think the command was something like this:

first instance (note, this isn't exactly right for linux, I only know this from my windows machine. COM1 is a little different for linux (edit: /dev/ttyUSBn) but I have no idea what to put it as):
Code:
cgminer.exe -o pool -u username -p password -S COM1
2nd:
Code:
cgminer.exe -o pool -u username -p password -S COM2
3rd:
Code:
cgminer.exe -o pool -u username -p password -S COM3

I have no idea how to set this up in minepeon, but it will give you a little bit of an idea where to get started. IMO it would be easier to submit all to 1 worker then divide total by 3 when you pay out  Tongue

Edit: looked at an older version of cgminer. not sure if scan-serial still works on newer ones or not, but it's not in the readme anymore

Quote
--scan-serial|-S Serial port to probe for FPGA mining device

This option is only for BitForce and/or Icarus FPGAs

By default, cgminer will scan for autodetected FPGAs unless at least one
-S is specified for that driver. If you specify -S and still want cgminer
to scan, you must also use "-S auto". If you want to prevent cgminer from
scanning without specifying a device, you can use "-S noauto". Note that
presently, autodetection only works on Linux, and might only detect one
device depending on the version of udev being used.

On linux is usually of the format /dev/ttyUSBn
On windows is usually of the format \\.\COMn
Jump to: