Monday 18 March 2013

TORA installation in NS2

1 step: patch TORA code

Open a bash shell (click here to watch how) and type at prompt:
su
cd /usr/share/ns-2.30/tora/
mv tora.h tora.old.h mv tora.cc tora.old.cc wget http://wpage.unina.it/marcello.caleffi/ns2/tora.cc
wget http://wpage.unina.it/marcello.caleffi/ns2/tora.h
Then you should have the patched file in the TORA folder

2 step: recompile ns

Open the bash shell and type at prompt:
su
cd /usr/share/ns-2.30/
make make install

No comments:

Post a Comment