Re: [ns] How to add node mobility in 802.15.4 protocol?

2012-11-25 Thread nicholas mbonimpa

Hullo Javed,

Check out Marc Greis' Tutorial on the link below:

http://www.isi.edu/nsnam/ns/tutorial/

The mobility scenarios are introduced in chapter IX.

I hope that'll help.

Kind regards,

Nicholas Mbonimpa



On Wed, Nov 21, 2012 at 5:26 AM, Muhammad Javed javed_u...@yahoo.comwrote:


 Hi all,

 Can anyone help me that how i will include node mobility in 802.15.4.
 i am using ns-2.34 and how i will get throughput of mobile environment?


 Best regards,

 Muhammad Javed



Re: [ns] implementation of snoop agent at base station

2012-11-16 Thread nicholas mbonimpa

Hullo mate,

When the error on the link is small, you will not notice a difference.

Snoop just like any other link layer solution was designed to enhance TCP
performance in wireless or random error environments.

In a lossless environment, the setup with or without snoop will yield very
similar, if not the same results.

So, to notice a difference you need to keep varying the packet loss rate on
the link where snoop is in charge. Then you do the same for an end to end
connection (i.e. without snoop) and compare the results.

The example MySnoop.tcl has an uniformly distributed random variable
error model that you can integrate into the example Snoopns2.tcl that
worked for you.

You'll notice that as the variable set loss_prob 10  grows, there'll be a
difference in performance when snoop is used, and when snoop is absent.

That should get you there.

Kind regards,

Nicholas Mbonimpa



On Fri, Nov 16, 2012 at 6:15 AM, shiny shiny@gmail.com wrote:

 hi frnd,
 yes.am struggling to differentiate the performance with and without
 snoop...



 On Thu, Nov 15, 2012 at 9:19 AM, nicholas mbonimpa nmboni...@gmail.comwrote:

 Unfortunately I don't.

 But, just for the beginning, you can use xgraph to visualise the outputs
 then have a rough idea on the throughput / bandwidth behaviour.

 I guess you can now move on from here, and try out a couple of other
 interesting scenarios.

 I'm glad I've been of help.

 Cheers mate.


 On Thu, Nov 15, 2012 at 8:15 PM, shiny shiny@gmail.com wrote:

 hi frnd,
  thanks for ur help.snoopns2.tcl script is running sucessfully. while
 executing awk script for throughput calculation am getting 0 as output. do
 u have awk script for throughput calculation


 Thu, Nov 15, 2012 at 8:49 AM, shiny shiny@gmail.com wrote:

 thanks a lot for ur help.


 On Wed, Nov 14, 2012 at 11:12 AM, nicholas mbonimpa 
 nmboni...@gmail.com wrote:

 Hullo Shiny,

 I also forgot to mention that how you can tell there's a difference is
 by running one protocol end to end (for example Reno), and then running 
 the
 same setup but with snoop at an intermediate node. Then monitor some
 statistics like throughput at the sink. One of the examples I sent you has
 an error model for the channel, so you can vary that and see what happens.

 The examples also have scripts to compute throughput and some other
 parameters you may want to look at.

 It's from such comparisons that you can ascertain whether there's a
 difference or not.

 I hope this will help.

 Kind regards,

 Nicholas Mbonimpa



 On Wed, Nov 14, 2012 at 4:31 PM, nicholas mbonimpa 
 nmboni...@gmail.com wrote:

 Hullo Shiny,

 Apologies for failing to get back to you in time, I've been so caught
 up.

 Please find attached two examples running snoop.

 In example snoopns2.tcl, the slight difference in configuration for
 snoop is explained in a comment.

 Please pay attention to the source path at the beginning of the code.

 I hope that will help.

 Kind regards,

 Nicholas Mbonimpa

 P.S: I've run this code on my side and it works just fine.




 On Wed, Nov 14, 2012 at 3:25 PM, shiny shiny@gmail.com wrote:


 hi frndz,
  i have added LL/LLSnoop to my tcl script for snoop agent deployment
 at
 base station.there is no difference with or without LL/LLSnoop. Is
 there
 any more code to add snoop agent in tcl script.plz help me frndz...

 --
 With Regards,
 John Shiny.J






 --
 With Regards,
 John Shiny.J




 --
 With Regards,
 John Shiny.J





 --
 With Regards,
 John Shiny.J




Re: [ns] implementation of snoop agent at base station

2012-11-14 Thread nicholas mbonimpa

Hullo Shiny,

Apologies for failing to get back to you in time, I've been so caught up.

Please find attached two examples running snoop.

In example snoopns2.tcl, the slight difference in configuration for snoop
is explained in a comment.

Please pay attention to the source path at the beginning of the code.

I hope that will help.

Kind regards,

Nicholas Mbonimpa

P.S: I've run this code on my side and it works just fine.




On Wed, Nov 14, 2012 at 3:25 PM, shiny shiny@gmail.com wrote:


 hi frndz,
  i have added LL/LLSnoop to my tcl script for snoop agent deployment at
 base station.there is no difference with or without LL/LLSnoop. Is there
 any more code to add snoop agent in tcl script.plz help me frndz...

 --
 With Regards,
 John Shiny.J



Re: [ns] implementation of snoop agent at base station

2012-11-14 Thread nicholas mbonimpa

Hullo Shiny,

I also forgot to mention that how you can tell there's a difference is by
running one protocol end to end (for example Reno), and then running the
same setup but with snoop at an intermediate node. Then monitor some
statistics like throughput at the sink. One of the examples I sent you has
an error model for the channel, so you can vary that and see what happens.

The examples also have scripts to compute throughput and some other
parameters you may want to look at.

It's from such comparisons that you can ascertain whether there's a
difference or not.

I hope this will help.

Kind regards,

Nicholas Mbonimpa



On Wed, Nov 14, 2012 at 4:31 PM, nicholas mbonimpa nmboni...@gmail.comwrote:

 Hullo Shiny,

 Apologies for failing to get back to you in time, I've been so caught up.

 Please find attached two examples running snoop.

 In example snoopns2.tcl, the slight difference in configuration for snoop
 is explained in a comment.

 Please pay attention to the source path at the beginning of the code.

 I hope that will help.

 Kind regards,

 Nicholas Mbonimpa

 P.S: I've run this code on my side and it works just fine.




 On Wed, Nov 14, 2012 at 3:25 PM, shiny shiny@gmail.com wrote:


 hi frndz,
  i have added LL/LLSnoop to my tcl script for snoop agent deployment at
 base station.there is no difference with or without LL/LLSnoop. Is there
 any more code to add snoop agent in tcl script.plz help me frndz...

 --
 With Regards,
 John Shiny.J





Re: [ns] Getting error when running a tcl script after adding a new routing protocol

2012-11-06 Thread nicholas mbonimpa

Hullo Shalom,

You've most probably not gone through all the necessary steps of adding a
new protocol.

Most importantly, you need to modify the Makefile.in file in the ns-2.34
(or your version of ns-2) directory and add all the necessary inclusions,
then run make again to create the right executables for your protocol.

I have also attached a pdf (it was sent by someone on this email thread a
while ago) on the steps involved in implementing a new protocol.

I hope that will help.

Kind regards,

Nicholas Mbonimpa


