Description of problem:
Broadcast client broken
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set up a box to broadcast NTP time on your net
2. Set up another client as broadcastclient in /etc/ntp.conf
3. Note no time sync!
ntpq -p returns no associations
ntpq -p should show your broadcasting time server
I rely on broadcasts so I only have to manually configure ip addresses
in step-tickers, and make use of broadcasts to keep sync over time.
Posting the bug so it gets on the Fedora radar.
please attach your ntp.conf
A file with only one line is needed:
# Drop root to id 'ntp:ntp' by default. Requires kernel >= 2.2.18.
OPTIONS="-U ntp -p /var/run/ntpd.pid"
I tried removing "-U ntp" so the daemon would run as root, in case
root is needed to listen to broadcasts, but it didn't help.
Then it works. Same for multicast.
Progress I guess. Now I get a different error.
bind() fd 10, family 2, port 123, addr 192.168.128.15, in_classd=0
flags=8 fails: Address already in use
This looks like the ntp.org bug 267, i.e. not figuring out how to
treat the broadcast address properly. Henning, can you post your
happily-running broadcastclient ntp.conf ?
Ok, I was able to get everything working with disable auth. Thanks