-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2016-12-14 12:50, Istvan Gabor wrote:
Hello:
I am interested if this is possible, and how, in openSUSE 13.1 and 13.2 systems:
The computer is mostly offline and is connected to the network for limited periods only (by USB mobile net device). The computer's clock is inaccurate and shows large differences (tens of minutes), which is becoming worse at every bootup. Instead of playing with adjtime etc, I would like the system to synchronize the time automatically with an ntp server when the computer is connected to the network.
If you use network manager you can add a script to do things on connect. Just add a script to the directory "/etc/NetworkManager/dispatcher.d". In the second parameter it tells you "up" or "down" (ACTION). See "man NetworkManager" for more info. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlhROUgACgkQja8UbcUWM1y7PQD/cWlTKC/Ps8NAAcHSri3DFu0R /sCIlan7W6sqmCBqolcA/jSb1HsOtcNbH+nspmQllJc7eC1KSm28vuVmrk+p6RkI =F7cs -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org