ntp gond

10 bejegyzés megtekintése - 11-20 / 31
  • Szerző
    Bejegyzés
  • #2134839
    gendelider
    Felhasználó

      @sany:
      Nem neked – nyilván tudod – az ntp nem csak annyi, hogy egyszer lekérdezi az időt a szervertől, beírja, azután csókolom. Több csomag, több lekérdezés és a mért csomagkésést is bekalkulálja a beállításkor. Arról nem beszélve, hogy az ntpd tud olyat, hogy méri a géped órájának a hibáját, és a „ritka” lekérdezések között saját maga is korrigál. Mindezt folyamatosan és dinamikusan, tehát ha „melegszik az idő” pl, és máshogy kezd ketyegni az óra, akkor átáll erre a hibanagyságra.

      Ezért nem értem a „gyors szerver” kérdést.

      #2134840
      gendelider
      Felhasználó

        @sany:
        Nem neked – nyilván tudod – az ntp nem csak annyi, hogy egyszer lekérdezi az időt a szervertől, beírja, azután csókolom. Több csomag, több lekérdezés és a mért csomagkésést is bekalkulálja a beállításkor. Arról nem beszélve, hogy az ntpd tud olyat, hogy méri a géped órájának a hibáját, és a „ritka” lekérdezések között saját maga is korrigál. Mindezt folyamatosan és dinamikusan, tehát ha „melegszik az idő” pl, és máshogy kezd ketyegni az óra, akkor átáll erre a hibanagyságra.

        Ezért nem értem a „gyors szerver” kérdést.

        #2134841
        kukacomone
        Felhasználó

          Kössz az infokat. Azt nem tudom h ntpd konfigjába hogy kell beállitani h milyen idöközönként szinkronizáljon?
          Ez a /etc/ntp.conf -ba kéne h legyen gondolom. Nekem az ez:

          Code:
          # NOTES:
          #  – you should only have to update the server line below
          #  – if you start getting lines like ‘restrict’ and ‘fudge’
          #    and you didnt add them, AND you run dhcpcd on your
          #    network interfaces, be sure to add ‘-Y -N’ to the
          #    dhcpcd_ethX variables in /etc/conf.d/net

          # Name of the servers ntpd should sync with
          # Please respect the access policy as stated by the responsible person.
          #server     ntp.example.tld     iburst

            server 0.hu.pool.ntp.org
            server 1.hu.pool.ntp.org
            server 2.hu.pool.ntp.org
            server 3.hu.pool.ntp.org
          ##
          # A list of available servers can be found here:
          # http://www.pool.ntp.org/
          # http://www.pool.ntp.org/#use
          # A good way to get servers for your machine is:
          # netselect -s 3 pool.ntp.org
          ##

          # you should not need to modify the following paths
          driftfile   /var/lib/ntp/ntp.drift

          #server ntplocal.example.com prefer
          #server timeserver.example.org

          # Warning: Using default NTP settings will leave your NTP
          # server accessible to all hosts on the Internet.

          # If you want to deny all machines (including your own)
          # from accessing the NTP server, uncomment:
          #restrict default ignore

          # To deny other machines from changing the
          # configuration but allow localhost:
          restrict default nomodify nopeer
          restrict 127.0.0.1

          # To allow machines within your network to synchronize
          # their clocks with your server, but ensure they are
          # not allowed to configure the server or used as peers
          # to synchronize against, uncomment this line.
          #
          #restrict 192.168.0.0 mask 255.255.255.0 nomodify nopeer notrap

          Gyors szerver alatt azt érettem h gyorsabban szinkronizálja vele a gép az idöt, gondolom ez függ a szerver sebességétöl..
          Egyébként nekem most olyan h elinditom a gépet, bootkor ugye szinkronizál, utána kb nemtom egy ora mulva már késik 1-2percet az idö, aztán 1re többet.

          #2134842
          kukacomone
          Felhasználó

            Kössz az infokat. Azt nem tudom h ntpd konfigjába hogy kell beállitani h milyen idöközönként szinkronizáljon?
            Ez a /etc/ntp.conf -ba kéne h legyen gondolom. Nekem az ez:

            Code:
            # NOTES:
            #  – you should only have to update the server line below
            #  – if you start getting lines like ‘restrict’ and ‘fudge’
            #    and you didnt add them, AND you run dhcpcd on your
            #    network interfaces, be sure to add ‘-Y -N’ to the
            #    dhcpcd_ethX variables in /etc/conf.d/net

            # Name of the servers ntpd should sync with
            # Please respect the access policy as stated by the responsible person.
            #server     ntp.example.tld     iburst

              server 0.hu.pool.ntp.org
              server 1.hu.pool.ntp.org
              server 2.hu.pool.ntp.org
              server 3.hu.pool.ntp.org
            ##
            # A list of available servers can be found here:
            # http://www.pool.ntp.org/
            # http://www.pool.ntp.org/#use
            # A good way to get servers for your machine is:
            # netselect -s 3 pool.ntp.org
            ##

            # you should not need to modify the following paths
            driftfile   /var/lib/ntp/ntp.drift

            #server ntplocal.example.com prefer
            #server timeserver.example.org

            # Warning: Using default NTP settings will leave your NTP
            # server accessible to all hosts on the Internet.

            # If you want to deny all machines (including your own)
            # from accessing the NTP server, uncomment:
            #restrict default ignore

            # To deny other machines from changing the
            # configuration but allow localhost:
            restrict default nomodify nopeer
            restrict 127.0.0.1

            # To allow machines within your network to synchronize
            # their clocks with your server, but ensure they are
            # not allowed to configure the server or used as peers
            # to synchronize against, uncomment this line.
            #
            #restrict 192.168.0.0 mask 255.255.255.0 nomodify nopeer notrap

            Gyors szerver alatt azt érettem h gyorsabban szinkronizálja vele a gép az idöt, gondolom ez függ a szerver sebességétöl..
            Egyébként nekem most olyan h elinditom a gépet, bootkor ugye szinkronizál, utána kb nemtom egy ora mulva már késik 1-2percet az idö, aztán 1re többet.

            #2134843
            admin
            Adminisztrátor

              ” ora mulva már késik 1-2percet az idö, aztán 1re többet”

              úgy hogy az ntpd fut?

              Ja és nézz bele az /etc/conf.d könyvtárba is! 🙂

              #2134844
              admin
              Adminisztrátor

                ” ora mulva már késik 1-2percet az idö, aztán 1re többet”

                úgy hogy az ntpd fut?

                Ja és nézz bele az /etc/conf.d könyvtárba is! 🙂

                #2134845
                kukacomone
                Felhasználó

                  Igen ugy h ntpd fut. Tudom h ott is van két konfig fájla, de abba se látok semmi olyat ami azzal lenne kapcsolatos h mennyi idönként szinkronizáljon.

                  #2134846
                  kukacomone
                  Felhasználó

                    Igen ugy h ntpd fut. Tudom h ott is van két konfig fájla, de abba se látok semmi olyat ami azzal lenne kapcsolatos h mennyi idönként szinkronizáljon.

                    #2134847
                    admin
                    Adminisztrátor
                      kukacomone wrote:
                      Igen ugy h ntpd fut. Tudom h ott is van két konfig fájla, de abba se látok semmi olyat ami azzal lenne kapcsolatos h mennyi idönként szinkronizáljon.

                      Pedig ott tudod variálni. /etc/conf.d/ntpd

                      ntpd –help

                      A kapcsolókra ad magyarázatot, vagy ezen a linken olvashatsz.

                      http://www.ntp.org/documentation.html

                      most nem gentoo-t használok(ammortizálódott),
                      de nekem műxöt gentoo és most is műxik suse alatt is.
                      Így sajna nem tudok hibákról beszámolni! 🙂

                      #2134848
                      admin
                      Adminisztrátor
                        kukacomone wrote:
                        Igen ugy h ntpd fut. Tudom h ott is van két konfig fájla, de abba se látok semmi olyat ami azzal lenne kapcsolatos h mennyi idönként szinkronizáljon.

                        Pedig ott tudod variálni. /etc/conf.d/ntpd

                        ntpd –help

                        A kapcsolókra ad magyarázatot, vagy ezen a linken olvashatsz.

                        http://www.ntp.org/documentation.html

                        most nem gentoo-t használok(ammortizálódott),
                        de nekem műxöt gentoo és most is műxik suse alatt is.
                        Így sajna nem tudok hibákról beszámolni! 🙂

                      10 bejegyzés megtekintése - 11-20 / 31
                      • Be kell jelentkezni a hozzászóláshoz.