pygmalion
Posts: 99
Joined: Sat Jul 18, 2015 4:44 pm
Location: European Union

Re: RPi3 jessie - NPTD does not work

Thu Jun 02, 2016 8:14 am

It's all part of the learning curve - no gain without pain and all that.
Of course it is so. But I (and probably vast majority of people) am just too stupid to solve even the starting, simplest Linux problems myself and solutions/instructions cannot be (easily) obtained on the Internet.

Heater
Posts: 17438
Joined: Tue Jul 17, 2012 3:02 pm

Re: RPi3 jessie - NPTD does not work

Thu Jun 02, 2016 10:00 am

pygmalion,
There are many other free projects, which work much better, especially in terms of support and de-bugging.
Do you have an example of such a project?

I have been using all manner of Free and Open Source software for two decades now and there are often issues. Especially with corners cases that don't get exercised much. Often I narrow down the issue, file a bug report, discuss with the developers. Often the problems get resolved or workarounds found.

That is the thing about the open source world, there is no "us" and "them", "users" and "developers", like the closed source world. We are all in the same boat and contribute what we can.
It is infinitely more difficult to provide operating system that works on zillion different hardware configurations than operating system that works on only five hardware configurations.
Not sure what you mean by that but yes it is. Linux and distributions like Debian run on more platforms than any other OS in history. Including all the Pi's. It's doing amazingly well I think.
I have many friends that tell me how Linux is a good alternative to Windows or IOS. Well, I am using former for few months and I used immense quantity of time solving very basic problems that I never came across using latter. It seems that one has to be computer specialist in order to use Linux these days.
I could turn that around with equal validity. Many of us spend a lot of time supporting Windows and MAC machines for family and friends. Given the billions of dollars people have paid the respective vendors over the years I would hope they have produced something that works for most people most of the time.

Anecdote 1: It took me half a working day to get my Debian machine to print using our new Cannon office printer. My colleague spent all day trying to get his Windows machine to print with it. And gave up!

Anecdote 2: An installation of some USB driver to XP for a connected ARM development board went wrong. The lengthy instructions on removing that driver did not work. After many hours of effort I gave up and reinstalled XP and the driver. It worked. Shortly after that I threw the ARM dev board into the bin. It was only supported by Windows and fighting with that all the time was just too much.
Memory in C++ is a leaky abstraction .

pygmalion
Posts: 99
Joined: Sat Jul 18, 2015 4:44 pm
Location: European Union

Re: RPi3 jessie - NPTD does not work

Thu Jun 02, 2016 12:56 pm

To stop this senseless flame, I shall say: OK, you are right, Linux is cool.

But now I dare you all: When will automatic update of time start on my Raspberry Pi (using standard NTP package)? Two months have already passed.

Since I am too stupid for Linux myself, I will do everything you ask me to do.

I'm waiting...

texy
Forum Moderator
Forum Moderator
Posts: 5172
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: RPi3 jessie - NPTD does not work

Thu Jun 02, 2016 1:15 pm

In the mean time did you get the DS3231 working. Once set, that should eliminate the need for your pi to update the time via network ;)
[I for one have never had a problem with my pi's getting the correct time and date set via network, either at home or work]
Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

dgordon42
Posts: 795
Joined: Tue Aug 13, 2013 6:55 pm
Location: Dublin, Ireland

Re: RPi3 jessie - NPTD does not work

Thu Jun 02, 2016 1:38 pm

@pygmalion,
There is a possible solution to your NTP over the Pi 3B's WiFi probem in this thread.

Hope this helps,
Dave.

pygmalion
Posts: 99
Joined: Sat Jul 18, 2015 4:44 pm
Location: European Union

Re: RPi3 jessie - NPTD does not work

Thu Jun 02, 2016 2:10 pm

@dgordon42

I have already done that. Since that patch, ntpd started working, but update is still not automatic.

User avatar
bensimmo
Posts: 5150
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: RPi3 jessie - NPTD does not work

Fri Jun 03, 2016 4:44 pm

I don't know the ins and outs of the startup, but have you tried enabling the wait for network connection option, during startup.
It is in raspi-config

pygmalion
Posts: 99
Joined: Sat Jul 18, 2015 4:44 pm
Location: European Union

Re: RPi3 jessie - NPTD does not work

Tue Jun 07, 2016 6:33 am

@bensimmo Unfortunately it does not help. It seems that ntp does not start automatically, but only if you call it manually.

User avatar
HawaiianPi
Posts: 6217
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: RPi3 jessie - NPTD does not work

Tue Jun 07, 2016 7:36 am

pygmalion wrote:...
3. I have many friends that tell me how Linux is a good alternative to Windows or IOS. Well, I am using former for few months and I used immense quantity of time solving very basic problems that I never came across using latter. It seems that one has to be computer specialist in order to use Linux these days.
Yes, because Windows is so trouble-free, right? Oh wait, it's not, because I made my living for several years fixing problems with Windows computers. In fact, there is an entire industry built around fixing Windows problems.

First of all Raspbian is not a good example of using Linux. It's the main distro for the Pi, but it has been altered quite a bit in the name of "simplicity" (speculation on my part), but that made it quite different from using Linux proper on a more mainstream system. Also, the Broadcom ARM based CPU is not as well supported in Linux as Intel based x86/x86-64 architecture is.

And finally, there are far better ditros for beginners available on "normal" computers (x86 architecture). For Windows users wanting to try out Linux, or considering a switch, I highly recommend Linux Mint. I've used it as my main OS for around ten years now, and while the early versions did have some growing pains, I still found it far less problematic than the daily struggle with Windows nonsense. The later versions worked so well that I have forgotten far more than I remember about Linux troubleshooting.

That being said, I will admit that Windows 10 is not awful (still replying to your post in Linux Mint, though).
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

fredfs
Posts: 58
Joined: Sun Jun 07, 2015 12:22 am

Re: RPi3 jessie - NPTD does not work

Mon Jun 27, 2016 5:29 pm

Do I need to remove npt, ntpd and disable theier services from systemd?
DougieLawson wrote:If you can't get ntpd to run take a look at htpdate. http://www.vervest.org/htp/ which doesn't use any special ports, it gets the time over regular http (port 80).

That's available to install using sudo apt-get update; sudo apt-get install htpdate

User avatar
DougieLawson
Posts: 40828
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: RPi3 jessie - NPTD does not work

Mon Jun 27, 2016 6:56 pm

If you're switching to htpdate then just disable them. Don't un-install.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Return to “General discussion”