Hallo all,
  My theme is connecting the two discrete event simulators. So  where  
can i get the information about the scheduled events  captured in the 
ns-2 source code. Is it been seen from the scheduler  itself  or else at 
the different parts of the protocol stack  schedule the events. Also 
give me suggestions regarding the scheduling  in ns-2.There are 4 types 
of scheduling methods used but which is  advantageous one?
  Advance thanks.
  regards
  Arunkumar.
  

[EMAIL PROTECTED] wrote:  Send Ns-users mailing list submissions to
 ns-users@isi.edu

To subscribe or unsubscribe via the World Wide Web, visit
 http://mailman.isi.edu/mailman/listinfo/ns-users
or, via email, send a message with subject or body 'help' to
 [EMAIL PROTECTED]

You can reach the person managing the list at
 [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ns-users digest..."


Today's Topics:

   1. Re: GEA Problems / Tutorial? (Jeff Schwentner)
   2. Re: [help] Validation problem after installing ns-2.29
      (Tom Henderson)
   3. Re: need for help Ns-users Digest, Vol 30, Issue 20
      (Xiaoliang (David) Wei)
   4. How to use a patch file in ns-2 to make changes.
      (Bhoi Maheshbhai Mohanbhai)
   5. Warning everyone is ignoring (please use -channel)
      (Amer Filipovic)
   6. Re: Warning everyone is ignoring (please use -channel)
      (Daniel Mahrenholz)
   7. Mobile nodes: radius (Andrea M)
   8. LinkCache vs MobiCache (Amer Filipovic)
   9. tcp on mipv6 problem? (erwin budi)
  10. error when compiling a new MANET protocol (Alexandra Cioroianu)
  11. Re: Mobile nodes: radius (Q.R.Iqbal)
  12. Re: Fwd: (hybrid ad hoc network) behavior of base stations
      (Francisco J. Ros)
  13. Re: Getting data from wireless base station to cross to
      wiredstation  (Pedro Vale Estrela)
  14. Re: Warning everyone is ignoring (please use -channel)]
      (Q.R.Iqbal)
  15. Re: Mobile nodes: radius (Daniel Mahrenholz)
  16. Re: Mobile nodes: radius (Andrea M)
  17. Re: Fwd: (hybrid ad hoc network) behavior of base stations
      (Andrea M)
  18. Re: Fwd: (hybrid ad hoc network) behavior of base stations
      (Hai Nam)


----------------------------------------------------------------------

Message: 1
Date: Mon, 19 Jun 2006 22:26:29 -0400
From: "Jeff Schwentner" 
Subject: Re: [ns] GEA Problems / Tutorial?
To: "'Daniel Mahrenholz'" 
Cc: ns-users@ISI.EDU
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Hi Daniel,

> Hi Jeff,
> 
> Jeff Schwentner schrieb:
> > 1)       I downloaded ns-2.28, the 2.28-4 patch, and libgea1.1 from
> > http://bode.cs.uni-magdeburg.de/~aherms/debian/dists/sid/ns2/source/
> >
> OK
> > 2)       I applied the patch
> >
> OK
> > 3)       I copied the contents of the libgea1.1 package on top of the
> gea
> > directory in ns-2.28
> >
> BAD! The libgea-package contains the POSIX version of GEA. You will need
> to install it to be able to compile GEA applications and if you like to
> run them outside of ns-2. So unpack, compile it in a separate directory.
> Copying on top of the ns-2/gea directory will overwrite the ns-2 version.

I just want to use GEA with ns-2, so I did not use the contents of
libgea1.1.  Instead, I compiled after applying the patch with:
./configure --enable-debug
make

