Go to advanced search

by colinhogben
Fri Jul 13, 2018 8:41 am
Forum: Raspbian
Topic: dhcpcd not passing NTP servers to systemd-timesyncd
Replies: 7
Views: 581

Re: dhcpcd not passing NTP servers to systemd-timesyncd

I've created /lib/dhcpcd/dhcpcd-hooks/50-timesyncd.conf containing the following: # Set NTP servers for systemd-timesyncd confd=/run/systemd/timesyncd.conf.d set_servers() { mkdir -p "$confd" ( echo "# Created by dhcpcd hook" echo "[Time]" echo "NTP=$new_ntp_servers" ) > "$confd/dhcp-ntp.conf" # Tel...
by colinhogben
Fri Jul 13, 2018 7:32 am
Forum: Raspbian
Topic: dhcpcd not passing NTP servers to systemd-timesyncd
Replies: 7
Views: 581

Re: dhcpcd not passing NTP servers to systemd-timesyncd

Have you enabled ntp with sudo timedatectl set-ntp 1 ? Yes, "timedatectl status" shows that ntp is enabled. The issue is that it's not using the servers obtained from DHCP. I think the idea behind including simple versions of ntpd, dhcpcd, udev and others in systemd is to speedup how fast the syste...
by colinhogben
Wed Jul 11, 2018 9:45 pm
Forum: Raspbian
Topic: dhcpcd not passing NTP servers to systemd-timesyncd
Replies: 7
Views: 581

Re: dhcpcd not passing NTP servers to systemd-timesyncd

Is there some reason it can't get the time from the network, that is the default? Yes. The Pi is on a network which is isolated from the outside world by a firewall which does not allow NTP traffic through. However, there are local NTP servers which are dual-hosted i.e. one interface on the interna...
by colinhogben
Tue Jul 10, 2018 2:43 pm
Forum: Raspbian
Topic: dhcpcd not passing NTP servers to systemd-timesyncd
Replies: 7
Views: 581

dhcpcd not passing NTP servers to systemd-timesyncd

I have a Compute Module 3 running Stretch (2018-04-18 version with latest update/upgrade applied) and trying to get time synchronised with our local NTP servers. By default, systemd-timesyncd is trying various servers *.debian.pool.ntp.org, but these all time out due to our site firewall configurati...
by colinhogben
Sat Nov 30, 2013 9:28 pm
Forum: Python
Topic: Evdev
Replies: 7
Views: 6335

Re: Evdev

It just so happens that I packaged up python-evdev & python3-evdev (0.4.1 - from mentors.debian.net) yesterday. Available from http://dl.piwall.co.uk
by colinhogben
Sun Jul 29, 2012 7:57 pm
Forum: Raspbian
Topic: Any interest in a rapsbian mailing list?
Replies: 23
Views: 2130

Re: Any interest in a rapsbian mailing list?

OK, my code for generating emails from forum posts is at https://github.com/pythontech/ptforum
by colinhogben
Thu Jul 26, 2012 7:10 pm
Forum: Raspbian
Topic: Any interest in a rapsbian mailing list?
Replies: 23
Views: 2130

Re: Any interest in a rapsbian mailing list?

I for one find it much easier and quicker to skim through email and delete any unwanted stuff, than to have to wade through a forum, and having to wait for each page to load when I move from one thread to another. I also find email quicker to skim through. I wrote a python library which screen-scra...

Go to advanced search