On Tue, Nov 6, 2012 at 4:13 PM, Shalom maximekab...@gmail.com wrote:



 Good afternoon Ns-users!

  I am trying to implement ETX (Expected Transmission Count) and IBETX
 (Interference Bandwidth adjusted ETX) as routing metric into the AODV
 routing protocol and DSDV routing protocol respectively in NS-2.34.  I
 created another identical AODV and DSVD  ad hoc routing protocols file and
 I
 made some changes into AODV and DSDV file in order to incorporate ETX  and
 IBETX as routing metric respectively. After that i renamed all AODV and
 DSDV
 files (.cc  .h) to AODVETX and DSDVIBETX files (.cc  .h). I have changed
 all the words where the aodv  and dsdv words appear by aodvetx and
 dsdvibetx
 words (c++ Classes, Packets headers, variables, TCL bindings,..). After run
 Make clean and Make it compiles fine. But during execution of tcl file
 with new protocol code I am getting following errors. I have carefully
 implemented code step by step by thoroughly reading ns material on internet
 and ebooks. I shall be highly thankful to you




 (_o14 cmd line 1)
 invoked from within
 _o14 cmd addr
 invoked from within
 catch $self cmd $args ret
 invoked from within
 if [catch $self cmd $args ret] {
 set cls [$self info class]
 global errorInfo
 set savedInfo $errorInfo
 error error when calling class $cls: $args $...
 (procedure _o14 line 2)
 (SplitObject unknown line 2)
 invoked from within
 _o14 addr
 (eval body line 1)
 invoked from within
 eval $node addr $args
 (default arm line 2)
 invoked from within
 switch -exact $routingAgent_ {
 DSDV {
 set ragent [$self create-dsdv-agent $node]
 }
 DSR {
 $self at 0.0 $node start-dsr
 }
 AODV {
 set ragent [$self cre...
 (procedure _o3 line 14)
 (Simulator create-wireless-node line 14)
 invoked from within
 _o3 create-wireless-node
 (eval body line 1)
 invoked from within
 eval $self create-wireless-node $args
 (procedure _o3 line 23)
 (Simulator node line 23)
 invoked from within
 $ns node
 (for body line 2)
 invoked from within
 for {set i 1} {$i = $val(nn) } { incr i } {
 set node_($i) [$ns node]
 }

 --
 View this message in context:
 http://old.nabble.com/Getting-error-when-running-a-tcl-script-after-adding-a-new-routing-protocol-tp34647085p34647085.html
 Sent from the ns-users mailing list archive at Nabble.com.




Re: [ns] how to add LLSnoop at base station

2012-11-01 Thread nicholas mbonimpa

Hullo Shiny,

Please check out the link below.

http://dev.dma.unipi.it/projects/ns-modules/browser/trunk/ns-2.29/tcl/ex/snoop/MySnoop.tcl

It's a simple 3 node configuration example demonstrating how Snoop works.

Snoop is configured on the middle node, which interfaces between the other
two nodes.

The sending node runs Reno, and the third node acts as the sink.

I hope this can get you started.

Kind regards,

Nicholas Mbonimpa



On Thu, Nov 1, 2012 at 7:55 PM, shiny shiny@gmail.com wrote:


 Hi ns users,
 how to add LLSnoop with base station in tcl script

 --
 With Regards,
 John Shiny.J



Re: [ns] TCP/IP protocols in satellite networks

2012-10-02 Thread nicholas mbonimpa

Hullo Bipul,

Your request is not specific at all, so it's kind of hard to help you.

But to get you started, for your TCP/IP simulations, you can use NS2.
There's McGreis Tutorial on the link below.

http://www.isi.edu/nsnam/ns/tutorial/

It will get you started straight from the basics, with appropriate (and
very good) examples, whenever necessary.
Check it out and see if it'll be of any help.

Kind regards,

Nicholas Mbonimpa


On Tue, Oct 2, 2012 at 6:47 AM, Bipul Kumar bi...@vpolink.com wrote:

 Hellow nicholas mbonimpa and Erik

 i am also looking for help for TCP/IP network simulation on my ubuntu Linux
 Kindly suggest me some Basic and Fundamental concept for it, Thank you :)

 You'r Truly
 Bipul kumar


 On Thu, Sep 27, 2012 at 11:18 AM, nicholas mbonimpa 
 nmboni...@gmail.comwrote:


 Hullo Erik,

 Check out this link and see if it will get you started.

 http://www.netmode.ntua.gr/~dbelen/SaTPEP/

 There's SaTPEP, a connection splitting technique for TCP performance
 enhancement in satellite networks.

 It employs an interesting acknowledgement and recovery mechanism, just
 like
 any other TCP connection splitting technique.

 You could do some reading about it before giving it a try.

 I hope this will be of help.

 Kind regards,

 Nicholas Mbonimpa

 On Thu, Sep 27, 2012 at 5:24 AM, Erik Chavez erikchavez...@gmail.com
 wrote:

 
  Hi Everyone,
 
  I am new to ns2 and starting to do research on TCP/IP protocols in
  satellite networks. I wanted to know if there were any available
 scripts to
  run in ns2 for TCP/IP protocols in satellite networks to get a better
  understanding of the actual simulation working.
 
  I really appreciate you help and assistance for my research.
 
  Thank you
 
  Erik
 





Re: [ns] TCP/IP protocols in satellite networks

2012-09-26 Thread nicholas mbonimpa

Hullo Erik,

Check out this link and see if it will get you started.

http://www.netmode.ntua.gr/~dbelen/SaTPEP/

There's SaTPEP, a connection splitting technique for TCP performance
enhancement in satellite networks.

It employs an interesting acknowledgement and recovery mechanism, just like
any other TCP connection splitting technique.

You could do some reading about it before giving it a try.

I hope this will be of help.

Kind regards,

Nicholas Mbonimpa

On Thu, Sep 27, 2012 at 5:24 AM, Erik Chavez erikchavez...@gmail.comwrote:


 Hi Everyone,

 I am new to ns2 and starting to do research on TCP/IP protocols in
 satellite networks. I wanted to know if there were any available scripts to
 run in ns2 for TCP/IP protocols in satellite networks to get a better
 understanding of the actual simulation working.

 I really appreciate you help and assistance for my research.

 Thank you

 Erik



Re: [ns] ERROR when run my fist tcl example

2011-08-31 Thread nicholas mbonimpa

Hi Soares,

Try writing simulator with capital S instead of small s.

Try this tutorial for your first experience. Run the examples in it. They'll
help you get used to the simulator.

http://www.isi.edu/nsnam/ns/tutorial/

Kind regards,

Nicholas Mbonimpa


On Wed, Aug 31, 2011 at 7:46 AM, Bety Barreto Soares betyb...@yahoo.comwrote:





 # myfirst_ns.tcl
 # create a simulator
 set ns [new simulator]

 create a trace file
 set mytrace [open out.tr w]
 $ns trace-all $mytrace

 create a NAM trace file
 set myNAM [open out.nam w]
 $ns namtrace-all $myNAM

 define a procedure finish
 proc finish {} {
   global ns mytrace myNAM
   $ns flush-trace
   close $mytrace
   close $myNAM
   exec nam out.nam 
   exit 0
 }

 create nodes
 set n0 [$ns node]
 set n1 [$ns node]
 set n2 [$ns node]
 set n3 [$ns node]
 set n4 [$ns node]

 connect nodes with links
 $ns duplex-link $n0 $n2 100Mb 5ms DropTail
 $ns duplex-link $n1 $n2 100Mb 5ms DropTail
 $ns duplex-link $n2 $n4 54Mb 10ms DropTail
 $ns duplex-link $n2 $n3 54Mb 10ms DropTail
 $ns duplex-link $n3 $n4 10Mb 15ms DropTail
 $ns queue-limit $n2 n3 40

 create a UDP agent
 set udp [new Agent/UDP]
 $ns attach-agent $n0 $udp
 set null [new Agent/Null]
 $ns attach-agent $n3 $null
 $ns connect $udp $null
 $udp set fid_1

 create a CBR traffic source
 set cbr [new Application/Traffic/CBR]
 $cbr attach-agent $udp
 $cbr set packetSize_1000
 $cbr set rate_2Mb

 create a TCP agent
 set tcp [new Agent/TCP]
 $ns attach-agent $n1 $tcp
 set sink [new Agent/TCPSink]
 $ns attach-agent $n4 $sink
 $ns connect $tcp $sink
 $tcp set fid_2

 create an FTP session
 set ftp [new Application/FTP]
 $ftp attach-agent $tcp

 schedule events
 ns at 0.05 $ftp start
 ns at 0.1 $cbr start
 ns at 60.0 $ftp stop
 ns at 60.5 $cbr stop
 ns at 61 finish
 }

 # Start the simulation
 $ns run

 ON THE CYGWIN I RUN THE FILE
 $ ns myfirst_ns.tcl

 IT'S ERROR SHOW BELOW


 $ myfirst_ns.tcl
 invalid command
 name simulator
 while executing
 simulator
 create _o3
 invoked from
 within
 catch$className
 create $o $args msg
 invoked from
 within
 if [catch
 $className create $o $args msg] {
 if [string match
 _FAILED _SHADOW_OBJECT_$msg] {
 delete $o
 return
 }
 global errorInfo
 error class
 $..
  procedure new line 3
 invoked from
 within
 new
 simulator
 invoked from
 within
 set ns [new
 simulator]
 file
 myfirst_ns.tcl line3




 How to solve this?please help me out..i’m
 very new




Re: [ns] Agent creation problem

2011-08-16 Thread nicholas mbonimpa

Hi there,

As Fahimeh said, you've most probably not gone through all the necessary
steps of adding a new agent.

Most importantly, you need to modify the Makefile in the ns-2.34 (or your
version of ns-2) directory and include tcp-Fack.o, then run make again to
create an executable for your agent.

I hope that will help.

Kind regards,

Nicholas Mbonimpa



On Tue, Aug 16, 2011 at 11:20 AM, Fahimeh Akbari fahimeh...@yahoo.comwrote:


 Hi
 please explain your steps for defining your new agent and adding it to NS.

 Thanks



 
 From: Loukman NAJDI loukman.na...@utt.fr
 To: ns-users@ISI.EDU
 Sent: Tuesday, August 16, 2011 6:57 AM
 Subject: [ns] Agent creation problem


 Hello

 When i have created a new agent in ns2-2.34, the make depend and make
 options are passed succesfully, after that when itry to run my TCL
 code an error occur :

 ns:
 [code omitted because of length]
 : invalid command name Agent/TCP/Fack
 while executing
 Agent/TCP/Fack set ss-div4_ false

 any idea ?



Re: [ns] Agent creation problem

2011-08-16 Thread nicholas mbonimpa

Dear Fahimeh,

Thanks a lot for the correction.

Kind regards,

Nicholas Mbonimpa


On Tue, Aug 16, 2011 at 6:20 PM, Fahimeh Akbari fahimeh...@yahoo.comwrote:


 Dear loukman

 with thanks from Nicholas, I suggest you that modify makefile.in instead
 of makefile, according to Nicholas help. I attached you a .pdf file that is
 so usefull in creating a new agent and adding it to in NS. please read the
 needed changes  part of it that explains how to add your new agent to ns.
 be lucky.

 your sincerely: Fahimeh
 --
 *From:* nicholas mbonimpa nmboni...@gmail.com
 *To:* Fahimeh Akbari fahimeh...@yahoo.com
 *Cc:* Loukman NAJDI loukman.na...@utt.fr; ns-users@ISI.EDU 
 ns-users@isi.edu
 *Sent:* Tuesday, August 16, 2011 3:51 PM
 *Subject:* Re: [ns] Agent creation problem

 Hi there,

 As Fahimeh said, you've most probably not gone through all the necessary
 steps of adding a new agent.

 Most importantly, you need to modify the Makefile in the ns-2.34 (or your
 version of ns-2) directory and include tcp-Fack.o, then run make again to
 create an executable for your agent.

 I hope that will help.

 Kind regards,

 Nicholas Mbonimpa



 On Tue, Aug 16, 2011 at 11:20 AM, Fahimeh Akbari fahimeh...@yahoo.comwrote:


 Hi
 please explain your steps for defining your new agent and adding it to NS.

 Thanks



 
 From: Loukman NAJDI loukman.na...@utt.fr
 To: ns-users@ISI.EDU
 Sent: Tuesday, August 16, 2011 6:57 AM
 Subject: [ns] Agent creation problem


 Hello

 When i have created a new agent in ns2-2.34, the make depend and make
 options are passed succesfully, after that when itry to run my TCL
 code an error occur :

 ns:
 [code omitted because of length]
 : invalid command name Agent/TCP/Fack
 while executing
 Agent/TCP/Fack set ss-div4_ false

 any idea ?







Re: [ns] Segmentation fault

2011-08-10 Thread nicholas mbonimpa

Hi Zeinab,

Segmentation faults are usually due errors in the Code you've implemented in
the C++ domain. They are mainly caused by wrong pointers, when you try to
access some memory location which has been freed. That's just one scenario.
There you have to debug the C++ code it on your own, step by step.

Sometimes they are also due to wrongly implemented connections (taking into
perspective the agents attached to the nodes) in your tcl code. For example,
if you attach an forwarding agent to a sink and expect it, without any
modifications, to send packets downstream, you'll most probably get a
segmentation fault.

Check out this link:
http://www.ns2ultimate.com/post/567918455/segmentation-fault-a-common-error-in-ns2

Kind regards,

Nicholas Mbonimpa


On Wed, Aug 10, 2011 at 11:42 AM, Zeinab Rezaiefar z.rezaie...@yahoo.comwrote:


 hi friend
 when i run tcl file i get this error Segmentation fault
 any one know why this error happen? i change aodv protocol and after run
 tcl that its routing is aodv i get this error.
 any help will be appreciate.
 best regard



Re: [ns] warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl syntax error in expression $i $val(nn) : extra tokens at end of expression while executing

2011-08-09 Thread nicholas mbonimpa

Hi Manish,

Do not worry about the warning message. If your setup is ok, the simulation
will run well.

From a look at the code lines you've pasted here, the error message is most
probably due to a missing operator in the line below.

{$i  $val(nn) }

This is because both i and val(nn) are variables and there should be an
operator relating them if the for loop is to make sense.


for {set i 0} {$i  $val(nn) } {incr i}

That aside, you are most probably running a wireless or wired-cum-wireless
simulation. Depending on how your ns is installed, your simulation may not
run, if you are using the random scene generating files. If that happens,
copy your script to the directory ~/tcl/ex/ and run it there. It will
work.

I hope this will help.

Kind regards,

Nicholas Mbonimpa



On Fri, Aug 5, 2011 at 4:44 PM, nicholas mbonimpa nmboni...@gmail.comwrote:

 Hi Manish,

 Do not worry about the warning message. If your setup is ok, the simulation
 will run well.

 From a look at the code lines you've pasted here, the error message is most
 probably due to a missing operator in the line below.

  {$i  $val(nn) }

 This is because both i and val(nn) are variables and there should be an
 operator relating them if the for loop is to make sense.


 for {set i 0} {$i  $val(nn) } {incr i}

 That aside, you are most probably running a wireless or wired-cum-wireless
 simulation. Depending on how your ns is installed, your simulation may not
 run, if you are using the random scene generating files. If that happens,
 copy your script to the directory ~/tcl/ex/ and run it there. It will
 work.

 I hope this will help.

 Kind regards,

 Nicholas Mbonimpa


 On Fri, Aug 5, 2011 at 3:17 PM, manishsingh chaudhary 
 chaudharymanishsin...@gmail.com wrote:


 hi
 to all,

 *sub- the following  giving an error statement like as under:-
 *
 num_nodes is set 8
 *warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
 syntax error in expression $i  $val(nn) : extra tokens at end of
 expression*
*while executing*
 *for {set i 0} {$i  $val(nn) } {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 0;# disable random motion
}


 please sort out above error.**warning: Please use -channel as shown in
 tcl/ex/wireless-mitf.tcl
 syntax error in expression $i  $val(nn) : extra tokens at end of
 expression*
*while executing*
 *

 with regards
 manish
 *





Re: [ns] CBR traffic

2011-05-22 Thread nicholas mbonimpa

Hi,

These two links could help too.

http://perform.wpi.edu/NS/

http://perform.wpi.edu/NS/http://perform.wpi.edu/NS/

http://perform.wpi.edu/NS/Kind regards,

Nicholas Mbonimpa


On Sun, May 22, 2011 at 11:17 PM, nicholas mbonimpa nmboni...@gmail.comwrote:

 Hi,

 check in the directory ns-allinone/ns/tcl/lib, that's where the tcl
 domain files are implemented.

 Check out the files ns-source.tcl and ns-agent.tcl.

 Then in the directories ns-allinone/ns/apps and ns-allinone/ns/common
 you'll find the C domain files for applications and agents.

 You can also read the ns-manual from chapter 39 Applications and transport
 agent API and see if it can help.

 I hope I have been of help.

 Kind regards,

 Nicholas Mbonimpa

 P.S: Check out this link too https://wiki.ti5.tu-harburg.de/wsn/ns2/packet



 On Sun, May 22, 2011 at 9:40 PM, Aayushi Shashi 
 aayushi_sha...@hotmail.com wrote:



 Hi!

 Good morning. Do you know where the cbr traffic agent is implemented ??
 and how to modify it to add one field in its header???

 Thank you very much!!





Re: [ns] TCP variants in NS

2010-10-28 Thread nicholas mbonimpa

Hi,

I hope this answers your question. Check in the directory
*/home/.../ns-allinone-2.34/ns-2.34/tcp
*you'll find all the variations there.

Regards

Nicholas

On Thu, Oct 28, 2010 at 7:51 PM, sajeeb saha sascs...@yahoo.com wrote:


 Hello everyone,

 I need to know which of the TCP variants have been implemented in NS. If
 yo=
 u know how to find them or where to find them please let me know. I need
 th=
 is information badly.

 Thanks in advance...

 , Sajeeb Saha
 10th Batch,CSEDU
 +8801914754181






Re: [ns] plz plz help me.......

2010-10-27 Thread nicholas mbonimpa

Hi,

copy the wireless examples and try to run them in the directory *
.../tcl/ex. *
*
*
You shouldn't have problems then.

Kind regards

Nicholas

On Tue, Oct 26, 2010 at 9:37 PM, yogesh bansal yogesh.uiet...@gmail.comwrote:


 hi

 i have downloaded ns2.34-allinone package for linux. i m not being able to
 run the wireless examples in this. only wired examples are runnning.

 plz guide me where is the problem?? in my ns2.34 or the installation of
 linux


 i req u plz plz help me how can i run wireless examples in linux on network
 simlator.


 yogesh.



[ns] Fwd: error running wireless1 from Marc Greis tut

2010-10-22 Thread nicholas mbonimpa

Hi,

copy the file in the directory *~/tcl/ex/ *and run it there.
*
*
It is shown in the warning.
*warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl*
*
*
It should work after that.

It's because the example is using the random scene generating files which
are defined in the tcl directory.

Kind regards

Nicholas Mbonimpa

On Fri, Oct 22, 2010 at 6:46 PM, alin niculescu av3ng3r...@yahoo.comwrote:


 Hello all !
 I am using ns2-34allinone on Ubuntu 10.04.
 I installed/validated it succesfully ,but I get the following error
 when doing Marc Greis's tutorial,wireless1 and wireless2.
 All scripts until this one worked .

  num_nodes is set 3
 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
 INITIALIZE THE LIST xListHead
 Loading connection pattern...
 couldn't read file ../../tcl/mobility/scene/cbr-3-test: no such file or
 directory
while executing
 source.orig ../../tcl/mobility/scene/cbr-3-test
(uplevel body line 1)
invoked from within
 uplevel source.orig [list $fileName]
invoked from within
 if [$instance_ is_http_url $fileName] {
 set buffer [$instance_ read_url $fileName]
 uplevel eval $buffer
 } else {
 uplevel source.orig [list $fileName]
 ...
(procedure source line 8)
invoked from within
 source $val(cp)
(file wireless1.tcl line 121)


 Can anyone please help me ?The solutions I found google-ing didn't work .

 Thanks in advance.