Which service is getting time & date on Debian Wheezy? I want to disable it.

74 views
Skip to first unread message

John Baker

unread,
May 30, 2016, 7:27:48 PM5/30/16
to BeagleBoard
I'm trying to disable the service that gets the time and date over the Internet. I want to do that in hopes that the BBB will instead get the time and date from my Adafruit DS3231 and I suspect the BBB is trying for a minute to get the time and date over the Internet. with the result that the BBB doesn't read the time and date from my DS3231 for a minute.

There is no ntpdate service on the Wheezy, or I would simply disable it.
Thanks,
John

Mike

unread,
May 30, 2016, 8:06:50 PM5/30/16
to beagl...@googlegroups.com
> --
If systemd is enabled disabling timedatectl will do it.

#systemctl disable timedatectl

Mike

John Baker

unread,
May 30, 2016, 11:43:07 PM5/30/16
to BeagleBoard, belly...@gmail.com
Mike:
I can't find timedatectl. It's not a service in /lib/systemd/system and I can't find it anywhere in the BBB's Debian Wheezy installation. So I suspect the Wheezy distro is using some other service, but I can't figure out what.
There is a service file named dbus-org.freedesktop.timedate1.service which is Loaded but inactive (dead).
John

William Hermans

unread,
May 31, 2016, 12:33:22 AM5/31/16
to beagl...@googlegroups.com
william@beaglebone:~/dev$ dpkg -l | grep ntpdate
ii  ntpdate                            1:4.2.6.p5+dfsg-7+deb8u1              armhf        client for setting system time from NTP servers

william@beaglebone:~/dev$ sudo apt-get remove --purge ntpdate


That should solve the problem. But, you may also want to check and see if the package fake-hwclock is installed, and remove that as well.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/a9fa7455-63eb-4737-a1e3-279f13651df0%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

William Hermans

unread,
May 31, 2016, 12:39:25 AM5/31/16
to beagl...@googlegroups.com
By the way, I think Robert has a script *somewhere* what runs ntpdate at boot. But I do not remember where it is. I checked /opt/scripts/ on my BBB, but I'm running Jessie, and could not find such a script. But it could also be either a sysv init script, or an rc.d startup script, and potentially even a a cron job( unlikely ).
Reply all
Reply to author
Forward
0 new messages