I get the following errors during make:
gea/ShadowEventHandler.cc:14:29: gea/FlowTracker.h: No such file or
directory
gea/ShadowEventHandler.cc: In destructor `virtual
gea::ShadowEventHandler::~ShadowEventHandler()':
gea/ShadowEventHandler.cc:39: warning: possible problem detected in
invocation of delete operator:
gea/ShadowEventHandler.cc:22: warning:
`gea::ShadowEventHandler::currentFlow' has incomplete type
./gea/ShadowEventHandler.h:15: warning: forward declaration of `struct
gea::FlowTracker'
gea/ShadowEventHandler.cc:39: note: neither the destructor nor the
class-specific operator delete will be called, even if they are declared
when the class is defined.
gea/ShadowEventHandler.cc: In member function `void
gea::ShadowEventHandler::doPendingEvents()':
gea/ShadowEventHandler.cc:113: error: invalid use of undefined type `struct
gea::FlowTracker'
./gea/ShadowEventHandler.h:15: error: forward declaration of `struct
gea::FlowTracker'
gea/ShadowEventHandler.cc: In member function `void
gea::ShadowEventHandler::addPendingEvent(gea::DependHandle*, void
(*)(gea::Handle*, gea::AbsTime, void*), gea::AbsTime, void*)':
gea/ShadowEventHandler.cc:124: error: invalid use of undefined type `struct
gea::FlowTracker'
./gea/ShadowEventHandler.h:15: error: forward declaration of `struct
gea::FlowTracker'
make: *** [gea/ShadowEventHandler.o] Error 1


Any ideas?

> If this works, I will add this procedure to the nsnam wiki. There is no
> tutorial. You will find some examples in the test directory. For more
> background information read
> http://www-ivs.cs.uni-
> magdeburg.de/EuK/forschung/publikationen/pdf/2005/gea.pdf
> . Maybe I find some time to start a tutorial in the wiki.
> 
> As a side notice - I just tried to compile gea with cygwin and gcc3.4.4
> and it failed because of problems with winsock2.h ... I will work on this.
> 
> Daniel.

A tutorial would be great!  Maybe I can be your lab rat!

Thanks again Daniel,

Jeff



------------------------------

Message: 2
Date: Mon, 19 Jun 2006 20:47:47 -0700
From: Tom Henderson 
Subject: Re: [ns] [help] Validation problem after installing ns-2.29
To: [EMAIL PROTECTED], ns-users@ISI.EDU
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 >   After I validated ns-2.29, it always has the following messages at 
the end of ns validation :
 >
 >     Test output agrees with reference output
 >   All test output agrees with reference output.
 >   Sun Jun 18 17:05:59 ICT 2006
 >   These messages are NOT errors and can be ignored:
 >       warning: using backward compatibility mode
 >       This test is not implemented in backward compatibility mode
 >
 >
 >   validate overall report: some tests failed:
 >        ./test-all-red


Rather than respond in email, I decided to add this information to the wiki:
http://nsnam.isi.edu/nsnam/index.php/User_Information#Validating_your_build



------------------------------

Message: 3
Date: Mon, 19 Jun 2006 21:26:39 -0700
From: "Xiaoliang (David) Wei" 
Subject: Re: [ns] need for help Ns-users Digest, Vol 30, Issue 20
To: ns-users@ISI.EDU
Message-ID:
 <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

> Date: Mon, 19 Jun 2006 04:45:56 -0500
> From: "Htira Walid" 
> Subject: [ns] need for help
> Hi everybody,
>
>  I have a problem in installing NS-allinone-2.29 with a linux Mandriva  64 
> bit system. During installing part, I have the following error (it's  a nam 
> error) :
>
> rm -f netmodel.o; g++ -o netmodel.o -c  -DTCL_TK -DNDEBUG -DUSE_SHM 
> -DHAVE_LIBTCLCL -DHAVE_TCLCL_H  -DHAVE_LIBOTCL1_11 -DHAVE_OTCL_H 
> -DHAVE_LIBTK8_4 -DHAVE_TK_H  -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_LIBZ1_1_4 
> -DHAVE_ZLIB_H -I.  -I/usr/local/ns-allinone-2.29/tclcl-1.17  
> -I/usr/local/ns-allinone-2.29/otcl-1.11  
> -I/usr/local/ns-allinone-2.29/include  -I/usr/local/ns-allinone-2.29/include 
> -I/usr/include netmodel.cc
> netmodel.cc: In member function 'int NetModel::addr2id(int) const':
> netmodel.cc:311: error: cast from 'void*' to 'int' loses precision
> netmodel.cc: In member function 'int NetModel::lookupObjname(const char*)':
> netmodel.cc:2764: error: cast from 'void*' to 'int' loses precision
> make: *** [netmodel.o] Erreur 1
>

64bit architecture uses int64 for address pointer. So I guess you need
to change "int" to "long long" when you see this problem.


-David

--
Xiaoliang (David) Wei      Graduate Student, [EMAIL PROTECTED]
http://davidwei.org
***********************************************



------------------------------

Message: 4
Date: Tue, 20 Jun 2006 05:25:58 +0100 (BST)
From: Bhoi Maheshbhai Mohanbhai 
Subject: [ns] How to use a patch file in ns-2 to make changes.
To: ns-users@ISI.EDU
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"


Hello,
   
  I have got a patch file as ns2-hls-patch.tar but I don't understand how  to 
use it in ns-2.29, can anyone help  me..................................
   
  This file can be downloaded by searching in google by multicast in MANETs.
   
   
  The basic problem is that how to apply that patch file to ns-2.29

     
---------------------------------
  Yahoo! India Answers: Share what you know. Learn something new Click here
 Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now

------------------------------

Message: 5
Date: Tue, 20 Jun 2006 16:15:22 +0800
From: Amer Filipovic 
Subject: [ns] Warning everyone is ignoring (please use -channel)
To: ns-users@ISI.EDU
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hey all,

Can anyone tell me how to get rid of that warning at the beginning of 
the wireless simulations

warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl

It is getting on my nerves :P

Regards,

Amer
University of Western Australia



------------------------------

Message: 6
Date: Tue, 20 Jun 2006 10:42:02 +0200
From: Daniel Mahrenholz 
Subject: Re: [ns] Warning everyone is ignoring (please use -channel)
To: Amer Filipovic 
Cc: ns-users@ISI.EDU
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Amer Filipovic schrieb:
> Can anyone tell me how to get rid of that warning at the beginning of 
> the wireless simulations
>
> warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
>
> It is getting on my nerves :P
>   
As you can read - modify each test script to use the wireless channel as 
shown in the example file (explanation is in the file; a three-liner a 
suppose).

I agree that this warning is anoying - so if you can offer some time for 
the modification, please provide a patch and I will spend some time to 
integrate it into the CVS version  (if the other developers don't have 
any objections).

Daniel.



------------------------------

Message: 7
Date: Tue, 20 Jun 2006 12:15:15 +0200
From: "Andrea M" 
Subject: [ns] Mobile nodes: radius
To: ns-users 
Message-ID:
 <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello, I found this string in NS Manual, how can I use it?

[quote]$mobilenode radius 

The radius  denotes the node's range. All mobilenodes that fall within
the circle of radius  with the node at its center
are considered as neighbours.[/quote]

I used it like:
$node_(0) radius 50

but It seems to do not work.

Sorry for my poor english.
thank you
Andrea.


------------------------------

Message: 8
Date: Tue, 20 Jun 2006 19:40:38 +0800
From: Amer Filipovic 
Subject: [ns] LinkCache vs MobiCache
To: ns-users@ISI.EDU
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Ok,

This is actually a pretty a big issue. Pretty much any ns distribution I 
have tried so far makes use of MobiCache and NOT LinkCache. The code 
appears to be there, but I cannot get it to work.

Does anyone know how to enable linkcache.cc? Any ns distribution will 
do, I've been trying with 2.1b9a and 2.29.2 and 2.29.3.

Regards,

Amer Filipovic
University of Western Australia



------------------------------

Message: 9
Date: Tue, 20 Jun 2006 05:44:40 -0700 (PDT)
From: erwin budi 
Subject: [ns] tcp on mipv6 problem?
To: ns-users@ISI.EDU
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=iso-8859-1

hello,
i am working with ns-2.1b6 and mobiwan to simulate
mipv6 to get tcp throughput.but when i simulate it,i
can't get the throughput from it.do anyone have same
work wit me?
regards,
erwin

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



------------------------------

Message: 10
Date: Tue, 20 Jun 2006 05:57:15 -0700 (PDT)
From: Alexandra Cioroianu 
Subject: [ns] error when compiling a new MANET protocol
To: ns-users@ISI.EDU
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=iso-8859-1

Hello ns users!
  I am trying to develop a new MANET routing protocol, following the  steps 
described in the tutorial "Implementing a new MANET unicast  routing protocol 
in NS2" . I have created the requested files and i  have written the code, with 
small changes, but i haven't added any new  variables or functions. My protocol 
is named myproto. Here are the  errors i get:
 myproto/myproto.h:37: error: 'myproto_state' does not name a type
 myproto/myproto.h:38: error: 'myproto_rtable' does not name a type
 myproto/myproto.h:48: error: ISO C++ forbids declaration of 'myproto_state' 
with no type
 myproto/myproto.h:48: error: 'myproto_state' declared as an 'inline' field
 myproto/myproto.h:48: error: expected ';' before '&' token
 myproto/myproto.h:49: error: expected `;' before 'inline'
 myproto/myproto.h: In member function 'int& Myproto::accessible_var()':
 myproto/myproto.h:49: error: 'accessible_var_' was not declared in this scope
 myproto/myproto.cc: In constructor 'Myproto::Myproto(nsaddr_t)':
 myproto/myproto.cc:38: error: 'accessible_var_' was not declared in this scope
 myproto/myproto.cc: In member function 'virtual int Myproto::command(int, 
