Pages:
Author

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

legendary
Activity: 2674
Merit: 1083
Legendary Escrow Service - Tip Jar in Profile
Can i change a const in cgminer in minepeon? Its the maximum voltage for bitburners i want to change. I didnt test minepeon yet but it sounds like its ready to run so i dont know how far i can change the sourcecode and compile it.
legendary
Activity: 1680
Merit: 1014
I am waiting for 0.2.3 image, after the FS on my previous 0.2.2 installation SD card got corrupted. I think the hubs were drawing too much from RPi.

In any case, I'll need to recreate all my settings and configurations from scratch, so a fresh 0.2.3 would be welcome. Wink

Oh, and a note to self. Once I have everything configured (again), I need to take a backup image of that SD card.
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
...
OK done, https://github.com/ckolivas/cgminer/commit/6b62c402fa2939d7372764ce352e64aea78c71d0
It will be in 3.3.4 which is likely to be out today.
If you are curious, api.c has the calculations, search for "percent"
(and no, the devices do all use the same function, the 'Avalon' version which is correct for all the others also)
Ok, cgminer 3.3.4 already @ http://ck.kolivas.org/apps/cgminer/.
newbie
Activity: 28
Merit: 0
...
Yeah unfortunately it depends on the device ... I'll have to check them all ...
I think the Avalon devices are the different ones (AVA and BTB) but I'm not 100% sure ... I didn't write much of that driver Smiley
Will reply again later ...
OK had a think (and a short discussion) about it ...
I'll most likely add R% and HW% type fields to devs, summary, pool ... as required.
Better than having to know how to calculate them, and if it ever changes, I simply change it in the API.
OK done, https://github.com/ckolivas/cgminer/commit/6b62c402fa2939d7372764ce352e64aea78c71d0
It will be in 3.3.4 which is likely to be out today.
If you are curious, api.c has the calculations, search for "percent"
(and no, the devices do all use the same function, the 'Avalon' version which is correct for all the others also)

Nice, that should get rid of some of the confusion about hardware errors  Wink
newbie
Activity: 23
Merit: 0
thats what i'm going off of except i did it from bottom to top so
Code:
sudo systemctl enable openntpd.service
sudo ntpd -s
date
to make sure its the right date
webpage says :Server Time: Wed, 31 Dec 1969 18:04:03 CST
and at the top it says:Graph error: the first entry to fetch should be after 1980 (-3357)
so did i do it in the wrong order?

The issue isn't that the service isn't started the problem is more likely it is starting before the Pi gets an IP. And cannot update the time since it cannot reach the server.

It's sort of my understanding that everything pretty much has a hardware clock except the Pi so everything is kind of written to take advantage of that. So it isn't really all too easy to get the time updated at boot. You could purchase a RTC module for the Pi and the problem would be solved very easily but it costs money unfortunately.

It would be better to check the status of the service no sense enabling something that is already active.

Code:
sudo systemctl status openntpd.service

The only thing you really should need to run is

Code:
sudo ntpd -s

Then open the web page

Trivia:

Code:
ssh -t minepeon@serverip sudo ntpd -s

It will ask for the password twice but will run ntpd -s

From a Windows machine something like this is possible to setup a batch file or shortcut on your Desktop with Putty's plink installed. You would need to play around with it a bit but could possibly work. I need to get home to test it out.

Code:
C:\Program Files\Putty\plink.exe -ssh -t User@server sudo ntpd -s


Download plink from here http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Create a batch file and paste the info into it modify where you downloaded plink I put mine in C:\ this way you run the batch file enter the pass twice and away you go. I think the possibility after it executes to open a browser on a specific site it even possible. Not sure though.


There is also some fixes available in this thread if Neil or anyone is interested:

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=53&t=30570 No time sync on boot when Pi is using WiFi
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
...
Yeah unfortunately it depends on the device ... I'll have to check them all ...
I think the Avalon devices are the different ones (AVA and BTB) but I'm not 100% sure ... I didn't write much of that driver Smiley
Will reply again later ...
OK had a think (and a short discussion) about it ...
I'll most likely add R% and HW% type fields to devs, summary, pool ... as required.
Better than having to know how to calculate them, and if it ever changes, I simply change it in the API.
OK done, https://github.com/ckolivas/cgminer/commit/6b62c402fa2939d7372764ce352e64aea78c71d0
It will be in 3.3.4 which is likely to be out today.
If you are curious, api.c has the calculations, search for "percent"
(and no, the devices do all use the same function, the 'Avalon' version which is correct for all the others also)
newbie
Activity: 17
Merit: 0
thats what i'm going off of except i did it from bottom to top so
Code:
sudo systemctl enable openntpd.service
sudo ntpd -s
date
to make sure its the right date
webpage says :Server Time: Wed, 31 Dec 1969 18:04:03 CST
and at the top it says:Graph error: the first entry to fetch should be after 1980 (-3357)
so did i do it in the wrong order?
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
...
Yeah unfortunately it depends on the device ... I'll have to check them all ...
I think the Avalon devices are the different ones (AVA and BTB) but I'm not 100% sure ... I didn't write much of that driver Smiley
Will reply again later ...
OK had a think (and a short discussion) about it ...
I'll most likely add R% and HW% type fields to devs, summary, pool ... as required.
Better than having to know how to calculate them, and if it ever changes, I simply change it in the API.
newbie
Activity: 54
Merit: 0
For part 1, read up on this page
yes sudo ntpd -s helps after the miner is running but as ive asked can you get the time right at the startup before the miner starts? like when the power goes out and the pi restarts it always goes back to 1960 something
i'm a big fan of rtfm also but havent found the answer to my questions in the 40 pages i've read so far here or in the wiki

