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:

88829

userrating:

average rating: 1.2 (52 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
2026-10-02
fotocx - 26.8.1
Ebuild name:

media-gfx/fotocx-26.8.1

Description

Program for improving image files made with a digital camera

Added to portage

2026-10-02

hashcat - 6.2.6-r1
Ebuild name:

app-crypt/hashcat-6.2.6-r1

Description

World's fastest and most advanced password recovery utility

Added to portage

2026-10-02

hashcat - 7.1.2
Ebuild name:

app-crypt/hashcat-7.1.2

Description

World's fastest and most advanced password recovery utility

Added to portage

2026-10-02

hashcat - 7.1.2-r1
Ebuild name:

app-crypt/hashcat-7.1.2-r1

Description

World's fastest and most advanced password recovery utility

Added to portage

2026-10-02

hashcat - 9999
Ebuild name:

app-crypt/hashcat-9999

Description

World's fastest and most advanced password recovery utility

Added to portage

2026-10-02

hashcat-utils - 1.10
Ebuild name:

app-crypt/hashcat-utils-1.10

Description

a set of small utilities that are useful in advanced password cracking

Added to portage

2026-10-02

heimdal - 7.8.0-r3
Ebuild name:

app-crypt/heimdal-7.8.0-r3

Description

Kerberos 5 implementation from KTH

Added to portage

2026-10-02

ima-evm-utils - 1.4-r1
Ebuild name:

app-crypt/ima-evm-utils-1.4-r1

Description

Supporting tools for IMA and EVM

Added to portage

2026-10-02

ima-evm-utils - 9999
Ebuild name:

app-crypt/ima-evm-utils-9999

Description

Supporting tools for IMA and EVM

Added to portage

2026-10-02

jacksum - 3.7.0
Ebuild name:

app-crypt/jacksum-3.7.0

Description

Java utility for working with checksums, CRCs, and message digests (hashes)

Added to portage

2026-10-02

jacksum - 4.0.0
Ebuild name:

app-crypt/jacksum-4.0.0

Description

Java utility for working with checksums, CRCs, and message digests (hashes)

Added to portage

2026-10-02

jetring - 0.31
Ebuild name:

app-crypt/jetring-0.31

Description

GPG keyring maintenance using changesets

Added to portage

2026-10-02

jetring - 0.32
Ebuild name:

app-crypt/jetring-0.32

Description

GPG keyring maintenance using changesets

Added to portage

2026-10-02

pdns - 5.1.4-r1
Ebuild name:

net-dns/pdns-5.1.4-r1

Description

The PowerDNS Daemon

Added to portage

2026-10-02

pdns-recursor - 5.4.7
Ebuild name:

net-dns/pdns-recursor-5.4.7

Description

The PowerDNS Recursor

Added to portage

2026-10-02

samba - 4.25.0
Ebuild name:

net-fs/samba-4.25.0

Description

Samba Suite Version 4

Added to portage

2026-10-02

tailscale - 1.102.5
Ebuild name:

net-vpn/tailscale-1.102.5

Description

Tailscale vpn client

Added to portage

2026-10-02

terraform - 1.16.4
Ebuild name:

app-admin/terraform-1.16.4

Description

A tool for building, changing, and combining infrastructure safely

Added to portage

2026-10-02

2026-10-01
ansifilter - 2.24
Ebuild name:

app-text/ansifilter-2.24

Description

Handles text files containing ANSI terminal escape codes

Added to portage

2026-10-01

astroid - 4.3.3
Ebuild name:

dev-python/astroid-4.3.3

Description

Abstract Syntax Tree for logilab packages

Added to portage

2026-10-01

aws-c-common - 1.0.2
Ebuild name:

dev-libs/aws-c-common-1.0.2

Description

Core c99 package for AWS SDK for C

Added to portage

2026-10-01

aws-crt-cpp - 0.43.8
Ebuild name:

dev-cpp/aws-crt-cpp-0.43.8

Description

C++ wrapper around the aws-c-* libraries

Added to portage

2026-10-01

awscli - 2.37.7
Ebuild name:

app-admin/awscli-2.37.7

Description

Universal Command Line Environment for AWS

Added to portage

2026-10-01

boto3 - 1.43.106
Ebuild name:

dev-python/boto3-1.43.106

Description

The AWS SDK for Python

Added to portage

2026-10-01

botocore - 1.43.106
Ebuild name:

dev-python/botocore-1.43.106

Description

Low-level, data-driven core of boto 3

Added to portage

2026-10-01

charset-normalizer - 3.5.2
Ebuild name:

dev-python/charset-normalizer-3.5.2

Description

The Real First Universal Charset Detector

Added to portage

2026-10-01

chrome-binary-plugins - 154.0.8037.92
Ebuild name:

www-plugins/chrome-binary-plugins-154.0.8037.92

Description

Binary plugins from Google Chrome for use in Chromi

Added to portage

2026-10-01

chrome-binary-plugins - 156.0.8078.4_beta
Ebuild name:

www-plugins/chrome-binary-plugins-156.0.8078.4_beta

Description

Binary plugins from Google Chrome for use in Ch

Added to portage

2026-10-01

chromedriver-bin - 154.0.8037.92
Ebuild name:

www-apps/chromedriver-bin-154.0.8037.92

Description

WebDriver for Chrome

Added to portage

2026-10-01

cryptography - 50.0.2
Ebuild name:

dev-python/cryptography-50.0.2

Description

Library providing cryptographic recipes and primitives

Added to portage

2026-10-01

ebuild-mode - 1.87
Ebuild name:

app-xemacs/ebuild-mode-1.87

Description

Emacs modes for editing ebuilds and other Gentoo specific files

Added to portage

2026-10-01

fastapi - 0.142.2
Ebuild name:

dev-python/fastapi-0.142.2

Description

High performance framework, easy to learn, fast to code, ready for produ

Added to portage

2026-10-01

gamescope - 3.16.31
Ebuild name:

gui-wm/gamescope-3.16.31

Description

Efficient micro-compositor for running games

Added to portage

2026-10-01

gitpython - 3.2.0
Ebuild name:

dev-python/gitpython-3.2.0

Description

Library used to interact with Git repositories

Added to portage

2026-10-01

google-api-python-client - 2.201.0
Ebuild name:

dev-python/google-api-python-client-2.201.0

Description

Google API Client for Python

Added to portage

2026-10-01

google-auth - 2.59.1
Ebuild name:

dev-python/google-auth-2.59.1

Description

Google Authentication Library

Added to portage

2026-10-01

google-chrome - 154.0.8037.92
Ebuild name:

www-client/google-chrome-154.0.8037.92

Description

The web browser from Google

Added to portage

2026-10-01

google-chrome-beta - 156.0.8078.4
Ebuild name:

www-client/google-chrome-beta-156.0.8078.4

Description

The web browser from Google

Added to portage

2026-10-01

innoextract - 1.13.0
Ebuild name:

app-arch/innoextract-1.13.0

Description

A tool to unpack installers created by Inno Setup

Added to portage

2026-10-01

kitty - 0.49.2
Ebuild name:

x11-terms/kitty-0.49.2

Description

Fast, feature-rich, GPU-based terminal

Added to portage

2026-10-01

kitty-shell-integration - 0.49.2
Ebuild name:

x11-terms/kitty-shell-integration-0.49.2

Description

Shell integration scripts for kitty, a GPU-based terminal

Added to portage

2026-10-01

kitty-terminfo - 0.49.2
Ebuild name:

x11-terms/kitty-terminfo-0.49.2

Description

Terminfo for kitty, a GPU-based terminal emulator

Added to portage

2026-10-01

makemkv - 2.0.0
Ebuild name:

media-video/makemkv-2.0.0

Description

Tool for ripping and streaming Blu-ray, HD-DVD and DVD discs

Added to portage

2026-10-01

microsoft-edge - 154.0.4258.48
Ebuild name:

www-client/microsoft-edge-154.0.4258.48

Description

The web browser from Microsoft

Added to portage

2026-10-01

microsoft-edge-beta - 155.0.4283.24
Ebuild name:

www-client/microsoft-edge-beta-155.0.4283.24

Description

The web browser from Microsoft

Added to portage

2026-10-01

microsoft-edge-dev - 156.0.4301.0
Ebuild name:

www-client/microsoft-edge-dev-156.0.4301.0

Description

The web browser from Microsoft

Added to portage

2026-10-01

nss - 3.130
Ebuild name:

dev-libs/nss-3.130

Description

Mozilla's Network Security Services library that implements PKI support

Added to portage

2026-10-01

opera - 136.0.6008.80
Ebuild name:

www-client/opera-136.0.6008.80

Description

A fast and secure web browser

Added to portage

2026-10-01

opera-gx - 136.0.6008.76
Ebuild name:

www-client/opera-gx-136.0.6008.76

Description

Opera, but for 'gamers'

Added to portage

2026-10-01

pdm-backend - 2.5.0
Ebuild name:

dev-python/pdm-backend-2.5.0

Description

A PEP 517 backend for PDM that supports PEP 621 metadata

Added to portage

2026-10-01

pg_background - 2.0.4
Ebuild name:

dev-db/pg_background-2.0.4

Description

Postgres Background Worker

Added to portage

2026-10-01

phpBB - 3.3.19
Ebuild name:

www-apps/phpBB-3.3.19

Description

An open-source PHP-based bulletin board package

Added to portage

2026-10-01

pyflakes - 4.0.1
Ebuild name:

dev-python/pyflakes-4.0.1

Description

Passive checker for Python programs

Added to portage

2026-10-01

pytest-bdd - 9.0.0
Ebuild name:

dev-python/pytest-bdd-9.0.0

Description

BDD library for the pytest runner

Added to portage

2026-10-01

python - 0.3.14.8
Ebuild name:

dev-lang/python-0.3.14.8

Description

Freethreading (no-GIL) version of Python programming language

Added to portage

2026-10-01

python - 3.10.22
Ebuild name:

dev-lang/python-3.10.22

Description

An interpreted, interactive, object-oriented programming language

Added to portage

2026-10-01

python - 3.11.17
Ebuild name:

dev-lang/python-3.11.17

Description

An interpreted, interactive, object-oriented programming language

Added to portage

2026-10-01

python - 3.12.15
Ebuild name:

dev-lang/python-3.12.15

Description

An interpreted, interactive, object-oriented programming language

Added to portage

2026-10-01

python - 3.13.16
Ebuild name:

dev-lang/python-3.13.16

Description

An interpreted, interactive, object-oriented programming language

Added to portage

2026-10-01

python - 3.14.8
Ebuild name:

dev-lang/python-3.14.8

Description

An interpreted, interactive, object-oriented programming language

Added to portage

2026-10-01

python-tests - 0.3.14.8
Ebuild name:

dev-python/python-tests-0.3.14.8

Description

Test modules from dev-lang/python

Added to portage

2026-10-01

python-tests - 3.12.15
Ebuild name:

dev-python/python-tests-3.12.15

Description

Test modules from dev-lang/python

Added to portage

2026-10-01

python-tests - 3.13.16
Ebuild name:

dev-python/python-tests-3.13.16

Description

Test modules from dev-lang/python

Added to portage

2026-10-01

python-tests - 3.14.8
Ebuild name:

dev-python/python-tests-3.14.8

Description

Test modules from dev-lang/python

Added to portage

2026-10-01

qt-docs - 6.12.0_p202609280346
Ebuild name:

dev-qt/qt-docs-6.12.0_p202609280346

Description

Qt6 documentation and examples for Qt Creator and other tools

Added to portage

2026-10-01

qt3d - 6.12.0
Ebuild name:

dev-qt/qt3d-6.12.0

Description

3D rendering module for the Qt6 framework

Added to portage

2026-10-01

qt5compat - 6.12.0
Ebuild name:

dev-qt/qt5compat-6.12.0

Description

Qt module containing the unsupported Qt 5 APIs

Added to portage

2026-10-01

qtbase - 6.12.0
Ebuild name:

dev-qt/qtbase-6.12.0

Description

Cross-platform application development framework

Added to portage

2026-10-01

qtcharts - 6.12.0
Ebuild name:

dev-qt/qtcharts-6.12.0

Description

Chart component library for the Qt6 framework

Added to portage

2026-10-01

qtconnectivity - 6.12.0
Ebuild name:

dev-qt/qtconnectivity-6.12.0

Description

Bluetooth and NFC support library for the Qt6 framework

Added to portage

2026-10-01

qtdeclarative - 6.12.0
Ebuild name:

dev-qt/qtdeclarative-6.12.0

Description

Qt Declarative (Quick 2)

Added to portage

2026-10-01

qtgraphs - 6.12.0
Ebuild name:

dev-qt/qtgraphs-6.12.0

Description

Graphs component library for the Qt6 framework

Added to portage

2026-10-01

qthttpserver - 6.12.0
Ebuild name:

dev-qt/qthttpserver-6.12.0

Description

HTTP server functionality for the Qt6 framework

Added to portage

2026-10-01

qtimageformats - 6.12.0
Ebuild name:

dev-qt/qtimageformats-6.12.0

Description

Additional format plugins for the Qt image I/O system

Added to portage

2026-10-01

qtlanguageserver - 6.12.0
Ebuild name:

dev-qt/qtlanguageserver-6.12.0

Description

Implementation of the Language Server Protocol for Qt

Added to portage

2026-10-01

qtlocation - 6.12.0
Ebuild name:

dev-qt/qtlocation-6.12.0

Description

Location (places, maps, navigation) library for the Qt6 framework

Added to portage

2026-10-01

qtmultimedia - 6.12.0
Ebuild name:

dev-qt/qtmultimedia-6.12.0

Description

Multimedia (audio, video, radio, camera) library for the Qt6 framework

Added to portage

2026-10-01

qtnetworkauth - 6.12.0
Ebuild name:

dev-qt/qtnetworkauth-6.12.0

Description

Network authorization library for the Qt6 framework

Added to portage

2026-10-01

qtpositioning - 6.12.0
Ebuild name:

dev-qt/qtpositioning-6.12.0

Description

Physical position determination library for the Qt6 framework

Added to portage

2026-10-01

qtquick3d - 6.12.0
Ebuild name:

dev-qt/qtquick3d-6.12.0

Description

Qt module and API for defining 3D content in Qt QuickTools

Added to portage

2026-10-01

qtquicktimeline - 6.12.0
Ebuild name:

dev-qt/qtquicktimeline-6.12.0

Description

Qt module for keyframe-based timeline construction

Added to portage

2026-10-01

qtremoteobjects - 6.12.0
Ebuild name:

dev-qt/qtremoteobjects-6.12.0

Description

Inter-Process Communication (IPC) library for the Qt6 framework

Added to portage

2026-10-01

qtscxml - 6.12.0
Ebuild name:

dev-qt/qtscxml-6.12.0

Description

State Chart XML (SCXML) support library for the Qt6 framework

Added to portage

2026-10-01

qtsensors - 6.12.0
Ebuild name:

dev-qt/qtsensors-6.12.0

Description

Hardware sensor access library for the Qt6 framework

Added to portage

2026-10-01

qtserialbus - 6.12.0
Ebuild name:

dev-qt/qtserialbus-6.12.0

Description

Qt module to access CAN, ModBus, and other industrial serial buses and pr

Added to portage

2026-10-01

qtserialport - 6.12.0
Ebuild name:

dev-qt/qtserialport-6.12.0

Description

Serial port abstraction library for the Qt6 framework

Added to portage

2026-10-01

qtshadertools - 6.12.0
Ebuild name:

dev-qt/qtshadertools-6.12.0

Description

Qt APIs and Tools for Graphics Pipelines

Added to portage

2026-10-01

qtspeech - 6.12.0
Ebuild name:

dev-qt/qtspeech-6.12.0

Description

Text-to-speech library for the Qt6 framework

Added to portage

2026-10-01

qtsvg - 6.12.0
Ebuild name:

dev-qt/qtsvg-6.12.0

Description

SVG rendering library for the Qt6 framework

Added to portage

2026-10-01

qttasktree - 6.12.0
Ebuild name:

dev-qt/qttasktree-6.12.0

Description

Module to compose and execute asynchronous task workflows for the Qt6 fram

Added to portage

2026-10-01

qttools - 6.12.0
Ebuild name:

dev-qt/qttools-6.12.0

Description

Qt Tools Collection

Added to portage

2026-10-01

qttranslations - 6.12.0
Ebuild name:

dev-qt/qttranslations-6.12.0

Description

Translation files for the Qt6 framework

Added to portage

2026-10-01

qtvirtualkeyboard - 6.12.0
Ebuild name:

dev-qt/qtvirtualkeyboard-6.12.0

Description

Customizable input framework and virtual keyboard for Qt

Added to portage

2026-10-01

qtwayland - 6.12.0
Ebuild name:

dev-qt/qtwayland-6.12.0

Description

Toolbox for making Qt based Wayland compositors

Added to portage

2026-10-01

qtwebchannel - 6.12.0
Ebuild name:

dev-qt/qtwebchannel-6.12.0

Description

Qt WebChannel

Added to portage

2026-10-01

qtwebsockets - 6.12.0
Ebuild name:

dev-qt/qtwebsockets-6.12.0

Description

Implementation of the WebSocket protocol for the Qt6 framework

Added to portage

2026-10-01

qtwebview - 6.12.0
Ebuild name:

dev-qt/qtwebview-6.12.0

Description

Module for displaying web content in a QML application using the Qt6 framew

Added to portage

2026-10-01

rizin - 0.9.1-r1
Ebuild name:

dev-util/rizin-0.9.1-r1

Description

reverse engineering framework for binary analysis

Added to portage

2026-10-01

selenium - 4.50.0
Ebuild name:

dev-python/selenium-4.50.0

Description

Python language binding for Selenium Remote Control

Added to portage

2026-10-01

selenium-manager - 4.50.0
Ebuild name:

dev-util/selenium-manager-4.50.0

Description

CLI tool that manages the browser/driver infrastructure required b

Added to portage

2026-10-01

sqlglot - 30.21.0
Ebuild name:

dev-python/sqlglot-30.21.0

Description

An easily customizable SQL parser and transpiler

Added to portage

2026-10-01

stripe - 16.0.0
Ebuild name:

dev-python/stripe-16.0.0

Description

Stripe Python bindings

Added to portage

2026-10-01

teamviewer - 15.82.6
Ebuild name:

net-misc/teamviewer-15.82.6

Description

All-In-One Solution for Remote Access and Support over the Internet

Added to portage

2026-10-01

thrift - 0.25.0
Ebuild name:

dev-python/thrift-0.25.0

Description

Python implementation of Thrift

Added to portage

2026-10-01

thunderbird - 153.4.0
Ebuild name:

mail-client/thunderbird-153.4.0

Description

Thunderbird Mail Client

Added to portage

2026-10-01

thunderbird-bin - 153.4.0
Ebuild name:

mail-client/thunderbird-bin-153.4.0

Description

Thunderbird Mail Client

Added to portage

2026-10-01

thunderbird-l10n - 153.4.0
Ebuild name:

mail-client/thunderbird-l10n-153.4.0

Description

Thunderbird mail client's translation files

Added to portage

2026-10-01

urwid - 4.2.3
Ebuild name:

dev-python/urwid-4.2.3

Description

Curses-based user interface library for Python

Added to portage

2026-10-01

vivaldi - 8.2.4133.80
Ebuild name:

www-client/vivaldi-8.2.4133.80

Description

A browser for our friends

Added to portage

2026-10-01

vivaldi-snapshot - 8.3.4175.3
Ebuild name:

www-client/vivaldi-snapshot-8.3.4175.3

Description

A browser for our friends

Added to portage

2026-10-01

rdf newsfeed | rss newsfeed | Atom newsfeed
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
- Copyright and legal notices -
Time to create this page: 17.9 ms