Post #3, @LeilaIranpour : Welcome to LQ.
Please delete your email address, to avoid spammers harvesting your address.
* We already have "Send email to LeilaIranpour"
http://www.linuxquestions.org/questi...mber&u=1008844
* And usually we don't do technical stuff by email.
* All technical discussions / information's are supposed to be visible in the Forums`s.
* So all readers can benefit from the solutions.
HWMP (-Mesh) :
http://www.linuxquestions.org/questions/tags/hwmp/
A new patch : hwmp_ns235.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
The ns-2.34 patch : ns-2.34_hwmp_rev282.patch.bz2
https://drive.google.com/file/d/0B7S...ew?usp=sharing
A build example :
$ tar xvf ns-allinone-2.35_gcc482.tar.gz ( For all gcc/g++ -4.4.x .. 5.1.0 )
https://drive.google.com/file/d/0B7S...ew?usp=sharing
$ cd ns-allinone-2.35/
$ patch -p0 < hwmp_ns235.patch
$ ./install
$ cd nam-1.15/
# make install && exit
$ cd ../ns-2.35/
$ cp ns ns235-hwmp
# make install
# cp ns235-hwmp /usr/local/bin/ && exit
Simulation : $ cd hwmp/
$ ns235-hwmp mesh_hwmp_example.tcl :
OK, files namout.nam 838.8kB, speed.tr 27B, tracefile.tr 708.3kB are created.
-