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:

84629

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-04-25
android-udev-rules - 20260423
Ebuild name:

dev-util/android-udev-rules-20260423

Description

Android udev rules list aimed to be the most comprehensive on

Added to portage

2026-04-25

autosuspend - 10.1.0
Ebuild name:

sys-power/autosuspend-10.1.0

Description

A daemon to automatically suspend and wake up a system

Added to portage

2026-04-25

awscli - 1.44.86
Ebuild name:

app-admin/awscli-1.44.86

Description

Universal Command Line Environment for AWS

Added to portage

2026-04-25

bleachbit - 5.0.2
Ebuild name:

sys-apps/bleachbit-5.0.2

Description

Clean junk to free disk space and to maintain privacy

Added to portage

2026-04-25

borgmatic - 2.1.5
Ebuild name:

app-backup/borgmatic-2.1.5

Description

Automatically create, prune and verify backups with borgbackup

Added to portage

2026-04-25

boto3 - 1.42.96
Ebuild name:

dev-python/boto3-1.42.96

Description

The AWS SDK for Python

Added to portage

2026-04-25

botocore - 1.42.96
Ebuild name:

dev-python/botocore-1.42.96

Description

Low-level, data-driven core of boto 3

Added to portage

2026-04-25

clickdc - 0.1.1
Ebuild name:

dev-python/clickdc-0.1.1

Description

Define click command line options from a python dataclass

Added to portage

2026-04-25

cmd2 - 3.5.1
Ebuild name:

dev-python/cmd2-3.5.1

Description

Extra features for standard library's cmd module

Added to portage

2026-04-25

cryptography - 47.0.0
Ebuild name:

dev-python/cryptography-47.0.0

Description

Library providing cryptographic recipes and primitives

Added to portage

2026-04-25

deluge - 2.1.1-r8
Ebuild name:

net-p2p/deluge-2.1.1-r8

Description

BitTorrent client with a client/server model

Added to portage

2026-04-25

deluge - 2.1.1-r9
Ebuild name:

net-p2p/deluge-2.1.1-r9

Description

BitTorrent client with a client/server model

Added to portage

2026-04-25

deluge - 2.2.0-r1
Ebuild name:

net-p2p/deluge-2.2.0-r1

Description

BitTorrent client with a client/server model

Added to portage

2026-04-25

elfix - 0.9.5-r2
Ebuild name:

sys-apps/elfix-0.9.5-r2

Description

Suite of tools to work with ELF objects on Hardened Gentoo

Added to portage

2026-04-25

gajim - 2.2.0-r1
Ebuild name:

net-im/gajim-2.2.0-r1

Description

GTK XMPP Client

Added to portage

2026-04-25

gajim - 2.4.6
Ebuild name:

net-im/gajim-2.4.6

Description

GTK XMPP Client

Added to portage

2026-04-25

gcc - 15.2.1_p20260424
Ebuild name:

sys-devel/gcc-15.2.1_p20260424

Description

The GNU Compiler Collection

Added to portage

2026-04-25

highway - 1.4.0
Ebuild name:

dev-cpp/highway-1.4.0

Description

Performance-portable, length-agnostic SIMD with runtime dispatch

Added to portage

2026-04-25

hypothesis - 6.152.2
Ebuild name:

dev-python/hypothesis-6.152.2

Description

A library for property based testing

Added to portage

2026-04-25

intellij-idea - 2026.1.1
Ebuild name:

dev-util/intellij-idea-2026.1.1

Description

A complete toolset for web, mobile and enterprise development

Added to portage

2026-04-25

ipython - 9.13.0
Ebuild name:

dev-python/ipython-9.13.0

Description

Advanced interactive shell for Python

Added to portage

2026-04-25

klayout - 0.30.7-r1
Ebuild name:

sci-electronics/klayout-0.30.7-r1

Description

Viewer and editor for GDS and OASIS integrated circuit layouts

Added to portage

2026-04-25

matplotlib - 3.10.9
Ebuild name:

dev-python/matplotlib-3.10.9

