oS 11.3 : NTP synchronization ?

I’ve upgraded yesterday from 11.2 to 11.3, but this time I did a fresh new install; so now I have to re-configure a couple of things.

One of it is the date/time settings.
Whatever NTP public server I try for NTP synchronisation, the connection failed.

Any idea ? (a bug ?)

I chose a different ntp server and it worked fine

It fails with chronos.cru.fr (suggested y default after install). It also fails with:
be.pool.ntp.org
europe.pool.ntp.org
pool.ntp.org
ntp1.belbone.be
ntp2.belbone.be

Blocked by the firewall ? (I haven’t changed anything to the firewall settings since the installation. Anyway, shouldn’t selecting NTP synchronization open the needed port ?)

Can you ping Google

Ideed, no. 100% packets lost.

So your internet is not working then?

It is. I can access my wireless printer. I’m also writing this from FireFox 3.6.6, openSUSE 11.3
(?)

What does this (failed) ping test suggest ?

Possibly try setting your IP’s DNS settings manually in the network configuration rather than auto DHCP

DNS works. Even with ping I can get the IP of google.com, but I get no reply from external machines (I can ping the local ones).
I tried to disable the firewall, but it made no change for the ping command and ntp.

Do you use a web proxy (in your lan)? And if yes, do you have checked your default gateway configuration? What says “netstat -rn”?

Wait a minute: that’s a BAD test - Google blocks ping (at least from certain countries/areas: I can never ping Google from Canada or the USA).

On 2010-07-17 23:46 GMT twelveeighty wrote:

>
> argon99;2190668 Wrote:
> > Can you ping ‘Google’ (http://www.google.com?)
>
> Wait a minute: that’s a BAD test - Google blocks ping (at least from
> certain countries/areas: I can never ping Google from Canada or the
> USA).

Ping suse.de


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Minas Tirith))

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

No, that is not true. Ping may not be the world’s best test of
connectivity but Google specifically does not block it, at least from the
USA. Your ISP may block ICMP packets in general but I use pinging Google
all the time (almost literally) as my first quick test of basic
connectivity. Another one should be slightly more-reliable (unless
proxies are required for web access):

netcat -zv www.google.com 80

Anyway, if you cannot ping google.com heckle your ISP or check your own
network’s settings as this has ALWAYS worked for me unless the network I
was on prevented it (which it sometimes does).

Good luck.

