Example of Installing Pinger

Introduction

This example is for an embedded Linux machine where we (SLAC) installed PingER under root. The embedded machines are running a normal Ubuntu installation. Perl and Apache were already installed. The installed system is called Voyage Linux if we need more info. There are two ePingER machines provided and originally located at ICTP. The idea is that they will be taken to Zambia for installation there. One machine is pictured here. It is purchased from PCEngines. It has 2556MB RAM, on a 500MHZ AMD Geode CPU, with 128KB L2 cache, and a 4GB Flash memory.

The addresses of the machines are:
IP: 140.105.28.26 and 140.105.28.27

Key

What is typed in
Important error messages
Comments

Install PingER2

See Ping End-to-end Reporting version 2
89cottrell@pinger:~>ssh root@140.105.28.26
root@140.105.28.26's password:
Last login: Wed May 13 14:45:51 2009 from pinger.slac.stanford.edu
Linux voyage 2.6.23-486-voyage #1 PREEMPT Wed May 21 15:31:49 GMT 2008 i586

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
 __  __
 \ \/ /___ __  __ ___  ___  ___    Useful Commands:
  \  // _ \\ \/ /,-_ |/ _ |/ -_)     remountrw - mount disk as read-write
   \/ \___/ \  / \___,\_  |\___|     remountro - mount disk as read-only
           _/_/        _'_|          remove.docs - remove all docs and manpages
     { V o y a g e } - L i n u x

voyage:~# remountrw
voyage:~# ls
voyage:~# pwd
/root
voyage:~# wget http://www.rnoc.gatech.edu/pinger2/software/pinger-2.0.2.tar.gz
--14:53:27--  http://www.rnoc.gatech.edu/pinger2/software/pinger-2.0.2.tar.gz
           => `pinger-2.0.2.tar.gz'
Resolving www.rnoc.gatech.edu... 130.207.244.30
Connecting to www.rnoc.gatech.edu|130.207.244.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 95,053 (93K) [application/x-tar]
 
100%[====================================>] 95,053       163.56K/s
 
14:53:29 (163.32 KB/s) - `pinger-2.0.2.tar.gz' saved [95053/95053]
 
voyage:~# tar xzf pinger-2.0.2.tar.gz
voyage:~# cd pinger-2.0.2
voyage:~/pinger-2.0.2# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking for bash... /bin/sh
checking for perl... /usr/bin/perl
checking for ping... /bin/ping
checking for ping6... /bin/ping6
checking for dig... no
checking for lynx... /usr/bin/lynx
checking for mail... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sw/Makefile
config.status: creating docs/Makefile
voyage:~/pinger-2.0.2# make test_prereqs
-bash: make: command not found
voyage:~/pinger-2.0.2# which make
voyage:~/pinger-2.0.2# whereis make
make:
#~~~~~~~~~~~~~~I Logged out and then back in~~~~~~~~~~~~~~
voyage:~# remountrw
voyage:~# sudo apt-get install make
-bash: sudo: command not found
voyage:~# apt-get install make
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
  make-doc-non-dfsg
The following NEW packages will be installed:
  make
