LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-15-2012, 03:43 AM   #46
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

# 45
Quote:
make[1]: Nothing to be done for `all'.
Means : Everything is OK.


Quote:
invalid command name "Agent/ZRP"
No zrp was added to the binary 'ns'.
Your failed build / Possible errors : See post # 31.
And please read all other posts in the thread too.

Actually there's no reason to build any "zrp" :
Please install the package zrp-ns
https://docs.google.com/open?id=0B7S...kxHY3dQQlR4bjg
.. and you can do : $ ns-zrp example-zrp.tcl(.txt),
.. if you have the two files example.scen, example.traffic : Post #25.

.

Last edited by knudfl; 11-15-2012 at 03:45 AM.
 
Old 12-22-2012, 04:18 AM   #47
tugasakhir
LQ Newbie
 
Registered: Dec 2012
Posts: 4

Rep: Reputation: Disabled
Unhappy error in namgraph

while i run nam zrp.nam in terminal, "You are using the tracefile format older than 1.0a5
which will not allow you to run namgraph"
why?
could you help me please..
 
Old 12-22-2012, 05:02 AM   #48
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
Post # 47, @ tugasakhir : Welcome to LQ.

Please tell which tcl file you used to create "zrp.nam".

If it's about an "ns-1.0* style" file :
The later versions of ns2 use a different syntax,
thus those files will not work together.

And : Please always specify your Ubuntu version, like Ubuntu 10.10, 12.04 etc.
The version of ns-allinone-2.xx should be specified too.
+ The "ZRP patch" used to provide zrp :
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html

.
 
Old 02-24-2013, 09:09 PM   #49
alwaleed
LQ Newbie
 
Registered: Feb 2013
Posts: 22

Rep: Reputation: Disabled
how to install ZRP in ns2

Excuse me, anyone may help me about the step by step to install ZRP in ns-2.34 on ubuntu 10.04, please?
I'm already installed ns-2.34.
 
Old 02-25-2013, 05:22 AM   #50
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
Post # 49, @alwaleed : Welcome to LQ.

No ZRP for ns-2.34, AFAIK.
But you can install the package zrp-ns-2.33-ubu1010_i386.deb,
https://docs.google.com/file/d/0B7S2...it?usp=sharing
and then run the examples mentioned elsewhere in the thread with :
$ ns-zrp <example>.tcl
I.e. please read the entire thread.

Examples : example-zrp.tcl zrp_9.tcl zrp-Demo1-1.tcl zrp-Demo2-1-scetch.tcl
Files used by the examples : example.scen example.traffic


P.S.: You can have as many versions of ns-allinone-2.xx as you want,
installed at the same time. But do not add anything to .bashrc / .bash_profile.

-

Last edited by knudfl; 02-25-2013 at 09:00 AM.
 
Old 02-25-2013, 10:02 AM   #51
alwaleed
LQ Newbie
 
Registered: Feb 2013
Posts: 22

Rep: Reputation: Disabled
how to install ZRP in ns2

Thanks, any version of ns2 suitable for installing ZRP and what is the procedures for install ZRP in ns2
 
Old 02-25-2013, 11:58 AM   #52
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
# 51 . Like post #6 :
""It is assumed, that you have a working ns-allinone-2.33,
i.e. the './install' command was run with no errors.""
Ubuntu 10.04 : export CC=gcc-4.1 CXX=g++-4.1 && ./install
.. And then :
a) cd ns-allinone-2.33/ && patch -p1 < PatchZRP.patch
b) touch ns-2.33/common/packet.h && touch ns-2.33/trace/cmu-trace.h
c) cd ../ && tar xvf ns-allinone-2.33_ZRP.tar.gz
d) cd ns-allinone-2.33/ns-2.33 && make -k

The main purpose of ns-allinone-2.33 is to create one file: The executable 'ns'.
And that's what you get by installing zrp-ns-2.33-ubu1010_i386.deb : 'ns-zrp'.

Prerequisites for ns2 / Ubuntu 10.04 : $ sudo apt-get install \
g++ g++-4.1 make autoconf automake libtool patch libxmu-dev xgraph

-
 
Old 02-25-2013, 09:09 PM   #53
alwaleed
LQ Newbie
 
Registered: Feb 2013
Posts: 22

Rep: Reputation: Disabled
how to install ZRP in ns2

My friend, I already installed ns-2.34 on ubuntu 10.04 with no error and I want to install ZRP in ns-2.34 not ns-2.33, so what is the procedures to do that and from where get the files for ZRP.
Thanks
 
Old 02-26-2013, 03:32 AM   #54
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
# 53 .

Why can you have one application only installed ?
And, repeat from #50 : There is no zrp for ns-2.34.

And : No ns-2.33 is required when ZRP has been built.
The 4.4 MB package zrp-ns-2.33-ubu1010_i386.deb will do.


This is how it works when your executable 'ns' from ns-2.34/ was built :
Save the file 'ns', and ns-2.34/ can actually be deleted.
Save ns-allinone-2.34/lib:/bin , all other folders can be deleted.
You may need to save some examples : ns-2.34/tcl/ex/, etc.
I.e. $ 'ns' : Will work as a standalone file.
Everything else is compiled into that one file : 'ns'.

ZRP : No ns-2.3x/tcl/ex/, ns-2.3x/tcl/lib/, ns-2.3x/tcl/mobility/,
etc. is required for any zrp example.
* zrp-examples-2012.tar.bz2 ( 83 kB )
https://docs.google.com/file/d/0B7S2...it?usp=sharing
All examples can be used with the command $ ns-zrp <example>.tcl
.. I.e. when one have "25" different versions of ns2 installed,
then all the 'ns' executable must have different names.

-

Last edited by knudfl; 02-26-2013 at 05:57 AM.
 
Old 02-27-2013, 11:15 AM   #55
alwaleed
LQ Newbie
 
Registered: Feb 2013
Posts: 22

Rep: Reputation: Disabled
ZRP

Hello friend, may you explain me how to install ZRP in ns-2.33 on Ubuntu 10.04 step by step from the beginning.
Thanks
 
Old 02-27-2013, 12:54 PM   #56
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
# 55 : Please read post # 54 : $ sudo dpkg -i zrp-ns-2.33-ubu1010_i386.deb
$ cd zrp-examples/ ; $ ns-zrp <example>.tcl ( No ns-2.33 is required ! )

If you insist in building a (very) poor copy of the executable 'ns-zrp': See post # 52.

Note : A zrp build on Ubuntu 10.04 results in a very poor 'validation' :
Post #6 here http://www.linuxquestions.org/questi...-4175425967/#6
Your current OS, Ubuntu 10.04 : 50 group tests will fail at validation.
There are 119 group tests, 2,000 sub tests: It's about hundreds of fails.
Ubuntu 10.10 : ""validate overall report: all tests passed"".
The content in the package zrp-ns-2.33-ubu1010_i386.deb is from Ubuntu 10.10.

-
 
1 members found this post helpful.
Old 02-27-2013, 07:29 PM   #57
alwaleed
LQ Newbie
 
Registered: Feb 2013
Posts: 22

Rep: Reputation: Disabled
ZRP

My friend. I'm beginner in ns2 and I'm encounter problems when install ZRP. may you explain me the step by step to install ZRP in ns-2.33 on ubuntu 10.04
Thanks
 
Old 02-27-2013, 11:37 PM   #58
alwaleed
LQ Newbie
 
Registered: Feb 2013
Posts: 22

Rep: Reputation: Disabled
ns2

Excuse me, anyone may help me by sending the step by step to install ns-2.33 on ubuntu 10.10. I'm beginner and I need more details.
Thanks
 
Old 02-28-2013, 01:48 AM   #59
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
# 57 .

Please read everything referred to some more times,
and then tell what it is you don't understand.
Attached Files
File Type: txt zrp-links.txt (1.7 KB, 34 views)
 
Old 02-28-2013, 01:16 PM   #60
alwaleed
LQ Newbie
 
Registered: Feb 2013
Posts: 22

Rep: Reputation: Disabled
ns-2.33

Hi everyone, I tried to install ns-2.33 in ubuntu 10.10 but the first step when excuted this command: sudo apt-get install xorg-dev g++ xgraph the following error appear
E: Unable to locate package xorg-dev
E: Package 'xgraph' has no installation candidate
may anyone help me by sending step by step to install ns-2.33 in ubuntu 10.10 as soon as possible.
thanks
 
  


Reply

Tags
ns2, setdest, zrp, zrp#2



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
How to patch GPSR routing protocol to ns-2.34 nimacasino Linux - Software 287 06-10-2014 12:27 PM
LXer: Tutorial: Border Gateway Protocol, The Routing Protocol of the Internet LXer Syndicated Linux News 0 11-13-2008 05:11 AM
Time Zone patch diskoe Slackware 41 03-13-2007 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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