On 07/17/2010 05:46 PM, twelveeighty wrote:
>
> argon99;2190668 Wrote:
>> Can you ping ‘Google’ (http://www.google.com?)
>
> Wait a minute: that’s a BAD test - Google blocks ping (at least from
> certain countries/areas: I can never ping Google from Canada or the
> USA).
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMQmxzAAoJEF+XTK08PnB5O+oP/1yPQk2KWYnuLBSltvC0ehuz
oR5qScg25gz0tTeF36Qj+K1qGYj4dLjlHBBI+91gFsvS7h8/EAdHfSV+W2/krcCx
d8PjIBl9I2wgzSTjYniGTSbZuX/mHsqFVLVxPgk1uzwD05D2LC3QckPOMyH/jUB5
G43gApHi7r7noCK889mSTm8XA6fQ5/V7SliY/ZWUQK4/dGo4hXJHQmMgSfjecwwb
0Aucq7Z9hLdtFC8iI9R2G2qffNMXRRUx+HtSziX8RcE76Scz1Dx0yBgcZitR4fbU
qWFxiKZUOdNzYQBl3Ok1C2wnL+5IQe+lWa8b7e5a7Geri90pfvpb1NmtsC0v3gAn
YGafVk/beAGDuVVMaRaXKy6OJAoA+0NDflLaMFG0ANtxVp7rPcZS+TNFp6xZI9d2
OIwtb+aeXIuvR0BjzPqLI3XxxSiJRBWPkb93KhOqwrUfEVvdEC3lM1l5NbZYFHYO
+N/7v+5uFvlhugFVzDh2rKrv7zze71csLJv6GFXwBO4zHXomzJ8a2hDOEKQ2PKeZ
lg8pQWGEwqRWCHqqMnx6PfQpPuuOWPUmIoG6mNk8DXSCbg3K7Nze0RxhRtWXB9fP
2aMXyLzd78br+eB/rrc4NWUbbriLN5StDKpffwEssrxdtuh+XZblwgwR0LebWIaT
AXntE0sRXN6bxIewTO7f
=MKTv
-----END PGP SIGNATURE-----

If by this you can ping google by ip address, it just means your network is up. DNS resolves the name (like google.com) to an ip address.

To check that dns is working, see if you can do a nameserver lookup for British Equestrian Trade Association - Home, say:
(Open a terminal and type: nslookup British Equestrian Trade Association - Home)
It should resolve to 168.144.247.133.

If this works, then the problem is elsewhere. If not, then do as caf says and enter the dns server address of you isp in your network settings.

twelveeighty wrote:

>
> argon99;2190668 Wrote:
>> Can you ping ‘Google’ (http://www.google.com?)
>
> Wait a minute: that’s a BAD test - Google blocks ping (at least from
> certain countries/areas: I can never ping Google from Canada or the
> USA).

From Switzerland:

ping google.com
PING google.com (74.125.39.99) 56(84) bytes of data.
64 bytes from fx-in-f99.1e100.net (74.125.39.99): icmp_seq=2 ttl=56time=12.8 ms
64 bytes from fx-in-f99.1e100.net (74.125.39.99): icmp_seq=3 ttl=56time=14.9 ms
64 bytes from fx-in-f99.1e100.net (74.125.39.99): icmp_seq=4 ttl=56time=16.8 ms
64 bytes from fx-in-f99.1e100.net (74.125.39.99): icmp_seq=5 ttl=56time=13.2 ms
64 bytes from fx-in-f99.1e100.net (74.125.39.99): icmp_seq=6 ttl=56time=12.8 ms


Per Jessen, Zürich (20.9°C)
http://en.opensuse.org/User:Pjessen

No, I don’t use a proxy.


amigaphil@Linux1:~> netstat -rn
Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic   MSS Fenêtre irtt Iface
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth0

SOLVED the ping issue: It is blocked by my modem’s firewall. When I open the icmp port, I can ping google (and other sites).

As for the ntp servers, I don’t know. The firewall of my modem has port UDP 123 open, so it not the modem blocking the packets. As I said, I tried to disable openSUSE’s firewall, but that didn’t change. Could it be my router ?
modem (Sagem) 172.19.3.1
– router (Linksys) 192.168.1.1
---- x86 openSUSE 192.168.1.3
Is there a ntp command line that will allow me to see where the request fails ?

I found the /var/log/ntp file ! This is what I had when I switch on my computer today:


18 Jul 17:07:42 ntpd[2306]: restrict requires an address
18 Jul 17:10:57 ntpd[2306]: synchronized to LOCAL(0), stratum 10
18 Jul 17:10:57 ntpd[2306]: kernel time sync status change 2001
18 Jul 17:12:00 ntpd[2306]: synchronized to 195.220.94.163, stratum 1
18 Jul 17:26:01 ntpd[2306]: time reset +0.553024 s
18 Jul 17:29:57 ntpd[2306]: synchronized to 195.220.94.163, stratum 1

synchronized to 195.220.94.163 !?! (this seems to be the chronos.cru.fr server that was set as default after the 11.3 install.)

However, whatever server I try with “date/time setting” or “ntp configuration” in Yast, it fails, uncluding chronos.cru.fr (???)

Haha - nevermind must be my router then. I just realized I can’t ping ANY “outside” servers. I would have sworn it didn’t work from a customer’s site either, so I assumed it was Google, not me.