Description

Pure python plotting library with matlab like syntax

Added to portage

2026-04-25

mcrypt - 2.6.8-r3
Ebuild name:

app-crypt/mcrypt-2.6.8-r3

Description

Replacement of the old unix crypt(1)

Added to portage

2026-04-25

md5deep - 4.4
Ebuild name:

app-crypt/md5deep-4.4

Description

Expanded md5sum program with recursive and comparison options

Added to portage

2026-04-25

mediafile - 0.17.0
Ebuild name:

dev-python/mediafile-0.17.0

Description

Read and write audio files' tags in Python

Added to portage

2026-04-25

mycli - 1.70.0
Ebuild name:

dev-db/mycli-1.70.0

Description

CLI for MySQL Database with auto-completion and syntax highlighting

Added to portage

2026-04-25

mysql - 8.0.46
Ebuild name:

dev-db/mysql-8.0.46

Description

A fast, multi-threaded, multi-user SQL database server

Added to portage

2026-04-25

mysql - 8.4.9
Ebuild name:

dev-db/mysql-8.4.9

Description

Fast, multi-threaded, multi-user SQL database server

Added to portage

2026-04-25

mysql-connector-c++ - 9.7.0
Ebuild name:

dev-db/mysql-connector-c++-9.7.0

Description

MySQL database connector for C++ (mimics JDBC 4.0 API)

Added to portage

2026-04-25

openapi-spec-validator - 0.8.5
Ebuild name:

dev-python/openapi-spec-validator-0.8.5

Description

OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0 spec validator

Added to portage

2026-04-25

opentelemetry-api - 1.41.1
Ebuild name:

dev-python/opentelemetry-api-1.41.1

Description

OpenTelemetry Python API

Added to portage

2026-04-25

opentelemetry-sdk - 1.41.1
Ebuild name:

dev-python/opentelemetry-sdk-1.41.1

Description

OpenTelemetry Python SDK

Added to portage

2026-04-25

opentelemetry-semantic-conventions - 1.41.1
Ebuild name:

dev-python/opentelemetry-semantic-conventions-1.41.1

Description

OpenTelemetry Semantic Conventions

Added to portage

2026-04-25

packaging - 26.2
Ebuild name:

dev-python/packaging-26.2

Description

Core utilities for Python packages

Added to portage

2026-04-25

pyghmi - 1.6.16
Ebuild name:

dev-python/pyghmi-1.6.16

Description

A pure python implementation of IPMI protocol

Added to portage

2026-04-25

pyopenssl - 26.1.0
Ebuild name:

dev-python/pyopenssl-26.1.0

Description

Python interface to the OpenSSL library

Added to portage

2026-04-25

pyroute2 - 0.9.6
Ebuild name:

dev-python/pyroute2-0.9.6

Description

A pure Python netlink and Linux network configuration library

Added to portage

2026-04-25

pyzotero - 1.11.1
Ebuild name:

dev-python/pyzotero-1.11.1

Description

A Python client for the Zotero API

Added to portage

2026-04-25

qiv - 3.0.4
Ebuild name:

media-gfx/qiv-3.0.4

Description

Quick Image Viewer

Added to portage

2026-04-25

qmapshack - 1.20.2
Ebuild name:

sci-geosciences/qmapshack-1.20.2

Description

GPS mapping utility

Added to portage

2026-04-25

rutorrent - 5.3.1
Ebuild name:

www-apps/rutorrent-5.3.1

Description

ruTorrent is a front-end for the popular Bittorrent client rTorrent

Added to portage

2026-04-25

simplejson - 4.1.1
Ebuild name:

dev-python/simplejson-4.1.1

Description

Simple, fast, extensible JSON encoder/decoder for Python

Added to portage

2026-04-25

sphinx-gallery - 0.21.0
Ebuild name:

dev-python/sphinx-gallery-0.21.0

Description

Sphinx extension to automatically generate an examples gallery

Added to portage

2026-04-25

svt-av1 - 4.1.0
Ebuild name:

