Description of problem: Broadcast client broken Version-Release number of selected component (if applicable): 4.2.0 How reproducible: Easily 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! Actual results: ntpq -p returns no associations Expected results: ntpq -p should show your broadcasting time server Additional info: 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: broadcastclient /etc/sysconfig/ntpd has: # 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.
add disable auth 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 Henning!