EnglishFrenchSpanish

OnWorks favicon

network-test - Online in the Cloud

Run network-test in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command network-test that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


network-test - check the network and test if everything is fine

SYNOPSIS


network-test

DESCRIPTION


The network-test program will test your system's network configuration using basic tests
and providing both information (INFO), warnings (WARN) and possible errors (ERR) based on
the results of these tests. It will check and report on:
* Status of the network interfaces of the system including: link status,
IP addressing and number of transmitted packets and error rates.

* Accessibility to configured routes to external networks,
including the default network route, checking the routers configured
to give access to the network

* Proper host resolution, testing DNS resolution against a known host.

* Proper network connectivity, testing reachability of remote hosts using ICMP and
simulating a web connections to a remote web server (the web server used for the
tests can be configured through the environment, see below)

The program does not need special privileges to run as it does not do any system change.

However, the behaviour of the program when running as an unprivileged user is not the same
as running as system administrator (i.e. root). If the program is run as system
administrator it will try to run some tools that are only available to it to speed up some
of the tests.

The program relies on the use of ip, netstat, ifconfig, arp and (when running as root)
ethtool or mii-tool, to obtain information about the system's networking configuration
(status of available interfaces and configured network routes). It also uses ping, host
and nc (netcat) to do tests of the network connectivity and ensure that the host can
connect to the Internet.

ENVIRONMENT


The program will, by default, check www.debian.org and its associated web server. If you
want to use a different check host you can setup the environment as follows:

CHECK_HOST
The name of a host to use when testing DNS resolution. By default 'www.debian.org'

CHECK_IP_ADRESS
The CHECK_HOST ´s IP address. By default defined with the following value:
194.109.137.218

CHECK_WEB_HOST
The web server to use for testing purposes when testing network connectivity. By
default it will use 'www.debian.org'

CHECK_WEB_PORT
The web server port of server CHECK_WEB_HOST that will be used for testing. By
default it will use TCP port 80..

CHECK_WEB_URL
A web service to test network connectivity by downloading some content. By default
it will use 'http://network-test.debian.org/moo'

CHECK_WEB_MD5
The MD5sum value of the content being checked.

CHECK_IP_URL
A web service used to determine the system's public IP address. By default it will
use 'http://queryip.net/ip/'

EXIT STATUS


The program will exit with error (1) if any of the network checks fail.

Use network-test online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Free Pascal Compiler
    Free Pascal Compiler
    A 32/64/16-bit Pascal compiler for
    Win32/64/CE, Linux, Mac OS X/iOS,
    Android, FreeBSD, OS/2, Game Boy
    Advance, Nintendo NDS and DOS;
    semantically compatible wi...
    Download Free Pascal Compiler
  • 2
    Canon EOS DIGITAL Info
    Canon EOS DIGITAL Info
    Canon doesn�t have shutter count
    included on the EXIF information of an
    image file, as opposed to Nikon and
    Pentax. There�s no official Canon based
    application ...
    Download Canon EOS DIGITAL Info
  • 3
    rEFInd
    rEFInd
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • 4
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 5
    Music Caster
    Music Caster
    Music Caster is a tray music player
    that lets you cast your local music to a
    Google Cast device. On the first run,
    you will need to click the arrow in your
    tas...
    Download Music Caster
  • 6
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • More »

Linux commands

Ad