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.
In fact ,i need to use ns2.28 to be able to implement EDCA model (patches exist only for ns2.28)!!!
So can you help me?
This is a duplicate to the post you put in your OTHER thread that you hijacked. Someone else already asked this question, and got directed to the answers, complete with links.
You can have two or more versions of ns-allinone-2.xx installed
at the same time with no problems.
No need to use ns-allinone-2.28 for HWMP.
..
Hi all
I can't access the website providing the hwmp patch for ns2 https://forge.iitp.ru/ns2/hwmp/.
Can any one send me the source code or show me another available link.
Your help is extremely needed and will be sincerely appreciated.
Thanks in advance.
Thanks a lot for your help.
I install the patch following these steps :
$ cd ns-allinone-2.33/ns-2.33/
$ tar zxvf ns233-hwmp_rev183.patch.tar.gz
$ patch -p1 < ns233-hwmp_rev183.patch
But when i recompile ns2.33 by the "make" command i got this error.
hwmp/hwmp.cc: In member function ‘virtual int HWMP::command(int, const char* const*)’:
hwmp/hwmp.cc:88: error: overloaded function with no contextual type information
hwmp/hwmp.cc: In member function ‘virtual void HWMP::recv(Packet*, Handler*)’:
hwmp/hwmp.cc:158: warning: comparison between signed and unsigned integer expressions
make: *** [hwmp/hwmp.o] Erreur 1
Have you please any idea about this error?
Thanks in advance.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 9.
sudo apt-get install g++-4.1
Start from scratch with a new unpacked ns-allinone-2.33.tar.gz,
or do a 'make clean' in all applications, + delete the Makefile's.
And :
cd ns-allinone-2.33/ && export CC=gcc-4.1 CXX=g++-4.1 && ./install
Start from scratch with a new unpacked ns-allinone-2.33.tar.gz,
or do a 'make clean' in all applications, + delete the Makefile's.
And :
cd ns-allinone-2.33/ && export CC=gcc-4.1 CXX=g++-4.1 && ./install
.
Unfortunately that does not work anyway. I got this error :
/usr/bin/ld: cannot open output file ns: Is a directory
collect2: ld returned 1 exit status
make: *** [ns] Erreur 1
Ns make failed!
Unfortunately that does not work anyway. I got this error :
/usr/bin/ld: cannot open output file ns: Is a directory
collect2: ld returned 1 exit status
make: *** [ns] Erreur 1
Ns make failed!
It finally worked.
I had an error in ns2 validation However I used gcc-4.3 instead of gcc-4.1.
Thanks a lot for your help. You save me
It would be so grateful if you can send me examples of configuration (tcl script using hwmp)
Sincerely.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
#12.
The patch ns233-hwmp_rev183.patch supplies these examples :
( ns-2.33/hwmp/hwmp.tcl )
ns-2.33/hwmp/mesh_hwmp_example.tcl
ns-2.33/tcl/ex/wireless-mitf.tcl
./ns mesh_hwmp_example.tcl : OK. Creates namout.nam and tracefile.tr .
>>> nam namout.nam : OK.
( hwmp.tcl is probably a file that's used by './ns mesh_hwmp_example.tcl'.)
./ns wireless-mitf.tcl : OK. Creates wireless_mitf.nam and wireless_mitf.tr .
>>> nam wireless_mitf.nam : OK.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.