LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-01-2013, 08:13 AM   #1
sants
LQ Newbie
 
Registered: May 2013
Posts: 10

Rep: Reputation: Disabled
DSR routing protocol


hello,

i am new to ns2 i dont have much knowledge about it.
i work on ns2.35 on ubantu 12.04.i want to implement DSR routing protocol for vanet,but my code is not working.
i got the code in ns-allinone-2.35->ns2.35->tcl->ex->wireless.tcl
its error free but its not showing nam file.
plz smone help m
 
Old 05-01-2013, 11:33 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

Files.tcl are text files. Very easy to read. 'wireless.tcl': 289 lines.
And you will see that there's no nam in wireless.tcl
Or use : $ grep nam wireless.tcl

Also please try : $ grep nam wireless*
.. to know that e.g. wireless-test.tcl has a nam text.

-
 
Old 05-01-2013, 12:49 PM   #3
sants
LQ Newbie
 
Registered: May 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sants View Post
hello,

i am new to ns2 i dont have much knowledge about it.
i work on ns2.35 on ubantu 12.04.i want to implement DSR routing protocol for vanet,but my code is not working.
i got the code in ns-allinone-2.35->ns2.35->tcl->ex->wireless.tcl
its error free but its not showing nam file.
plz smone help m

sir/ma'm
first of all thanks for the previous reply
i have made the changes in tcl file. now it is creating .nam file. but still the problem of not showing nam output window.
could u plz tell me the reason of that

Last edited by sants; 05-01-2013 at 12:51 PM.
 
Old 05-04-2013, 08:39 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 3 .

What do you mean ? Lots of tcl files are made not to open nam automatically.

Just run the nam output file, like : $ nam out.nam
 
  


Reply



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
Multipath Design using DSR routing protocol in ns2 tandel kavita Linux - Wireless Networking 2 03-12-2013 03:45 PM
Black hole insersion for DSR protocol Abhee Linux - Newbie 3 06-18-2012 12:47 AM
How to run DSR protocol in ns-2 NimeshaK Linux - Newbie 5 03-29-2012 06:52 AM
LXer: Tutorial: Border Gateway Protocol, The Routing Protocol of the Internet LXer Syndicated Linux News 0 11-13-2008 05:11 AM
Routing Protocol karunesh Linux - Networking 3 09-04-2002 04:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:24 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration