ndt-users - RE: NDT and CentOS 4.1- Fedora Core 4 NDT creation procedure
Subject: ndt-users list created
List archive
- From: Richard Carlson <>
- To: Martyn Cheatle <>, "'Pepmiller, Craig E.'" <>
- Cc:
- Subject: RE: NDT and CentOS 4.1- Fedora Core 4 NDT creation procedure
- Date: Tue, 11 Oct 2005 11:07:36 -0400
Hi Martyn;
This error message indicates that my start.ndt script isn't finding the csh shell environment. I'll also say that this script is quite old and simple and I'd recommend that you use the conf/ndt script instead. This script uses the standard start/stop/restart syntax so it's a little better for the start up process. Here's what I recommend now.
*) cd ndt-3.1.4 (or whatever version you have)
*) /bin/cp conf/ndt /etc/rc.d/init.d/ndt
*) /bin/chmod 755 /etc/rc.d/init.d/ndt
*) /etc/rc.d/init.d/ndt start (starts the NDT server processes)
Optionally, you can also get the system to automatically start the NDT processes at boot time by:
*) /sbin/chkconfig --add ndt
Hopefully this will fix the problem.
Rich
At 06:38 AM 10/11/2005, Martyn Cheatle wrote:
Followed your example, this is what happens when I try to start ndt
'nknown option: `-
Usage: csh [ -bcdefilmnqstvVxX ] [ argument ... ].
[root@localhost
conf]#
Regards
Martyn
----------
From: Pepmiller, Craig E.
[mailto:]
Sent: 10 October 2005 14:56
To:
Cc:
Subject: RE:NDT and CentOS 4.1- Fedora Core 4 NDT creation procedure
I have two NDT stations up using Fedora Core 4. Below is my overly documented installation method. It refers to an "NDT install CD" or "MOREnet NDT CD" that I have created. The CD has the latest Fedora patches to get to the 2.6.13 kernel, TCPDUMP (libcap-0.9.1-096 and tcpdump-3.9.1-096), Java SDK and the NDT tar file. With all the Fedora CD my total CD stack is at 10 CDs and it takes 6-8 hours to run through them. I am hoping to use Vector Linux (the install CD stack would only be 2 to 3) and eventually Puppy Linux and have it all on one bootable CD.
Have fun-
-Craig
MOREnet, NDT creation procedure
Linux
* Install Fedora Linux version 2.6.11
* Boot from CD provided for Fedora installation- CD obtained from <http://ibiblio.lsu.edu/main/distros/fedora/linux/core/4/i386/iso/>http://ibiblio.lsu.edu/main/distros/fedora/linux/core/4/i386/iso/ or <http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/iso/>http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/iso/
i. Use defaults unless otherwise instructed
ii. Select remove all partitions
iii. Select hostname - use DHCP if available
iv. Enable firewall
1. allow SSH, and Web.
v. Select time zone (probably America/Mexico City)
vi. Set root password
vii. Selecting the default on packages is ok.
* On rebooting
i. Agree to license
ii. Set up ndt username with a secure password
iii. No need to install 'Additional CDs'
iv. Login using root account and password
* Do not connect to or auto-update from network at this point
* Install Source for current version if possible (CDs provided for Linux 2.6.11, patch provided for Linux 2.6.12)
* While logged in as root insert Fedora Source code CD #1
i. CD provided - CD obtained from sources given above
* Navigate to /usr/local/src
i. Doubleclick on 'Computer'; 'Filesystem'; 'usr'; 'local'; 'src'
* Copy SRPMS folder to /usr/local/src
i. Doubleclick 'Computer'; 'CD Drive'
ii. Drag SRPMS folder from the CD to previously opened /usr/local/src
* Eject CD using desktop icon
* Repeat process with CDs 2, 3 and 4; 'replace' any duplicate files
* Use 'rpm' to install source code
i. Open terminal window by using the menu bar- Applications; System Tools; Terminal
ii. Navigate to SRPMS directory by 'cd /usr/local/src/SRPMS
iii. Install source code by using 'rpm -Uvh *.rpm' (or alternately rpmbuild -rebuild * )
* Load latest kernel source (2.6.12) NDT/Web100 accepted release (source obtained from <http://www.kernel.org/>www.kernel.org)
i. From the NDT install CD extract /latest/linux-2.6.12.3.tar.bz2 into /usr/src/kernels/linux-2.6.12-web100
ii.
* Auto update (optional untested step)
* Assign IP address
* Connect to network
* Goto http:_______________
Patch system in preparation for NDT
* Note: All required files are on the MOREnet NDT CD in the latest folder
* Install libpcap (libpcap archive obtained from www.tcpdump.org)
* Create directory /usr/src/libpcap
* Extract libpcap archive from the NDT-Setup CD into /usr/src/libpcap
* In a terminal window change directory to the extracted libpcap folder (probably /usr/src/libpcap/libpcap-0.91)
* Run ./configure
* Run make
* Change to superuser using su
* Run make install
* Run make clean
* You may close the terminal window
* Install Web100 patch (software obtained from <http://www.web100.org/>www.web100.org, reference instructions at http://www.web100.org/download/kernel/alpha2.4.0/Install.web100 )
* Create directory /usr/src/web100
* Extract web100 patch (web100-2.5.3-200503022351.tar.gz.tar) from the NDT Setup CD into /usr/src/web100
* Extract web 100 user library (web100_userland-1.5.tar.gz.tar) from the NDT Setup CD into /usr/src/web100/web100lib
* Install the library
i. In a terminal window change directory to /usr/src/web100/web100lib
ii. Run ./configure
iii. Run make
iv. Run make install
v. Run make clean
* Change directory to /usr/src/kernels
* Find latest kernel folder (should be Linux-2.6.12.3)
* Copy the folder to a new folder named 2.6.12-web100
* Open a terminal window for the next steps
* Make a symbolic link to the new folder using
i. Run rm -rf /usr/src/linux
ii. Run ln -s /usr/src/kernels/linux-2.6.12-web100 /usr/src/linux
* Change directory to /usr/src/linux and display the contents (ls) to be sure that the symbolic link is correct.
* Patch the linux kernel using
i. su
ii. patch -p1 < /usr/src/web100/web100/web100-2.6.12-2.5.4-200506201452.patch
* run make mrproper
* run make menuconfig
* this brings up a Linux Kernel Configuration menu
i. at Code maturity level options press enter (select) make sure that there is an * on the Prompt line
ii. use the arrow key to move to Exit and press enter
iii. use the down arrow key to move to Device Drivers
iv. press enter (select)
v. use the down arrow key to move to Networking Support
vi. press enter (select)
vii. use the down arrow key to move to Networking Options
viii. press enter (select)
ix. use the down arrow key to move to IP: Web100 networking enhancements
x. press y to place an * by IP: Web100 networking enhancements
xi. press enter (select)
xii. use the down arrow key and type y to put an * in all available selections.
xiii. Use the exit selection (arrow key and enter) multiple times until you exit the menu system and are prompted to save the new kernel configuration
xiv. Save by pressing enter when the Yes is highlighted
* Run make dep
* Run make to compile the new kernel (this takes a long time)
* Run make modules
* Run make modules_install
* Run make install
* Prepare to reboot the system
* Run gedit /etc/grub.conf
* Change the default=1 line to default=0
* Save and close the file
* Restart the machine (can use the menu system Desktop->Log Out)
Install NDT
* Add /usr/local/lib (place where libpcap and libweb100 were installed) to the link library by
* Open a terminal window
* Run echo /usr/local/lib >> /etc/ld.so.conf
* Run /sbin/ldconfig
* Install the Java Software Development kit
* Edit .bashrc in /root to add
i. export PATH=/usr/local/j2sdk1.4.2_08/bin:$PATH
* Copy j2sdk-1_4_2_08-linux-i586.bin from the /latest directory on the NDT_install_CD to /usr/local
* In a terminal window change directory to /usr/local and run 2sdk-1_4_2_08-linux-i586.bin
i. Type yes to the license agreement prompt
* Extract ndt-3.1.4a.tar.tar from the /latest directory on the NDT_install_CD to /usr/local
i. Find the Applet directory within the extracted files and extract the TCPbw100.jar into the same Applet directory
* In a terminal window change directory to /usr/local/ndt-3.1.4
i. Run ./configure
ii. Run make
iii. Run make install
iv. Run conf/create-html.sh and follow the prompts to make the test point web page
v. Edit the conf/start.ndt script to add the following lines after the first line of the file:
iptables -N NDT
iptables -A NDT -p tcp --dport 7123 -j ACCEPT
iptables -A NDT -p tcp --dport 3001 -j ACCEPT
iptables -A NDT -p tcp --dport 3002 -j ACCEPT
iptables -A NDT -p tcp --dport 3003 -j ACCEPT
iptables -A NDT -p tcp --sport 3001 -j ACCEPT
iptables -A NDT -p tcp --sport 3002 -j ACCEPT
iptables -A NDT -p tcp --sport 3003 -j ACCEPT
iptables -I INPUT 1 -j NDT
Run NDT
* Reboot machine and login as root
* Change directory to /usr/local/ndt-3.1.4
* Start NDT by conf/start.ndt
* Use the system tools menu to check for correct network port and ip configuration
-----Original Message-----
From: Martyn Cheatle
[mailto:]
Sent: Monday, October 10, 2005 6:50 AM
To: 'Mike Iglesias';
''
Subject: RE: NDT and CentOS 4.1
OK I have not managed to get this working with CentOS so have downloaded and
installed Fedora Core 4, at the minute it does not have kernel 2.6.13 on and
I'm guessing that up2date will put the latest on for me, after that do I
just follow the instructions below?
Regards
Martyn
The contents of this email and any attachments are sent for the personal attention
of the addressee(s) only and may be confidential. If you are not the intended
addressee, any use, disclosure or copying of this email and any attachments is
unauthorised - please notify the sender by return and delete the message. Any
representations or commitments expressed in this email are subject to contract.
ntl Group Limited
------------------------------------
Richard A. Carlson e-mail:
Network Engineer phone: (734) 352-7043
Internet2 fax: (734) 913-4255
1000 Oakbrook Dr; Suite 300
Ann Arbor, MI 48104
- RE:NDT and CentOS 4.1- Fedora Core 4 NDT creation procedure, Pepmiller, Craig E., 10/10/2005
- <Possible follow-up(s)>
- RE: NDT and CentOS 4.1- Fedora Core 4 NDT creation procedure, Martyn Cheatle, 10/11/2005
- Message not available
- RE: NDT and CentOS 4.1- Fedora Core 4 NDT creation procedure, Richard Carlson, 10/11/2005
- Message not available
Archive powered by MHonArc 2.6.16.