LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-10-2016, 03:45 PM   #1
neda_71
Member
 
Registered: Jul 2016
Location: Oregon, USA
Distribution: Lubuntu 14.04, ns2
Posts: 32

Rep: Reputation: Disabled
how can patch article to ubuntu..plz help me


can u help me to patch this article http://ac.els-cdn.com/S1877050915004...c00fca4b336754 to ubuntu.

tnx
 
Old 07-10-2016, 04:09 PM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hi...

How do you mean exactly?

Also, just as a suggestion, you might want to change your username using the instructions at the top of the page here, lest your email inbox ends up with a boatload of SPAM in the very near future.

Regards...
 
1 members found this post helpful.
Old 07-10-2016, 04:34 PM   #3
neda_71
Member
 
Registered: Jul 2016
Location: Oregon, USA
Distribution: Lubuntu 14.04, ns2
Posts: 32

Original Poster
Rep: Reputation: Disabled
tnx
I want simulate "An Enhanced Ant Colony Based Approach to Optimize the Usage of Critical
Node in Wireless Sensor Networks" in ns2


can u help me too do it?!
I want all file to simulate in ns2
 
Old 07-10-2016, 04:37 PM   #4
neda_71
Member
 
Registered: Jul 2016
Location: Oregon, USA
Distribution: Lubuntu 14.04, ns2
Posts: 32

Original Poster
Rep: Reputation: Disabled
i send u the link of article

http://ac.els-cdn.com/S1877050915004...d1d6c1423192a6
 
Old 07-10-2016, 04:47 PM   #5
neda_71
Member
 
Registered: Jul 2016
Location: Oregon, USA
Distribution: Lubuntu 14.04, ns2
Posts: 32

Original Poster
Rep: Reputation: Disabled
plz help me
 
Old 07-10-2016, 04:48 PM   #6
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
I want simulate "An Enhanced Ant Colony Based Approach to Optimize the Usage of Critical Node in Wireless Sensor Networks" in ns2

can u help me too do it?!
I want all file to simulate in ns2
Hi...

I'm sorry, I'm afraid not. I thought you meant something entirely different.

Regards...

Last edited by ardvark71; 07-10-2016 at 04:49 PM. Reason: Changed wording.
 
Old 07-10-2016, 05:15 PM   #7
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
Ant Colony ...
I think the closest we will come to that is the "Ant Colony Algoritm" = AntNet patch.

antnet_ns235.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing
Build example http://www.linuxquestions.org/questi...-4175532576/#2
Please note that an oldish 32bits OS is required : CentOS 6.8
http://ftp.funet.fi/pub/mirrors/cent...386-LiveCD.iso

Antnet info http://www.linuxquestions.org/questions/tags/antnet/
.. and https://groups.google.com/forum/?fro...et%7Csort:date

Other ...
Anthocnet http://www.linuxquestions.org/questions/tags/anthocnet/
SARA (Simple Ant ..) http://www.linuxquestions.org/questions/tags/sara/


-

Last edited by knudfl; 07-10-2016 at 05:25 PM.
 
2 members found this post helpful.
Old 07-11-2016, 04:43 AM   #8
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by nedawp@gmail.com View Post
plz help me
Use whole words. not phone speak please.

Thank you,
 
1 members found this post helpful.
Old 07-11-2016, 05:02 PM   #9
neda_71
Member
 
Registered: Jul 2016
Location: Oregon, USA
Distribution: Lubuntu 14.04, ns2
Posts: 32

Original Poster
Rep: Reputation: Disabled
tnx alot.

i find how can simulate "An Enhanced Ant Colony Based Approach to Optimize the Usage of Critical
Node in Wireless Sensor Networks" in ns2
see https://www.youtube.com/watch?v=SOhT4pNz8Ak youtube..but how can find simulation file?
 
Old 07-12-2016, 07:41 AM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by nedawp@gmail.com View Post
tnx alot.
AGAIN, since you ignored it...DO NOT USE TEXT SPEAK. It's "thanks", not "tnx"
Quote:
i find how can simulate "An Enhanced Ant Colony Based Approach to Optimize the Usage of Critical
Node in Wireless Sensor Networks" in ns2
see https://www.youtube.com/watch?v=SOhT4pNz8Ak youtube..but how can find simulation file?
How about actually reading post #7, where you were handed links???
 
Old 07-12-2016, 08:13 AM   #11
neda_71
Member
 
Registered: Jul 2016
Location: Oregon, USA
Distribution: Lubuntu 14.04, ns2
Posts: 32

Original Poster
Rep: Reputation: Disabled
thanks alot.

" Antnet, ns-2.35
tar xvf ns-allinone-2.35_gcc482.tar.gz ( for gcc -4.6 ... 4.9 )
https://drive.google.com/file/d/0B7S...ew?usp=sharing
cd ns-allinone-2.35/
patch -p0 < antnet_ns235.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
./install "

i install Antnet ...What should I do next stage؟
 
Old 07-12-2016, 08:17 AM   #12
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
Re #9.

Simulation examples :
Start with the AntNet examples, antnet-examples-2016.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing
... and change the protocol ( Agent/Antnet ) to the actual protocol.


-
 
Old 07-12-2016, 08:40 AM   #13
neda_71
Member
 
Registered: Jul 2016
Location: Oregon, USA
Distribution: Lubuntu 14.04, ns2
Posts: 32

Original Poster
Rep: Reputation: Disabled
ok .thanks. change the protocol ( Agent/Antnet ) to the "actual protocol" in all file send me ... how changes "Antnet" to my article . "An Enhanced Ant Colony Based Approach to Optimize the Usage of Critical
Node in Wireless Sensor Networks" in ns2
 
Old 07-12-2016, 12:28 PM   #14
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
Re #11.
Quote:
I install Antnet ...What should I do next stage ?
After ./install :
cd ns-2.35/
sudo make install
cp ns ns-antnet
sudo cp ns-antnet /usr/local/bin/

Simulation : ns-antnet antnet.tcl

Note : The complex simulations will not work with Ubuntu. Please use CentOS 6.8 - i386
http://ftp.funet.fi/pub/mirrors/cent...386-LiveCD.iso

One simple simulation will work with some Ubuntu´s : ns-antnet Pradeepkumar-antnet.tcl


-
 
1 members found this post helpful.
Old 07-12-2016, 12:30 PM   #15
neda_71
Member
 
Registered: Jul 2016
Location: Oregon, USA
Distribution: Lubuntu 14.04, ns2
Posts: 32

Original Poster
Rep: Reputation: Disabled
how confige https://drive.google.com/file/d/0B7S...ew?usp=sharing ?
 
  


Reply

Tags
antnet, ns2



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] Need a patch for MAODV Plz.. apar2610 Linux - Newbie 13 01-27-2015 02:22 AM
Fix Ubuntu news article Daedalos Ubuntu 28 11-11-2013 02:55 AM
LXer: The most important Ubuntu article you'll read this year (and last ... and maybe LXer Syndicated Linux News 0 06-08-2010 01:20 AM
Ubuntu, Linspire partnership article hrp2171 Ubuntu 4 02-08-2007 04:42 PM
LXer: Comment of the Day - January 5, 2006 - Fundamental Mistake in Article About Ubuntu LXer Syndicated Linux News 0 01-05-2006 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:30 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
Open Source Consulting | Domain Registration