Malakai
Newbie
Offline
Activity: 23
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 13, 2013, 01:54:16 PM |
|
I'm getting this today, I've never had this before. [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
|
|
|
|
funkymunky
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 13, 2013, 02:31:20 PM |
|
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. [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
|
|
|
|
tinnvec
Newbie
Offline
Activity: 54
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 13, 2013, 03:59:30 PM |
|
I'm getting this today, I've never had this before. [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 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: sudo systemctl enable openntpd.service
|
|
|
|
Mavy
Newbie
Offline
Activity: 28
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 13, 2013, 07:30:32 PM |
|
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
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 13, 2013, 07:36:43 PM |
|
It depends ...
|
|
|
|
Photon939
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 13, 2013, 08:06:20 PM |
|
Has anyone ever had a random unexplainable (temporary) hashrate increase? ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fdl.dropboxusercontent.com%2Fu%2F1181169%2Fku5yha36a.PNG&t=665&c=IgAEj5Yft5cKzw)
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 13, 2013, 08:11:05 PM |
|
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](https://bitcointalk.org/Smileys/default/wink.gif) . Neil
|
|
|
|
|
kano
Legendary
Offline
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 13, 2013, 08:52:08 PM |
|
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](https://bitcointalk.org/Smileys/default/wink.gif) . 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](https://bitcointalk.org/Smileys/default/smiley.gif) Will reply again later ...
|
|
|
|
prometheuss
Newbie
Offline
Activity: 17
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 13, 2013, 08:53:57 PM |
|
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
Activity: 54
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 13, 2013, 09:21:17 PM |
|
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
Activity: 17
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 13, 2013, 10:09:46 PM |
|
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
Activity: 1006
Merit: 1024
PaperSafe
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 13, 2013, 10:21:47 PM |
|
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
Activity: 54
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 13, 2013, 10:22:27 PM |
|
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#msg2925270my post, about 7 posts before your initial one
|
|
|
|
kano
Legendary
Offline
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 13, 2013, 10:50:26 PM |
|
... 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](https://bitcointalk.org/Smileys/default/smiley.gif) 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.
|
|
|
|
prometheuss
Newbie
Offline
Activity: 17
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 13, 2013, 11:03:11 PM |
|
thats what i'm going off of except i did it from bottom to top so 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
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 14, 2013, 12:56:50 AM |
|
... 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](https://bitcointalk.org/Smileys/default/smiley.gif) 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/6b62c402fa2939d7372764ce352e64aea78c71d0It 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)
|
|
|
|
Malakai
Newbie
Offline
Activity: 23
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 14, 2013, 02:50:55 AM Last edit: August 14, 2013, 03:01:07 AM by Malakai |
|
thats what i'm going off of except i did it from bottom to top so 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. sudo systemctl status openntpd.service The only thing you really should need to run is Then open the web page Trivia: 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. 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.htmlCreate 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
Activity: 28
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 14, 2013, 06:48:19 AM |
|
... 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](https://bitcointalk.org/Smileys/default/smiley.gif) 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/6b62c402fa2939d7372764ce352e64aea78c71d0It 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](https://bitcointalk.org/Smileys/default/wink.gif)
|
|
|
|
ct1aic
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 14, 2013, 12:55:15 PM |
|
|
Rui Costa, Portugal - BTC : 1ct1aicGoUVpZeovsw3cCcPJZJHV5JXtW
|
|
|
|