0 upgraded, 1 newly installed, 0 to remove and 30 not upgraded.
Need to get 382kB of archives.
After unpacking 1610kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  make
Authentication warning overridden.
Get:1 http://ftp.hk.debian.org etch/main make 3.81-2 [382kB]
Fetched 382kB in 4s (79.0kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package make.
(Reading database ... 10243 files and directories currently installed.)
Unpacking make (from .../archives/make_3.81-2_i386.deb) ...
Setting up make (3.81-2) ...
voyage:~# cd pinger-2.0.2
voyage:~/pinger-2.0.2# make test_prereqs
---- dig not installed, see README ----
---- mail not installed, see README ----
------XML::Simple is not installed, please see installation instructions----
#I found the names of the missing packages by looking through this list:
#http://packages.debian.org/etch/allpackages
voyage:~/pinger-2.0.2# apt-get install dnsutils libxml-simple-perl mailutils
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  bind9-host exim4 exim4-base exim4-config exim4-daemon-light guile-1.6-libs
  libbind9-0 libdns22 libfribidi0 libgsasl7 libguile-ltdl-1 libidn11 libisc11
  libisccc0 libisccfg1 libltdl3 liblwres9 libmailutils1 libmysqlclient15off
  libqthreads-12 libxml-libxml-common-perl libxml-libxml-perl
  libxml-namespacesupport-perl libxml-sax-perl libxml2 mysql-common
Suggested packages:
  rblcheck mail-reader eximon4 exim4-doc-html exim4-doc-info gnutls-bin
  openssl file libmail-spf-query-perl mailutils-mh
Recommended packages:
  psmisc xml-core
The following NEW packages will be installed:
  bind9-host dnsutils exim4 exim4-base exim4-config exim4-daemon-light
  guile-1.6-libs libbind9-0 libdns22 libfribidi0 libgsasl7 libguile-ltdl-1
  libidn11 libisc11 libisccc0 libisccfg1 libltdl3 liblwres9 libmailutils1
  libmysqlclient15off libqthreads-12 libxml-libxml-common-perl
  libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-perl
  libxml-simple-perl libxml2 mailutils mysql-common
0 upgraded, 29 newly installed, 0 to remove and 30 not upgraded.
Need to get 8063kB of archives.
After unpacking 20.2MB of additional disk space will be used.
Do you want to continue [Y/n]?y
WARNING: The following packages cannot be authenticated!
  libisc11 libdns22 libisccc0 libisccfg1 libbind9-0 liblwres9 bind9-host
  dnsutils exim4-config exim4-base exim4-daemon-light exim4 libidn11
  libguile-ltdl-1 libqthreads-12 guile-1.6-libs libfribidi0 libgsasl7 libltdl3
  mysql-common libmysqlclient15off libmailutils1 libxml-libxml-common-perl
  libxml-namespacesupport-perl libxml-sax-perl libxml2 libxml-libxml-perl
  libxml-simple-perl mailutils
Authentication warning overridden.
Get:1 http://security.debian.org etch/updates/main mysql-common 5.0.32-7etch10 [55.0kB]
Get:2 http://security.debian.org etch/updates/main libmysqlclient15off 5.0.32-7etch10 [1794kB]
Get:3 http://ftp.hk.debian.org etch/main libisc11 1:9.3.4-2etch4 [170kB]
Get:4 http://ftp.hk.debian.org etch/main libdns22 1:9.3.4-2etch4 [473kB]
Get:5 http://ftp.hk.debian.org etch/main libisccc0 1:9.3.4-2etch4 [95.0kB]
Get:6 http://ftp.hk.debian.org etch/main libisccfg1 1:9.3.4-2etch4 [106kB]
Get:7 http://ftp.hk.debian.org etch/main libbind9-0 1:9.3.4-2etch4 [95.0kB]
Get:8 http://ftp.hk.debian.org etch/main liblwres9 1:9.3.4-2etch4 [110kB]
Get:9 http://ftp.hk.debian.org etch/main bind9-host 1:9.3.4-2etch4 [113kB]
Get:10 http://ftp.hk.debian.org etch/main dnsutils 1:9.3.4-2etch4 [181kB]
Get:11 http://ftp.hk.debian.org etch/main exim4-config 4.63-17 [334kB]
Get:12 http://ftp.hk.debian.org etch/main exim4-base 4.63-17 [937kB]
Get:13 http://ftp.hk.debian.org etch/main exim4-daemon-light 4.63-17 [414kB]
Get:14 http://ftp.hk.debian.org etch/main exim4 4.63-17 [2080B]
Get:15 http://ftp.hk.debian.org etch/main libidn11 0.6.5-1 [116kB]
Get:16 http://ftp.hk.debian.org etch/main libguile-ltdl-1 1.6.8-6 [12.2kB]
Get:17 http://ftp.hk.debian.org etch/main libqthreads-12 1.6.8-6 [6404B]
Get:18 http://ftp.hk.debian.org etch/main guile-1.6-libs 1.6.8-6 [592kB]
Get:19 http://ftp.hk.debian.org etch/main libfribidi0 0.10.7-4 [41.4kB]
Get:20 http://ftp.hk.debian.org etch/main libgsasl7 0.2.12-1+b1 [79.9kB]
Get:21 http://ftp.hk.debian.org etch/main libltdl3 1.5.22-4 [169kB]
Get:22 http://ftp.hk.debian.org etch/main libmailutils1 1:1.1+dfsg1-3.1 [670kB]
Get:23 http://ftp.hk.debian.org etch/main libxml-libxml-common-perl 0.13-5 [14.0kB]
Get:24 http://ftp.hk.debian.org etch/main libxml-namespacesupport-perl 1.09-3 [15.3kB]
Get:25 http://ftp.hk.debian.org etch/main libxml-sax-perl 0.12-5 [79.5kB]
Get:26 http://ftp.hk.debian.org etch/main libxml2 2.6.27.dfsg-6 [756kB]
Get:27 http://ftp.hk.debian.org etch/main libxml-libxml-perl 1.59-2 [300kB]
Get:28 http://ftp.hk.debian.org etch/main libxml-simple-perl 2.14-5 [69.3kB]
Get:29 http://ftp.hk.debian.org etch/main mailutils 1:1.1+dfsg1-3.1 [262kB]
Fetched 8063kB in 17s (448kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package libisc11.
(Reading database ... 10277 files and directories currently installed.)
Unpacking libisc11 (from .../libisc11_1%3a9.3.4-2etch4_i386.deb) ...
Selecting previously deselected package libdns22.
Unpacking libdns22 (from .../libdns22_1%3a9.3.4-2etch4_i386.deb) ...
Selecting previously deselected package libisccc0.
Unpacking libisccc0 (from .../libisccc0_1%3a9.3.4-2etch4_i386.deb) ...
Selecting previously deselected package libisccfg1.
Unpacking libisccfg1 (from .../libisccfg1_1%3a9.3.4-2etch4_i386.deb) ...
Selecting previously deselected package libbind9-0.
Unpacking libbind9-0 (from .../libbind9-0_1%3a9.3.4-2etch4_i386.deb) ...
Selecting previously deselected package liblwres9.
Unpacking liblwres9 (from .../liblwres9_1%3a9.3.4-2etch4_i386.deb) ...
Selecting previously deselected package bind9-host.
Unpacking bind9-host (from .../bind9-host_1%3a9.3.4-2etch4_i386.deb) ...
Selecting previously deselected package dnsutils.
Unpacking dnsutils (from .../dnsutils_1%3a9.3.4-2etch4_i386.deb) ...
Selecting previously deselected package exim4-config.
Unpacking exim4-config (from .../exim4-config_4.63-17_all.deb) ...
Selecting previously deselected package exim4-base.
Unpacking exim4-base (from .../exim4-base_4.63-17_i386.deb) ...
Selecting previously deselected package exim4-daemon-light.
Unpacking exim4-daemon-light (from .../exim4-daemon-light_4.63-17_i386.deb) ...
Selecting previously deselected package exim4.
Unpacking exim4 (from .../archives/exim4_4.63-17_all.deb) ...
Selecting previously deselected package libidn11.
Unpacking libidn11 (from .../libidn11_0.6.5-1_i386.deb) ...
Selecting previously deselected package libguile-ltdl-1.
Unpacking libguile-ltdl-1 (from .../libguile-ltdl-1_1.6.8-6_i386.deb) ...
Selecting previously deselected package libqthreads-12.
Unpacking libqthreads-12 (from .../libqthreads-12_1.6.8-6_i386.deb) ...
Selecting previously deselected package guile-1.6-libs.
Unpacking guile-1.6-libs (from .../guile-1.6-libs_1.6.8-6_i386.deb) ...
Selecting previously deselected package libfribidi0.
Unpacking libfribidi0 (from .../libfribidi0_0.10.7-4_i386.deb) ...
Selecting previously deselected package libgsasl7.
Unpacking libgsasl7 (from .../libgsasl7_0.2.12-1+b1_i386.deb) ...
Selecting previously deselected package libltdl3.
Unpacking libltdl3 (from .../libltdl3_1.5.22-4_i386.deb) ...
Selecting previously deselected package mysql-common.
Unpacking mysql-common (from .../mysql-common_5.0.32-7etch10_all.deb) ...
Selecting previously deselected package libmysqlclient15off.
Unpacking libmysqlclient15off (from .../libmysqlclient15off_5.0.32-7etch10_i386.deb) ...
Selecting previously deselected package libmailutils1.
Unpacking libmailutils1 (from .../libmailutils1_1%3a1.1+dfsg1-3.1_i386.deb) ...
Selecting previously deselected package libxml-libxml-common-perl.
Unpacking libxml-libxml-common-perl (from .../libxml-libxml-common-perl_0.13-5_i386.deb) ...
Selecting previously deselected package libxml-namespacesupport-perl.
Unpacking libxml-namespacesupport-perl (from .../libxml-namespacesupport-perl_1.09-3_all.deb) ...
Selecting previously deselected package libxml-sax-perl.
Unpacking libxml-sax-perl (from .../libxml-sax-perl_0.12-5_all.deb) ...
Selecting previously deselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.6.27.dfsg-6_i386.deb) ...
Selecting previously deselected package libxml-libxml-perl.
Unpacking libxml-libxml-perl (from .../libxml-libxml-perl_1.59-2_i386.deb) ...
Selecting previously deselected package libxml-simple-perl.
Unpacking libxml-simple-perl (from .../libxml-simple-perl_2.14-5_all.deb) ...
Selecting previously deselected package mailutils.
Unpacking mailutils (from .../mailutils_1%3a1.1+dfsg1-3.1_i386.deb) ...
Setting up libisc11 (9.3.4-2etch4) ...

Setting up libdns22 (9.3.4-2etch4) ...

Setting up libisccc0 (9.3.4-2etch4) ...

Setting up libisccfg1 (9.3.4-2etch4) ...

Setting up libbind9-0 (9.3.4-2etch4) ...

Setting up liblwres9 (9.3.4-2etch4) ...

Setting up bind9-host (9.3.4-2etch4) ...
Setting up dnsutils (9.3.4-2etch4) ...

Setting up exim4-config (4.63-17) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75.)
debconf: falling back to frontend: Readline
Adding system-user for exim (v4)

Setting up exim4-base (4.63-17) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75.)
debconf: falling back to frontend: Readline

Setting up exim4-daemon-light (4.63-17) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75.)
debconf: falling back to frontend: Readline
Starting MTA: exim4.

Setting up exim4 (4.63-17) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75.)
debconf: falling back to frontend: Readline

Setting up libidn11 (0.6.5-1) ...

Setting up libguile-ltdl-1 (1.6.8-6) ...

Setting up libqthreads-12 (1.6.8-6) ...

Setting up guile-1.6-libs (1.6.8-6) ...

Setting up libfribidi0 (0.10.7-4) ...

Setting up libgsasl7 (0.2.12-1+b1) ...

Setting up libltdl3 (1.5.22-4) ...

Setting up mysql-common (5.0.32-7etch10) ...
Setting up libmysqlclient15off (5.0.32-7etch10) ...

Setting up libmailutils1 (1.1+dfsg1-3.1) ...

Setting up libxml-libxml-common-perl (0.13-5) ...
Setting up libxml-namespacesupport-perl (1.09-3) ...
Setting up libxml-sax-perl (0.12-5) ...

Setting up libxml2 (2.6.27.dfsg-6) ...

Setting up libxml-libxml-perl (1.59-2) ...
update-perl-sax-parsers: Adding Perl SAX parser module info file of XML::LibXML::SAX::Parser...
update-perl-sax-parsers: Adding Perl SAX parser module info file of XML::LibXML::SAX...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...

