LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-10-2014, 10:31 AM   #16
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156

# 15, @abenmariem.

Mobiwan : Which patch did you add to ns-2.35 ? ?

Please read
* http://www.linuxquestions.org/linux/...Ask_a_Question
* http://linuxsilo.net/docs/smart-questions_en.html
I.e. by every question you ask, please tell what you did.
And also inform about the OS name / version / architecture, like Ubuntu 12.04 - i686.

-
 
Old 02-10-2014, 10:58 AM   #17
abenmariem
LQ Newbie
 
Registered: Feb 2014
Location: Tunisia
Distribution: Ubuntu
Posts: 29

Rep: Reputation: Disabled
mobiwan prolem

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.

Last edited by abenmariem; 02-10-2014 at 11:41 AM.
 
Old 02-10-2014, 12:41 PM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
# 17 .
Quote:
how to install mobiwan on ns2.35 on ubuntu 13*
Sorry, you will have to use the ns2 version that the patch is meant for !

You can have as many versions of ns-allinone-2.xx as you want,
installed at the same time. But do not add any *PATH text to .bashrc.

-
 
  


Reply

Tags
fhmip, mipv6, mobiwan, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Script of hierarchical MIPv6 ghassan_akrem Linux - Newbie 3 01-30-2011 01:16 AM
how to calculate handoff latency in mipv6 environment manjunath11 Linux - Newbie 0 11-30-2010 04:41 AM
mipv6 Installation problem in linux (ubutnu) Scofield Linux - Networking 1 08-04-2010 07:11 AM
Req help with Freeswan, MIPv6, USAGI kernel sujayy1983 Linux - Security 1 07-09-2006 06:15 PM


All times are GMT -5. The time now is 02:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration