LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-14-2014, 11:48 AM   #1
morzana
Member
 
Registered: Feb 2014
Posts: 43

Rep: Reputation: Disabled
add new patch in ns2 error


Dear all;
i try to install fhmip patch in ns2 which is correctly installed and also works correctly with me ; the problem is ... when i install the patch then make clean ; make . it seems ok .but ns xxx.tcl gives error (wrong node routing agent) . i try different patches with different versions of ns but failed . i really need help .

i do not know where is the error because all above steps did not give me error message at all!!!

i download this patch from www.pudn.com
 
Old 02-14-2014, 12:57 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
FHMIP info http://www.linuxquestions.org/questions/tags/fhmip/

Other patches #3 http://www.linuxquestions.org/questi...-4175479853/#3

A few patches can be installed to the same ns2. But most will conflict.
Or must be edited to be used together in one ns2.

The good news : 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 .

If you want answers for your errors, you will have to specify OS + ns2 version(s)
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html
I.e. OS Name / version / architecture : $ uname -m <Enter>
.. And the full name of the patches to be added, like "ns2.31_fhmip.patch.gz" etc.

-

Last edited by knudfl; 02-14-2014 at 12:59 PM.
 
1 members found this post helpful.
Old 02-14-2014, 11:31 PM   #3
morzana
Member
 
Registered: Feb 2014
Posts: 43

Original Poster
Rep: Reputation: Disabled
fatma@ubuntu:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.10
DISTRIB_CODENAME=quantal
DISTRIB_DESCRIPTION="Ubuntu 12.10"
=====
fatma@ubuntu:~$ uname -a
Linux ubuntu 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:32:08 UTC 2012 i686 i686 i686 GNU/Linux
====
ns-2.31 installed
&&&&&
the other versions is :
zahra@ubuntu:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.04
DISTRIB_CODENAME=raring
DISTRIB_DESCRIPTION="Ubuntu 13.04"
=====
zahra@ubuntu:~$ uname -a
Linux ubuntu 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
=====
ns-2.31 installed

&&&&&&&
i have installed fhmip with two ways
1)manually using FHMIP1.3.1 file i have downloaded from www.pudn.com
2)ns2.31_fhmip.patch.gz
 
Old 02-15-2014, 02:12 AM   #4
shazadahmed89
LQ Newbie
 
Registered: Feb 2014
Posts: 2

Rep: Reputation: Disabled
i am new in linux kindly help me. how can i install vlc player with the help of rpm. (not yum)
 
Old 02-15-2014, 02:34 AM   #5
shazadahmed89
LQ Newbie
 
Registered: Feb 2014
Posts: 2

Rep: Reputation: Disabled
how to mount nfts files in linux
 
Old 02-15-2014, 02:42 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
Posts #4 and #5, @shazadahmed89.

Please do not use a thread started by another LQ member to ask your off topic questions.
Read the rules http://www.linuxquestions.org/linux/rules.html
"ensure that what you're posting is on-topic and relevant to the thread."

Start a new thread http://www.linuxquestions.org/questions/linux-newbie-8/ > New Thread.

-
 
Old 02-15-2014, 03:17 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
@morzana.

The file ns-2.31/tcl/ex/fhmip/fhmip_simula.tcl, from ns2.31_fhmip.patch.gz
.. will work OK : $ ns fhmip_simula.tcl
.. when the executable 'ns' is built with ns-2.31 / ns2.31_fhmip.patch.
Files created from fhmip_simula.tcl: traffic.nam 47MB and traffic.tr 33MB.
$ nam traffic.nam : OK.

A random file xxx.tcl (ref. post #1) may not work at all.

-
 
1 members found this post helpful.
Old 02-15-2014, 06:42 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
# 3 .
Quote:
I have installed fhmip with two ways
1)manually using FHMIP1.3.1 file i have downloaded from www.pudn.com
2)ns2.31_fhmip.patch.gz
Which patch in which OS ?
Or were both patches added to both OS ? ( They may conflict.)

About "pudn FHMIP1.3.1" : Please make a folder with the files,
and upload the folder.tar.gz to 'Google Drive', and post a link.


