You are not logged in.
Hi,
Before I get attacked, I've searched, read the Wiki, and modified (what I think) relevant configuration files.
I'm on a fully updated Arch_X86-64/KDE connected (wired) to a router which doesn't support IPV6, and, among others, run ntpd.
Even after the updated configuration (see below) I still get these error messages every 5 minutes:
Sep 04 08:21:48 miki_desk ntpd[342]: bind(22) AF_INET6 fe80::6ef0:49ff:feed:b3eb%3%3#123 flags 0x11 failed: Cannot assign requested address
Sep 04 08:21:48 miki_desk ntpd[342]: unable to create socket on enp6s0 (35) for fe80::6ef0:49ff:feed:b3eb%3#123
Please advise !
Thanks!
-------------relevant modified configurations----------------
[root@miki_desk miki]# cat /etc/conf.d/ntp-client.conf
NTPD_OPTS='-4'
cat /etc/ntp.conf
# With the default settings below, ntpd will only synchronize your clock.
#
# For details, see:
# - the ntp.conf man page
# - http://support.ntp.org/bin/view/Support/GettingStarted
# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
# Associate to public NTP pool servers; see http://www.pool.ntp.org/
server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
server 2.pool.ntp.org iburst
server 3.pool.ntp.org iburst
# Only allow read-only access from localhost
restrict -4 default noquery nopeer
restrict 127.0.0.1
restrict -4 ::1
# Location of drift file
driftfile /var/lib/ntp/ntp.drift
Best regards,
Michael Badt
Offline
restrict -4 ::1
looks wrong. So does the first restrict clause.
According to man ntpd.conf, the -4 is only applicable to dns names, not addresses. OTOG, :: in an address implies an IPv6 address.
Try getting rid of the two '-4' clauses in the restrict lines.
If it makes you feel better, you could put '-4' in front of the the server names in your server statements.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Thanks Ewaller,
But a reboot after following your advice still yields same errors.
Any Idea?
---current conf file---------------
# cat /etc/ntp.conf
# With the default settings below, ntpd will only synchronize your clock.
#
# For details, see:
# - the ntp.conf man page
# - http://support.ntp.org/bin/view/Support/GettingStarted
# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
# Associate to public NTP pool servers; see http://www.pool.ntp.org/
server -4 0.pool.ntp.org iburst
server -4 il.pool.ntp.org iburst
server -4 2.pool.ntp.org iburst
server -4 3.pool.ntp.org iburst
# Only allow read-only access from localhost
restrict default noquery nopeer
restrict 127.0.0.1
restrict ::1
# Location of drift file
driftfile /var/lib/ntp/ntp.drift
The /etc/conf.d/ntp-client.conf file has been commented out.
Best regards,
Michael Badt
Offline