LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 08-13-2013, 03:24 PM   #166
uzmag
LQ Newbie
 
Registered: Aug 2013
Posts: 20

Rep: Reputation: Disabled

Originally Posted by neha57 View Post
hello sir,
your site is very helpful to new beginners. i have patched zrp successfully but when i execute it shows the following error:
invalid command name "Agent/ZRP"
while executing
"Agent/ZRP set radius_ 2 "(file "zrp1.tcl" line 68)

can u pls help me to sort out this problem...
thank u....
i got the same problem like this one, Sir.
i type the command ns example-zrp.tcl.txt
is that right sir?

thank you
same problem i have.i have installed ns2.33
and do all steps but when i run zrp code tcl file same error appears
 
Old 08-14-2013, 02:25 AM   #167
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,266

Rep: Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661
# 166 .
Quote:
invalid command name "Agent/ZRP"
Means : No ZRP was added to this 'ns' executable.
? May be you are using the wrong 'ns' ? ? Or have a failed build ?

Repeat from post #165 : ""Please specify OS name, version, architecture"" :
1) $ uname -m <Enter>
2) $ cat /etc/*release* <Enter>

-
 
Old 08-14-2013, 03:47 AM   #168
uzmag
LQ Newbie
 
Registered: Aug 2013
Posts: 20

Rep: Reputation: Disabled
I have installed fedora version of Linux
and ns 2.33 and also 2.34
I put 3 files attached in post 6 and put in ns-allinone 2.33 folder which reside in the uzmag home folder
all commands execute but the last command make -k after executeing end as I have mentioned u that nothing to done and after that when I run zrp example which I put in uzmag home folder it gives error of agent/zrp
 
Old 08-14-2013, 03:48 AM   #169
uzmag
LQ Newbie
 
Registered: Aug 2013
Posts: 20

Rep: Reputation: Disabled
please clearify your answer.and thanks for the help.but I m new in this and don't know wat to do.i m worried a lot .plz help me out
 
Old 08-14-2013, 03:54 AM   #170
uzmag
LQ Newbie
 
Registered: Aug 2013
Posts: 20

Rep: Reputation: Disabled
and my ns-2.34 version running.but how I can know that my ns-2.33 verison working or not
 
Old 08-14-2013, 04:07 AM   #171
uzmag
LQ Newbie
 
Registered: Aug 2013
Posts: 20

Rep: Reputation: Disabled
my ns-2.33 is installed successfully and the command ./install and ./validate run with no errors
 
Old 08-14-2013, 04:25 AM   #172
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,266

Rep: Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661
# 170 .

OK, so you do actually have two (or more) ns2 versions.

You can only have one file by name 'ns' in your PATH.
And : Do not add any PATH text to .bashrc .
That's a "University thing". I.e. to be used when it's not your computer.

But I assume you can install "ns** " to /usr/local/bin/.
1) ns-2.34 : Copy 'ns' to /usr/local/bin/ ( As ns or ns234.)
2) ns-2.33 ZRP : Make a copy of the "ZRP ns" to a new name : 'ns-zrp'.
And then copy 'ns-zrp' to /usr/local/bin/

*** All ZRP examples will work with : $ ns-zrp file.tcl

-

Last edited by knudfl; 08-14-2013 at 04:26 AM.
 
Old 08-14-2013, 11:13 AM   #173
uzmag
LQ Newbie
 
Registered: Aug 2013
Posts: 20

Rep: Reputation: Disabled
i cant get it what u r saying
please write me clearly
thnks for the reply though
 
Old 08-18-2013, 06:28 AM   #174
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,266

Rep: Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661
# 173 .

Which part of post #172 is it that you don't understand ?
 
Old 08-19-2013, 01:03 PM   #175
uzmag
LQ Newbie
 
Registered: Aug 2013
Posts: 20

Rep: Reputation: Disabled
I have two laptops.on one laptop the patching is done successfully but not on the other .it gives errors in the last statement make -k.i don't know y.
 
Old 08-19-2013, 01:07 PM   #176
uzmag
LQ Newbie
 
Registered: Aug 2013
Posts: 20

Rep: Reputation: Disabled
please tell me can I do patching of ns-2.33 zrp to ns-2.34.i have read in thread on page 2 that it can happen.
and also tel me when we give statement cd../ && tar vxf...... then where it extract the ns-allinone-2.33_zrp.tar.gz
I think it extratct in some other place and we go in a different folder.thats why my installation is wrong and it does not make
 
Old 08-21-2013, 03:59 AM   #177
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,266

Rep: Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661
# 176 .

ZRP, ns-2.34 : There is a suggestion in post # 16.

( Please read all ZRP http://www.linuxquestions.org/questions/tags/zrp/ )

""when we give statement cd../ && tar vxf......
then where it extract the ns-allinone-2.33_zrp.tar.gz""

'ns-allinone-2.33_zrp.tar.gz' is to be unpacked in the directory,
where you already have ns-allinone-2.33/.
* Please unpack ns-allinone-2.33_zrp.tar.gz to see what's inside.
** ns-allinone-2.33_zrp.tar.gz is simply adding the zrp/ folder :
ns-allinone-2.33/ns-2.33/zrp/.

-
 
Old 08-21-2013, 04:09 AM   #178
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,266

Rep: Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661
# 175 .
Quote:
errors in the last statement make -k
? Probably because the Makefile says : CPP = g++

I.e. the right compiler must be used for ns-2.33 .
Fedora 9 .. 19 :
CPP = g++34

.
 
Old 09-11-2013, 01:24 AM   #179
hitchi
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Rep: Reputation: Disabled
I am new in ns2. I need a patch ZRP. Can you help me? I use ubuntu 12.04 and ns2 2.35

I wait reply on hitchithe@gmail.com or this forum

Thanks for your help
 
Old 09-12-2013, 08:47 AM   #180
uzmag
LQ Newbie
 
Registered: Aug 2013
Posts: 20

Rep: Reputation: Disabled
they are giving all the procedure to patch zrp.
i have installed successfully after many attempts
now can anybody help to find the jitter coding in awk
i get from net but is not working
thnks
 
  


Reply

Tags
ns2, setdest, zrp, zrp#2


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


All times are GMT -5. The time now is 07:36 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration