LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   wireless protocols patch (https://www.linuxquestions.org/questions/linux-wireless-networking-41/wireless-protocols-patch-4175427793/)

jithads 09-18-2012 05:04 AM

wireless protocols patch
 
i have installed ns-2.34 i am in need of patch for TORA LDR ZRP protocols please give me idea and step by step procedure to do so please anyone

knudfl 09-18-2012 11:39 AM

Welcome to LQ.

ZRP : LQ Search : Tag = zrp

TORA links
Erlend http://erl1.wordpress.com/2010/08/10...-ubuntu-10-04/
Ex http://forums.techarena.in/networkin...ty/1127469.htm
Files http://www-sop.inria.fr/members/Eitan.Altman/ns.htm
http://wpage.unina.it/marcello.caleffi/ns2/tora.html


Google .. ns2 LDR .. : Not much to find, I think ...
( http://www.jlsnet.co.uk/blog/?p=82 )

.

jithads 09-21-2012 01:45 AM

tora patch
 
sir i have done as per
su
cd /usr/share/ns-2.30/tora/
mv tora.h tora.old.h mv tora.cc tora.old.cc wget http://wpage.unina.it/marcello.caleffi/ns2/tora.cc
wget http://wpage.unina.it/marcello.caleffi/ns2/tora.h
but i could not able to know what cahnges should i make in makein file pls suggest me in detail whatt i should do after the above

knudfl 09-21-2012 02:56 AM

Replacing tora/tora.cc, tora/tora.h with edited files having the same names :
Usually no changes for Makefile*.

This will do : mv ns ns-orig && make clean && make

jithads 11-06-2012 12:10 AM

tora
 
sir,
I have made changes in tora.h and tora.cc by editing the file from the path:
anand@anand-Veriton-Series:~/ns/ns-allinone-2.34/ns-2.34/tora$

but i coudnt get what to do after doing that. if any procedures please help me to do that.
my path is
anand@anand-Veriton-Series:~/ns/ns-allinone-2.34/ns-2.34$

knudfl 11-06-2012 01:51 AM

# 5

1) cd ns/ns-allinone-2.34/ns-2.34/
2) make clean
3) make

Example "tora.tcl" : http://ipsit.bu.edu/sc546/sc546Fall2...files/tora.tcl
Ref. http://ipsit.bu.edu/sc546/sc546Fall2002/NS80211/files/

.

jithads 11-06-2012 02:54 AM

anand@anand-Veriton-Series:~/ns/ns-allinone-2.34/ns-2.34$ make clean
make: Nothing to be done for `clean'.

knudfl that was the error i found pleas ehelp me to resolve

knudfl 11-06-2012 04:40 AM

# 7

Don't know. Is the Makefile present in ns/ns-allinone-2.34/ns-2.34/ ?
And are you sure that your location is ///ns-2.34/ ?
The command 'pwd' will show.

$ ls ns/ns-allinone-2.34/ns-2.34/Makefile*
Or : cd ns/ns-allinone-2.34/ns-2.34/ && ls Makefile*

.

jithads 11-07-2012 01:05 AM

NS2 Tora
 
S sir the Makefile.in is available in the ns 2.34 folder


anand@anand-Veriton-Series:~/ns/ns-allinone-2.34/ns-2.34$ pwd
/home/anand/ns/ns-allinone-2.34/ns-2.34
anand@anand-Veriton-Series:~/ns/ns-allinone-2.34/ns-2.34$

i found the file in Ns-2.34 folder

knudfl 11-07-2012 03:40 AM

1 Attachment(s)
# 9

Never seen a 'make clean' not work in ns-2.xx.
? May be something else is wrong ? Which Ubuntu version is it about ?

"make tora clean" : You can just delete the few concerned files :
1) cd ns/ns-allinone-2.34/ns-2.34/
2) mv ns ns-orig
3) cd tora/
4) rm -f *.o
5) cd ../imep/
6) rm -f *.o

7) cd ../ && make : A new 'ns' with the tora and imep objects will be created.

Did you fix imep/imep.cc ? ( The edited imep.cc is attached )
Ref. http://erl1.wordpress.com/2010/08/10...-ubuntu-10-04/
.

jithads 12-07-2012 05:34 AM

sir i have done everything and thres no problem in running tora but great problem i got the message
Sorting done and the nam file is not opening sir even after an hour of running

knudfl 12-07-2012 06:32 AM

# 11

Example : Intel Core 2 Duo 6600, 2.4 GHz, 2 GB RAM.
Using a binary 'ns-tora' once created on Fedora 8 :
$ ns-tora tora.tcl
( The tora.tcl from http://ipsit.bu.edu/sc546/sc546Fall2...files/tora.tcl )
After 17 seconds nam will open OK.
Created files : 1_out.nam 112.1 kB, 1_out.tr 133.1 kB.

Which version of Ubuntu are you using ?
→ $ cat /etc/issue
→ $ uname -m

.


All times are GMT -5. The time now is 05:43 PM.