LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 09-18-2012, 05:04 AM   #1
jithads
LQ Newbie
 
Registered: Sep 2012
Posts: 6

Rep: Reputation: Disabled
Red face 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
 
Old 09-18-2012, 11:39 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,624

Rep: Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528
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 )

.
 
Old 09-21-2012, 01:45 AM   #3
jithads
LQ Newbie
 
Registered: Sep 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
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
 
Old 09-21-2012, 02:56 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,624

Rep: Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528
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
 
Old 11-06-2012, 12:10 AM   #5
jithads
LQ Newbie
 
Registered: Sep 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Red face 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$
 
Old 11-06-2012, 01:51 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,624

Rep: Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528
# 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/

.
 
Old 11-06-2012, 02:54 AM   #7
jithads
LQ Newbie
 
Registered: Sep 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
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
 
Old 11-06-2012, 04:40 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,624

Rep: Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528
# 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*

.
 
Old 11-07-2012, 01:05 AM   #9
jithads
LQ Newbie
 
Registered: Sep 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Red face 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

Last edited by jithads; 11-07-2012 at 01:06 AM. Reason: Addtion of details
 
Old 11-07-2012, 03:40 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,624

Rep: Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528
# 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/
.
Attached Files
File Type: txt imep.cc.txt (28.9 KB, 0 views)

Last edited by knudfl; 11-07-2012 at 03:44 AM.
 
Old 12-07-2012, 05:34 AM   #11
jithads
LQ Newbie
 
Registered: Sep 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
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
 
Old 12-07-2012, 06:32 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,624

Rep: Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528
# 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

.
 
  


Reply

Tags
ns2, tora


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
12.1 /etc/rc.d/rc.wireless patch proposal michalr Slackware 2 08-31-2008 08:06 AM
Why is multicast protocols designed in Layer 3 when routing protocols in L5 vineeth_thampi Linux - Networking 2 07-04-2006 05:23 PM
package that supports wireless adhoc routing protocols? hedpe Linux - Wireless Networking 0 03-13-2006 09:10 PM
Orinoco Wireless Patch on Debian? Eklipz Debian 2 12-10-2004 01:58 PM
How to patch orinoco wireless driver wkm001 Linux - Software 3 12-07-2003 05:11 PM


All times are GMT -5. The time now is 04:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration