Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Rich Carlson suggested to run the create-html.sh script :

...

- initially it complained that it could not find the tcpbw100.template file. it can be found in the package distro - so copied it to /opt/ndt/current/conf

...

and ran the create-html.sh file again. It creates the file: /opt/ndt/current/conf/tcpbw100.html:

No Format

[ytl@nettest5:/opt/ndt/current/conf]$ ./create-html.sh 
Welcome to the 
Welcome to the NDT server configuration program.  This
program will create a custom tcpbw100.html file for your site.

Enter your site name [Internet2]  : SLAC
Enter your site's location [Ann Arbor - MI]  : Menlo Park - CA
Server connection info, enter 1 for 100 Mbps, 2 for 1 Gbps [2]  : 2

Information for email trouble reporting
Enter email userid [rcarlson]  : ytl 
Enter email domain name [internet2.edu]  : slac.stanford.edu
Enter default subject line [Trouble report from nettest5]  : [NDT] Trouble Report
The base web      
/bin/sed: can't read tcpbw100.template: No such file or directory
The base web page 'tcpbw100page 'tcpbw100.html' has now been created.  You
must move this file into the ndt_DATA directory [/usr/local/ndt]
created during the 'make' process.
Do you want to install this file now? [yes]  : y 
Enter location [/usr/local/ndt]  : /opt/ndt/current/

The init.d services can be installed with the conf/autostart.sh script:

noformat
ytl@nettest5:/opt/ndt/current/conf$ sudo ./autostart.sh
This script will configure your system to automatically
start the NDT processes at boot time.

ndt 0:off 1:off 2:on 3:on 4:on 5:on 6:off
noformat

i've tried putting the html file in /opt/ndt/current/, /opt/ndt/current/sbin, /opt/ndt/current/conf but no luck. the web page still cames up with 'The requested file not found'.

Created a profile.d file to export the NDT variables etc.

Code Block
title/etc/profile.d/ndt.sh

# NDT stuff - Yee 28th Aug 2006
export NDT_BASE=/opt/ndt/current
export PATH=$PATH:$NDT_BASE/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$NDT_BASE/lib