Sunteți pe pagina 1din 11

libxext6 libxmu-headers libxt-dev m4

How To: Install andx11proto-core-dev


x11proto-input-dev
Run
Networkx11proto-kb-dev
Simulator (NS2) v2.35 x11proto-xext-dev xorg-sgml-doctools
xtrans-dev
on Ubuntu 10.04
Open up a terminal shell and run this command: Suggested packages:
apt-get install build-essential autoconf automake libxmudev xgraph

OUTPUT:
staff@IT-1:~$ SU
SU: command not found
staff@IT-1:~$ su
Password:

autoconf2.13 autoconf-archive gnustandards autoconf-doc libtool debiankeyring


g++-multilib libxcb-doc ygraph

root@IT-1:/home/staff# apt-get installThe following NEW packages will be


build-essential
autoconf
automakeinstalled:
libxmu-dev xgraph
autoconf automake autotools-dev buildessential dpkg-dev fakeroot g++
Reading package lists... Done
Building dependency tree
Reading state information... Done

libalgorithm-diff-perl libalgorithm-diffxs-perl libalgorithm-merge-perl libdpkgperl

The following extra packages will be libice-dev libpthread-stubs0 libpthreadstubs0-dev libsm-dev libx11-dev libx11installed:
doc
autotools-dev dpkg-dev fakeroot g++
libalgorithm-diff-perl libalgorithm-diff- libxau-dev libxcb1-dev libxdmcp-dev
libxext-dev libxmu-dev libxmu-headers
xs-perl
libxt-dev m4
libalgorithm-merge-perl libdpkg-perl
libice-dev libpthread-stubs0 libpthread- x11proto-core-dev x11proto-input-dev
x11proto-kb-dev
x11proto-xext-dev
stubs0-dev
xgraph
libsm-dev libx11-6 libx11-dev libx11doc libxau-dev libxcb1-dev libxdmcp- xorg-sgml-doctools xtrans-dev
dev libxext-dev

The following
upgraded:

packages

will

beInstall
these
packages
verification [y/N]? y

without

libx11-6 libxext6

Get:1
http://10.0.1.23/in.archive.ubuntu.com/ub
2 upgraded, 32 newly installed, 0 tountu/ precise-updates/main libx11-6 i386
remove and 272 not upgraded.
2:1.4.99.1-0ubuntu2.3 [770 kB]
Need to get 8,344 kB of archives.

Get:2
http://10.0.1.23/in.archive.ubuntu.com/ub
After this operation, 26.6 MB ofuntu/ precise-updates/main libxext6 i386
additional disk space will be used.
2:1.3.0-3ubuntu0.2 [34.3 kB]
Do you want to continue [Y/n]? y

Get:3
http://10.0.1.23/in.archive.ubuntu.com/ub
WARNING: The following packagesuntu/ precise/main m4 i386 1.4.16cannot be authenticated!
2ubuntu1 [195 kB]
libx11-6 libxext6 m4 autoconfGet:4
autotools-dev automake g++ libdpkg-perlhttp://10.0.1.23/in.archive.ubuntu.com/ub
dpkg-dev
untu/ precise/main autoconf all 2.681ubuntu2 [560 kB]
build-essential fakeroot libalgorithmdiff-perl libalgorithm-diff-xs-perl
Get:5
http://10.0.1.23/in.archive.ubuntu.com/ub
libalgorithm-merge-perl xorg-sgml-untu/ precise/main autotools-dev all
doctools x11proto-core-dev libice-dev20120210.1ubuntu1 [42.4 kB]
libpthread-stubs0
Get:6
libpthread-stubs0-dev libsm-dev libxau-http://10.0.1.23/in.archive.ubuntu.com/ub
dev libxdmcp-dev x11proto-input-devuntu/ precise/main automake all 1:1.11.3x11proto-kb-dev
1ubuntu2 [571 kB]
xtrans-dev libxcb1-dev libx11-devGet:7
libx11-doc x11proto-xext-dev libxext-http://10.0.1.23/in.archive.ubuntu.com/ub
dev libxt-dev
untu/ precise/main g++ i386 4:4.6.31ubuntu5 [1,444 B]
libxmu-headers libxmu-dev xgraph
Get:8
http://10.0.1.23/in.archive.ubuntu.com/ub

untu/ precise-updates/main libdpkg-perluntu/ precise-updates/main x11protoall 1.16.1.2ubuntu7.7 [181 kB]


core-dev all 7.0.22-1ubuntu0.2 [301 kB]
Get:9
Get:17
http://10.0.1.23/in.archive.ubuntu.com/ub http://10.0.1.23/in.archive.ubuntu.com/ub
untu/ precise-updates/main dpkg-dev alluntu/ precise/main libice-dev i386
1.16.1.2ubuntu7.7 [469 kB]
2:1.0.7-2build1 [130 kB]
Get:10
Get:18
http://10.0.1.23/in.archive.ubuntu.com/ub http://10.0.1.23/in.archive.ubuntu.com/ub
untu/
precise-updates/main
build-untu/ precise/main libpthread-stubs0 i386
essential i386 11.5ubuntu2.1 [5,796 B] 0.3-3 [3,264 B]
Get:11
Get:19
http://10.0.1.23/in.archive.ubuntu.com/ub http://10.0.1.23/in.archive.ubuntu.com/ub
untu/ precise/main fakeroot i386 1.18.2-1untu/ precise/main libpthread-stubs0-dev
[87.9 kB]
i386 0.3-3 [2,860 B]
Get:12
Get:20
http://10.0.1.23/in.archive.ubuntu.com/ub http://10.0.1.23/in.archive.ubuntu.com/ub
untu/ precise/main libalgorithm-diff-perluntu/ precise/main libsm-dev i386
all 1.19.02-2 [50.7 kB]
2:1.2.0-2build1 [88.3 kB]
Get:13
Get:21
http://10.0.1.23/in.archive.ubuntu.com/ub http://10.0.1.23/in.archive.ubuntu.com/ub
untu/ precise/main libalgorithm-diff-xs-untu/ precise/main libxau-dev i386
perl i386 0.04-2build2 [12.9 kB]
1:1.0.6-4 [10.2 kB]
Get:14
Get:22
http://10.0.1.23/in.archive.ubuntu.com/ub http://10.0.1.23/in.archive.ubuntu.com/ub
untu/ precise/main libalgorithm-merge-untu/ precise/main libxdmcp-dev i386
perl all 0.08-2 [12.7 kB]
1:1.1.0-4 [26.5 kB]
Get:15
Get:23
http://10.0.1.23/in.archive.ubuntu.com/ub http://10.0.1.23/in.archive.ubuntu.com/ub
untu/ precise/main xorg-sgml-doctoolsuntu/ precise-updates/main x11protoall 1:1.10-1 [12.0 kB]
input-dev all 2.3-1~precise2 [137 kB]
Get:16
Get:24
http://10.0.1.23/in.archive.ubuntu.com/ub http://10.0.1.23/in.archive.ubuntu.com/ub

untu/ precise/main x11proto-kb-dev alluntu/ precise/main libxmu-headers all


