28.01.2023, 09:08 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]
Letzte Änderung am 2006-09-21 17:05:04 von etorix

Erweiterungen:
update-rc.d -f ntp defaults%% run update-rc.d later,after doing some configgering

Löschungen:
update-rc.d -f ntp defaults%% <- run this later,after doing some configgering


Editiert am 2006-09-21 17:04:13 von etorix

Erweiterungen:
update-rc.d -f ntp defaults%% <- run this later,after doing some configgering

Löschungen:
update-rc.d -f ntp defaults%%


Editiert am 2006-09-21 10:26:05 von etorix

Erweiterungen:
The first one is the other box on my network, also running ntp [on there its 'server 192.168.3.1']

Löschungen:
The first one is the other box on my network, also running ntp [on there its server 192.168.3.1]


Editiert am 2006-09-21 10:25:20 von etorix

Erweiterungen:
The first one is the other box on my network, also running ntp [on there its server 192.168.3.1]
Next are some of the uk.pool.ntp.org, then a few europeans for good luck


Löschungen:
The first one is the other box on my network, also running ntp
Next are some of the uk.pool,then a few europeans for good luck



Editiert am 2006-09-21 05:43:17 von etorix

Erweiterungen:
ntp is run as service .. ntpdate is already present on kanotix
ntp will get its time from the list of servers in /etc/ntp.conf, which is the main file to edit,


Löschungen:
ntp and ntpdate are run as services .. ntpdate is already present on kanotix
ntpdate is only run at-boot, when it will get time from the list of servers in /etc/ntp.conf, which is the main file to edit,



Editiert am 2006-09-20 21:22:19 von etorix

Erweiterungen:
apt-get update && apt-get install ntp ntp-doc
ntp and ntpdate are run as services .. ntpdate is already present on kanotix


Löschungen:
apt-get update && apt-get install ntpdate ntp ntp-doc
ntp and ntpdate are run as services ..



Editiert am 2006-09-20 21:02:47 von etorix

Erweiterungen:
Then start ntp, as a service,to start at every boot [ie, reboot]

Löschungen:
Then start ntp, as a service,to start at every boot


Editiert am 2006-09-20 20:15:51 von bluewater

Erweiterungen:
/usr/share/doc/ntp-doc/html/index.html <- and bookmark it!


Löschungen:
/usr/share/doc/ntp-doc/html/index.html <- and bookmark it!


Editiert am 2006-09-20 20:15:07 von bluewater

Erweiterungen:
update-rc.d -f ntp defaults%%
/usr/share/doc/ntp-doc/html/index.html <- and bookmark it!
The second is the timeserver of my isp.


Löschungen:
update-rc.d -f ntp defaults
/usr/share/doc/ntp-doc/html/index.html <- and bookmark it!

the second is the timeserver of my isp.



Editiert am 2006-09-20 20:09:55 von etorix

Löschungen:
unfreeze-rc.d
freeze-rc.d %% -



Editiert am 2006-09-20 20:07:54 von bluewater

Erweiterungen:
unfreeze-rc.d
freeze-rc.d %% -
Submitted by etorix



Editiert am 2006-09-20 20:07:45 von etorix

Löschungen:
unfreeze-rc.d
freeze-rc.d %% -



Editiert am 2006-09-20 20:02:44 von etorix

Erweiterungen:
update-rc.d -f ntp defaults

Löschungen:
rcconf


Editiert am 2006-09-20 19:58:56 von etorix

Erweiterungen:
apt-get update && apt-get install ntpdate ntp ntp-doc
rcconf


Löschungen:
apt-get update && apt-get install ntpdate ntp ntp-doc

Network Time Protocol documentation (this is very important) rcconf

use the space bar to choose ntpdate ntp



Editiert am 2006-09-20 19:56:26 von etorix

Erweiterungen:
apt-get update && apt-get install ntpdate ntp ntp-doc

Network Time Protocol documentation (this is very important) Find the docs on your system at
It is a large doc,and not all of it applies, but its got it all.
ntp will not activated until you reboot, but you should set your time as accurately as possible before

Löschungen:
install ntpdate ntp ntp-doc

the ntp-doc Network Time Protocol documentation (this is very important) Find on your system at
It is a large doc,and not all of it applies, but its got it all that you will need.
It will not activated until you reboot .



Editiert am 2006-09-20 19:44:26 von bluewater

Erweiterungen:
unfreeze-rc.d
rcconf

use the space bar to choose ntpdate ntp freeze-rc.d %% -

Löschungen:
unfreeze
freeze %% -



Editiert am 2006-09-20 19:38:39 von bluewater

Erweiterungen:
unfreeze
freeze %% -
It will not activated until you reboot .
Both ntpdate and the ntpd daemon [called ntp] poll the list of timeservers near the top of /etc/ntp.conf.. heres my current list as example:
The first one is the other box on my network, also running ntp
the second is the timeserver of my isp.
Next are some of the uk.pool,then a few europeans for good luck
By the way , your own isp-nameservers are often also timeservers
This will not which change anything, but will return a time-result,something like:
Now you want to broadcast:
The ntp.conf file itself is a bit odd, its treated as a diff if you just click on it
Then start ntp, as a service,to start at every boot
If alls gone well, you should see something like:
That asterisk, the *, is the active timeserver,thats deemed most worthy,and it means you are now keeping good time..and it uses port 123 .. my iptables line is


Löschungen:
unfreeze rcconf
freeze rcconf%% -
t
It will not activated until you boot .
both ntpdate and the ntpd daemon [called ntp] poll the list of timeservers near the top of
/etc/ntp.conf.. heres my current list as example:
the first one is the other box on my network, also running ntp
the second is the timeserver of my isp
next are some of the uk.pool,then a few europeans for good luck
by the way , your own isp-nameservers are often also timeservers
which wont change anything, but will return a time-result,something like:
now you want to broadcast
the ntp.conf file itself is a bit odd, its treated as a diff if you just click on it
then start ntp, as a service,to start at every boot
if alls gone well, you should see something like:
that asterisk, the *, is the active timeserver,thats deemed most worthy,and it means you are now keeping good time..and it uses port 123 .. my iptables line is



Editiert am 2006-09-20 19:32:22 von bluewater

Erweiterungen:
install ntpdate ntp ntp-doc

the ntp-doc Network Time Protocol documentation (this is very important) t


Löschungen:
install ntpdate ntp ntp-doc
the ntp-doc Network Time Protocol documentation (this is very important)



Editiert am 2006-09-20 19:31:15 von bluewater

Erweiterungen:
first in console as root
unfreeze rcconf
freeze rcconf%% -


Löschungen:
first
unfreeze
freeze%% -



Editiert am 2006-09-20 19:28:48 von bluewater

Erweiterungen:
install ntpdate ntp ntp-doc
freeze%% -
It is a large doc,and not all of it applies, but its got it all that you will need.
It will not activated until you boot .
by the way , your own isp-nameservers are often also timeservers
Then you want to allow access to your local boxes


Löschungen:
install ntpdate ntp ntp-doc%% -
its a large doc,and not all of it applies, but its got it all,pretty much.
freeze, so they start at boot
btw, your own isp-nameservers are often also timeservers
then you want to allow access to your local boxes



Editiert am 2006-09-20 19:22:24 von bluewater

Erweiterungen:

How to Set up a Time Server

first
apt-cache search ntp
install ntpdate ntp ntp-doc
-
the ntp-doc Network Time Protocol documentation (this is very important)
Find on your system at
/usr/share/doc/ntp-doc/html/index.html <- and bookmark it!

 pool.ntp.org maps to more than 100 low-stratum NTP servers.
server 2.europe.pool.ntp.org

ntpdate -v <ip>

# ntpdate -v 192.168.3.24
19 Sep 19:09:27 ntpdate[13329]: ntpdate 4.2.2@1.1532-o Wed Aug  9 12:08:54 UTC 2006 (1)

then you want to allow access to your local boxes
# Local users may interrogate the ntp server more closely.
restrict 192.168.24

# If you want to provide time to your local subnet, change the next line.
broadcast 192.168.3.255

# ntpdate -u -b uk.pool.ntp.org
19 Sep 19:19:33 ntpdate[15641]: step time server 62.3.200.116 offset 0.001523 sec

ntpq -pn

# ntpq -pn
 192.168.3.255   .BCST.          16 u    -   64    0    0.000    0.000   0.001

# Network Time Protocol (NTP) Server
$IPT -A INPUT -j ACCEPT -p tcp --dport 123


Löschungen:
first apt-cache search ntp
install ntpdate,ntp,and, quite important,
ntp-doc - Network Time Protocol documentation
Find that on yer system at
/usr/share/doc/ntp-doc/html/index.html <- and bookmark it!
# pool.ntp.org maps to more than 100 low-stratum NTP servers.
server 2.europe.pool.ntp.org
ntpdate -v <ip>
# ntpdate -v 192.168.3.24
19 Sep 19:09:27 ntpdate[13329]: ntpdate 4.2.2@1.1532-o Wed Aug 9 12:08:54 UTC 2006 (1)
then you want to allow access to yer local boxes
# Local users may interrogate the ntp server more closely.
restrict 192.168.24
# If you want to provide time to your local subnet, change the next line.
broadcast 192.168.3.255
# ntpdate -u -b uk.pool.ntp.org
19 Sep 19:19:33 ntpdate[15641]: step time server 62.3.200.116 offset 0.001523 sec
ntpq -pn
# ntpq -pn
192.168.3.255 .BCST. 16 u - 64 0 0.000 0.000 0.001
# Network Time Protocol (NTP) Server
$IPT -A INPUT -j ACCEPT -p tcp --dport 123



Editiert am 2006-09-20 19:02:11 von cokeinthebottle

Erweiterungen:
remote refid st t when poll reach delay offset jitter

192.168.3.24 .INIT. 16 u - 1024 0 0.000 0.000 0.000


Löschungen:
[code]
[/code]
[code]
[/code]
[code]
[/code]
[code]
[/code]
[code]
[/code]
[code]
[/code]
[code]
[/code]
[code]
      1. refid st t when poll reach delay offset jitter

192.168.3.24 .INIT. 16 u - 1024 0 0.000 0.000 0.000
[/code]
[code]
[/code]



Editiert am 2006-09-20 19:00:26 von cokeinthebottle

Erweiterungen:
ntp and ntpdate are run as services ..
ntpdate is only run at-boot, when it will get time from the list of servers in /etc/ntp.conf, which is the main file to edit,
both ntpdate and the ntpd daemon [called ntp] poll the list of timeservers near the top of
[code]
[/code]
the second is the timeserver of my isp
you can check this by running
[code]
[/code]
[code]
[/code]
[code]
[/code]
[code]
[/code]
[code]
[/code]
[code]
[/code]
[code]

[/code]
[code]
[/code]


Löschungen:
ntp and ntpdate are run as services ..
ntpdate is only run at-boot, when it will get time from the list of servers in /etc/ntp.conf, which is the main file to edit,
both ntpdate and the ntpd daemon [called ntp] poll the list of timeservers near the top of
Code:
the second is the timeserver of my isp
you can check this by running
Code:
Code:
Code:
Code:
Code:
Code:
Code:

Code:
_
namu amida butsu



Editiert am 2006-09-20 18:56:24 von cokeinthebottle

Erweiterungen:



Löschungen:




älteste bekannte Version dieser Seite wurde bearbeitet am 2006-09-20 18:55:48 von cokeinthebottle [ ]

One of my boxes kept losing 15 seconds a day .. and ntpdate on a cronjob didnt fix it, so .. first apt-cache search ntp
unfreeze
install ntpdate,ntp,and, quite important,
ntp-doc - Network Time Protocol documentation
Find that on yer system at
/usr/share/doc/ntp-doc/html/index.html <- and bookmark it!
its a large doc,and not all of it applies, but its got it all,pretty much.
freeze, so they start at boot
ntp and ntpdate are run as services ..
ntpdate is only run at-boot, when it will get time from the list of servers in /etc/ntp.conf, which is the main file to edit,
both ntpdate and the ntpd daemon [called ntp] poll the list of timeservers near the top of
/etc/ntp.conf.. heres my current list as example:

Code:

# pool.ntp.org maps to more than 100 low-stratum NTP servers.
# Your server will pick a different set every time it starts up.
# * Please consider joining the pool! *
# * <>> *
server 192.168.3.24
server ntp.blueyonder.co.uk
server uk.pool.ntp.org
server 1.uk.pool.ntp.org
server 2.uk.pool.ntp.org
server 0.europe.pool.ntp.org
server 1.europe.pool.ntp.org
server 2.europe.pool.ntp.org


the first one is the other box on my network, also running ntp
the second is the timeserver of my isp
next are some of the uk.pool,then a few europeans for good luck
btw, your own isp-nameservers are often also timeservers
you can check this by running

Code:

ntpdate -v <ip>

which wont change anything, but will return a time-result,something like:
Code:

# ntpdate -v 192.168.3.24
19 Sep 19:09:27 ntpdate[13329]: ntpdate 4.2.2@1.1532-o Wed Aug 9 12:08:54 UTC 2006 (1)

then you want to allow access to yer local boxes
Code:

# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1 nomodify
restrict 192.168.24

now you want to broadcast
Code:

# If you want to provide time to your local subnet, change the next line.
# (Again, the address is an example only.)
broadcast 192.168.3.255

the ntp.conf file itself is a bit odd, its treated as a diff if you just click on it
ok .. before you start ntp, you must set the time, ie
Code:

# ntpdate -u -b uk.pool.ntp.org
19 Sep 19:19:33 ntpdate[15641]: step time server 62.3.200.116 offset 0.001523 sec

then start ntp, as a service,to start at every boot
after ntp has run for a few, do:
Code:

ntpq -pn

if alls gone well, you should see something like:
Code:

# ntpq -pn
      1. refid st t when poll reach delay offset jitter

192.168.3.24 .INIT. 16 u - 1024 0 0.000 0.000 0.000
+194.117.157.4 192.5.41.40 2 u 97 128 377 7.849 1.548 30.157
*82.219.3.1 195.66.241.2 2 u 101 128 377 17.755 0.794 24.722
82.133.58.132 .INIT. 16 u - 1024 0 0.000 0.000 0.000
+194.153.168.75 195.66.241.3 2 u 37 128 377 23.475 3.259 12.203
+82.68.126.114 209.81.9.7 2 u 101 128 377 44.567 -1.366 46.922
+194.88.2.88 194.159.73.44 3 u 90 128 377 17.208 -5.569 27.527
+130.226.232.145 213.112.52.151 3 u 89 128 377 62.130 -0.797 39.999
127.127.1.0 .LOCL. 10 l 18 64 377 0.000 0.000 0.001
192.168.3.255 .BCST. 16 u - 64 0 0.000 0.000 0.001

that asterisk, the *, is the active timeserver,thats deemed most worthy,and it means you are now keeping good time..and it uses port 123 .. my iptables line is
Code:

# Network Time Protocol (NTP) Server
$IPT -A udp_inbound -p UDP -s 0/0 --destination-port 123 -j ACCEPT
$IPT -A INPUT -j ACCEPT -p tcp --dport 123

_
namu amida butsu
Letzte Revision :
Letzter Editor :
Eigentümer :
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.