Re: [ns] wireless ping broadcast questions

2006-05-11 Thread k s

Hi Faisal,

 

I wasn't aware of any other settings besides the IP_BROADCAST.  Which ones
are you referring to?

 

Kathy

 

  _  

From: Faisal Siddiqui [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 11, 2006 7:40 PM
To: [EMAIL PROTECTED]
Cc: ns-users@isi.edu
Subject: Re: [ns] wireless ping broadcast questions

 

Hi Kathy,

 

Are you properly enabling/setting multicast protocol settings in your Tcl
script for the simulation? I think this error screams about that setting.

 

- Faisal

 

On 5/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: 


Hi,

I was messing around with the ping agent from Marc Greis' Tutorial, and
wanted to change the ping to a broadcast.  I added the IP header stuff as
I've seen elsewhere online, 

hdr_ip *ip = hdr_ip::access(pkt);
ip->daddr() = IP_BROADCAST;

and now I get this error:

-- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
_o996: no target for slot -1 
_o996 type: Classifier/Port
content dump:
classifier _o996
0 offset
0 shift
2147483647 mask
2 slots
slot 0: _o (Agent/Ping)
slot 255: _o983 (Agent/DSDV) 

I can't find out how to fix it and I don't know anything about Classifiers.
I realize that there was no port assigned to Ping, but how do I fix this?

My other question is, do I have to use an IP_Broadcast?  Can I just use a
MAC_BROADCAST? 

Kathy





 



Re: [ns] ns routing algorithms understanding

2006-05-11 Thread Faisal Siddiqui

Hi,

I have been modifying NS2 over the last several weeks to suit my simulation
requirements. I agree with your comment that adding any sort of new features
results in a lot of unknown errors owing to the not so clear documentation
available. I now just modify the existing methods in order to avoid hassle
of searching places where should I include neccessaty snippets of code to
build my simulator.

- Faisal


On 5/10/06, Augusto Castelan Carlson <[EMAIL PROTECTED]> wrote:
>
>
> 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.
>
>


Re: [ns] wireless ping broadcast questions

2006-05-11 Thread Faisal Siddiqui

Hi Kathy,

Are you properly enabling/setting multicast protocol settings in your Tcl
script for the simulation? I think this error screams about that setting.

- Faisal


On 5/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I was messing around with the ping agent from Marc Greis' Tutorial, and
> wanted to change the ping to a broadcast.  I added the IP header stuff as
> I've seen elsewhere online,
>
> hdr_ip *ip = hdr_ip::access(pkt);
> ip->daddr() = IP_BROADCAST;
>
> and now I get this error:
>
> -- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
> _o996: no target for slot -1
> _o996 type: Classifier/Port
> content dump:
> classifier _o996
> 0 offset
> 0 shift
> 2147483647 mask
> 2 slots
> slot 0: _o (Agent/Ping)
> slot 255: _o983 (Agent/DSDV)
>
> I can't find out how to fix it and I don't know anything about
> Classifiers.  I realize that there was no port assigned to Ping, but how do
> I fix this?
>
> My other question is, do I have to use an IP_Broadcast?  Can I just use a
> MAC_BROADCAST?
>
> Kathy
>
>
>
>
>


[ns] trace file question

2006-05-11 Thread Ethan Giordano

Is there an easy way to get the TCP "reason" field from the header into 
the trace file? I'd like an easy way to pick out timeouts and fast rtx's.

Thanks,

~Ethan



[ns] wireless ping broadcast questions

2006-05-11 Thread smythek

Hi,

I was messing around with the ping agent from Marc Greis' Tutorial, and wanted 
to change the ping to a broadcast.  I added the IP header stuff as I've seen 
elsewhere online,

hdr_ip *ip = hdr_ip::access(pkt);
 ip->daddr() = IP_BROADCAST;

and now I get this error:

-- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
 _o996: no target for slot -1
 _o996 type: Classifier/Port
content dump:
classifier _o996
 0 offset
 0 shift
 2147483647 mask
 2 slots
 slot 0: _o (Agent/Ping)
 slot 255: _o983 (Agent/DSDV)

I can't find out how to fix it and I don't know anything about Classifiers.  I 
realize that there was no port assigned to Ping, but how do I fix this?

My other question is, do I have to use an IP_Broadcast?  Can I just use a 
MAC_BROADCAST?

Kathy






[ns] TwoRayGround Propagation

2006-05-11 Thread Noelia Galisteo Ruiz



-- 
Hi!

  Can some body tell me how can I change TwoRayGround propagation value in ns-2?

  thanks



[ns] windowsize & make ns2

2006-05-11 Thread deepak

 Hi all,
 I want to change windowsize (tcl/lib/ns-default.tcl) tcp window size_ . 
After changing the variable value in the ns-default.tcl , i still get the same 
trace window size values.  

BUT when i do  ( make clean & then make ) , the trace window size value 
changes.  Should i do this everytime , is there a quicker way ( i even tried 
/make depend)?




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


[ns] How to create VBR traffic source

2006-05-11 Thread Ritwik Mitra

Hi!

How do I create a VBR traffic source???


  Ritwik Mitra 
M.Sc. Computer Science 
Department of Computer Science, 
Delhi University 



  





-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2¢/min or less.


[ns] please urgent help on implementing a mobility model on NS

2006-05-11 Thread kala dridi

hi all
sorry but i still have the same problem.
i have a c++ code of a mobility model of ad hoc networks that i must 
implement on NS but i really do not know how to do. if there is any one who 
could help me i would really be greatefull.
thank you in advance.

_
MSN Hotmail : créez votre adresse e-mail gratuite & à vie ! 
http://www.msn.fr/newhotmail/Default.asp?Ath=f



[ns] please urgent help on implementing a mobility model on NS

2006-05-11 Thread kala dridi

hi all
sorry but i still have the same problem.
i have a c++ code of a mobility model of ad hoc networks that i must 
implement on NS but i really do not know how to do. if there is any one who 
could help me i would really be greatefull.
thank you in advance.

_
MSN Hotmail sur i-mode™ : envoyez et recevez des e-mails depuis votre 
téléphone portable ! http://www.msn.fr/hotmailimode/



Re: [ns] researches on ad hoc

2006-05-11 Thread choong cheong

Hi Guzin Ulutas,
   
  I have tried for the protoname example, but the error as below is appeared on 
screen when i run the tcl script.  Please advice. 
   
  [code omitted because of lenght]
  :wrong # args: should  be {Simulator instproc name args body}
 (class instproc line 1)
 invoked from within 
   "simulator instproc create-protoname-agent {node }
   
Thanks.
   
  Best regards,
  Choong Wing Cheong

Güzin Ulutaş <[EMAIL PROTECTED]> wrote:
  
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)



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