media-libs/svt-av1-4.1.0

Description

Scalable Video Technology for AV1 (SVT-AV1 Encoder)

Added to portage

2026-04-25

testtools - 2.9.1
Ebuild name:

dev-python/testtools-2.9.1

Description

Extensions to the Python standard library unit testing framework

Added to portage

2026-04-25

trimesh - 4.12.1
Ebuild name:

dev-python/trimesh-4.12.1

Description

Python library for loading and using triangular meshes

Added to portage

2026-04-25

url-normalize - 3.0.0
Ebuild name:

dev-python/url-normalize-3.0.0

Description

URL normalization for Python

Added to portage

2026-04-25

wrapt - 2.2.0_rc11
Ebuild name:

dev-python/wrapt-2.2.0_rc11

Description

Module for decorators, wrappers and monkey patching

Added to portage

2026-04-25

zen-sources - 6.19.13
Ebuild name:

sys-kernel/zen-sources-6.19.13

Description

The Zen Kernel Live Sources

Added to portage

2026-04-25

2026-04-24
bubblewrap - 0.11.2
Ebuild name:

sys-apps/bubblewrap-0.11.2

Description

Unprivileged sandboxing tool, namespaces-powered chroot-like solution

Added to portage

2026-04-24

ca-certificates - 20250419.3.112-r1
Ebuild name:

app-misc/ca-certificates-20250419.3.112-r1

Description

Common CA Certificates PEM files

Added to portage

2026-04-24

ca-certificates - 20260223.3.112.4
Ebuild name:

app-misc/ca-certificates-20260223.3.112.4

Description

Common CA Certificates PEM files

Added to portage

2026-04-24

chrome-binary-plugins - 147.0.7727.116
Ebuild name:

www-plugins/chrome-binary-plugins-147.0.7727.116

Description

Binary plugins from Google Chrome for use in Chrom

Added to portage

2026-04-24

chrome-binary-plugins - 148.0.7778.56_beta
Ebuild name:

www-plugins/chrome-binary-plugins-148.0.7778.56_beta

Description

Binary plugins from Google Chrome for use in C

Added to portage

2026-04-24

chromedriver-bin - 147.0.7727.116
Ebuild name:

www-apps/chromedriver-bin-147.0.7727.116

Description

WebDriver for Chrome

Added to portage

2026-04-24

claude-code - 2.1.118
Ebuild name:

dev-util/claude-code-2.1.118

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2026-04-24

discord - 0.0.134
Ebuild name:

net-im/discord-0.0.134

Description

All-in-one voice and text chat for gamers

Added to portage

2026-04-24

expat - 2.8.0
Ebuild name:

dev-libs/expat-2.8.0

Description

Stream-oriented XML parser library

Added to portage

2026-04-24

fluidsynth - 2.5.2-r1
Ebuild name:

media-sound/fluidsynth-2.5.2-r1

Description

Software real-time synthesizer based on the Soundfont 2 specificati

Added to portage

2026-04-24

fwupd - 2.1.2
Ebuild name:

sys-apps/fwupd-2.1.2

Description

Aims to make updating firmware on Linux automatic, safe and reliable

Added to portage

2026-04-24

gcc - 13.4.1_p20260422
Ebuild name:

sys-devel/gcc-13.4.1_p20260422

Description

The GNU Compiler Collection

Added to portage

2026-04-24

gcc - 14.3.1_p20260423
Ebuild name:

sys-devel/gcc-14.3.1_p20260423

Description

The GNU Compiler Collection

Added to portage

2026-04-24

gcc - 16.0.1_p20260424
Ebuild name:

sys-devel/gcc-16.0.1_p20260424

Description

The GNU Compiler Collection

Added to portage

2026-04-24

gentoo-sources - 6.12.83
Ebuild name:

sys-kernel/gentoo-sources-6.12.83

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-04-24

gentoo-sources - 7.0.1
Ebuild name:

sys-kernel/gentoo-sources-7.0.1

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-04-24

gnupg - 2.5.19
Ebuild name:

