My raspberry Pi 2 has a wrong date and it is not a timezone problem since UTC time right now is (6:53 PM Thursday, June 2, 2016) and running:
pi@raspberrypi2:~ $ date -u
mié jun 1 14:13:45 UTC 2016
Also, see this:
pi@raspberrypi2:~ $ ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
ntp.copaco.com. .INIT. 16 u - 1024 0 0.000 0.000 0.000
190.15.128.72 .INIT. 16 u - 1024 0 0.000 0.000 0.000
c.ntp.br .INIT. 16 u - 1024 0 0.000 0.000 0.000
234.229.33.186. .INIT. 16 u - 1024 0 0.000 0.000 0.000
What i get from tha output is that, apparently, since the offset is 0 then raspbian thinks its time is perfect and it doesn't change it to the right value.
Any clues here? Thanks!
EDIT1: I do have interent connection, I can ping servers and get responses, also DNS is properly configured, I can sucessfully use nslookup
ntpq -p
the second column suggests that the connections to the listed servers have not been fully set up (and in your case blocked). You might like to note that whenntpd
is up and running it tracks the last 20-odd periodic packets from each peer and the status of those is indicated in the "when" column (which contains an incrementing count of, usually seconds since the last packet/poll) "poll" is the interval between those poll attempts and "reach" is a two and a half octal digit bitmap of those 20 packets obtained: 377 good, 0 bad!