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 - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 03-06-2015, 07:24 AM   #31
beiinnovative
LQ Newbie
 
Registered: Dec 2014
Posts: 17

Rep: Reputation: Disabled

I have downloaded its patch from:
http://sourceforge.net/projects/anthocnet/

Hope it helps.
 
Old 03-06-2015, 07:26 AM   #32
beiinnovative
LQ Newbie
 
Registered: Dec 2014
Posts: 17

Rep: Reputation: Disabled
I have downloaded it from here:

http://sourceforge.net/projects/anthocnet/

Hope it helps.
 
Old 03-06-2015, 07:28 AM   #33
beiinnovative
LQ Newbie
 
Registered: Dec 2014
Posts: 17

Rep: Reputation: Disabled
I want to know how can I install the anthocnet_ns235.patch properly?
 
Old 03-06-2015, 08:01 AM   #34
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
ref. #33, @beiinnovative.

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 < anthocnet_ns235.patch
./install
cd ns-2.35/
# make install
cp ns ns235-anthocnet ( That's your "ns AntHocNet" backup )
# cp ns235-anthocnet /usr/local/bin/


-

Last edited by knudfl; 03-06-2015 at 11:52 AM.
 
Old 03-06-2015, 09:27 AM   #35
beiinnovative
LQ Newbie
 
Registered: Dec 2014
Posts: 17

Rep: Reputation: Disabled
Where is anthocnet package located in this package? Sorry I didnt understand the instructions exactly,can you please elaborate how can i add this patch properly?
Thank you.
 
Old 03-06-2015, 11:52 AM   #36
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
#35.

Please read post #29 : The patch is exactly this ....
$ svn checkout svn://svn.code.sf.net/p/anthocnet/code/ anthocnet-code
I.e. the difference from ns-2.34 to {the anthocnet patched ns-2.34 }.

When you have got the above "anthocnet-code", you will find "anthocnet/" in ns-2.34/.
The same is valid for ns-2.35. It's the same code which is added.
( The patch is not a "package", is a text file : Readable.)


Quote:
can you please elaborate how can i add this patch
$ cd ns-allinone-2.35/
$ patch -p0 < anthocnet_ns235.patch


-
 
Old 03-07-2015, 04:30 AM   #37
beiinnovative
LQ Newbie
 
Registered: Dec 2014
Posts: 17

Rep: Reputation: Disabled
I am not able to install it properly.There are some errors. But I need to generate various trace files for AntHocNet protocol.Can you help me in generating the trace files for the same if this protocol runs well on your system?
 
Old 03-07-2015, 07:29 AM   #38
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
<<< ref. post #37

Please read post #34.

$ 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 < anthocnet_ns235.patch
$ ./install
.... I don't think you can have any errors with this.


-

Last edited by knudfl; 03-07-2015 at 07:31 AM.
 
Old 03-07-2015, 09:20 AM   #39
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
<<< #37.
Quote:
generating the trace
Generating trace file is your homework.

You have had a week to install CentOS 6.6 - 32bits.
See post #27 :
Install CentOS 6.6 - i686 into 'VirtualBox'.


-
 
Old 03-07-2015, 11:03 AM   #40
beiinnovative
LQ Newbie
 
Registered: Dec 2014
Posts: 17

Rep: Reputation: Disabled
ok, I will try again but can you let me know about any link related to the awk script fo assessing the anthocnet trace files?
 
Old 03-07-2015, 12:23 PM   #41
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
<<< ref. #40.

Trace files are text : You can read the file.
http://nsnam.isi.edu/nsnam/index.php/NS-2_Trace_Formats

Awk scripts are mostly for analyzing the trace file.
Package with ~140 scripts : awk-and-perl_scripts_12.2014.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

-
 
Old 03-09-2015, 01:33 AM   #42
beiinnovative
LQ Newbie
 
Registered: Dec 2014
Posts: 17

Rep: Reputation: Disabled
I have installed it successfully but still getting the same segmentation fault(core dump) error with some files not running properly.
 
Old 03-09-2015, 01:38 AM   #43
beiinnovative
LQ Newbie
 
Registered: Dec 2014
Posts: 17

Rep: Reputation: Disabled
Have you run the previous files I have uploaded on CentOS?
 
Old 05-14-2015, 01:42 AM   #44
lixinlu2000
LQ Newbie
 
Registered: May 2015
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
<<< #37.

Generating trace file is your homework.

You have had a week to install CentOS 6.6 - 32bits.
See post #27 :
Install CentOS 6.6 - i686 into 'VirtualBox'.


-
Sir, Following your approach, using centos 6.6 32 bit, the result is correct. Thank your!
I would like to modify the anthocnet protocol to apply in wireless sensor networks, Could you please give some advise?
 
Old 05-14-2015, 06:15 AM   #45
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re post #44, @lixinlu2000 : Welcome to LQ.

Which "wireless sensor network" simulation is it about ?

Please tell what you are doing / working with.
And what are the results you have achieved so far ? With WSN without anthocnet.
Which simulation files did you use ? "file-names.tcl" , please.


-
 
  


Reply

Tags
anthocnet, 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
NS2 2.35: Antnet must Linux - Software 14 05-26-2017 07:17 AM
code of CONFIDANT implemented in ns2 dorra Linux - Newbie 14 02-24-2014 12:24 PM
How the BECAN sheme is implemented using NS2 shahina Linux - Wireless Networking 1 07-20-2013 03:00 AM
[NS2] the RSS & link_events code in MIH implemented by NIST RSM_smile Linux - Newbie 0 09-26-2012 08:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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