ndt-users - Re: KNOPPIX NDT in Production
Subject: ndt-users list created
List archive
- From: Richard Carlson <>
- To: Phil Reese <>,
- Subject: Re: KNOPPIX NDT in Production
- Date: Thu, 28 Sep 2006 09:20:22 -0400
Hi Phil;
Thanks for the feedback. I agree that the basic KNOPPIX system is very easy to configure and use. I did hack the standard knoppix startup script to force the disk to scan for a knoppix.sh script during the boot process (myconfig=scan). I also included a knoppix.sh script in the /usr/local/etc directory. As you found, you can place this script on any mountable drive (local HD or removable drive) and the system will find it and execute the script.
I think the next step is for me to clean up a couple of the customization scripts I included on the CD and document the whole process.
2 additional comments.
You can use the "-A filename" option on the web100srv process to control the location of the admin.html page. Simply edit the /etc/init.d/ndt file and change the WEB100_OPTIONS line or create an /etc/ndt.conf file to set this parameter.
The "Protocol Error" message indicates the server failed to receive a message from the client. Most of the time this has been due to a bug in the web100 user library's IPv6 handling code. I patched that library and though it was fixed. Any debugging messages or instructions on how to duplicate this problem would be greatly appreciated.
Best Regards;
Rich
At 11:32 PM 9/27/2006, Phil Reese wrote:
I was happy to see the release of the KNOPPIX based NPTools disk! I've
run with this and the Stanford NDT server is running this in production now.
Using the thumb drive was pretty easy but I wanted to leave things alone
for a good long time, so I was pretty sure I'd exceed the capacity of
virtually any size thumb drive.
Instead I wanted to use the hard drive of the computer. This turned out
to be easier than I thought it would be.
What I ended up doing was looking closely at knoppix documentation.
Turns out there are a many interesting tools in knoppix. The one I used
was 'saveconfig'.
Basically, I configured up the basic knoppix server the way I wanted.
Got the time zone set correctly, set the static IP, created a new user
account, enabled sudo for that account, added a pword to the knoppix
user and the new user and edited /etc/init.d/ndt to include a startup of
iperf -s and to insure that /media/hda1 was mounted.
When all was the way I wanted it, I ran the 'saveconfig' script. This
created two files, knoppix.sh and configs.tbz.
In looking at the provided knoppix.sh file, I could see that the
majority of it was moving .conf files for NPTools disk into the right place.
What I did next was to bunzip2 the configs.tbz file and then tar -tvf on
it to see what files were in it. I only asked it to copy the Network
areas, so there were a small number of lines. I then used the original
knoppix.sh file to find the paths to the needed files. Next I made a
script for the few files, prefaced with 'tar -rpPf configs.tar (files to
add...)' this added the needed files to the configs.tar file. Then a
simple 'bzip2 configs.tar', then mv configs.tar.bz to configs.tbz.
Finally I added the lines to set the static IP to the end of the
knoppix.sh file.
On the root of the hard drive, usually /media/hda1, I put knoppix.sh and
configs.tbz. I also created a directory there to hold the fakewww.log
and web100srv.log files.
Time to reboot and see what happens. At the boot prompt I type:
knoppix nodhcp myconfig=/media/hda1
This started up everything!
One outstanding issue is getting the admin.html file to work right. It
seems like whatever creates the admin.html file expects that log files
to be in /usr/local/ndt. I've added links to the /media/hda1/knop/*.log
files, and it started working, though there are a couple of
peculiarities. First, the graphs seem to dump all the old data into the
RTT bin after a reboot and I've not worked out how to include the links
in the overall set up yet.
I've had this knoppix NDT running for about 5 days and had about 600
tests done. It failed with the following error:
In the test box, the test would begin and 'Checking for Middleboxes....
Protocol Error' would present followed by the usual: 'click START to
re-test', repeated attempts continue to present the 'protocol error'
message.
Hope this helps others who want to easily bring up a NDT server. The
live CD is a lot easier to get operational than doing it from scratch!
Thanks Rich!
Phil Reese
Stanford
------------------------------------
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
- KNOPPIX NDT in Production, Phil Reese, 09/27/2006
- Re: KNOPPIX NDT in Production, Richard Carlson, 09/28/2006
- "Protocol Error" with web100_userspace-1.6 [was: Re: KNOPPIX NDT in Production], Simon Leinen, 09/29/2006
- Re: KNOPPIX NDT in Production, Richard Carlson, 09/28/2006
Archive powered by MHonArc 2.6.16.