1.0.5-2 [27.6 kB]
2:1.1.0-3 [56.4 kB]
Get:25
Get:33
http://10.0.1.23/in.archive.ubuntu.com/ub http://10.0.1.23/in.archive.ubuntu.com/ub
untu/ precise/main xtrans-dev all 1.2.6-2untu/ precise/main libxmu-dev i386
[82.9 kB]
2:1.1.0-3 [58.2 kB]
Get:26
Get:34
http://10.0.1.23/in.archive.ubuntu.com/ub http://10.0.1.23/in.archive.ubuntu.com/ub
untu/ precise-updates/main libxcb1-devuntu/ precise/universe xgraph i386 12.1i386 1.8.1-1ubuntu0.2 [82.6 kB]
15 [91.4 kB]
Get:27
Fetched 8,344 kB in 0s (9,412 kB/s)
http://10.0.1.23/in.archive.ubuntu.com/ub
untu/ precise-updates/main libx11-devExtracting templates from packages:
i386 2:1.4.99.1-0ubuntu2.3 [895 kB]
100%
Get:28
(Reading database ... 194463 files and
http://10.0.1.23/in.archive.ubuntu.com/ub directories currently installed.)
untu/ precise-updates/main libx11-doc all
2:1.4.99.1-0ubuntu2.3 [2,433 kB]
Preparing to replace libx11-6 2:1.4.99.10ubuntu2.2
(using
.../libx11Get:29
6_2%3a1.4.99.1-0ubuntu2.3_i386.deb) ...
http://10.0.1.23/in.archive.ubuntu.com/ub
untu/ precise-updates/main x11proto-Unpacking replacement libx11-6 ...
xext-dev all 7.3.0-1~precise2 [277 kB]
Preparing to replace libxext6 2:1.3.0Get:30
3ubuntu0.1
(using
http://10.0.1.23/in.archive.ubuntu.com/ub .../libxext6_2%3a1.3.0untu/ precise-updates/main libxext-dev3ubuntu0.2_i386.deb) ...
i386 2:1.3.0-3ubuntu0.2 [160 kB]
Unpacking replacement libxext6 ...
Get:31
http://10.0.1.23/in.archive.ubuntu.com/ub Selecting previously unselected package
untu/ precise-updates/main libxt-dev i386m4.
1:1.1.1-2ubuntu0.1 [473 kB]
Unpacking m4 (from .../m4_1.4.16Get:32
2ubuntu1_i386.deb) ...
http://10.0.1.23/in.archive.ubuntu.com/ub

Selecting previously unselected packageSelecting previously unselected package


autoconf.
build-essential.
Unpacking
autoconf
(fromUnpacking build-essential (from .../build.../autoconf_2.68-1ubuntu2_all.deb) ... essential_11.5ubuntu2.1_i386.deb) ...
Selecting previously unselected packageSelecting previously unselected package
autotools-dev.
fakeroot.
Unpacking
autotools-dev
(fromUnpacking
fakeroot
(from
.../autotools.../fakeroot_1.18.2-1_i386.deb) ...
dev_20120210.1ubuntu1_all.deb) ...
Selecting previously unselected package
Selecting previously unselected packagelibalgorithm-diff-perl.
automake.
Unpacking
libalgorithm-diff-perl
Unpacking
automake
(from(from .../libalgorithm-diff-perl_1.19.02.../automake_1%3a1.11.32_all.deb) ...
1ubuntu2_all.deb) ...
Selecting previously unselected package
Selecting previously unselected packagelibalgorithm-diff-xs-perl.
g++.
Unpacking
libalgorithm-diff-xs-perl
Unpacking
g++
(from
.../g+(from .../libalgorithm-diff-xs-perl_0.04+_4%3a4.6.3-1ubuntu5_i386.deb) ...
2build2_i386.deb) ...
Selecting previously unselected packageSelecting previously unselected package
libdpkg-perl.
libalgorithm-merge-perl.
Unpacking
libdpkg-perl
(fromUnpacking
libalgorithm-merge-perl
.../libdpkg(from .../libalgorithm-merge-perl_0.08perl_1.16.1.2ubuntu7.7_all.deb) ...
2_all.deb) ...
Selecting previously unselected packageSelecting previously unselected package
dpkg-dev.
xorg-sgml-doctools.
Unpacking dpkg-dev (from .../dpkg-Unpacking
xorg-sgml-doctools
dev_1.16.1.2ubuntu7.7_all.deb) ...
(from .../xorg-sgml-doctools_1%3a1.101_all.deb) ...

Selecting previously unselected package


x11proto-core-dev.
Unpacking
libxdmcp-dev
(from
.../libxdmcp-dev_1%3a1.1.0-4_i386.deb)
Unpacking x11proto-core-dev (from...
.../x11proto-core-dev_7.0.221ubuntu0.2_all.deb) ...
Selecting previously unselected package
x11proto-input-dev.
Selecting previously unselected package
libice-dev.
Unpacking x11proto-input-dev (from
.../x11proto-input-dev_2.3Unpacking libice-dev (from .../libice-1~precise2_all.deb) ...
dev_2%3a1.0.7-2build1_i386.deb) ...
Selecting previously unselected package
Selecting previously unselected packagex11proto-kb-dev.
libpthread-stubs0.
Unpacking
x11proto-kb-dev
(from
Unpacking
libpthread-stubs0
(from.../x11proto-kb-dev_1.0.5-2_all.deb) ...
.../libpthread-stubs0_0.3-3_i386.deb) ...
Selecting previously unselected package
Selecting previously unselected packagextrans-dev.
libpthread-stubs0-dev.
Unpacking xtrans-dev (from .../xtransUnpacking
libpthread-stubs0-devdev_1.2.6-2_all.deb) ...
(from
.../libpthread-stubs0-dev_0.33_i386.deb) ...
Selecting previously unselected package
libxcb1-dev.
Selecting previously unselected package
libsm-dev.
Unpacking libxcb1-dev (from .../libxcb1dev_1.8.1-1ubuntu0.2_i386.deb) ...
Unpacking libsm-dev (from .../libsmdev_2%3a1.2.0-2build1_i386.deb) ...
Selecting previously unselected package
libx11-dev.
Selecting previously unselected package
libxau-dev.
Unpacking libx11-dev (from .../libx11dev_2%3a1.4.99.1-0ubuntu2.3_i386.deb)
Unpacking libxau-dev (from .../libxau-...
dev_1%3a1.0.6-4_i386.deb) ...
Selecting previously unselected package
Selecting previously unselected packagelibx11-doc.
libxdmcp-dev.

Unpacking libx11-doc (from .../libx11-Unpacking xgraph (from .../xgraph_12.1doc_2%3a1.4.99.115_i386.deb) ...


0ubuntu2.3_all.deb) ...
Processing triggers for install-info ...
Selecting previously unselected package
x11proto-xext-dev.
Processing triggers for man-db ...
Unpacking x11proto-xext-dev
.../x11proto-xext-dev_7.3.01~precise2_all.deb) ...

(fromProcessing triggers for doc-base ...


Processing 1 added doc-base file...

Selecting previously unselected packageSetting


up
libxext-dev.
0ubuntu2.3) ...
Unpacking libxext-dev (from .../libxext-Setting
up
dev_2%3a1.3.0-3ubuntu0.2_i386.deb) ... 3ubuntu0.2) ...