Setting up libxml-simple-perl (2.14-5) ...
Setting up mailutils (1.1+dfsg1-3.1) ...

voyage:~/pinger-2.0.2# make test_prereqs
---- dig not installed, see README ----
---- mail not installed, see README ----
voyage:~/pinger-2.0.2# make clean
Making clean in docs
make[1]: Entering directory `/rw/root/pinger-2.0.2/docs'
make[1]: Nothing to be done for `clean'.
make[1]: Leaving directory `/rw/root/pinger-2.0.2/docs'
Making clean in sw
make[1]: Entering directory `/rw/root/pinger-2.0.2/sw'
test -z "pinger2 pinger.xml dnsV4Cmd.pl" || rm -f pinger2 pinger.xml dnsV4Cmd.pl
make[1]: Leaving directory `/rw/root/pinger-2.0.2/sw'
Making clean in .
make[1]: Entering directory `/rw/root/pinger-2.0.2'
make[1]: Nothing to be done for `clean-am'.
make[1]: Leaving directory `/rw/root/pinger-2.0.2'
voyage:~/pinger-2.0.2# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for bash... /bin/sh
checking for perl... /usr/bin/perl
checking for ping... /bin/ping
checking for ping6... /bin/ping6
checking for dig... /usr/bin/dig
checking for lynx... /usr/bin/lynx
checking for mail... /usr/bin/mail
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sw/Makefile
config.status: creating docs/Makefile
voyage:~/pinger-2.0.2# make test_prereqs
voyage:~/pinger-2.0.2# make
Making all in sw
make[1]: Entering directory `/rw/root/pinger-2.0.2/sw'
rm -f dnsV4Cmd.pl
echo "#!"/usr/bin/perl > dnsV4Cmd.pl
cat dnsV4Cmd.pl.default >> dnsV4Cmd.pl
rm -f pinger.xml
/usr/bin/perl installPingerXML.pl LYNX /usr/bin/lynx PINGV4 /bin/ping PINGV6 /bin/ping6 DNSV4 /usr/local/share/pinger/dnsV4Cmd.pl DNSV6 /usr/bin/dig SRCNAME `hostname -f` DATADIR /usr/local/share/pinger/data MAIL /usr/bin/mail > pinger.xml
rm -f pinger2
echo "#! " /bin/sh > pinger2
echo "cd /usr/local/share/pinger" >> pinger2
echo "/usr/bin/perl pinger2.pl" >> pinger2
chmod ugo+x pinger2
make[1]: Leaving directory `/rw/root/pinger-2.0.2/sw'
Making all in docs
make[1]: Entering directory `/rw/root/pinger-2.0.2/docs'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/rw/root/pinger-2.0.2/docs'
make[1]: Entering directory `/rw/root/pinger-2.0.2'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/rw/root/pinger-2.0.2'
voyage:~/pinger-2.0.2#voyage:~/pinger-2.0.2# make install
Making install in sw
make[1]: Entering directory `/rw/root/pinger-2.0.2/sw'
make[2]: Entering directory `/rw/root/pinger-2.0.2/sw'
/bin/sh ../mkinstalldirs /usr/local/bin
 /usr/bin/install -c pinger2 /usr/local/bin/pinger2
mkdir -p /usr/local/share/pinger/data
/bin/sh ../mkinstalldirs /usr/local/share/pinger
 /usr/bin/install -c -m 644 pinger2.pl /usr/local/share/pinger/pinger2.pl
 /usr/bin/install -c -m 644 pinger.xsd /usr/local/share/pinger/pinger.xsd
 /usr/bin/install -c -m 644 pinger.xml /usr/local/share/pinger/pinger.xml
 /usr/bin/install -c -m 644 dnsV4Cmd.pl /usr/local/share/pinger/dnsV4Cmd.pl
 /usr/bin/install -c -m 644 beacons.txt /usr/local/share/pinger/beacons.txt
 /usr/bin/install -c -m 644 installCron.pl /usr/local/share/pinger/installCron.pl
make  install-data-hook
make[3]: Entering directory `/rw/root/pinger-2.0.2/sw'
chmod ugo+x /usr/local/share/pinger/installCron.pl
chmod ugo+x /usr/local/share/pinger/dnsV4Cmd.pl
make[3]: Leaving directory `/rw/root/pinger-2.0.2/sw'
make[2]: Leaving directory `/rw/root/pinger-2.0.2/sw'
make[1]: Leaving directory `/rw/root/pinger-2.0.2/sw'
Making install in docs
make[1]: Entering directory `/rw/root/pinger-2.0.2/docs'
make[2]: Entering directory `/rw/root/pinger-2.0.2/docs'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/man/man1
mkdir -p -- /usr/local/man/man1
 /usr/bin/install -c -m 644 ./pinger2.1 /usr/local/man/man1/pinger2.1
/bin/sh ../mkinstalldirs /usr/local/share/pinger
 /usr/bin/install -c -m 644 pinger2.html /usr/local/share/pinger/pinger2.html