https://bitcointalksearch.org/topic/m.2925270

my post, about 7 posts before your initial one
BG4
legendary
Activity: 1006
Merit: 1024
PaperSafe
I have been following along....I git pulled minepeon and minepeon http......Nice work gentlemen ... all is working nicely

how about a once a week donate option...I would rather donate for 4 hours straight / once a week then 15 minutes a day.....once a day, messes up the straight lines on the graph..
newbie
Activity: 17
Merit: 0
For part 1, read up on this page
yes sudo ntpd -s helps after the miner is running but as ive asked can you get the time right at the startup before the miner starts? like when the power goes out and the pi restarts it always goes back to 1960 something
i'm a big fan of rtfm also but havent found the answer to my questions in the 40 pages i've read so far here or in the wiki
newbie
Activity: 54
Merit: 0
new user to linux,pi and bitcoins so be gentle but had two questions
1. is there anyway to get the time correct before the miner starts so the webpage doesnt say uptime of 15930 days?
2. how would i fix this on the webpage ?
Graph error: opening '/opt/minepeon/var/rrd/hashrate.rrd': Permission denied Graph error: opening '/opt/minepeon/var/rrd/hashrate.rrd': Permission denied Graph error: opening '/opt/minepeon/var/rrd/hashrate.rrd': Permission denied Graph error: opening '/opt/minepeon/var/rrd/hashrate.rrd': Permission denied Graph error: opening '/opt/minepeon/var/rrd/hashrate.rrd': Permission denied

For part 1, read up on this page
newbie
Activity: 17
Merit: 0
new user to linux,pi and bitcoins so be gentle but had two questions
1. is there anyway to get the time correct before the miner starts so the webpage doesnt say uptime of 15930 days?
2. how would i fix this on the webpage ?
Graph error: opening '/opt/minepeon/var/rrd/hashrate.rrd': Permission denied Graph error: opening '/opt/minepeon/var/rrd/hashrate.rrd': Permission denied Graph error: opening '/opt/minepeon/var/rrd/hashrate.rrd': Permission denied Graph error: opening '/opt/minepeon/var/rrd/hashrate.rrd': Permission denied Graph error: opening '/opt/minepeon/var/rrd/hashrate.rrd': Permission denied
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
BTW what is the formula for calculating the hardware error percentage?
Because the ui seems to be using "(HW / ShareTotal) * 100" a different one from the one i am using "HW * 100 / (diff1 + HW)".

I am just trying to figure out if i have been using the wrong one up till now or if the UI is using the wrong one.

That's what I thought, until ....

It depends ...

So we changed it to how Kano says it should be done, there is some deep voodoo going on down there Wink .

Neil
Yeah unfortunately it depends on the device ... I'll have to check them all ...
I think the Avalon devices are the different ones (AVA and BTB) but I'm not 100% sure ... I didn't write much of that driver Smiley
Will reply again later ...
hero member
Activity: 626
Merit: 500
Mining since May 2011.
Gratz Neil, just saw this in my feed. Grin It would be interesting to see if you have an increase of traffic to your site. Shocked
http://techcrunch.com/2013/08/13/how-to-build-a-raspberry-pi-based-bitcoin-mining-rig/
legendary
Activity: 896
Merit: 1000
BTW what is the formula for calculating the hardware error percentage?
Because the ui seems to be using "(HW / ShareTotal) * 100" a different one from the one i am using "HW * 100 / (diff1 + HW)".

I am just trying to figure out if i have been using the wrong one up till now or if the UI is using the wrong one.

That's what I thought, until ....

It depends ...

So we changed it to how Kano says it should be done, there is some deep voodoo going on down there Wink .

Neil
sr. member
Activity: 452
Merit: 250
Has anyone ever had a random unexplainable (temporary) hashrate increase?

legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
It depends ...
newbie
Activity: 28
Merit: 0
BTW what is the formula for calculating the hardware error percentage?
Because the ui seems to be using "(HW / ShareTotal) * 100" a different one from the one i am using "HW * 100 / (diff1 + HW)".

I am just trying to figure out if i have been using the wrong one up till now or if the UI is using the wrong one.
newbie
Activity: 54
Merit: 0
I'm getting this today, I've never had this before.

Code:
[minepeon@minepeon minepeon]$ git pull
fatal: unable to access 'https://github.com/MineForeman/MinePeon.git/': SSL certificate problem: certificate is not yet valid

Think you have an issue with the date on the Pi

Code:
date

Code:
sudo ntpd -s

Since I use wifi only, I'll put in my 2 cents, I had to make sure openntp was enabled so that time would update on reboot as well:
Code:
sudo systemctl enable openntpd.service
Pages:
Jump to: