from small one page howto to huge articles all in one place
 

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

57588

userrating:

average rating: 1.5 (4 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tutorials per portage category->net-misc->ntp


ntp is the Network Time Protocol suite.

Installing ntpd

First, make sure ntp/ntpdate are installed. The package is by default installed on Mandrake Linux and Redhat. If you do not have ntp installed you will find packages on your distributions install-cd(s).

On Gentoo Linux, install by typing --- emerge ntp

Configuration files for running ntp as daemon

ntpd manpage

Client Setup

Now, edit the following files:

--- /etc/ntp.conf

The only important thing is that the line contains server some.thing.org.

Example:

--- server ntp.uio.no driftfile /etc/ntp/drift broadcastdelay 0.008 authenticate no ---

Make sure you add ntpd as a boot (init) service.

Gentoo Linux: `rc-update add ntpd default` , `/etc/init.d/ntpd start`

(LAN) Server setup

To run a ntp server to sync the clocks on your lan, edit

--- /etc/ntp.conf

Example:

--- server fartein.ifi.uio.no prefer server ntp.uio.no server ntp.eunet.no

fudge 10.0.0.50 stratum 10

driftfile /etc/ntp/drift broadcastdelay 0.008

authenticate no ---

fudge tells the server to pass on the correct time to the given network interface. stratum is the level of time servers, 10 being the lowest. You only need a higher number if you will be acting as a public internet timeserver with fast bandwidth.

It makes sence to add a few servers. Select the best as prefer

Make sure you add ntpd as a boot (init) service.

Gentoo Linux: `rc-update add ntpd default` , `/etc/init.d/ntpd start`

Firewalls

ntp uses port 123, both UDP and TCP. Make sure this port is not blocked by a firewall.

If you are using iptables, you can open this port with

--- $IPTABLES -A INPUT -j ACCEPT -p tcp --dport 123

Known valid and working ntp servers

server adress Location
ntp.ipv6.viagenie.qc.ca IPV6 ONLY
clock.via.net
server fartein.ifi.uio.no Norway
server ntp.uio.no Norway
server ntp.eunet.no Norway
ntp.demon.co.uk UK
ntp.nasa.gov USA
bigben.cac.washington.edu USA
time-b.nist.gov USA
montpelier.ilan.caltech.edu USA
nist1.aol-ca.truetime.com USA
nist1.datum.com USA
time-a.timefreq.bldrdoc.gov USA
time-b.timefreq.bldrdoc.gov USA
time-c.timefreq.bldrdoc.gov USA
time.nist.gov USA
utcnist.colorado.edu USA
tick.usno.navy.mil USA
tock.usno.navy.mil USA
mizbeaver.udel.edu USA

Server List

Setting the clock at boot or using cron

I good idea is _not_ to run the ntpd daemon on clients as it uses about 1,7 MB memory, unless you are a server or have a box with a broken clock. Many boxes clocks do drift along on their own, a check every hour or day is generally a good idea.

rdate

rdate is a simple 3 kB tool for syncing the system clock to a server. It's options are `-p` to print the date on the given server, `-s` to set the system clock according to it (must be done as root) and `-u` to use the UDP protocol. Example:

`rdate -p sntp.lth.se`

rdate manual page

clockspeed

clockspeed is a very small tool for setting the clock and is, for clients, a much better alternative than installing the 4+ MB ntp package.

cron & ntp

You can simply add ntpdate as a cron job every now and then:

--- echo 'ntpdate -b server.dot.com' > /etc/cron.hourly/time.cron --- chmod a+x /etc/cron.hourly/time.cron

Most distributions come with a cron. dcron and Vixie cron are nice.

Gentoo & ntp-client

You can set the clock using ntp at boot (without starting the daemon) on Gentoo Linux by editing:

--- /etc/conf.d/ntp-client

The file should contain:

--- NTPDATE_CMD="ntpdate" NTPDATE_OPTS="-b your.server.here" ---

Then add ntp-client to the services started at boot:

--- rc-update add ntp-client default

You can check what services are started at boot with `rc-status`.


Page source:

Copyright (c) 2000-2004 Øyvind Sæther. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2021-04-13
at-spi2-core - 2.40.0
Ebuild name:

app-accessibility/at-spi2-core-2.40.0

Description

D-Bus accessibility specifications and registration daemon

Added to portage

2021-04-13

chess - 2.0.5
Ebuild name:

app-emacs/chess-2.0.5

Description

A chess client and library for Emacs

Added to portage

2021-04-13

chrome-binary-plugins - 90.0.4430.70_beta
Ebuild name:

www-plugins/chrome-binary-plugins-90.0.4430.70_beta

Description

Binary plugins from Google Chrome for use in Ch

Added to portage

2021-04-13

css-mode - 0.11-r2
Ebuild name:

app-emacs/css-mode-0.11-r2

Description

A major mode for editing Cascading Style Sheets (CSS)

Added to portage

2021-04-13

dconf-editor - 3.38.3
Ebuild name:

gnome-base/dconf-editor-3.38.3

Description

Graphical tool for editing the dconf configuration database

Added to portage

2021-04-13

evince - 40.0
Ebuild name:

app-text/evince-40.0

Description

Simple document viewer for GNOME

Added to portage

2021-04-13

firefox - 87.0-r1
Ebuild name:

www-client/firefox-87.0-r1

Description

Firefox Web Browser

Added to portage

2021-04-13

gedit - 40.0
Ebuild name:

app-editors/gedit-40.0

Description

A text editor for the GNOME desktop

Added to portage

2021-04-13

gedit-plugins - 40.0
Ebuild name:

app-editors/gedit-plugins-40.0

Description

Collection of extra plugins for the gedit Text Editor

Added to portage

2021-04-13

gmmlib - 21.1.1
Ebuild name:

media-libs/gmmlib-21.1.1

Description

Intel Graphics Memory Management Library

Added to portage

2021-04-13

gnote - 40.0
Ebuild name:

app-misc/gnote-40.0

Description

Desktop note-taking application

Added to portage

2021-04-13

google-chrome-beta - 90.0.4430.70
Ebuild name:

www-client/google-chrome-beta-90.0.4430.70

Description

The web browser from Google

Added to portage

2021-04-13

gromacs - 2020.6
Ebuild name:

sci-chemistry/gromacs-2020.6

Description

The ultimate molecular dynamics simulation package

Added to portage

2021-04-13

gromacs - 2021.1
Ebuild name:

sci-chemistry/gromacs-2021.1

Description

The ultimate molecular dynamics simulation package

Added to portage

2021-04-13

libaom - 3.0.0
Ebuild name:

media-libs/libaom-3.0.0

Description

Alliance for Open Media AV1 Codec SDK

Added to portage

2021-04-13

libdazzle - 3.40.0
Ebuild name:

dev-libs/libdazzle-3.40.0

Description

Experimental new features for GTK+ and GLib

Added to portage

2021-04-13

libgdata - 0.18.1
Ebuild name:

dev-libs/libgdata-0.18.1

Description

GLib-based library for accessing online service APIs using the GData proto

Added to portage

2021-04-13

libgee - 0.20.4
Ebuild name:

dev-libs/libgee-0.20.4

Description

GObject-based interfaces and classes for commonly used data structures

Added to portage

2021-04-13

libhandy - 1.2.0
Ebuild name:

gui-libs/libhandy-1.2.0

Description

Building blocks for modern adaptive GNOME apps

Added to portage

2021-04-13

libva - 2.11.0
Ebuild name:

x11-libs/libva-2.11.0

Description

Video Acceleration (VA) API for Linux

Added to portage

2021-04-13

libva-intel-media-driver - 21.1.3
Ebuild name:

x11-libs/libva-intel-media-driver-21.1.3

Description

Intel Media Driver for VAAPI (iHD)

Added to portage

2021-04-13

libva-utils - 2.11.1
Ebuild name:

media-video/libva-utils-2.11.1

Description

Collection of utilities and tests for VA-API

Added to portage

2021-04-13

lldpd - 1.0.10
Ebuild name:

net-misc/lldpd-1.0.10

Description

Implementation of IEEE 802.1ab (LLDP)

Added to portage

2021-04-13

mic-paren - 3.15
Ebuild name:

app-emacs/mic-paren-3.15

Description

Advanced highlighting of matching parentheses

Added to portage

2021-04-13

netdata - 1.30.1
Ebuild name:

net-analyzer/netdata-1.30.1

Description

Linux real time system monitoring, done right

Added to portage

2021-04-13

paredit - 24
Ebuild name:

app-emacs/paredit-24

Description

Minor mode for performing structured editing of S-expressions

Added to portage

2021-04-13

pipewire - 0.3.25
Ebuild name:

media-video/pipewire-0.3.25

Description

Multimedia processing graphs

Added to portage

2021-04-13

pulseeffects - 4.8.5
Ebuild name:

media-sound/pulseeffects-4.8.5

Description

Limiter, compressor, reverberation, equalizer auto volume effects fo

Added to portage

2021-04-13

radare2 - 5.2.0
Ebuild name:

dev-util/radare2-5.2.0

Description

unix-like reverse engineering framework and commandline tools

Added to portage

2021-04-13

swell-foop - 40.0
Ebuild name:

games-puzzle/swell-foop-40.0

Description

Clear the screen by removing groups of colored and shaped tiles

Added to portage

2021-04-13

sword-ItDizGreco - 1.2
Ebuild name:

app-dicts/sword-ItDizGreco-1.2

Description

Greek-Italian Dictionary of the New Testament

Added to portage

2021-04-13

sword-ItNomiBibbia - 1.0
Ebuild name:

app-dicts/sword-ItNomiBibbia-1.0

Description

Dizionario dei nomi della Bibbia

Added to portage

2021-04-13

sword-ItaDio - 1.1
Ebuild name:

app-dicts/sword-ItaDio-1.1

Description

Italian Giovanni Diodati Bibbia 1649

Added to portage

2021-04-13

sword-ItaRive - 1.1
Ebuild name:

app-dicts/sword-ItaRive-1.1

Description

Italian Riveduta Bibbia (1927)

Added to portage

2021-04-13

sword-JCRHoliness - 1.0
Ebuild name:

app-dicts/sword-JCRHoliness-1.0

Description

Holiness by J. C. Ryle

Added to portage

2021-04-13

tclpython - 5.0-r1
Ebuild name:

dev-tcltk/tclpython-5.0-r1

Description

Python package for Tcl

Added to portage

2021-04-13

tepl - 6.00.0
Ebuild name:

gui-libs/tepl-6.00.0

Description

GtkSourceView-based text editors and IDE helper library

Added to portage

2021-04-13

wmmp3 - 0.12-r1
Ebuild name:

x11-plugins/wmmp3-0.12-r1

Description

Mp3 player dock app for WindowMaker; frontend to mpg123

Added to portage

2021-04-13

wmnd - 0.4.17-r1
Ebuild name:

x11-plugins/wmnd-0.4.17-r1

Description

WindowMaker Network Devices (dockapp)

Added to portage

2021-04-13

wmnd - 0.4.18
Ebuild name:

x11-plugins/wmnd-0.4.18

Description

WindowMaker Network Devices (dockapp)

Added to portage

2021-04-13

wmnet - 1.06-r2
Ebuild name:

x11-plugins/wmnet-1.06-r2

Description

WMnet is a dock.app network monitor

Added to portage

2021-04-13

zerotier - 1.6.4
Ebuild name:

net-misc/zerotier-1.6.4

Description

A software-based managed Ethernet switch for planet Earth

Added to portage

2021-04-13

2021-04-12
Acme-Damn - 0.80.0-r2
Ebuild name:

dev-perl/Acme-Damn-0.80.0-r2

Description

Module, that 'unblesses' Perl objects

Added to portage

2021-04-12

File-Scan-ClamAV - 1.950.0-r1
Ebuild name:

dev-perl/File-Scan-ClamAV-1.950.0-r1

Description

Connect to a local Clam Anti-Virus clamd service and send comm

Added to portage

2021-04-12

GromacsWrapper - 0.8.0-r1
Ebuild name:

sci-chemistry/GromacsWrapper-0.8.0-r1

Description

Python framework for Gromacs

Added to portage

2021-04-12

ckb - 0.4.4
Ebuild name:

app-misc/ckb-0.4.4

Description

Corsair K65/K70/K95 Driver

Added to portage

2021-04-12

culmus - 0.120-r6
Ebuild name:

media-fonts/culmus-0.120-r6

Description

Hebrew Type1 fonts

Added to portage

2021-04-12

cutter - 2.0.1
Ebuild name:

dev-util/cutter-2.0.1

Description

A Qt and C++ GUI for rizin reverse engineering framework

Added to portage

2021-04-12

darwinia-demo - 1.3.0-r3
Ebuild name:

games-strategy/darwinia-demo-1.3.0-r3

Description

Darwinia, the hyped indie game of the year. By the Uplink cre

Added to portage

2021-04-12

diskimage-builder - 3.9.0
Ebuild name:

app-emulation/diskimage-builder-3.9.0

Description

Golden Disk Image builder.

Added to portage

2021-04-12

diveintopython - 3-r1
Ebuild name:

app-doc/diveintopython-3-r1

Description

'Dive Into Python' by Mark Pilgrim - Python 3

Added to portage

2021-04-12

dnrd - 2.20.3-r3
Ebuild name:

net-dns/dnrd-2.20.3-r3

Description

A caching DNS proxy server

Added to portage

2021-04-12

epix - 1.2.11-r3
Ebuild name:

sci-visualization/epix-1.2.11-r3

Description

2- and 3-D plotter for creating images (to be used in LaTeX)

Added to portage

2021-04-12

ethon - 0.13.0
Ebuild name:

dev-ruby/ethon-0.13.0

Description

Very lightweight libcurl wrapper

Added to portage

2021-04-12

ez-ipupdate - 3.0.11.13.3_beta8-r4
Ebuild name:

net-dns/ez-ipupdate-3.0.11.13.3_beta8-r4

Description

Dynamic DNS client for lots of dynamic dns services

Added to portage

2021-04-12

faker - 2.17.0
Ebuild name:

dev-ruby/faker-2.17.0

Description

A library for generating fake data such as names, addresses, and phone number

Added to portage

2021-04-12

fastimport - 0.9.11
Ebuild name:

dev-python/fastimport-0.9.11

Description

Library for parsing the fastimport VCS serialization format

Added to portage

2021-04-12

fdm - 2.0-r1
Ebuild name:

net-mail/fdm-2.0-r1

Description

fetch, filter and deliver mail

Added to portage

2021-04-12

fetch - 1.0-r4
Ebuild name:

www-client/fetch-1.0-r4

Description

HTTP download tool built atop the HTTP fetcher library

Added to portage

2021-04-12

galaxyhack - 1.74-r2
Ebuild name:

games-strategy/galaxyhack-1.74-r2

Description

Multiplayer AI script based strategy game

Added to portage

2021-04-12

gentoo-kernel-bin - 5.10.29-r1
Ebuild name:

sys-kernel/gentoo-kernel-bin-5.10.29-r1

Description

Pre-built Linux kernel with genpatches

Added to portage

2021-04-12

gentoo-kernel-bin - 5.11.13-r1
Ebuild name:

sys-kernel/gentoo-kernel-bin-5.11.13-r1

Description

Pre-built Linux kernel with genpatches

Added to portage

2021-04-12

gentoo-kernel-bin - 5.4.111-r1
Ebuild name:

sys-kernel/gentoo-kernel-bin-5.4.111-r1

Description

Pre-built Linux kernel with genpatches

Added to portage

2021-04-12

git-sources - 5.12_rc7
Ebuild name:

sys-kernel/git-sources-5.12_rc7

Description

The very latest -git version of the Linux kernel

Added to portage

2021-04-12

groonga - 8.0.2-r1
Ebuild name:

app-text/groonga-8.0.2-r1

Description

An Embeddable Fulltext Search Engine

Added to portage

2021-04-12

haproxy - 1.8.30
Ebuild name:

net-proxy/haproxy-1.8.30

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2021-04-12

haproxy - 2.0.22
Ebuild name:

net-proxy/haproxy-2.0.22

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2021-04-12

humanize - 3.4.0
Ebuild name:

dev-python/humanize-3.4.0

Description

Common humanization utilities

Added to portage

2021-04-12

hydrogen - 1.0.2
Ebuild name:

media-sound/hydrogen-1.0.2

Description

Advanced drum machine

Added to portage

2021-04-12

hypothesis - 6.9.1
Ebuild name:

dev-python/hypothesis-6.9.1

Description

A library for property based testing

Added to portage

2021-04-12

kodi-inputstream-adaptive - 2.6.13
Ebuild name:

media-plugins/kodi-inputstream-adaptive-2.6.13

Description

Kodi's Adaptive inputstream addon

Added to portage

2021-04-12

kodi-pvr-vuplus - 7.4.3
Ebuild name:

media-plugins/kodi-pvr-vuplus-7.4.3

Description

Kodi's VuPlus client addon

Added to portage

2021-04-12

libcdada - 0.3.4-r2
Ebuild name:

dev-libs/libcdada-0.3.4-r2

Description

Basic data structures in C

Added to portage

2021-04-12

libesmtp - 1.0.6_p20200824
Ebuild name:

net-libs/libesmtp-1.0.6_p20200824

Description

Lib that implements the client side of the SMTP protocol

Added to portage

2021-04-12

libnacl - 1.7.2-r1
Ebuild name:

dev-python/libnacl-1.7.2-r1

Description

Python ctypes wrapper for libsodium

Added to portage

2021-04-12

lmfit - 1.0.1-r1
Ebuild name:

dev-python/lmfit-1.0.1-r1

Description

Non-Linear Least-Squares Minimization and Curve-Fitting for Python

Added to portage

2021-04-12

logcheck - 1.3.23
Ebuild name:

app-admin/logcheck-1.3.23

Description

Mails anomalies in the system logfiles to the administrator

Added to portage

2021-04-12

logsurfer+ - 1.8-r4
Ebuild name:

app-admin/logsurfer+-1.8-r4

Description

Real Time Log Monitoring and Alerting

Added to portage

2021-04-12

m2crypto - 0.37.1-r1
Ebuild name:

dev-python/m2crypto-0.37.1-r1

Description

A Python crypto and SSL toolkit

Added to portage

2021-04-12

mpv - 0.33.1-r1
Ebuild name:

media-video/mpv-0.33.1-r1

Description

Media player based on MPlayer and mplayer2

Added to portage

2021-04-12

nodeenv - 1.6.0
Ebuild name:

dev-python/nodeenv-1.6.0

Description

Node.js virtual environment builder

Added to portage

2021-04-12

notary - 0.6.1-r2
Ebuild name:

app-misc/notary-0.6.1-r2

Description

A project that allows anyone to have trust over arbitrary collections of d

Added to portage

2021-04-12

nss_ldap - 265-r9
Ebuild name:

sys-auth/nss_ldap-265-r9

Description

NSS LDAP Module

Added to portage

2021-04-12

numkit - 1.1.2-r1
Ebuild name:

sci-libs/numkit-1.1.2-r1

Description

Numerical first aid kit (with numpy/scipy)

Added to portage

2021-04-12

opencryptoki - 3.6.1-r1
Ebuild name:

dev-libs/opencryptoki-3.6.1-r1

Description

PKCS11 provider cryptographic hardware

Added to portage

2021-04-12

openct - 0.6.20-r5
Ebuild name:

dev-libs/openct-0.6.20-r5

Description

library for accessing smart card terminals

Added to portage

2021-04-12

openctd - 0
Ebuild name:

acct-user/openctd-0

Description

User for dev-libs/openct

Added to portage

2021-04-12

psybnc - 2.3.2.9-r4
Ebuild name:

net-irc/psybnc-2.3.2.9-r4

Description

A multi-user and multi-server gateway to IRC networks

Added to portage

2021-04-12

pypy - 7.3.3_p3
Ebuild name:

dev-python/pypy-7.3.3_p3

Description

A fast, compliant alternative implementation of the Python language

Added to portage

2021-04-12

pypy3 - 7.3.3_p37_p3
Ebuild name:

dev-python/pypy3-7.3.3_p37_p3

Description

A fast, compliant alternative implementation of the Python (3.7) lang

Added to portage

2021-04-12

qpsmtpd - 0.95-r1
Ebuild name:

mail-mta/qpsmtpd-0.95-r1

Description

qpsmtpd is a flexible smtpd daemon written in Perl

Added to portage

2021-04-12

repoman - 3.0.3-r1
Ebuild name:

app-portage/repoman-3.0.3-r1

Description

Repoman is a Quality Assurance tool for Gentoo ebuilds

Added to portage

2021-04-12

sane-backends - 1.0.31-r1
Ebuild name:

media-gfx/sane-backends-1.0.31-r1

Description

Scanner Access Now Easy - Backends

Added to portage

2021-04-12

sispmctl - 4.1-r1
Ebuild name:

sys-power/sispmctl-4.1-r1

Description

GEMBIRD SiS-PM control utility

Added to portage

2021-04-12

sphinx - 3.5.4
Ebuild name:

dev-python/sphinx-3.5.4

Description

Python documentation generator

Added to portage

2021-04-12

sword-JCRHoliness - 1.0
Ebuild name:

app-dicts/sword-JCRHoliness-1.0

Description

Holiness by J. C. Ryle

Added to portage

2021-04-12

sword-JEAffections - 1.0
Ebuild name:

app-dicts/sword-JEAffections-1.0

Description

Religious Affections by Jonathan Edwards

Added to portage

2021-04-12

sword-JESermons - 1.0
Ebuild name:

app-dicts/sword-JESermons-1.0

Description

Select Sermons of Jonathan Edwards

Added to portage

2021-04-12

sword-JFB - 2.2
Ebuild name:

app-dicts/sword-JFB-2.2

Description

Jamieson Fausset Brown Bible Commentary

Added to portage

2021-04-12

sword-JOChrist - 0.5
Ebuild name:

app-dicts/sword-JOChrist-0.5

Description

Christologia by John Owen

Added to portage

2021-04-12

typed-ast - 1.4.3
Ebuild name:

dev-python/typed-ast-1.4.3

Description

Python typed-ast backported

Added to portage

2021-04-12

unifi - 6.2.17
Ebuild name:

net-wireless/unifi-6.2.17

Description

A Management Controller for Ubiquiti Networks UniFi APs

Added to portage

2021-04-12

wmmoonclock - 1.29
Ebuild name:

x11-plugins/wmmoonclock-1.29

Description

dockapp that shows lunar ephemeris to a high accuracy

Added to portage

2021-04-12

wmmoonclock - 1.30
Ebuild name:

x11-plugins/wmmoonclock-1.30

Description

dockapp that shows lunar ephemeris to a high accuracy

Added to portage

2021-04-12

wmmp - 0.10.0-r1
Ebuild name:

x11-plugins/wmmp-0.10.0-r1

Description

A Window Maker dock app client for Music Player Daemon(media-sound/mpd)

Added to portage

2021-04-12

wmmp3 - 0.12-r1
Ebuild name:

x11-plugins/wmmp3-0.12-r1

Description

Mp3 player dock app for WindowMaker; frontend to mpg123

Added to portage

2021-04-12

xmlschema - 1.6.1
Ebuild name:

dev-python/xmlschema-1.6.1

Description

An XML Schema validator and decoder

Added to portage

2021-04-12

rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 10.5 ms