libx11-6
libxext6

(2:1.4.99.1(2:1.3.0-

Selecting previously unselected packageSetting up m4 (1.4.16-2ubuntu1) ...


libxt-dev.
Setting up autoconf (2.68-1ubuntu2) ...
Unpacking libxt-dev (from .../libxtdev_1%3a1.1.1-2ubuntu0.1_i386.deb) ... Setting
up
autotools-dev
(20120210.1ubuntu1) ...
Selecting previously unselected package
libxmu-headers.
Setting up automake (1:1.11.3-1ubuntu2)
...
Unpacking
libxmu-headers
(from
.../libxmu-headers_2%3a1.1.0update-alternatives:
using
3_all.deb) ...
/usr/bin/automake-1.11
to
provide
/usr/bin/automake (automake) in auto
Selecting previously unselected packagemode.
libxmu-dev.
Setting up g++ (4:4.6.3-1ubuntu5) ...
Unpacking libxmu-dev (from .../libxmudev_2%3a1.1.0-3_i386.deb) ...
update-alternatives: using /usr/bin/g++ to
provide /usr/bin/c++ (c++) in auto mode.
Selecting previously unselected package
xgraph.
Setting
up
libdpkg-perl
(1.16.1.2ubuntu7.7) ...

Setting
up
(1.16.1.2ubuntu7.7) ...
Setting
up
(11.5ubuntu2.1) ...

dpkg-devSetting up x11proto-input-dev
1~precise2) ...

(2.3-

build-essentialSetting up x11proto-kb-dev (1.0.5-2) ...


Setting up xtrans-dev (1.2.6-2) ...

Setting up fakeroot (1.18.2-1) ...


Setting
up
libxcb1-dev
(1.8.1update-alternatives:
using1ubuntu0.2) ...
/usr/bin/fakeroot-sysv
to
provide
/usr/bin/fakeroot (fakeroot) in auto mode. Setting up libx11-dev (2:1.4.99.10ubuntu2.3) ...
Setting
up
libalgorithm-diff-perl
(1.19.02-2) ...
Setting up libx11-doc (2:1.4.99.10ubuntu2.3) ...
Setting
up
libalgorithm-diff-xs-perl
(0.04-2build2) ...
Setting up x11proto-xext-dev (7.3.01~precise2) ...
Setting up libalgorithm-merge-perl (0.082) ...
Setting
up
libxext-dev
(2:1.3.03ubuntu0.2) ...
Setting up xorg-sgml-doctools (1:1.101) ...
Setting up libxt-dev (1:1.1.1-2ubuntu0.1)
...
Setting up x11proto-core-dev (7.0.221ubuntu0.2) ...
Setting up libxmu-headers (2:1.1.0-3) ...
Setting up libice-dev (2:1.0.7-2build1) ... Setting up libxmu-dev (2:1.1.0-3) ...
Setting up libpthread-stubs0 (0.3-3) ...

Setting up xgraph (12.1-15) ...

Setting up libpthread-stubs0-dev (0.3-Processing triggers for libc-bin ...


3) ...
ldconfig deferred processing now taking
Setting up libsm-dev (2:1.2.0-2build1) ... place
Setting up libxau-dev (1:1.0.6-4) ...

root@IT-1:/home/staff#

Setting up libxdmcp-dev (1:1.1.0-4) ...

Extract the downloaded NS package either using


the right click context menu (GUI Ubuntu) or

using the following command from a terminalns-allinone-2.35/dei80211mr-1.1.4/src/rateadapter.h


shell.
ns-allinone-2.35/dei80211mr-1.1.4/src/mac-timersmr.cc
This will be sone in student uer only
tar -xvzf ns-allinone-2.35.tar.gz

ns-allinone-2.35/dei80211mr-1.1.4/src/ra-snr.cc

OUTPUT:

ns-allinone-2.35/install

root@IT-1:/home/staff# tar -xvzf ns-allinone-2.35.tar.gz


ns-allinone-2.35/dei80211mr-1.1.4/src/adt/DLList.h
ns-allinone-2.35/dei80211mr-1.1.4/src/adt/Object.h
ns-allinone-2.35/dei80211mr-1.1.4/src/rbar.cc
ns-allinone-2.35/dei80211mr-1.1.4/src/Makefile.am
ns-allinone-2.35/dei80211mr-1.1.4/src/wirelesschannelpa.h
ns-allinone-2.35/dei80211mr-1.1.4/src/phymodes.h
ns-allinone-2.35/dei80211mr-1.1.4/src/libinit.cc
ns-allinone-2.35/dei80211mr1.1.4/src/peerstatsdb_static.h

Go to the directory of where you have extracted


the package and install NS2 using the following
command:
cd ns-allinone-2.35
./install

OUTPUT:
root@IT-1:/home/staff# cd ns-allinone-2.35
root@IT-1:/home/staff/ns-allinone-2.35#
root@IT-1:/home/staff/ns-allinone-2.35# ./install

Ns-allinone package has been installed successfully.


Here are the installation places:

ns-allinone-2.35/dei80211mr-1.1.4/src/peerstats.cc

tcl8.5.10:
/home/staff/ns-allinone-2.35/
{bin,include,lib}

ns-allinone-2.35/dei80211mr1.1.4/src/test_power_profile.cc

tk8.5.10:
2.35/{bin,include,lib}

ns-allinone-2.35/dei80211mr-1.1.4/src/rbar.h

/home/staff/ns-allinone-

otcl:
ns-allinone-2.35/dei80211mr-1.1.4/src/wireless-phymr.cc 1.14

/home/staff/ns-allinone-2.35/otcl-

tclcl:
1.20

/home/staff/ns-allinone-2.35/tclcl-

ns:
2.35/ns

/home/staff/ns-allinone-2.35/ns-

ns-allinone-2.35/dei80211mr-1.1.4/src/ra-snr.h
ns-allinone-2.35/dei80211mr-1.1.4/src/mac-802_11mr.cc
ns-allinone-2.35/dei80211mr1.1.4/src/Mac80211EventHandler.h
ns-allinone-2.35/dei80211mr-1.1.4/src/PER.h

nam:

/home/staff/ns-allinone-2.35/nam-1.15/nam

ns-allinone-2.35/dei80211mr-1.1.4/src/power_profile.h

xgraph: /home/staff/ns-allinone-2.35/xgraph-12.2

ns-allinone-2.35/dei80211mr-1.1.4/src/mac-timersmr.h

gt-itm:
/home/staff/ns-allinone-2.35/itm, edriver,
sgb2alt, sgb2ns, sgb2comns, sgb2hierns

ns-allinone-2.35/dei80211mr-1.1.4/src/PER.cc
ns-allinone-2.35/dei80211mr-1.1.4/src/papropagation.h
ns-allinone-2.35/dei80211mr1.1.4/src/per_table_80211b_intersil_HFA3861B.tcl

---------------------------------------------------------------------------------

After these steps, you can now run the ns validation


suite with
Please
put
/home/staff/ns-allinone2.35/bin:/home/staff/ns-allinonecd ns-2.35; ./validate
2.35/tcl8.5.10/unix:/home/staff/ns-allinone2.35/tk8.5.10/unix
into your PATH environment; so that you'll be ableFor trouble shooting, please first read ns problems
to run itm/tclsh/wish/xgraph.
page
http://www.isi.edu/nsnam/ns/ns-problems.html. Also
search the ns mailing list archive
IMPORTANT NOTICES:
for related posts.

Now that NS2 is installed, there are some

(1) You MUST put /home/staff/ns-allinone-2.35/otcl- environment variables that need to be added to
1.14, /home/staff/ns-allinone-2.35/lib,
your profile. This can be done by editing the

.bashrc file. Be sure to change /path/to to the

into your LD_LIBRARY_PATH environment


path of where you have extracted NS2.
variable.

Open the file using: gedit ~/.bashrc


at the end of
If it complains about X libraries, add path to your following

and the
the file:

X libraries

#
LD_LIBRARY_PATH
OTCLLIB=/home/student/ns-allinone-2.35/otcl-1.14
into LD_LIBRARY_PATH.
NS2=/home/student/ns-allinone-2.35/lib
USR_LocalLIB=/usr/local/lib
If you are using csh, you can set it like:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
$OTCLLIB:$NS2:$USR_LocalLIB
setenv
LD_LIBRARY_PATH#
TCL_LIBRARY
TCLIB=/home/student/ns-allinone-2.35/tcl8.5.10/library
<paths>
USRLIB=/usr/lib
export
TCL_LIBRARY=$TCLIB:$USRLIB
If you are using sh, you can set it like:
#
PATH
XGRAPH=/home/student/ns-allinone-2.35/xgraphexport
12.2/:/home/student/ns-allinoneLD_LIBRARY_PATH=<paths>
2.35/bin:/home/student/ns-allinone2.35/tcl8.5.10/unix:/home/student/ns-allinone2.35/tk8.5.10/unix
NS=/home/student/ns-allinone-2.35/ns-2.35/
(2) You MUST put /home/staff/ns-allinone-NAM=/home/student/ns-allinone-2.35/nam-1.15/
2.35/tcl8.5.10/library into your TCL_LIBRARYexport PATH=$PATH:$XGRAPH:$NS:$NAM

environmental

You need to validate NS2 to check if everything


is ok but beware that it will take lots of time:

variable. Otherwise ns/nam will complain during


startup.
cd ns-2.35
./validate

OUTPUT:
root@IT-1:/home/staff/ns-allinone-2.35# nano ~/.bashrc

root@IT-1:/home/staff/ns-allinone-2.35# cd ns-2.35
root@IT-1:/home/staff/ns-allinone-2.35/ns-2.35#
root@IT-1:/home/staff/ns-allinone-2.35/ns-2.35#
./validate

statsECN stats1 stats1Bytes stats1a


statsHeaders stats2 stats3 stats4 statsTFRC

ln -s /home/student/ns-allinpne-2.35/ns-2.35/ns /usr/bin/ns

OUTPUT:
root@IT-1:/home/staff# ln -s /home/student/ns-allinpne2.35/ns-2.35/ns /usr/bin/ns

stats1aBytes root@IT-1:/home/staff#

Running test tahoe1:


../../ns test-suite-simple.tcl tahoe1 QUIET
Guide: Tahoe TCP with multiple packets dropped from a
window of data.
True average queue: 0.425 time: 4.997
Test output agrees with reference output
Running test tahoe1Bytes:
../../ns test-suite-simple.tcl tahoe1Bytes QUIET
Guide: DropTail queue in bytes instead of packets.
True average queue: 425.245 (in bytes) time: 4.997
Test output agrees with reference output
Running test tahoe1RED:
../../ns test-suite-simple.tcl tahoe1RED QUIET
Guide: RED queue, configured for 5 packets instead of
DropTail's 6 packets.
True average queue: 0.425 time: 4.997
Test output agrees with reference output
Running test tahoe1REDbytes:
../../ns test-suite-simple.tcl tahoe1REDbytes QUIET
Guide: RED queue in bytes.
True average queue: 425.245 (in bytes) time: 4.997
Test output agrees with reference output

Now if you want to start NS2 directly without


going into the directory every time, it is useful
to create a symbolic link from a terminal:

And That is it ! You can now run ns from a


terminal window by executing :ns if you
received the % sign, it means that NS is
running.

S-ar putea să vă placă și