app-crypt/gnupg-2.5.19

Description

The GNU Privacy Guard, a GPL OpenPGP implementation

Added to portage

2026-04-24

google-chrome - 147.0.7727.116
Ebuild name:

www-client/google-chrome-147.0.7727.116

Description

The web browser from Google

Added to portage

2026-04-24

google-chrome-beta - 148.0.7778.56
Ebuild name:

www-client/google-chrome-beta-148.0.7778.56

Description

The web browser from Google

Added to portage

2026-04-24

groonga - 16.0.0-r2
Ebuild name:

app-text/groonga-16.0.0-r2

Description

An Embeddable Fulltext Search Engine

Added to portage

2026-04-24

groonga - 16.0.1
Ebuild name:

app-text/groonga-16.0.1

Description

Embeddable Fulltext Search Engine

Added to portage

2026-04-24

haproxy - 2.8.21
Ebuild name:

net-proxy/haproxy-2.8.21

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-04-24

haproxy - 3.0.20
Ebuild name:

net-proxy/haproxy-3.0.20

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-04-24

haproxy - 3.2.16
Ebuild name:

net-proxy/haproxy-3.2.16

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-04-24

haproxy - 3.3.7
Ebuild name:

net-proxy/haproxy-3.3.7

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-04-24

hcloud - 2.18.0
Ebuild name:

dev-python/hcloud-2.18.0

Description

Official Hetzner Cloud python library

Added to portage

2026-04-24

inline-snapshot - 0.32.7
Ebuild name:

dev-python/inline-snapshot-0.32.7

Description

Create and update inline snapshots in your Python tests

Added to portage

2026-04-24

kmscon - 9.3.4
Ebuild name:

sys-apps/kmscon-9.3.4

Description

KMS/DRM based virtual Console Emulator

Added to portage

2026-04-24

kmscon - 9.3.5
Ebuild name:

sys-apps/kmscon-9.3.5

Description

KMS/DRM based virtual Console Emulator

Added to portage

2026-04-24

libXpm - 3.5.19
Ebuild name:

x11-libs/libXpm-3.5.19

Description

X.Org Xpm library

Added to portage

2026-04-24

libtsm - 4.5.0
Ebuild name:

dev-libs/libtsm-4.5.0

Description

Terminal Emulator State Machine

Added to portage

2026-04-24

mattermost-desktop-bin - 6.2.0_rc2
Ebuild name:

net-im/mattermost-desktop-bin-6.2.0_rc2

Description

Mattermost Desktop application

Added to portage

2026-04-24

microsoft-edge-beta - 148.0.3967.20
Ebuild name:

www-client/microsoft-edge-beta-148.0.3967.20

Description

The web browser from Microsoft

Added to portage

2026-04-24

microsoft-edge-dev - 149.0.3984.0
Ebuild name:

www-client/microsoft-edge-dev-149.0.3984.0

Description

The web browser from Microsoft

Added to portage

2026-04-24

mss - 10.2.0
Ebuild name:

dev-python/mss-10.2.0

Description

An ultra fast cross-platform multiple screenshots module in python using ctyp

Added to portage

2026-04-24

openblas - 0.3.33
Ebuild name:

sci-libs/openblas-0.3.33

Description

Optimized BLAS library based on GotoBLAS2

Added to portage

2026-04-24

opera - 130.0.5847.82
Ebuild name:

www-client/opera-130.0.5847.82

Description

A fast and secure web browser

Added to portage

2026-04-24

opera-developer - 131.0.5877.0
Ebuild name:

www-client/opera-developer-131.0.5877.0

Description

A fast and secure web browser

Added to portage

2026-04-24

patch-ng - 1.19.1
Ebuild name:

dev-python/patch-ng-1.19.1

Description

Library to parse and apply unified diffs, fork of dev-python/patch

Added to portage

2026-04-24

peewee - 4.0.5
Ebuild name:

dev-python/peewee-4.0.5

Description

Small Python ORM

Added to portage

2026-04-24

pixi - 0.67.2
Ebuild name:

dev-util/pixi-0.67.2

Description

A package management and workflow tool

Added to portage

2026-04-24

pysnmp - 7.1.25
Ebuild name:

dev-python/pysnmp-7.1.25

Description

Python SNMP library

Added to portage

2026-04-24

samba - 4.23.7
Ebuild name:

net-fs/samba-4.23.7

Description

Samba Suite Version 4

Added to portage

2026-04-24

stripe - 15.1.0
Ebuild name:

dev-python/stripe-15.1.0

Description

Stripe Python bindings

Added to portage

2026-04-24

subtitleeditor - 0.56.2
Ebuild name:

media-video/subtitleeditor-0.56.2

Description

GTK+3 subtitle editing tool

Added to portage

2026-04-24

thunderbird - 140.10.0
Ebuild name:

mail-client/thunderbird-140.10.0

Description

Thunderbird Mail Client

Added to portage

2026-04-24

thunderbird-bin - 140.10.0
Ebuild name:

mail-client/thunderbird-bin-140.10.0

Description

Thunderbird Mail Client

Added to portage

2026-04-24

timezone-data - 2026b
Ebuild name:

sys-libs/timezone-data-2026b

Description

Timezone data (/usr/share/zoneinfo) and utilities (tzselect/zic/zdump)

Added to portage

2026-04-24

translate-toolkit - 3.19.6
Ebuild name:

dev-python/translate-toolkit-3.19.6

Description

Toolkit to convert between many translation formats

Added to portage

2026-04-24

trimesh - 4.12.0
Ebuild name:

dev-python/trimesh-4.12.0

Description

Python library for loading and using triangular meshes

Added to portage

2026-04-24

uvicorn - 0.46.0
Ebuild name:

dev-python/uvicorn-0.46.0

Description

Lightning-fast ASGI server implementation

Added to portage

2026-04-24

vagrant - 2.4.0-r2
Ebuild name:

app-emulation/vagrant-2.4.0-r2

Description

A tool for building and distributing development environments

Added to portage

2026-04-24

vagrant - 2.4.1-r1
Ebuild name:

app-emulation/vagrant-2.4.1-r1

Description

A tool for building and distributing development environments

Added to portage

2026-04-24

vagrant - 2.4.9-r1
Ebuild name:

app-emulation/vagrant-2.4.9-r1

Description

A tool for building and distributing development environments

Added to portage

2026-04-24

vanilla-sources - 6.12.83
Ebuild name:

sys-kernel/vanilla-sources-6.12.83

Description

Full sources for the Linux kernel

Added to portage

2026-04-24

vanilla-sources - 6.18.24
Ebuild name:

sys-kernel/vanilla-sources-6.18.24

Description

Full sources for the Linux kernel

Added to portage

2026-04-24

vanilla-sources - 6.19.14
Ebuild name:

sys-kernel/vanilla-sources-6.19.14

Description

Full sources for the Linux kernel

Added to portage

2026-04-24

vanilla-sources - 7.0.1
Ebuild name:

sys-kernel/vanilla-sources-7.0.1

Description

Full sources for the Linux kernel

Added to portage

2026-04-24

vivaldi - 7.9.3970.59
Ebuild name:

www-client/vivaldi-7.9.3970.59

Description

A browser for our friends

Added to portage

2026-04-24

vivaldi-snapshot - 7.10.4015.3
Ebuild name:

www-client/vivaldi-snapshot-7.10.4015.3

Description

A browser for our friends

Added to portage

2026-04-24

vte - 0.82.3
Ebuild name:

gui-libs/vte-0.82.3

Description

Library providing a virtual terminal emulator widget

Added to portage

2026-04-24

vte - 0.82.3
Ebuild name:

x11-libs/vte-0.82.3

Description

Library providing a virtual terminal emulator widget

Added to portage

2026-04-24

vte-common - 0.82.3
Ebuild name:

gui-libs/vte-common-0.82.3

Description

Library providing a virtual terminal emulator widget

Added to portage

2026-04-24

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