how to integrate the "Resource/Energy" leach class into NS-2.34?
Linux - SoftwareThis 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
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.
Can you not go look them up yourself???? You found this site with an Internet search, go find updated links as well. Asking people to do your Google searches for you is not only lazy, but incredibly rude. Read the "Question Guidelines" link in my posting signature.
If you cannot put ANY effort into looking something up for yourself, don't ask us to do it for you.
Can you not go look them up yourself???? You found this site with an Internet search, go find updated links as well. Asking people to do your Google searches for you is not only lazy, but incredibly rude. Read the "Question Guidelines" link in my posting signature.
If you cannot put ANY effort into looking something up for yourself, don't ask us to do it for you.
dude take it easy ,i've searched and found none he is the only one to upload image with ns2 and leach integrated on it.that's why i asked him
anyway i build my own and it worked so don't need them anymore
dude take it easy i've searched and found none he is the only one to upload image with ns2 and leach integrated on it.that's why i asked him anyway i build my own and it worked so don't need them anymore
Wasn't stressed at all, but also wasn't going to go look things up for you...don't think anyone else will either. And since you built your own, that must mean that they were easy to find and build...hard to think of why you asked us to do this for you, then.
Hi there, how do I configure the data packet transmission rate in LEACH MIT UAMPS protocol? I have searched the related files, but maybe I missed something. If anyone could help, it will be highly appreciated. Thank you.
Thank you so much, sir. It was helpful. I do have one other question. I was trying to install ns-2.34 in my laptop (Ubuntu 10.04 32 bits). I followed the exact steps I used when I installed ns-2.34 in my PC. But, it keeps giving error - ns: command not found in my laptop. When I checked /home/kosheila/ns-allinone-2.34/bin, ns and nam exe files are not there. But, these two files exist in my PC. I checked .bashrc and the paths are the same as my PC (I did locate all my files exactly as in my PC). I think because of the missing bin files, the errors are produced. How do I install the bin files, sir?
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #1030 : Please do not quote entire posts. A "one word reference" will do.
LEACH :
Code:
tar xvf ns-allinone-2.34.tar.gz
cd ns-allinone-2.34/
patch -p0 < ns234_gcc49.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
zcat leach+pegasis_ns234.patch.gz | patch -p0
https://drive.google.com/file/d/0B7S...ew?usp=sharing
./install
cd ns-2.34/ // and check that 'ns' is present
ls ns
cp ns ns-leach // this is your backup
sudo cp ns-leach /usr/local/bin/
sudo make install // 'make install' will copy 'ns' to /usr/local/bin/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.