LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-24-2015, 08:31 AM   #1
mano
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Rep: Reputation: Disabled
Need help for MIH installation on ubuntu 10.4


HI friends,
Am doing project work on Heterogeneous wireless network..i want to analysis Vertical handover between wifi-wimax-UMTS ..i am beginner for ns2. i really confused how to installed ns2.29. please suggested me which OS (curently i have ubuntu 10.4)is easy for MIH installation and give me the step by step procedure..

i downloaded NS-MIH-MULTI-CRITERIA-ns229.tar.bz2 from http://sourceforge.net/projects/mihnistns229/

i got some patch and codings form our fourm ns-2.29-nist-mob-022707,ns2292-gcc410.patch,pmip.tcl,pmip_nohier.tcl,pmip_wimax.tcl,pmip6-for-ns-2.29-nist

Thanks
Manokar.A
manokar06@gmail.com
 
Old 03-24-2015, 11:26 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
First : The ns2 version to use is ns-allinone-2.29.3.tar.gz
http://sourceforge.net/projects/nsna...ar.gz/download
... Which also means that you can forget about the "ns2292-gcc410.patch" :
Is for an older version of ns-allinone-2.29.

Install the ns2 build prerequisites :
sudo apt-get update && sudo apt-get install g++ g++-4.1 automake libtool libxmu-dev

Read the links you got yesterday for adding the patches.
And do $ cd ns-allinone-2.29/
$ export CC=gcc-4.1 CXX=gcc-4.1 && ./install

* I guess you will need to setup two times ns-allinone-2.29.3 :
One for all the "nist-mob" stuff, and the other one for NS-MIH-MULTI-CRITERIA.

I.e. you can have as many times ns-allinone-2.xx as you want,
installed at the same time. But do never add any *PATH text to .bashrc.


-
 
Old 03-24-2015, 01:06 PM   #3
mano
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
hi knudfl,
first of all thanks for your reply ..from ur reply i did following steps..


1) ns-allinone-2.29.3.tar.gz download completed

2) sudo apt-get update && sudo apt-get install g++ g++-4.1 automake libtool libxmu-dev

3)extract --ns-allinone-2.29.3.tar.gz and cd ns-allinone-2.29

4) export CC=gcc-4.1 CXX=gcc-4.1 && ./install

($ tar xvf ns-2.29-nist-mob-022707.tgz ,$ patch -p0 < pmip6-for-ns-2.29-nist.patch)---> is this necessary before 4th step?

--------------------------------------------------------------------------------------
am not get this point
" I guess you will need to setup two times ns-allinone-2.29.3 :
One for all the "nist-mob" stuff, and the other one for NS-MIH-MULTI-CRITERIA.

I.e. you can have as many times ns-allinone-2.xx as you want,
installed at the same time. But do never add any *PATH text to .bashrc."
---------------------------------------------------------------------------------------
whats is diff between NS-MIH-MULTI-CRITERIA-ns229.tar.bz2 and ns-allinone-2.29.3.tar.gz
i found the ns-allinone2.29 folder from the both tar files

please guide me for next steps ..am beginner plz do the needful
 
Old 03-24-2015, 04:16 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Ref. #3.

All patches must be added before $ export CC=gcc-4.1 CXX=gcc-4.1 && ./install
! Read the build examples http://www.linuxquestions.org/questions/tags/nist-mob/
e.g. #14 here http://www.linuxquestions.org/questi...-a-4175463585/

NS-MIH-MULTI-CRITERIA-ns229.tar.bz2 is ns-allinone-2.29 patched with mih-*.
? Probably version 2.
So you may anyway have to use "ns2292-gcc410.patch".


Not sure there's any difference between
1) A nist-mob patched ns-allinone-2.29
and 2) NS-MIH-MULTI-CRITERIA-ns229
... I will check that .... later.


-
 
Old 03-24-2015, 11:06 PM   #5
mano
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
thank u sir the links are very useful .

i saw coding for umts-wifi handover "http://www.linuxquestions.org/questions/linux-newbie-8/simulation-of-handoff-b-w-umts-and-802-11-a-4175524038/" for that which one i have to install NS-MIH-MULTI-CRITERIA-ns229.tar.bz2 or ns-allinone-2.29.3.tar.gz please assist me
 
Old 03-25-2015, 08:17 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Ref. post #5.

Install both :
/home/mano/a/ns-allinone-2.29/ns-2.29/ns >> ns-nist
>>> /usr/local/bin/ns-nist
/home/mano/b/ns-allinone-2.29/ns-2.29/ns >> ns-mih-multi
>>> /usr/local/bin/ns-mih-multi


-
 
Old 05-02-2015, 12:21 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
New compilers for nist-mob are now available :

compat-gcc34_3.4.6-ubuntu10_i386.deb , for Ubuntu 10.**
https://drive.google.com/file/d/0B7S...ew?usp=sharing

compat-gcc34_3.4.6-ubuntu15_i386.deb , for Ubuntu 14.** .. 15.**
https://drive.google.com/file/d/0B7S...ew?usp=sharing

compat-g++34_3.4.6-ubuntu10_i386.deb , for Ubuntu 10.** .. 15.**
https://drive.google.com/file/d/0B7S...ew?usp=sharing


-
 
  


Reply

Tags
mih, mih-multi-criteria, nist-mob, 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
install ns2.29.3 + MIH module in Ubuntu 11.04 juniorlx Linux - Software 17 06-08-2015 08:56 AM
[NS2] the RSS & link_events code in MIH implemented by NIST RSM_smile Linux - Newbie 0 09-26-2012 08:25 AM
patch for Hierarchical media independent handover (MIH) service in ns2.34 anamnazir Linux - Newbie 5 12-20-2011 05:22 PM
SIP and MIH on ns.2 problem fahimeh_ak Linux - Software 3 07-11-2011 09:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:00 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
Open Source Consulting | Domain Registration