Bitcoin Forum

Bitcoin => Mining support => Topic started by: Maidak on June 20, 2013, 06:44:16 PM



Title: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: Maidak on June 20, 2013, 06:44:16 PM
I'm having this Graph error: the first entry to fetch should be after 1980 (-1783) i'm very new with archlinux and have really no idea how to fix this even after reading some work around guides and I feel like i'll mess it up even worse if I do. If your willing to help theres .2 btc in it if you can get the date setup to make it easy on you we can use teamviewer. send me a PM or contact the live chat support @ mmoclub.com i'll be on there today.


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: Maidak on June 22, 2013, 05:17:56 AM
Still cant figure this out if anyone knows how to fix it contact me.


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: MineForeman.com on June 27, 2013, 12:50:03 AM
If you login with ssh you can;-

sodo date -s "2 OCT 2006 18:00:00"

You will need to put the correct time/date in of course.  Unfortunately the Raspberry PI dopes not have an onboard clock so you will have to reset it everytime you reboot (pain in the ass I know).

Out of curiosity, does it work when you have a network cable plugged in?

Neil


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: Maidak on June 30, 2013, 04:46:51 AM
Yup time an date work perfectly fine when i plug into a network cable. Just wifi it does not and I tried the date reset manually but that doesnt fix the charts. I may just move the setup back to my pc desk (moved everything on a shelf right next to an ac unit)


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: cp1 on June 30, 2013, 05:12:10 AM
You should install ntp if it's not installed.
You can also try:  hwclock --set --date="2013-06-29 12:00:00" (put in correct utc time there)

What does it say if you query:
hwclock --debug

and what does 'date' say?


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: Maidak on June 30, 2013, 06:29:11 PM
You should install ntp if it's not installed.
You can also try:  hwclock --set --date="2013-06-29 12:00:00" (put in correct utc time there)

What does it say if you query:
hwclock --debug

and what does 'date' say?

there is no hardware clock on the RPi


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: MineForeman.com on July 01, 2013, 01:21:47 AM
Yup time an date work perfectly fine when i plug into a network cable. Just wifi it does not and I tried the date reset manually but that doesnt fix the charts. I may just move the setup back to my pc desk (moved everything on a shelf right next to an ac unit)

OK, I am fairly sure I have a fix for this.

I will put it into testing and get it into the next release.

Neil


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: Maidak on July 01, 2013, 10:23:40 PM
Yup time an date work perfectly fine when i plug into a network cable. Just wifi it does not and I tried the date reset manually but that doesnt fix the charts. I may just move the setup back to my pc desk (moved everything on a shelf right next to an ac unit)

OK, I am fairly sure I have a fix for this.

I will put it into testing and get it into the next release.

Neil

Ok sounds great looking forward to seeing the fix in the future release! I do have a question though can you update it via the RPI on minepeon or will I have do write the SD card again?


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: MineForeman.com on July 01, 2013, 10:45:23 PM
Ok sounds great looking forward to seeing the fix in the future release!

Expect it to be in the next one.

I do have a question though can you update it via the RPI on minepeon or will I have do write the SD card again?

You have to rewrite at the moment but Live Update is in the works.  I even have it working on a development peon I run and nine times out of ten it works perfectly, the last time out of ten it screws up in some bizzar manor that I had not thought of and brick's the device :P .

Neil


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: CrownCloud on July 02, 2013, 01:27:25 PM
use NTP and update the date/time ?
Code:
pacman -S ntp

edit, /etc/ntp.conf and add the following,
Code:
server 0.uk.pool.ntp.org iburst
server 1.uk.pool.ntp.org iburst
server 2.uk.pool.ntp.org iburst
server 3.uk.pool.ntp.org iburst

then,
Code:
systemctl enable ntpd

Done :) ntp will make sure the clock wont drift away and keep it in sync.


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: Maidak on July 08, 2013, 04:03:20 AM
use NTP and update the date/time ?
Code:
pacman -S ntp

edit, /etc/ntp.conf and add the following,
Code:
server 0.uk.pool.ntp.org iburst
server 1.uk.pool.ntp.org iburst
server 2.uk.pool.ntp.org iburst
server 3.uk.pool.ntp.org iburst

then,
Code:
systemctl enable ntpd

Done :) ntp will make sure the clock wont drift away and keep it in sync.

I just tried this and its updating the clock but its BST time do you know which ones I need to use for EST?


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: cp1 on July 08, 2013, 04:08:59 AM
Check your logs -- you must have some internet problem.


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: MineForeman.com on July 08, 2013, 04:20:11 AM
Try this command;-

sudo /usr/bin/ntpd -s

Neil


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: Maidak on July 08, 2013, 04:29:29 AM
Well I got it working just the time isen't my local time not sure which ntp I should use now.


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: cp1 on July 08, 2013, 04:39:08 AM
Is it UTC time?


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: LAMarcellus on July 19, 2013, 05:23:15 PM
I have the same issue. Wired lan isnt possible for me. I have to use wi-fi.

On start up I see
[FAILED] Failed to start dhcpc on eth0.
See 'systemctl status dhcpc@eth0.service for details.
Later I get
[FAILED] Failed to start OpenNTP Daemon

Everything else gets a [  OK  ]

I began to install NTP but I got this;

Last login: Thu Jan  1 01:18:46 1970 from autumn-pc
[minepeon@minepeon ~]$ pacman -S ntp
error: you cannot perform this operation unless you are root.
[minepeon@minepeon ~]$ sudo pacman -S ntp
[sudo] password for minepeon:
resolving dependencies...
looking for inter-conflicts...
:: ntp and openntpd are in conflict. Remove openntpd? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: ntp and openntpd are in conflict
[minepeon@minepeon ~]$

So my noob guess is that I need to change something in the boot file (?)
to start dhcpcd on wlan0 instead of eth0. (btw I did configure wicd-curses and can run minepeon successfully, I just get the date/graphs issue on the status page)



Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: cp1 on July 19, 2013, 06:02:21 PM
It seems like openntp is trying to use your wired connection instead of wireless.  You could try to make it load after your wireless networking loads by changing its module number or init.d priority, whichever your dist uses.  But I would first try removing openntp and using ntp to see if that is easier.


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: LogicalUnit on September 05, 2013, 01:36:30 AM
Was this ever resolved? I seem to have the same clock problem with MinePeon 0.2.3a on my wifi network.

ntpd and openntpd seem to be in conflict.


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: cp1 on September 06, 2013, 04:37:59 AM
Do you have both installed? Can you just try uninstalling openntp?


Title: Re: [Bounty 0.2BTC] fix my minepeon time and date thats on wifi
Post by: LogicalUnit on September 06, 2013, 05:14:22 AM
Do you have both installed? Can you just try uninstalling openntp?

Yep, that's how I solved it: https://bitcointalk.org/index.php?topic=224015.msg3086667#msg3086667