3 CRCN USER GUIDE

3.1 Installation

3.1.1 NS2 components

Step 1: Make sure your system meets the system requirements.

Step 2 : Download crcn.zip.

Step 3 : Make sure that your ns can be called from any directory.

Step 4:  Unzip the crcn.zip.  Copy the files under each subfolders in crcn into the corresponding folders in XXX/ns-allinone-2.31/ns-2.31/. For example, copy the files under crcn/mac/ into XXX/ns-allinone-2.31/ns-2.31/mac/. Please note that it will overwrite some of your ns file in the same directory. Thus, backup the ns directory before executing this command. 

Step 5: Add the following three lines in the Makefile, which is under XXX/ns-allinone-2.31/ns-2.31/.

            wcett/wcett_logs.o wcett/wcett.o \

            wcett/wcett_rtable.o wcett/wcett_rqueue.o \

            mac/macng.o mac/maccon.o \

Step 6:  Run the following commands under XXX/ns-allinone-2.31/ns-2.31/ directory:

              ./configure

              make clean

              make depend

              make

 

Users can use the NS2 components without using the GUI.

3.1.2 GUI

Step 1: Install the java JRE version 6(or JDE) or above under linux from http://www.java.com/en/download/manual.jsp .

Step 2: Install the gnuplot from http://www.gnuplot.info/ .

Step 3: Put throughput.pl under your ns working directory XXX/ns-allinone-2.31/ns-2.31/.

Step 4: Run CRCN.jar. Or type in “./CRCN.jar” in command window under the directory where CRCN.jar is saved. In the second method, you are able to observe the simulation errors through command window.

Step 5: Refer to CRCN GUI guide to run the GUI if you want to use this GUI.

 

 

Previous: CR MAC Support Detail        Next: Exemplary Demonstrations  20

Return to Main…