LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-29-2015, 06:27 AM   #16
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: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154

Re #15.

Please edit post #15 to CODE Tags
http://www.linuxquestions.org/questi....php?do=bbcode
I.e. [code]code text[/code]

Editing post #15 : The 'Edit' button in post #15.



-

Last edited by knudfl; 09-29-2015 at 07:06 AM.
 
Old 09-29-2015, 06:35 AM   #17
shivee
Member
 
Registered: Nov 2013
Posts: 30

Rep: Reputation: Disabled
Edited as you asked
 
Old 09-29-2015, 06:43 AM   #18
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: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Re. #15.

You will have to edit post #15 again : You have two blocks of code ...

1) [code]tcl code[/code]

2) [code]awk code[/code]

... And please omit the parts of post #15 that isn't code :
No "ZRP Tcl file" in the tcl file.
No "Result: Average Throughput[kbps] = -0.00 StartTime=400.00 StopTime=0.00" in the awk file.


-
 
Old 09-29-2015, 07:52 AM   #19
shivee
Member
 
Registered: Nov 2013
Posts: 30

Rep: Reputation: Disabled
Made the changes
 
Old 10-02-2015, 07:50 AM   #20
shivee
Member
 
Registered: Nov 2013
Posts: 30

Rep: Reputation: Disabled
error while : cp ns ns235-zrp2

hi!I tried executing(knudfl in #2) the cmd
cp ns ns235-zrp2 and i got an error stating
cp:cannot stat 'ns':no such file or directory

Last edited by shivee; 10-02-2015 at 07:52 AM.
 
Old 10-02-2015, 08:48 AM   #21
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: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Re #20.

No file 'ns-2.35/ns' ?
Are you sure you are in the right directory = ns-2.35/ ?
* The first command is always $ pwd

If there really is no 'ns, then you have a failed build.


-
 
Old 10-02-2015, 09:44 AM   #22
shivee
Member
 
Registered: Nov 2013
Posts: 30

Rep: Reputation: Disabled
no ns found

I am in ns2.35 only.And it has no 'ns'.I saw 'ns.1' file though.Is it the one required?
When I run cp ns.1 ns235-zrp it executes without error.However ns235-zrp command doesnot run tcl file.What to do?
 
Old 10-02-2015, 10:26 AM   #23
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: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Re #22.

The file "ns.1" is the 2395 lines manual / the man page.
If you ever did 'make install', you have /usr/local/man1/ns.1
... which can be accessed with $ man ns

Solution : Start all over in a new directory, and follow post #2.



-

Last edited by knudfl; 10-03-2015 at 10:53 AM.
 
Old 10-03-2015, 01:47 AM   #24
shivee
Member
 
Registered: Nov 2013
Posts: 30

Rep: Reputation: Disabled
Got results

Thank you knudfl!that worked !

Last edited by shivee; 10-03-2015 at 01:49 AM.
 
Old 02-01-2016, 11:58 PM   #25
Darddy
LQ Newbie
 
Registered: Jan 2016
Posts: 2

Rep: Reputation: Disabled
ZRP

Good day sir!
pls sir i need your help, i am able to install zrp patch. but when i try to run an example it gives me the following error
invalid command name"Agent/ZRP"
while executing
"Agent/ZRP set radius_9"

pls how can i solve it ?
thanks.
 
Old 02-02-2016, 08:56 AM   #26
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: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Re post #25, @Darddy.

Please read the answer to you '07 Jan 2016', i.e. post #220 here ...
http://www.linuxquestions.org/questi...ml#post5473843
... And follow the links ... and read all the posts.

And also read :
. http://www.linuxquestions.org/linux/...Ask_a_Question
. http://www.catb.org/~esr/faqs/smart-questions.html
to know that you can get a usable answer only, if some information is shown in your post.
NS-2 : Required is the ns2 version. ZRP : The file name of the patch.
And : Which "Linux OS" are you using ? Name, version, architecture ?


Quote:
i am able to install zrp patch.
.
.. error
invalid command name"Agent/ZRP"
The patch is applied / added successfully, when you can run the examples with no errors.
``` invalid command name"Agent/ZRP" ``` : No patch was added / the build of ns2 failed.


-
 
Old 10-31-2016, 01:27 AM   #27
engr
Member
 
Registered: Jan 2012
Posts: 33

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Re #6, @shivee

The file "ns235-zrp" is one that you create when building ns-2.35 + ZRP.

ZRP info :
. http://www.linuxquestions.org/questions/tags/zrp/
. https://groups.google.com/forum/?fro.../zrp|sort:date

* ns235 build example :
tar xvf ns-allinone-2.35_gcc482.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing
cd ns-allinone-2.35/
patch -p0 < zrp-ns235.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
./install
cd ns-2.35/
cp ns ns235-zrp
sudo cp ns235-zrp /usr/local/bin/
.... Simulation example : ns235-zrp zrp-Demo1-1.tcl


-
Hi!
I tried to install zrp on ns-2.35 but I am facing an issue
when I typed cp ns ns235-zrp

cp: missing destination file operand after 'ns235-zrp'

please help me to integrate the patch
 
Old 11-02-2016, 08:47 AM   #28
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,933

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Quote:
Originally Posted by engr View Post
Hi!
I tried to install zrp on ns-2.35 but I am facing an issue when I typed cp ns ns235-zrp

cp: missing destination file operand after 'ns235-zrp'

please help me to integrate the patch
PLEASE STOP HIJACKING OTHER PEOPLES THREADS...you have done this repeatedly, and have been asked not to. This thread was closed for almost a year, before being opened by someone ELSE who hijacked it, and it's been closed for eight months before you re-opened it.

And did you not read what you posted??? You told it to copy a file, but did not put where to copy it TO. Has absolutely ZERO to do with NS2, ZRP, or TCL.
 
  


Reply

Tags
ns2, zrp


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
[SOLVED] How to make modified ZRP protocol from ZRP protocol vishalpolara Linux - Newbie 12 10-07-2015 06:02 AM
ZRP mikunmicii Linux - Newbie 1 06-10-2014 12:04 PM
[SOLVED] ZRP patch farfattou Linux - Software 2 02-27-2013 06:43 AM
Help me, code ZRP vuichoigiaitri Linux - Wireless Networking 2 08-19-2012 05:24 AM


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