LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-22-2014, 03:35 AM   #1
Aabha
Member
 
Registered: Aug 2014
Posts: 40

Rep: Reputation: Disabled
In ns2.29 with NIST module NAM feature is not working


In ns2.29 with NIST module NAM feature is not working although nam1.11 installed at time of ns2.29 installation in ubuntu 10.04
 
Old 08-23-2014, 07:17 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,684

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
Welcome to LQ.

Nam for the 32bits Ubuntu 10.04 : nam-1.14.i586.tar.gz
http://www.linuxquestions.org/questi...77#post4970177
64bits : nam-1.14-x86_64.tar.gz
https://drive.google.com/file/d/0B7S...it?usp=sharing

$ cd nam-*/
$ sudo cp nam /usr/local/bin/

-
 
Old 08-25-2014, 11:15 PM   #3
Aabha
Member
 
Registered: Aug 2014
Posts: 40

Original Poster
Rep: Reputation: Disabled
Dear sir
Thanks for quick reply. My problem is, i have already installed ns2.29 along with NIST module. Now my programs are successfully simulated. But visualization of simulation is not possible i,e NAM feature is not working. If i install NAM 1.14 in place of NAM 1.11 my whole simulator need changes. Please guide.

Last edited by Aabha; 08-25-2014 at 11:16 PM.
 
Old 08-27-2014, 12:29 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,684

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
# 3 .

Nam is a separate application. Any "nam" can be used.
There no changes to be done with a 'nam' version 1.14 in /usr/local/bin/.
"Everybody" are using nam-1.14 together with ns-2.26 ... ns-2.3x .
 
Old 08-27-2014, 01:33 PM   #5
Aabha
Member
 
Registered: Aug 2014
Posts: 40

Original Poster
Rep: Reputation: Disabled
Dear sir
Thanks again
How ...i can install NAM 1.14 without affecting my existing simulator as installation ns2.29 along with NIST module was very difficult for me and i am not in position to disturb existing facility.
 
Old 08-27-2014, 02:12 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,684

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
# 5 .

Nam has nothing to do with the ns2 simulator, i.e. the executable 'ns'.
Nam is an extra application that is called at simulation end,
to display the result of a nam output file, like "out.nam".

The "install" of nam is simply :
$ tar xvf nam-1.14.i586.tar.gz ( If you have a 32bits (i686) Ubuntu OS.)
$ cd nam-1.14.i586/
$ sudo cp nam /usr/local/bin/

All NIST info at LQ http://www.linuxquestions.org/questions/tags/nist-mob/

-
 
Old 09-04-2014, 06:19 AM   #7
Aabha
Member
 
Registered: Aug 2014
Posts: 40

Original Poster
Rep: Reputation: Disabled
Dear sir
I follow your instruction but after sudo cp nam/usr/local/bin/
output on terminal is cp:missing destination file operand after 'nam/usr/local/bin'
where i should copy this as i already have nam1.11 in ns-allinone-2.29. Should i delete nam1.11.
Please guide

Last edited by Aabha; 09-04-2014 at 06:28 AM.
 
Old 09-04-2014, 08:55 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,684

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
Post #7 :
Quote:
sudo cp nam/usr/local/bin/
... Which is wrong.

Must be sudo cp nam /usr/local/bin/
* I.e. $ sudo<space>cp<space>nam<space>/usr/local/bin/


The complete folder nam-1.11/ can be deleted.


-
 
Old 09-06-2014, 04:47 AM   #9
Aabha
Member
 
Registered: Aug 2014
Posts: 40

Original Poster
Rep: Reputation: Disabled
Dear sir
thanks for your guidance.
Its working but movement of node not visualized. I am using ns2.29 NIST add on. And in my script a multi interface mobile node defined.
One interface for UMTS another for WLAN. Node Id for multi interfaces are different. say 2 for UMTS,7 for WLAN and 5 for multi interface mobile node. In NAM window only node id 2 in static format visualized.Although instruction
$ns at 0 $iface1 setdest <x> <y> speed simulated successfully.
Are all interface in moving mode when we use setdest for one interface in MIH enabled NIST ns2.29?
Please guide
Regards
Aabha
 
Old 09-06-2014, 05:34 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,684

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
← #9 .

* https://www.google.com/webhp?hl=all&...+node+movement
→ ns2 node movements http://www.isi.edu/nsnam/ns/doc/node172.html
. http://www.isi.edu/nsnam/ns/tutorial/nsscript7.html

-
 
Old 09-06-2014, 07:47 AM   #11
Aabha
Member
 
Registered: Aug 2014
Posts: 40

Original Poster
Rep: Reputation: Disabled
Dear sir
My problem is visualization of moving nodes in NAM window. As simulation of script showed successful handover among different networks but in NAM window movement of nodes not visualized.
Regards
Aabha
 
Old 09-07-2014, 08:11 AM   #12
Aabha
Member
 
Registered: Aug 2014
Posts: 40

Original Poster
Rep: Reputation: Disabled
Dear sir
Once I have successfully simulated one of my tcl script in ns2.29 (nist add on) now when i have changed min and max RA delay and want to simulate same script following error appears at random place(in every simulation error occur at different place)
_o296: no target for slot 3
I couldn't understand because other script simulate successfully even after changes.
Please help
Regards
 
Old 09-12-2014, 01:27 AM   #13
Aabha
Member
 
Registered: Aug 2014
Posts: 40

Original Poster
Rep: Reputation: Disabled
Dear sir
As i post earlier also, my problem is visualization of moving nodes in NAM window. As simulation of script showed successful handover among different networks but in NAM window movement of nodes not visualized.Nodes are static in NAM window (even command setdest moved node position).
Regards
Aabha
 
Old 09-14-2014, 05:26 AM   #14
Aabha
Member
 
Registered: Aug 2014
Posts: 40

Original Poster
Rep: Reputation: Disabled
Please reply for

Dear sir
As i post earlier also, my problem is visualization of moving nodes in NAM window. As simulation of script showed successful handover among different networks but in NAM window movement of nodes not visualized.Nodes are static in NAM window (even command setdest moved node position).
 
Old 09-14-2014, 06:03 AM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,684

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
← #14, etc. movement.

Three examples with moving nodes : ``movement-ex-0914.tar.bz2.

Attached as movement-ex-0914.tar.bz2.txt :
Rename to movement-ex-0914.tar.bz2 , then you can unpack the files.
-
Attached Files
File Type: txt movement-ex-0914.tar.bz2.txt (4.0 KB, 18 views)
 
  


Reply

Tags
ns2, ns2-movement


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 on Ubunto 11.04(NIST Mobility Patch) fahimeh_ak Programming 38 03-24-2015 06:45 AM
installation problem in ns2.31, nam ia not working evanjalin Linux - Newbie 17 02-14-2014 10:31 PM
nam not working ns2.33 fabe856 Linux - Software 3 04-20-2012 01:03 PM
[SOLVED] ns2 nam not working in fedora 14 mujtiba Linux - Newbie 7 05-24-2011 07:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:37 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