Wireless Antnet integration problem with NS2.34 having Anthocnet already implemented
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
#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
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?
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
<<< 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.
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?
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.