const char* const*)':
 myproto/myproto.cc:52: error: 'rtable_' was not declared in this scope
 myproto/myproto.cc:56: error: 'da_addr' was not declared in this scope
 myproto/myproto.cc: In member function 'void 
Myproto::recv_myproto_pkt(Packet*)':
 myproto/myproto.cc:108: warning: unused variable 'ih'
 myproto/myproto.cc:109: warning: unused variable 'ph'
 myproto/myproto.cc: In member function 'void Myproto::forward_data(Packet*)':
 myproto/myproto.cc:170: error: 'nsdaddr_t' was not declared in this scope
 myproto/myproto.cc:170: error: expected `;' before 'next_hop'
 myproto/myproto.cc:171: error: 'next_hop' was not declared in this scope
 make: *** [myproto/myproto.o] Error 1
  Please tell me what could be wrong. I really got stuck, don't know what to do 
in this point. Thank you in advance!
 Regards, Alexandra 
 
   
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2?/min or less.

------------------------------

Message: 11
Date: Tue, 20 Jun 2006 15:21:16 +0100 (BST)
From: "Q.R.Iqbal" 
Subject: Re: [ns] Mobile nodes: radius
To: "Andrea M" 
Cc: ns-users@ISI.EDU
Message-ID:
 <[EMAIL PROTECTED]>
Content-Type: text/plain;charset=iso-8859-1

Hi there

I also tried that a few months ago, but it does not seem to do what it says
i personally think it is useless, unless someone has other opinion



>
> Hello, I found this string in NS Manual, how can I use it?
>
> [quote]$mobilenode radius 
>
> The radius  denotes the node's range. All mobilenodes that fall within
> the circle of radius  with the node at its center
> are considered as neighbours.[/quote]
>
> I used it like:
> $node_(0) radius 50
>
> but It seems to do not work.
>
> Sorry for my poor english.
> thank you
> Andrea.
>


Kind regards

Qasim Raza Iqbal
PhD Candidate,
ACNRG Lab N504,  Office N505
Adaptive Communications Networks Research Group,
School of Engineering And Applied Science
Aston University
Birmingham  B4 7ET
United Kingdom
http://www.ee.aston.ac.uk/research/acrg/index.html




------------------------------

Message: 12
Date: Tue, 20 Jun 2006 17:38:54 +0200
From: "Francisco J. Ros" 
Subject: Re: [ns] Fwd: (hybrid ad hoc network) behavior of base
 stations
To: ns-users@ISI.EDU
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;  charset="iso-8859-1"

Hello,

That occurs because gateways haven't been selected as MPRs by any node. Note 
that fixed nodes aren't included within the neighborhood of the gateways.

Regards,
fran

On Monday 19 June 2006 18:57, Hai Nam wrote:
> message below, don't know why the list ask me to resend this mail, I'm
> not new in this list :-(
>
> ---------- Forwarded message ----------
> From: Hai Nam 
> Date: Jun 19, 2006 6:31 PM
> Subject: (hybrid ad hoc network) behavior of base stations
> To: NS-List 
>
>
> Hello,
>
> I simulate a hybrid ad hoc network in NS2 with UM-OLSR. I'm modifying
> this implementation of OLSR so that it supports base stations. But I
> find that the base stations don't send TC messages (but it do send
> HELLO messages). Is there anything wrong ?
>
> Regards,
>
> --
> Hai-Nam NGUYEN
> El?ve 3A SLR, ENST Bretagne
> 2 rue de la Ch?taigneraie, 35576 Cesson S?vign?
> Site web: http://www.jcisio.com



------------------------------

Message: 13
Date: Tue, 20 Jun 2006 16:39:10 +0100
From: "Pedro Vale Estrela" 

Subject: Re: [ns] Getting data from wireless base station to cross to
 wiredstation 
To: "'Paul Vincent Craven'" 
,
 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"


Congratulations Paul! 

I believe that after fixing your first "major" bug, your next NS2 hacking
experiences will be done a lot faster.

One very important helper for beating the NS2 learning curve is to study the
other NS2 success stories, to try to grasp all the details and lessons
learnt. These could be right the thing that one will need either tomorrow...
or in a year's time.

Now that you have the protocol working, you might want to combine and
parametize the test script so that it is able to run both protocols in the
exact same scenarios.



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Paul Vincent Craven
>
> A while back I asked about getting data to move from my wireless base
> station node to my wired node. I finally figured out the issue. Key to
> getting this to work was:
> 
> 1.) Telling my "node that is wired to the base station" that such a
> route exists:
> $W(0) add-route $BS(0) $W(0)

This is very strange. The fixed routing protocol should have done it for
you, on the fixed part of the network.

Try other fixed routing protocols without your fix, to check what's
happening: 

# http://www.isi.edu/nsnam/ns/doc/node304.html
# types of protocols: Algorithmic / Direct / Dummy / DV / LS / Manual
# Session / Static

In this process you may find that the bug was your's, which is strange
because your hierarchal addresses are OK, eg:

  0.0.0   (W(0))
wired link 
  1.0.0   (BS)
wireless link
  1.0.1   (MH)

your you might find a bug on the NS2 (step 7 of
http://tagus.inesc-id.pt/~pestrela/ns2/ns2_debugging3.html)
 

> 2.) And in my forward_data() member of my custom routing protocol, I
> needed to pick the right target:
> Scheduler::instance().schedule(p->handler_, p, 0.0);
> 
> Key in this was not to use target_ with just went back to my handler I
> was already in, but instead reset back to use the packet's original
> handler.

I've compared your code to DSDV's and NOAH's, and I can't understand why you
couldn't use the same method:

NOAH_Agent::forwardPacket (Packet * p)
...
        target_->recv(p, (Handler *)0); //line 985
...


DSDV_Agent::forwardPacket (Packet * p)
...
 target_->recv(p, (Handler *)0); //line 168
...

 
> Particular thanks to Pedro Vale Estrela, who's help was invaluable.
> 
> Paul Vincent Craven




------------------------------

Message: 14
Date: Tue, 20 Jun 2006 18:43:40 +0100 (BST)
From: "Q.R.Iqbal" 
Subject: Re: [ns] Warning everyone is ignoring (please use -channel)]
To: [EMAIL PROTECTED], ns-users@ISI.EDU
Message-ID:
 <[EMAIL PROTECTED]>
Content-Type: text/plain;charset=iso-8859-1

---------------------------- Original Message ----------------------------
Subject: Re: [ns] Warning everyone is ignoring (please use -channel)
From:    "Q.R.Iqbal" 
Date:    Tue, June 20, 2006 3:18 pm
To:      "Amer Filipovic" 
--------------------------------------------------------------------------

Have a look at that file and see how the channel is declared
if you follow that procedure, you will not get that warning

=== message truncated ===



                                
---------------------------------
 Yahoo! India Answers: Share what you know. Learn something new Click here
Catch all the FIFA World Cup 2006 action on Yahoo! India Click here

Reply via email to