I am on ubuntu 13.10 32 bit and i am using ns2.35.
I downloaded mobiwan and i followed the installation file readmeInstall.txt shipped with mobiwan.
First of all i tryed the patch ns2.31_fhmip.patch and i got some errors so i canceled my modifications using my versions management tool.
I retried what is written in the file readmeInstall.txt again and i tryed to execute this code that you have posted before:
Please have a look at post #2 : No 'make'. For Ubuntu 11.04 it is, example :
1) Unpack a new ns-allinone-2.33.tar.gz in a new directory.
2) $ cd ns-allinone-2.33/ns-2.33/ && patch -p1 < ns-233-mobiwan-1.patch
3) $ cd ../ && export CC=gcc41 CXX=g++41 && ./install
4) $ cd ns-2.33/ ; $ strip ns ; $ cp ns ns-mobiwan ;
$ sudo cp ns-mobiwan /usr/local/bin/
5) $ cd tcl/mobiwan/ ; $ ns-mobiwan simple-mipv6.tcl ; $ nam out.nam
If you anyway did reconfigure in ns-2.33/ with plain ./configure :
Please redo with : a) $ export CC=gcc41 CXX=g++41 && ./configure
b) $ make clean && make
In step 2) when executing the patch ns-233-mobiwan-1.patch, i had this message:
==============================================================================
can't find file to patch at input line 11
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|$Id: ns-233-mobiwan-1.patch 192 2008-05-06 05:59:58Z omehani $
|MobiWan for NS-2.33. Adaptation of the NS-2.32 patch [0] (based on [1]).
|Olivier Mehani <olivier.mehani@nicta.com.au>.
|
|[0]
http://mobqos.ee.unsw.edu.au/~omehan...iwan-103.patch
|[1]
http://www.arcst.whu.edu.cn/center/k...an-102.diff.gz
|====
|diff -urNU5 ns-2.33/classifier/classifier-hash.h ns-2.33-mobiwan/classifier/classifier-hash.h
|--- ns-2.33/classifier/classifier-hash.h 2008-04-01 13:00:24.000000000 +1100
|+++ ns-2.33-mobiwan/classifier/classifier-hash.h 2008-05-06 14:40:09.000000000 +1000
--------------------------
File to patch:
================================================================
The message asks me to give the file to patch !!!
I am not sure about the success of mobiwan installation and i read in installation file that i can do it manually without the use of a makefile.
can you describe the procedure for me or Can you have a clear tutorial on how to install mobiwan on ns2.35 on ubuntu 13 and how to upgrade it to support MIPv6 i will be very grateful.
Sorry because my first post wasn't so clear.