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 10-18-2015, 10:35 AM   #1
Nempher
LQ Newbie
 
Registered: Oct 2015
Posts: 5

Rep: Reputation: Disabled
Patch PMIPv6 That Suit in NS-2.29 Ubuntu 12.04


Computer Information : Ubuntu 12.04 version 32 bit (i686) Linux

Installed File : ns-allinone-2.29.3.tar.gz + ns-2.29-nist-mob-022707.tgz + pmip6-for ns-2.29-nist.patch.

The ERROR that found out in terminal

nempher@ubuntu:~/ns-allinone-2.29/ns-2.29$ ns-nist-pmipv6 pmip.tcl
num_nodes is set 6
INITIALIZE THE LIST xListHead
_o97 channelID = 2412000000.000000
_o127 channelID = 2437000000.000000
_o200 channelID = 2412000000.000000
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 513.3
SORTING LISTS ...DONE!
Link Connect to AP 0 on Channel 1
Segmentation fault (core dumped)

I try to edit the pmip.tcl file, and I realize that in pmip.tcl , the "traffic" can not be understand and compile.

So here I ask for someone provide me the PMIPv6 patch file that really can run in NS-2.29 Ubuntu 12.04 i686.

I will be really please if you can help me in this problem.

Thank you very much in advance.
 
Old 10-18-2015, 12:42 PM   #2
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: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Welcome to LQ.

Ubuntu 12.04 - 32 : Sorry, not usable for nist-mob. EDIT : may be with compat-g++34 ?

CentOS 6.7 - 32bits can be used. ( CentOS 6 is supported till 'Feb 2016'.)
http://ftp.funet.fi/pub/mirrors/cent...386-LiveCD.iso
>>> CentOS-6.7-i386-LiveCD.iso

.. Or you can use the unsupported Ubuntu 10.04 or 10.10 .

NIST info : http://www.linuxquestions.org/questions/tags/nist-mob/
PMIPv6 : http://www.linuxquestions.org/questions/tags/pmip6/

-

Last edited by knudfl; 10-18-2015 at 01:14 PM.
 
Old 10-20-2015, 04:13 AM   #3
Nempher
LQ Newbie
 
Registered: Oct 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Possible to suit the pmip.tcl in Ubuntu 12.04 (32 bits) ?

Sir Knudfl ,

If the platform is setting up to Ubuntu 12.04 (32 bits)NS-2.29 and can't be change.

Is this possible to change the nist-mob to suit the Ubuntu 12.04 (32 bits)??

Any suggestion from sir if I still want make the pmip.tcl run in Ubuntu 12.04 -32 bits ??
 
Old 10-20-2015, 07:42 PM   #4
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: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Re #3.

What do you mean ? Is it impossible to install another OS into the computer ?
Isn't it your computer ? ?

Besides that, Ubuntu 12.04 can run a "Virtual Machine", e.g. VirtualBox.
And it's easy to install an OS into the 'Virtual Machine'.

-
 
Old 10-21-2015, 09:14 AM   #5
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: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Re #4.

Confirm :
There is no way you can build {ns-2.29 + nist-mob + pmipv6} with Ubuntu 12.04,
... and expect simulations to work.
(I did some test builds this morning, Ubuntu 12.04 -32 and Ubuntu 12.04 -64bits.)

But : You can build an `ns' executable on an older OS, and use it in Ubuntu 12.04.


-
 
Old 06-15-2016, 09:05 AM   #6
Nempher
LQ Newbie
 
Registered: Oct 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Post Method to build an `ns' executable on an older OS and implement in 12.04

Can Knudfl specific the old OS version that can build an 'ns' executable and run in ubuntu 12.04 ? Actually, i not really understand how this method working, can Knudfl explain more details. Thank you
 
Old 06-15-2016, 01:10 PM   #7
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: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Re #6.

An old / oldish OS, 32bits ...
The method is to create ns-allinone-2.xx in a system location ...
like /usr/local/lib/nistmob/ns-allinone-2.29/.
And copy the executable 'ns' >> ns-nist-pmip6 to /usr/local/bin/.

Save the result :
Code:
$ tar -cf ns-nist-pmip6_result.tar /usr/local/bin/ns-nist-pmip6 /usr/local/lib/nistmob/ns-allinone-2.29/lib/ /usr/local/lib/nistmob/ns-allinone-2.29/bin
Then unpack the result to a new folder : /home/[name]/build-deb__ns229-nist-pmip6/
... and build a .deb package (a "control" file must be written, or created with pkgtool2):
$ dpkg-deb -b packagename packagename_version_architecture.deb

Note :
The information about Ubuntu 10.04 and 10.10 (#2) is only valid if it's an old install :
The ns2 build requirement won't work today : The old libc6 and g++ are no more available.
An older Ubuntu (e.g. 9.04 - i386) or CentOS 6.8 - i386 may be the solution.


-
 
Old 06-19-2016, 05:21 PM   #8
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: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Re #7.

A package for Ubuntu 12.04 was created from the CentOS 6.8 result with nistmob :
nist-pmip6-ns_229-ubuntu12_i386.deb
https://drive.google.com/file/d/0B7S...ew?usp=sharing
... Download the package, click the package, and it will be installed.

Provides /usr/local/bin/ns229-nist-pmip-el6

Testing simulation : The most files are working perfect. pmip.tcl : No issues.

All examples : nist-examples-Oct2015.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing


-

Last edited by knudfl; 06-19-2016 at 05:26 PM.
 
  


Reply

Tags
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
Sensor Mobility With PMIPv6, FPMIPv6 using MANNASIM patch Riaz Khan Linux - Newbie 0 08-01-2015 04:45 PM
Installation of PMIPv6 Patch in NS-2.33 masju Linux - Newbie 35 06-28-2015 06:56 PM
Installation Guide For PMIPv6 in NS-2.29 of Ubuntu 12.04 hohweisiang Linux - Newbie 0 06-08-2015 06:44 PM
PMIPv6 Installation Error in NS-2.29 for Ubuntu 12.04 Linux OS hohweisiang Linux - Newbie 1 06-08-2015 05:09 PM
Pmipv6 installation in ns 2.29 on ubuntu 8.10 parulgaba Ubuntu 0 05-20-2011 03:09 AM


All times are GMT -5. The time now is 12:55 AM.

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