[ns] how to call the mac layer information from routing layer?

2006-05-10 Thread 耿蓉


In my simulation ,i use dsr routing protocal,and in the process of finding 
routes, need to use mac layer(mac 802.11)'s information. And the same , in dsr 
need to use ifq of ll layer. How to do? Thanks a lot.    



[ns] segmentation fault

2006-05-10 Thread lewapryb

Hi everyone!
At last managed to install ns-2.1b9a from:
ns-allinone-2.1b9a-gcc32.tar.gz

Then I wanted to add gprs patch but it is not original made by Richa
Jain but a later version (they wrote it's better :) )
It is from: gprs-gcc32.tar.gz

I made as they wrote in readme file and ./install again.
And - wow - ns is working!!!  but gprs not

I still got the same: 
num_nodes is set 10
Segmentation fault

What can I do
anyone cope with that GPRS








[ns] ns routing algorithms understanding

2006-05-10 Thread Augusto Castelan Carlson

Hi!

I'm reading _The ns Manual_. When they talk about routing in chapter 28, it says
that Static and Session routing use Dijkstra, and that Dynamic routing uses
Bellman-Ford.

Where are these algorithms implemented and refered in the ns source?

I tryed to find them without success. I made a research in the mailing list
archives, but found nothing helpful.

I'm interested to have a good understanding of the already implemented
algorithms and manipulate them. With this understanding I can become familiar
with ns source code and implement my own algorithm and maybe, my own protocol.
I also have read the FAQ, Marc's tutorial and the document "Implementing a New
Manet Unicast Routing Protocol in NS2", but when I compile the source files, I
get many errors. As I'm interested in tradicional routing, I'm a little bit
distrustful to become confused with tradicional routing and wireless routing.

Thank you very much in advance.

Cheers,

Augusto


This message was sent using IMP, the Internet Messaging Program.



[ns] Makefile:73: *** missing separator. Stop

2006-05-10 Thread wajid mehmood

Hi ns users,
I am using edca model of tu berlin  to check the 
QOS .But i am facing some problems in installing this package .The 
problem is when i follow the installation steps of EDCA model ,then at  make 
clean and make depend commands, i get the following  error.
  Makefile:73: *** missing separator.  Stop.
  If anybody knows the solution .please do inform.
  thanks in advance
  wajid


-
Yahoo! 360° NEW – Your one place to blog, create, publish & share!


[ns] [bug] failure while ececuting proc finish

2006-05-10 Thread Amir

[Bug Report]

-
Category:  Run Time - Segmentation Fault
Package:   ns 2.29
OS:Linux Suse 9.0
Environment Variables:
LD_LIBRARY_PATH=
TCL_LIBRARY=
TK_LIBRARY=


-
Description:

Description of Problem:

I have written a sample TCL script when I want to execute it, the program 
failed and this report is brought for me: 

extra characters after close-brace
   while executing

and reports that the problem is in line that the proc finish has been defined. 
please tell me what I have to do to solve this problem


How Easily Reproducible:
(e.g. every time, intermittent, once only, etc.)


Steps to Reproduce:
(describe the minimal set of steps necessary to trigger the bug)
1. 
2. 
3. 


Actual Results:
(describe what the application did after performing the above steps)


Expected Results:
(describe what the application should have done, were the bug not present)


Additional Information:
(the following infomation is helpful to debug:
 1. simulation script, detailed output files, packet trace
 2. patch file if you modify some source code
 3. a backtrace from gdb if you get a segment fault
 If they are big files, PLEASE put them in your web space and
 include the URL here.)




[ns] WF2Q+ and so on..

2006-05-10 Thread Daniele

hi all,
is there a simple way to have a WF2Q+ scheduler in the diffserv environment?
I'm using ns-2.29.
I tried with the Sergio Andreozzi's patch either in 2.1b8a and 2.29
but in the first it doesn't compile because the compiler is quite
different (g++ 3.4 vs g++ 4.0) and in the second as well it doesn't
work.

Advices?

Daniele



Re: [ns] researches on ad hoc

2006-05-10 Thread Güzin Ulutaş

Hi Cemal,
I can suggest you something that I learned. First of all, you must 
understand what is the interaction between the otcl and c++. When you 
use which of one. And then "implementing a new manet routing protocol 
" is a good 
tutorial. This tutorial suggest you, some chapters from ns manual that 
must be read before reading this document. I think, you must observe 
dsdv and aodv codes. First of all, it can be hard for you, but you must 
be patient. Have a good luck.

Guzin Ulutas (CEng)



[ns] gud link for 802.11 code in NS

2006-05-10 Thread manjusha


Hello NS-users,

Came across an amazing link that explains clearly the 802.11 MAC code in 
NS.

http://www-ece.rice.edu/~jpr/ns/docs/802_11.html

Regards,
Manjusha


If you look at what you don't have in life, you don't have anything
If you look at what you have in life, you have everything






[ns] researches on ad hoc

2006-05-10 Thread j e

Hello!!!
  I am working with ns-2.29 and doing researches on ad hoc network I am 
working with DSDV and DSR protocols. I am doing simulations and reading Altman 
& Jimenez ns. I would like to read deeper, couse this book is not enough for 
me. could you help me to find deep informations about them.
  tahnks in advance.


Jamal


-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.


[ns] Error message when we create new agent in ns-lib.tcl

2006-05-10 Thread choong cheong

hi all,
   
  I could compile all the scripts and source files, but an error message will 
appear when i run the tcl script.  That is happen in ns-lib.tcl.  Is anyone 
could give help on this? 
   
  [code omitted because of lenght]
  :wrong # args: should  be {Simulator instproc name args body}
 (class instproc line 1)
 invoked from within 
   "simulator instproc Create-TokenRing-agent {node }
   
  Thanks.
   
  Best regards,
  Choong Wing Cheong

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[ns] Makefile:73: *** missing separator. Stop.

2006-05-10 Thread wajid mehmood

Hi ns users,
I am using edca model of tu berlin  to check the 
QOS .But i am facing some problems in installing this package .The 
problem is when i run make clean and make depend commands i get the following 
error
  Makefile:73: *** missing separator.  Stop.
  If anybody knows the solution .please do inform.
  thanks in advance
  wajid

Send instant messages to your online friends http://uk.messenger.yahoo.com 


Re: [ns] Interval for HELLO message

2006-05-10 Thread choong cheong

Hi guzinu,
   
  I'm really appreciated for your kindly reply and information.  Thanks a lot.
   
  The round is one hop.  I'm implementing a token ring module.  Round length is 
meaning that the token visited how many nodes in one round. The token maybe 
visited multiple times in one round.   My problem are - I'm implementing 3 
graphs, which are average byte vs hello interval, average time vs hello 
interval and average round length vs hello interval.  I can't get the expected 
values for those graphs.  Can i get those values from newtrace format output 
file?  Can i say that the sequence number is equal to the round length?  How to 
get the average time and average byte?  Can i assume the average packet size is 
average byte?  Why all the output values are equal when increasing the value of 
interval?
   
  Actually , i haven't get the token ring module work yet, but i try to get the 
output values from AODV and DSR routing and do the comparasion, but i believe 
that the theory should be correct.  The average byte, average time and average 
round length should be drop when the interval is increase, because it will take 
a long time to send the hello message.  
   
  I'm really appreciated you if you can help me for this.
   
  Many thanks.
   
  Best regards,
  Choong Wing Cheong
   
   
  I have asked so many questions here. 
  

[EMAIL PROTECTED] wrote:
  Hi Choong,
You did what I am thinking. But I don't understand why the results are
the same with your former experiments. I think about this topic, and I
can find anything else, I inform you.
What do you mean with "round" ? you can explain more clear, maybe I
can help.

Best Regards and have a good day.


Guzin Ulutas (CEng)






-
Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! 
Messenger with Voice.


Re: [ns] Interval for HELLO message

2006-05-10 Thread guzinu

Hi Choong,
You did what I am thinking. But I don't understand why the results are
the same with your former experiments. I think about this topic, and I
can find anything else, I inform you.
 What do you mean with "round" ? you can explain more clear, maybe I
can help.

  Best Regards and have a good day.


Guzin Ulutas (CEng)





Re: [ns] Sujet: What happens when I call set node [$ns_ node]

2006-05-10 Thread Gilles Bertrand

 >> The ns-2 documentation refers to ns-lib.tcl, which does not exist.

Ns-lib is located in ns-allinone-/ns-/tcl/lib/ns-lib.tcl

Mit freundlichen Grüßen, with kind regards, cordialement,

--
Gilles BERTRAND
Institut National des Télécommunications (GET)- Universität Stuttgart

Tel: +33 (0) 3 29 63 22 08
--


>  Message original   Sujet: [ns] What happens when I call
> set node [$ns_ node] Date: Tue, 9 May 2006 15:57:26 -0700 (PDT) De:
> [EMAIL PROTECTED] Pour: ns-users@ISI.EDU
>
> I am trying to find out what happens (what C++ functions are called, what .cc 
> files are accessed) when a new node is created in ns-2.  The ns-2 
> documentation refers to
> ns-lib.tcl, which does not exist.  Does anyone know?  The reason is I'm 
> trying to access a MAC layer function from my new Agent class, and I don't 
> want to create a new MAC object to do so.
>
> Thanks,
>
> Kathy
>
>


--
Mit freundlichen Grüßen, with kind regards, cordialement,

--
Gilles BERTRAND
Telecom INT - University of Stuttgart
--


[ns] Double Covered Broadcast (DCB) code for NS2 simulator

2006-05-10 Thread Srinath Mandalapu

Hi 
   
  Has anyone aware of the implementation of DCB (Double covered broadcast) 
algorithm for NS2 simulator? This algorithm is described in Double-Covered 
Broadcast (DCB): A SimpleReliable Broadcast Algorithm in MANETs - Wei Lou and 
Jie Wu. (http://www.ieee-infocom.org/2004/Papers/43_1.PDF).
   
  If anyone has already implemented it, can I have access to the code ?
   
  Thanks
  Srinath


-
Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! 
Messenger with Voice.