Bitcoin Forum
April 19, 2024, 06:11:51 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 [53] 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 ... 139 »
  Print  
Author Topic: Linux mining distro for the Raspberry PI - MinePeon  (Read 684871 times)
Malakai
Newbie
*
Offline Offline

Activity: 23
Merit: 0



View Profile WWW
August 13, 2013, 01:54:16 PM
 #1041

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
1713550311
Hero Member
*
Offline Offline

Posts: 1713550311

View Profile Personal Message (Offline)

Ignore
1713550311
Reply with quote  #2

1713550311
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713550311
Hero Member
*
Offline Offline

Posts: 1713550311

View Profile Personal Message (Offline)

Ignore
1713550311
Reply with quote  #2

1713550311
Report to moderator
1713550311
Hero Member
*
Offline Offline

Posts: 1713550311

View Profile Personal Message (Offline)

Ignore
1713550311
Reply with quote  #2

1713550311
Report to moderator
funkymunky
Sr. Member
****
Offline Offline

Activity: 283
Merit: 250



View Profile
August 13, 2013, 02:31:20 PM
 #1042

Thank you, that worked like a charm.
I'm new to Linux in case you didn't guess.

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
tinnvec
Newbie
*
Offline Offline

Activity: 54
Merit: 0



View Profile
August 13, 2013, 03:59:30 PM
 #1043

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
Mavy
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
August 13, 2013, 07:30:32 PM
 #1044

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.
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
August 13, 2013, 07:36:43 PM
 #1045

It depends ...

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Photon939
Sr. Member
****
Offline Offline

Activity: 452
Merit: 250



View Profile
August 13, 2013, 08:06:20 PM
 #1046

Has anyone ever had a random unexplainable (temporary) hashrate increase?

MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
August 13, 2013, 08:11:05 PM
 #1047

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

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
BitMinerN8
Hero Member
*****
Offline Offline

Activity: 626
Merit: 500


Mining since May 2011.


View Profile
August 13, 2013, 08:36:40 PM
 #1048

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/
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
August 13, 2013, 08:52:08 PM
 #1049

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 ...

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
prometheuss
Newbie
*
Offline Offline

Activity: 17
Merit: 0



View Profile
August 13, 2013, 08:53:57 PM
 #1050

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
tinnvec
Newbie
*
Offline Offline

Activity: 54
Merit: 0



View Profile
August 13, 2013, 09:21:17 PM
 #1051

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
prometheuss
Newbie
*
Offline Offline

Activity: 17
Merit: 0



View Profile
August 13, 2013, 10:09:46 PM
 #1052

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
BG4
Legendary
*
Offline Offline

Activity: 1006
Merit: 1024


PaperSafe


View Profile
August 13, 2013, 10:21:47 PM
 #1053

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..
tinnvec
Newbie
*
Offline Offline

Activity: 54
Merit: 0



View Profile
August 13, 2013, 10:22:27 PM
 #1054

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://bitcointalk.org/index.php?topic=137934.msg2925270#msg2925270

my post, about 7 posts before your initial one
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
August 13, 2013, 10:50:26 PM
 #1055

...
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.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
prometheuss
Newbie
*
Offline Offline

Activity: 17
Merit: 0



View Profile
August 13, 2013, 11:03:11 PM
 #1056

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?
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
August 14, 2013, 12:56:50 AM
 #1057

...
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)

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Malakai
Newbie
*
Offline Offline

Activity: 23
Merit: 0



View Profile WWW
August 14, 2013, 02:50:55 AM
Last edit: August 14, 2013, 03:01:07 AM by Malakai
 #1058

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
Mavy
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
August 14, 2013, 06:48:19 AM
 #1059

...
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
ct1aic
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


Are ฿itcoins Radioactive?


View Profile WWW
August 14, 2013, 12:55:15 PM
 #1060

...
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/.

Rui Costa, PortugalBTC : 1ct1aicGoUVpZeovsw3cCcPJZJHV5JXtW
Pages: « 1 ... 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 [53] 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 ... 139 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!