Go to advanced search

by ldon13
Sun Apr 02, 2017 4:18 am
Forum: Troubleshooting
Topic: Spent 2 Weeks getting NTP to update at Boot, Please Help....
Replies: 18
Views: 4814

Re: Spent 2 Weeks getting NTP to update at Boot, Please Help

I implemeted a local NTP server, and it seems to work, getting somewhere now. pi@PiZeroW:~ $ ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== *192.168.1.100 1 u 44 64 377 1.037 -0.498 0.238 pi@PiZeroW:~ $
by ldon13
Sat Apr 01, 2017 10:52 am
Forum: Troubleshooting
Topic: Spent 2 Weeks getting NTP to update at Boot, Please Help....
Replies: 18
Views: 4814

Re: Spent 2 Weeks getting NTP to update at Boot, Please Help

Your CGNAT network doesn't allows port 123. So you need to shout loudly at your ISP (or change to one that does). Your other option would be a GPS or DCF77 receiver as a reliable time source. Thanks for the suggestions, if my Apple devices work, then UDP 123 should pass through. ill have another cr...
by ldon13
Sat Apr 01, 2017 8:25 am
Forum: Troubleshooting
Topic: Spent 2 Weeks getting NTP to update at Boot, Please Help....
Replies: 18
Views: 4814

Re: Spent 2 Weeks getting NTP to update at Boot, Please Help

Who owns your network? Is there a transparent proxy between your systems and the public internet? Does the network owner provide a LAN based NTP server? You may need to pick up the phone and call their Networking Helpdesk. This is my home network, it wouldn't be a good idea for a enterprise network...
by ldon13
Fri Mar 31, 2017 11:52 pm
Forum: Troubleshooting
Topic: Spent 2 Weeks getting NTP to update at Boot, Please Help....
Replies: 18
Views: 4814

Re: Spent 2 Weeks getting NTP to update at Boot, Please Help

According to http://www.pool.ntp.org/zh/use.html , the "wait" could as long as half an hour. If you have a Internet connection, then you dont need ntpdate nor any script, Pi has ntpd equipped. All you need is wait until "ntpq -pn" print an * before a server. I left my Pi running...
by ldon13
Fri Mar 31, 2017 9:10 am
Forum: Troubleshooting
Topic: Spent 2 Weeks getting NTP to update at Boot, Please Help....
Replies: 18
Views: 4814

Re: Spent 2 Weeks getting NTP to update at Boot, Please Help

I read someone's post here about NTP recently, and think it worth to mention here. I dont have Dr Google on phone, so cant just post its URI. NTP wont set time in a instant way, like set to 9:00 from 8:59, or set to 9:00 from 9:01. Because doing so make time lost its physical nature. Time is contin...
by ldon13
Fri Mar 31, 2017 2:45 am
Forum: Troubleshooting
Topic: Spent 2 Weeks getting NTP to update at Boot, Please Help....
Replies: 18
Views: 4814

Re: Spent 2 Weeks getting NTP to update at Boot, Please Help

knute wrote:You might just try a clean Raspbian install and see if it doesn't just work. Let it boot and run ntpq -p and post the results.
I didn't do much on my second raspbian install, here it is

http://imgur.com/xyTMQWa
by ldon13
Thu Mar 30, 2017 3:55 am
Forum: Troubleshooting
Topic: Connecting multiple Pi's on same network
Replies: 6
Views: 4595

Re: Connecting multiple Pi's on same network

Well, im only beginning to learn how to use Pi's and i have one connected to my network already, but i recently bough another one for a project. When i go and connect the second one, it connects to the wifi, but has no internet access. The ip adress is something like 169.254....which pretty much me...
by ldon13
Thu Mar 30, 2017 2:47 am
Forum: Troubleshooting
Topic: Spent 2 Weeks getting NTP to update at Boot, Please Help....
Replies: 18
Views: 4814

Re: Spent 2 Weeks getting NTP to update at Boot, Please Help

Still having no luck. not sure how yours works. I might be missing something

Heres my configs

http://imgur.com/hN3IbqU

(etc/rc.local)

http://imgur.com/tooIdfO

(home/pi/set_ntp_time.sh)

http://imgur.com/VmsJalf

Thanks..
by ldon13
Mon Mar 27, 2017 12:40 pm
Forum: Troubleshooting
Topic: Spent 2 Weeks getting NTP to update at Boot, Please Help....
Replies: 18
Views: 4814

Re: Spent 2 Weeks getting NTP to update at Boot, Please Help

If you are using wifi, I had trouble with my RPi3 and NTP using wifi only. This solved it for me. Maybe it will help you. sudo /sbin/iptables -t mangle -I POSTROUTING 1 -o wlan0 -p udp --dport 123 -j TOS --set-tos 0x00 sudo apt-get install iptables-persistent ill try this and will get back to you, ...
by ldon13
Mon Mar 27, 2017 10:04 am
Forum: Troubleshooting
Topic: Spent 2 Weeks getting NTP to update at Boot, Please Help....
Replies: 18
Views: 4814

Spent 2 Weeks getting NTP to update at Boot, Please Help....

I tried every suggestion posted in threads on Raspberry Pi Fourms, Stackexchange, SuperUser... I reflashed my Raspberry Pi Zero because it was a total mess fiddliing with rc.local, ntpd, ntpdate, cronjob ect.. However as i have heard that its not recommended to use ntpdate and stick with the ntpd. B...

Go to advanced search