-   Linux - Newbie (
-   -   patch LTE module for ns2 (

Emna 03-10-2011 02:09 AM

patch LTE module for ns2

I'm working on ns2.32 on fedora core 8 to simulate LTE network, the problem is that when i tried to patch lte module the ns is diffected and it does not work anymore.
i found the code in the forum posted by knudfl:

cd ns-allinone-2.33/tk8.4.18/
patch -p0 < tk-8.4-lastevent.patch
cd ../
cd ns-2.33/ && mv ns ns233 && make clean && mv Makefile
svn checkout lte-model-read-only
mkdir project
cd lte-model-read-only/

Edit the new Makefile in lte-model-read-only/ , lines 41, 67, 82 to actual location.
( I.e all : /root/ns-allinone.... to : <your-path>/ns-allinone.... ).( 8 times edit.)

sh checkin
cd ../

i installed ns2.34 and i want to patch LTE module, i need detailed command.
please help me.

knudfl 03-10-2011 02:59 AM

Welcome to LQ. .. .. :) ..

Quote 1) I'm working on ns-2.32 on Fedora 8. (There is no core in the Fedora 8 name).
Quote 2) I installed ns-2.34.

The lte files are for ns-2.33.
If you want all three "ns-allinone-2.3x" present at the same time
in /home/Emna/<ns-folder>/ : No problem.

So please use ns-allinone-2.33 for the LTE files.
Save the first created binary 'ns' : cp ns ns233.
Then you have a binary that will work with the "non lte files".
Next add the lte files, and generate a new 'ns' for LTE.


All times are GMT -5. The time now is 04:37 AM.