[ns] Is there any thing about Cellular Ne tworks ?

2006-05-11 Thread bema juke

Hello All
I'm working on the ns-2.29. Already installed it on my platform and now testing 
example tcl scripts  that are included(/tcl/ex). Ns documantation and other 
tutorials help me understand the simulator and its possible opportunities. Now 
I've got a subject on Cellular Networks. 
Theoreticaly i've learned thouroughly my subject and now i'm gonna develpoe 
simulations on the ns-2.29. I need some guidelines from other researches who 
expierence the same subject.
Thanks in advance. 



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

2006-05-11 Thread zze-TOUROLLE Benjamin RD-CORE-CAE

Hi Wajid,

This seems to be a syntax error in your Makefile. The right syntax is:

target: dep1 dep2
command

These lines mean that "if dep1 or dep2 files are newer than target file (or if 
he does not exist), then Make should regenerate the target by running the 
command". If no command has been provide, a default rule will be used.

The tabulation before the command is not a fantasy and is rather mandatory. 
Double check this point. This Make singularity often involves errors. 


For further information, you can check on the web for Makefile syntax. You can 
start with this page http://sourceware.org/autobook/autobook/autobook_20.html
and continue with this one: http://cprogramming.com/tutorial/makefiles.html

Regards,

Benjamin


-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de wajid mehmood
Envoyé : mercredi 10 mai 2006 22:00
À : ns-users@ISI.EDU
Objet : [ns] Makefile:73: *** missing separator. Stop


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!



Re: [ns] [Ns-developers] FECModel in ns2.29 problems(please let us solve this problem)

2006-05-11 Thread Tom Henderson

[EMAIL PROTECTED] wrote:
> Dear sirs,
> 
> the ns-manual says in page number 50 that "Table 5.1: Available options for 
> node
> configuration (see tcl/lib/ns-lib.tcl)". I went to this file and found that
> there is FECProc option like the IncommingErrProc option.
> 
> when I inserted the the FECmodel in my simulation using the following code:
> #
> proc FECproc1 {} {
> FECModel set FECstrength_ 2
> set FEC1 [new FECModel]
> return $FEC1
> }
> $ns_ node-config -adhocRouting $opt(adhocRouting) \
>  -llType $opt(ll) \
>  -macType $opt(mac) \
>  -ifqType $opt(ifq) \
>  -ifqLen $opt(ifqlen) \
>  -antType $opt(ant) \
>  -propType $opt(prop) \
>  -phyType $opt(netif) \
>  -channelType $opt(chan) \
>-topoInstance $topo \
>  -wiredRouting ON \
>-agentTrace OFF \
>  -routerTrace OFF \
>  -macTrace OFF
>  -IncomingErrProc MultistateErrorProc
>-FECProc FECproc1
> #
> I got the following error:
> 
> [EMAIL PROTECTED] ~
> $ ns errort.tcl
> num_nodes is set 2
> warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
> invalid command name "-FECProc"
> while executing
> "-FECProc FECproc1"
> (file "errort.tcl" line 124)
> 
> it works fine with the error model but does not work with FEC model.
> 
> really, it is critical for my simulation and looking forward to receive from
> ASAP.
> thank you in advance
> regards
> 
> 

There is a syntax error in your node-config command-- there should be a 
"\" after each $cmd $val pair.  You forgot to add these when you 
extended the command.

Tom