LinuxQuestions.org
Register a domain and help support LQ
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, 09: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, 12:33 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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, 01: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 01:51 PM.
 
Old 05-04-2013, 09:39 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

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


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


All times are GMT -5. The time now is 06: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration