LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-23-2018, 09:43 AM   #16
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 17,040

Rep: Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456
Creating Output Files for Xgraph


Re #15.

Please edit post #15 to use CODE Tags around the code
http://www.linuxquestions.org/questi....php?do=bbcode
I.e. [code]code text[/code]
... or use the # button in the 'Advanced Editor'.
Editing : That's the 'Edit' button in post #15.

Xgraph files → "VIII. Creating Output Files for Xgraph"
http://www.isi.edu/nsnam/ns/tutorial/nsscript4.html

Aodv and aodv-malicious examples with xgraph plot files :
xgraph_ns2-files-tcl_01.18/{{2paires.tcl, 30manetAODV.tcl, aodvattacker.tcl, aodv-ipsit.tcl, aodv-X.tcl}, malicious/{m-aodv.tcl, m-aodv_saa-6611.tcl}}

xgraph_ns2-files-tcl_01.18.tar.gz ( ~80 examples )
https://drive.google.com/file/d/1wa9...ew?usp=sharing
Note : malicious is defined as `hackerī.
Just edit to malicious, if you want to run the files.

All examples https://drive.google.com/drive/folde...Ws?usp=sharing

-
 
1 members found this post helpful.
Old 02-23-2018, 01:13 PM   #17
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 4,664
Blog Entries: 6

Rep: Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525
Please place your code snippets inside [CODE]...[/CODE] tags for better readability. You may type those yourself or click the "#" button in the edit controls.

Quote:
Originally Posted by Kushalj View Post
How to generate the xgraph for below tcl file ?
...
This post does nothing to make the original question any more clear and appears to be a different incomplete question altogether.

Please read the previously linked pages about asking complete questions and general participation here at LQ. Please put some effort into improving the completeness and quality of your questions. Simply pasting code does not count toward that end.

Here is a tutorial for using xgraph with your tcl files. Please work your way through that and if you get stuck at some point explain what you have done and what is not working for you and we will try to help.

As noted previously, while members are willing to help with your problems, LQ is not a help desk or a place to have others complete your work for you. Most members will expect you to have performed simple online searches for information and to have tried to find a solution on your own, before asking your questions here.

If you cannot work within the above guidelines then LQ may not be the proper forum for your questions.

Last edited by astrogeek; 02-23-2018 at 01:16 PM. Reason: type, added quote
 
Old 02-24-2018, 03:24 AM   #18
Kushalj
LQ Newbie
 
Registered: Jan 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
Thank you you are doing great job
 
Old 02-26-2018, 03:39 AM   #19
Kushalj
LQ Newbie
 
Registered: Jan 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
How to encrypt and Decrypt a packets in ns2.35 ?
 
Old 02-26-2018, 03:45 AM   #20
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 10,899

Rep: Reputation: 3242Reputation: 3242Reputation: 3242Reputation: 3242Reputation: 3242Reputation: 3242Reputation: 3242Reputation: 3242Reputation: 3242Reputation: 3242Reputation: 3242
Quote:
Originally Posted by Kushalj View Post
Thank you you are doing great job
and what about you?
https://is.gd/KbDESi
 
Old 03-05-2018, 12:48 AM   #21
Kushalj
LQ Newbie
 
Registered: Jan 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
configure: error: Installation of tcl seems incomplete or can't be found automatically.
Please correct the problem by telling configure where tcl is
using the argument --with-tcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tcl=no.


help me to solve this sir in Security Protocol (packet) in NS2
 
Old 03-05-2018, 01:21 AM   #22
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 4,664
Blog Entries: 6

Rep: Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525
Quote:
Originally Posted by Kushalj View Post
configure: error: Installation of tcl seems incomplete or can't be found automatically.
Please correct the problem by telling configure where tcl is
using the argument --with-tcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tcl=no.


help me to solve this sir in Security Protocol (packet) in NS2
Have you read and followed the instructions given in the error message?

And please review my previous posts #14 and #17 above. You seem to have not considered the advice to read the Site FAQ for guidance in asking questions and general forum participation, and ignored multiple requests to please place your code and error message snippets inside [CODE]...[/CODE] tags for better readability.

If you persist in this behavior it will frustrate other members and degrade the quality of information available on LQ, and you may be asked to seek help elsewhere. Please help yourself and others by taking this as a gentle warning to change this behavior, sooner rather than later.
 
Old 03-05-2018, 01:33 AM   #23
Kushalj
LQ Newbie
 
Registered: Jan 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
i search and follow your instruction which you posted on 2/2/16 to shailendra https://groups.google.com/forum/#!to...rs/SEk902bpmak

and run this command cd ns-allinone-2.35/ && ./install

then it shows below error
config.status: autoconf.h is unchanged
Makefile:170: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
 
Old 03-05-2018, 01:53 AM   #24
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 4,664
Blog Entries: 6

Rep: Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525
I do not post to google so you must mean someone else.

What I was referring to in my previous post was this from your last previous post...

Quote:
Originally Posted by Kushalj View Post
configure: error: Installation of tcl seems incomplete or can't be found automatically.
Please correct the problem by telling configure where tcl is
using the argument --with-tcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tcl=no.
Did you read that message and try the solution suggested? If so, what was the result?
 
Old 03-05-2018, 05:37 AM   #25
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 17,040

Rep: Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456
Re #23.

@astrogeek, post #24 : Post #23 refers to post #16 I think, and to one of my post at https://groups.google.com/forum/?fro...forum/ns-users


@Kushalj
Quote:
Makefile:170 ** missing separator (did you mean TAB instead of 8 spaces?)
You can get an answer, when you have edited post #15 to CODE Tags.
How to : See post #16 : "Editing : That's the 'Edit' button in post #15."

-

Last edited by knudfl; 03-05-2018 at 05:38 AM.
 
1 members found this post helpful.
Old 03-07-2018, 07:33 AM   #26
Kushalj
LQ Newbie
 
Registered: Jan 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
Dear sir,
after following all of the steps of this link http://www.nsnam.com/2015/03/securit...et-in-ns2.html my problem is same and i am don't find any solution of this in
Security Protocol (packet) in NS2
after ,/install

configure: error: Installation of tcl seems incomplete or can't be found automatically.
Please correct the problem by telling configure where tcl is
using the argument --with-tcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tcl=no.

what should i do ?
 
Old 03-07-2018, 09:48 AM   #27
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 17,040

Rep: Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456
Repeat : Please edit post #15 to code Tags around the code.
See post #16 : "Editing : That's the 'Edit' button in post #15."
 
Old 03-08-2018, 06:11 AM   #28
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 17,040

Rep: Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456Reputation: 3456
Re #23. Makefile : You edited Makefile.in or Makefile.

Line 170
<space><space><space><space><space><space><space><space>classifier/classifier-hash.o \

Must be
<TAB>classifier/classifier-hash.o \

-----------------

Re #26, ns2 Security.

Code:
tar xvf ns-allinone-2.35_gcc5.tar.gz       // 2014 - 2017 update
https://drive.google.com/file/d/0B7S...ew?usp=sharing
cd ns-allinone-2.35/
patch -p0 < security_ns235.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
./install
cd ns-2.35/
cp ns ns235-security
sudo cp ns235-security /usr/local/bin/

------------- Simulation -----------
ns235-security security.tcl
Etc. examples from Security-examples-May25.17.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

All ~2500 ex https://drive.google.com/drive/folde...Ws?usp=sharing
All ~300 patches https://drive.google.com/drive/folde...00?usp=sharing

-
 
Old 03-22-2018, 07:16 AM   #29
Kushalj
LQ Newbie
 
Registered: Jan 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
After installing the CRCN GUI, I opened it and click the confirm button, then, the terminal showed the sentences as below:

/root/ns-allinone-2.31/ns-2.31/test.tcl
Can't open file simsetfile!
java.io.FileNotFoundException: /root/ns-allinone-2.31/ns-2.31/test.tcl (Permission denied)

It seems that creating the tcl script failed, I do not know why~
 
Old 03-22-2018, 07:41 AM   #30
Kushalj
LQ Newbie
 
Registered: Jan 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
after make depend found this error

Makefile:533: recipe for target 'depend' failed
make: *** [depend] Error 2
 
  


Reply

Tags
crcn, ubuntu 16.04


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
ajax.googleapis.com required for CODE tags button catkin LQ Suggestions & Feedback 4 04-23-2015 01:04 PM
[SOLVED] Is it possible to optimize C code using SSE*/AVX* ? or is assembly required ? metaschima Programming 8 06-28-2014 12:38 PM
challenge for c programmers:code urgently required ehtisham Programming 7 11-22-2010 01:47 AM
Samsung yp-u3 code required for ubuntu byker Linux - Newbie 3 03-22-2009 04:14 AM
Document required about Fedora source code ahm_irf Fedora 1 02-11-2007 10:16 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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