About post # 3 :
You can watch here how simple and elegant the text will be, when you use the two commands,
a) cat /etc/issue
b) uname -m
#7 http://www.linuxquestions.org/questi...-4175494785/#7
..... No reason to post a lot of output, that nobody cares to read.
Name + version + architecture will do.

-

Last edited by knudfl; 02-15-2014 at 06:56 AM.
 
1 members found this post helpful.
Old 02-15-2014, 12:11 PM   #9
morzana
Member
 
Registered: Feb 2014
Posts: 43

Original Poster
Rep: Reputation: Disabled
results reached fhmip

@knudfl
i follow all your advice . the result is fhmip_simula.tcl works but after hashing # the following commands and give me nam and trace
#[$PAR set regagent_] priority 3
#[$NAR set regagent_] priority 4

#$ns_ attach-mapagent $MAP
#$ns_ connection-monitor 1 $MN

what to do???????

perl fhmip_plot_seq.pl traffic.tr
after executing the above command it give 8 identical graphs recv1.log

does it mean noah installed without hmip
 
Old 02-15-2014, 12:14 PM   #10
morzana
Member
 
Registered: Feb 2014
Posts: 43

Original Poster
Rep: Reputation: Disabled
results reached

traffic.nam 70.5MB
traffic.tr 49.9MB
after hashing commands as said before in the brevious post
 
Old 02-21-2014, 11:44 AM   #11
morzana
Member
 
Registered: Feb 2014
Posts: 43

Original Poster
Rep: Reputation: Disabled
after the last result i mention before i got result then i try to re run again but it does not work ... what should i do?????
i really need this project
the second question >> how to disable or enable code in mip-reg.cc

thanks in advance
 
Old 02-21-2014, 11:46 AM   #12
morzana
Member
 
Registered: Feb 2014
Posts: 43

Original Poster
Rep: Reputation: Disabled
[QUOTE=knudfl;5118146]# 3 .

please knudfl help me in tis project tell me what to do
 
Old 02-21-2014, 12:14 PM   #13
morzana
Member
 
Registered: Feb 2014
Posts: 43

Original Poster
Rep: Reputation: Disabled
export CC=gcc34 CXX=g++34


how to install gcc34 on ubuntu
from downloading to install i'm new to linux
 
Old 02-21-2014, 12:50 PM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
# 13 .

The most used for Ubuntu 12.10 - i686 is gcc41 / g++41
( export CC=gcc41 CXX=g++41 )
The gcc34/g++34 is primarily used in Fedora, as it is in the repo.

Ubuntu 12.10 , post #3 here
http://www.linuxquestions.org/questi...-4175450625/#3
.. and post # 47 here
http://www.linuxquestions.org/questi...532/page4.html
$ sudo dpkg -i gcc41-compat-4.1.2-ubuntu1210_i386.deb g++41-compat-4.1.2_i386.deb

Why do you want gcc34/g++34 ? ?


Remark, ref. post #8 : Please uload the "pudn FHMIP1.3.1" code.


-
 
Old 02-21-2014, 01:56 PM   #15
morzana
Member
 
Registered: Feb 2014
Posts: 43

Original Poster
Rep: Reputation: Disabled
here is the link ..

but i'm sorry i did not read the link you quire to upload till today , i did not know i cause latency to my self
https://drive.google.com/#my-drive

the reason i use gcc is (export CC=gcc34 CXX=g++34) this in the link you have sent to me

http://www.linuxquestions.org/questi...s2-4175461377/

also when install an error message arise regarding gcc
 
  


Reply

Tags
fhmip, fhmip#17, ns2, wimax-nist


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
Error applying ns2.29 clustering patch on ubuntu 12.04 razachis Linux - Software 3 02-14-2014 03:38 AM
ns2 installation on ubuntu with olsr patch giving following error bhushan0710 Linux - Newbie 8 01-21-2013 04:09 AM
Got error when add a new antenna module into NS2! haiying7 Linux - Software 4 12-02-2011 02:03 AM
ns2-802.11e patch - error: stream.h, iostream.h not found shojaru Linux - Newbie 3 06-12-2009 11:11 PM

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

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