make[2]: Leaving directory `/rw/root/pinger-2.0.2/docs'
make[1]: Leaving directory `/rw/root/pinger-2.0.2/docs'
make[1]: Entering directory `/rw/root/pinger-2.0.2'
make[2]: Entering directory `/rw/root/pinger-2.0.2'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/rw/root/pinger-2.0.2'
make[1]: Leaving directory `/rw/root/pinger-2.0.2'
voyage:~/pinger-2.0.2# make install_cron
/bin/sh -c "cd /usr/local/share/pinger; /usr/bin/perl installCron.pl"
Setting Cron Interval to: once every 30 minutes
no crontab for root

Old Crontab-Content


New Crontab-Content

*/30 * * * * cd /usr/local/share/pinger; perl /usr/local/share/pinger/pinger2.pl > /usr/local/share/pinger/pingerCronStat.stdout 2> /usr/local/share/pinger/pingerCronStat.stderr

crontab: usage error: file name must be specified for replace
usage:  crontab [-u user] file
        crontab [-u user] { -e | -l | -r }
                (default operation is replace, per 1003.2)
        -e      (edit user's crontab)
        -l      (list user's crontab)
        -r      (delete user's crontab)
make: *** [install_cron] Error 141
voyage:~/pinger-2.0.2# crontab -l
no crontab for root
#Copy the crontab command from above and use the editor to add to crontab
voyage:~/pinger-2.0.2# export EDITOR=vi
voyage:~/pinger-2.0.2# crontab -e
voyage:~/pinger-2.0.2# crontab -l

# m h  dom mon dow   command
*/30 * * * * cd /usr/local/share/pinger; perl /usr/local/share/pinger/pinger2.pl > /usr/local/share/pinger/pingerCronStat.stdout 2> /usr/local/share/pinger/pingerCronStat.stderr
voyage:~/pinger-2.0.2# date;ls /usr/local/share/pinger/data/
Wed May 13 18:19:02 GMT 2009
voyage:~/pinger-2.0.2# date;ls -l /usr/local/share/pinger/data/
Wed May 13 19:24:06 GMT 2009
total 28
-rw-r--r-- 1 root staff 26323 May 13 19:24 ping-2009-05.txt

Install ping-Data.pl

See Installing ping_data.pl and traceroute.pl for PingER2
voyage:~/pinger-2.0.2# cd /usr/lib/cgi-bin/
voyage:/usr/lib/cgi-bin# wget 'http://www.slac.stanford.edu/comp/net/mon/tool/ping_data.pl'
--19:37:34--  http://www.slac.stanford.edu/comp/net/mon/tool/ping_data.pl
           => `ping_data.pl'
Resolving www.slac.stanford.edu... 134.79.18.163
Connecting to www.slac.stanford.edu|134.79.18.163|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20,023 (20K) [text/plain]

100%[====================================>] 20,023        50.42K/s

19:37:40 (50.30 KB/s) - `ping_data.pl' saved [20023/20023]
voyage:/usr/lib/cgi-bin# wget 'http://cgi-lib.berkeley.edu//cgi-lib.pl'
--19:38:39--  http://cgi-lib.berkeley.edu//cgi-lib.pl
           => `cgi-lib.pl'
Resolving cgi-lib.berkeley.edu... 128.32.236.14
Connecting to cgi-lib.berkeley.edu|128.32.236.14|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15,101 (15K) [text/plain]

100%[====================================>] 15,101        35.46K/s

19:38:40 (35.32 KB/s) - `cgi-lib.pl' saved [15101/15101]
#Edit the file as given in the instructions
voyage:/usr/lib/cgi-bin# vi ping_data.pl
voyage:/usr/lib/cgi-bin# chmod a+x ping_data.pl cgi-lib.pl

Install traceroute.pl

See Installing ping_data.pl and traceroute.pl for PingER2
voyage:/usr/lib/cgi-bin# wget 'http://www.slac.stanford.edu/comp/net/traceroute/traceroute.pl'
--21:26:21--  http://www.slac.stanford.edu/comp/net/traceroute/traceroute.pl
           => `traceroute.pl'
Resolving www.slac.stanford.edu... 134.79.18.163
Connecting to www.slac.stanford.edu|134.79.18.163|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 36,226 (35K) [text/plain]

100%[====================================>] 36,226        60.62K/s

21:26:22 (60.55 KB/s) - `traceroute.pl' saved [36226/36226]
voyage:/usr/lib/cgi-bin# chmod a+x traceroute.pl