NIST Net is implemented as a kernel module
extension to the Linux operating system and an X Window System-based user
interface application.This package allows two kinds of interface one of which is
a graphical user interface.
Before you try to install NIST Net, first
make sure you can build and install usable kernels:
To do that follow the following steps:
Go to
cd /usr/src/linux
make config (or menuconfig/xconfig)
make
make modules
make install
make modules_install
reboot
- make sure new kernel boots properly
WARNING:
Make sure you do this before you recompile the
kernel, else you will get a lot of warnings
1 Make sure time and date set on your computer
is correct. Use the command
> date MMDDhhmmYY
to set the appropriate date and time
2. Set the hardware clock to the current system time with the
command:
> hwclock --systohc
Install the
fast timer kernel patches:
Run:
./Patch.Kernel
- to
install all the kernel patches
WARNING:
Make sure
the patches install correctly! Messages like "offset 2 lines" or "with fuzz 2"
are ok; but things like "Hunk 1 FAILED" or "misordered hunks" are not. If some
of the patches fail, your kernel is pretty much guaranteed not to
work.
Now, configure and
build the patched kernel:
cd
/usr/src/linux
make config
(or menuconfig/xconfig)
-
say "y" to CONFIG_FAST_TIMER (at end, under "kernel hacks")*
make dep
make install
cd nistnet
edit Imakefile
cd nistnet/monitor
edit Imakefile
xmkmf -a
- creates customized Makefiles.
Build and install the nistnet module, API library,
and user interface
cd
nistnet
make
make install
Try things out:
insmod nistnet
- loads "nistnet" emulator module into
kernel
xnistnet
- runs
(X-based) user interface
cnistnet -h
Information of other commands can be accessed by going to the following
link:
http://www.itl.nist.gov/div892/itg/carson/nistnet/install.html
Commands: