[ns] Ns-users Digest, Vol 63, Issue 16

COULIBALY Yaya cyahaya at gmail.com
Mon Mar 16 18:58:31 PDT 2009


Dear All,

I ahve downloaded and installed both ns-2.33 and ns-OBS on my computer
running Redhat Entreprise 5.

NS2 is working fine and I have tried many examples. However, when I try to
run the examples of ns-OBS, they do not run.

Any suggetions?


On Mon, Mar 16, 2009 at 4:01 PM, <ns-users-request at isi.edu> wrote:

> Send Ns-users mailing list submissions to
>        ns-users at 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
>        ns-users-request at isi.edu
>
> You can reach the person managing the list at
>        ns-users-owner at isi.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ns-users digest..."
>
>
> Today's Topics:
>
>   1. Re: Range Proble...Again :( (Mustafa Kamal)
>   2. Fw: vedio traffic output e-e delay is not reasonable (anas)
>   3. Re: ns problem1 (Teerawat Issariyakul)
>   4. How to ensure expire() function in MyTimer is called?
>      (Swaroop Shere)
>   5. How to ensure expire() function in MyTimer is called?
>      (Swaroop Shere)
>   6. how to send message from one node to another node
>      (muralikrishna g)
>   7. Problem while executing example script wireless.tcl
>      (directory: ~ns/tcl/ex/simple-wireless.tcl) on NS-2.33
>      (Sarvar Bakhramovich Musabekov)
>   8. makefile compilation (muralikrishna g)
>   9. velocity and direction of mobile nodes (Rainn)
>  10. problem with ftp stop and TCP (Diana Benitez)
>  11. Re: velocity and direction of mobile nodes (Phenix)
>  12. Path Optimality awk/perl script! (kassahun Endris)
>  13. how to get node_id in classifier.cc in wired network
>      simulation (muralikrishna g)
>  14. Re: how to get node_id in classifier.cc in wired network
>      simulation (Mohammed Abu Hajar)
>  15. Re: how to get node_id in classifier.cc in wired network
>      simulation (Mohammed Abu Hajar)
>  16. How to get the transmit power of a mobile node? (Spyros Marinis)
>  17. LEACH for ns2 (Douglas Restrepo)
>  18. ns2.1b9a installation (Mahendran)
>  19. How to create a remote Base Station ? (Mathiew Moussa)
>  20. classifier current tcl object/node (muralikrishna g)
>  21. classifier current tcl object/node (muralikrishna g)
>  22. Re: velocity and direction of mobile nodes (Firdaus Alias)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 15 Mar 2009 17:37:02 -0700 (PDT)
> From: Mustafa Kamal <contact.joarder at yahoo.com>
> Subject: Re: [ns] Range Proble...Again :(
> To: Mayank Daga <dagamayank at gmail.com>, NS2 Users <ns-users at ISI.EDU>
> Message-ID: <973674.28559.qm at web45605.mail.sp1.yahoo.com>
> Content-Type: text/plain; charset=utf-8
>
> HA and FA stand for Home Agent and Foreign Agents which means they are Base
> Station node. You can define a MH (Mobile Host) like below
>
> set MH0 [$ns_ node 1.0.7]
> set node_(0) $MH0
> set HAaddress [AddrParams addr2id [$HA node-addr]]
> [$MH0 set regagent_] set home_agent_ $HAaddress
> [$MH0 set netif_(0)] set Pt_ 0.03652
>
> And I have already successfully worked with this script
>
> Thanks,
>
> With Best Regards,
>
> Joarder Mohammad Mustafa Kamal
>
>
>
> --- On Sat, 3/14/09, Mayank Daga <dagamayank at gmail.com> wrote:
>
> From: Mayank Daga <dagamayank at gmail.com>
> Subject: Re: [ns] Range Proble...Again :(
> To: "Mustafa Kamal" <contact.joarder at yahoo.com>
> Date: Saturday, March 14, 2009, 1:51 PM
>
>
>
> On Sat, Mar 14, 2009 at 9:25 AM, Mustafa Kamal <contact.joarder at yahoo.com>
> wrote:
>
>
> Can you set the radius like below
>
> [$HA set netif_(0)] set Pt_ 0.03652
> [$FA01 set netif_(0)] set Pt_ 0.03652
> [$FA02 set netif_(0)] set Pt_ 0.03652
> [$FA03 set netif_(0)] set Pt_ 0.03652
>
>
> Can you please explain as to what are HA and FA0X objects of? Which one is
> the node here? Are you sure that this works?
>
>
>
> You can use this list to set the radius of a node
>
> ???? Tx Range?????????? Pt_
> ?????? 100m???????????? 0.00721383
> ?????? 150m???????????? 0.03652
> ?????? 200m???????????? 0.115421
> ?????? 250m????????????
>  0.28179
> ?????? 300m???????????? 0.58432
>
> Yes, I am aware of this table.
>
>
>
>
> Thanks,
>
> With Best Regards,
>
> Joarder Mohammad Mustafa Kamal
>
>
>
>
> --- On Thu, 3/12/09, Mayank Daga <dagamayank at gmail.com> wrote:
>
>
> From: Mayank Daga <dagamayank at gmail.com>
>
> Subject: [ns] Range Proble...Again :(
> To: "Mubashir Rehmani" <mshrehmani at gmail.com>, ns-users at ISI.EDU
>
> Date: Thursday, March 12, 2009, 9:12 PM
>
>
> Hey Mubashir,
>
> Sorry for
>  bugging you again but I am totally clueless as to how to set the
> range.
>
> Since past few days, I have been trying to set the range by the setting the
> value of radius variable of a particular node. This is what radius variable
>
> does according to NS Manual:
>
> $mobilenode radius <r>
> The radius <r> denotes the node?s range. All mobilenodes that fall within
> the circle of radius <r> with the node at its center
> are considered as neighbours. This info is typically used by the
> gridkeeper..
>
>
>
> But, today I found out that this is not affecting the way the traffic is
> sent, i.e., the range is still 250m, the default value. Please help me as
> to
> how can I set the range of the nodes. This is is very much imperative for
> my
>
> project.
>
> Please help.
>
> --
> Regards,
> Mayank Daga
> Senior Undergraduate Student,
> Department of Information Technology,
> National Institute of Technology,
>  Durgapur,
> India
>
>
>
>
>
>
>
>
> --
> Regards,
> Mayank Daga
> Senior Undergraduate Student,
> Department of Information Technology,
> National Institute of Technology, Durgapur,
> India
>
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 16 Mar 2009 03:44:19 +0300
> From: "anas" <saba717671 at hotmail.com>
> Subject: [ns] Fw: vedio traffic output e-e delay is not reasonable
> To: "ns" <ns-users at ISI.EDU>
> Message-ID: <BLU104-DS2AE59F458508B918DD20DDF9B0 at phx.gbl>
> Content-Type: text/plain;       charset="windows-1256"
>
>
>
>
> From: anas
> Sent: Monday, March 16, 2009 3:41 AM
> To: ns
> Subject: vedio traffic output e-e delay is not reasonable
>
>
> Dear all,
>
> I have used the MPEG4 traffic of TES model over DSR but the end to end
> delay was not reasonable
> it was 5 s in average
>
> please if you have any suggestion or explanation for that tell me?
>
> Anas
>
> ------------------------------
>
> Message: 3
> Date: Mon, 16 Mar 2009 01:35:56 +0000
> From: "Teerawat Issariyakul" <teerawat at ece.ubc.ca>
> Subject: Re: [ns] ns problem1
> To: mrbalador at yahoo.com, ns-users at ISI.EDU, teerawas at tot.co.th,
>        m.reshadi at yahoo.com
> Message-ID: <HqI0YR8t.1237167356.0383850.teerawat at localhost>
> Content-Type: text/plain; charset=ISO-8859-1
>
>
> You need to install XServer. Go to website of Cygwin or google to find
> out how.
>
> Best,
> Teerawat
>
> On 3/15/2009, "ali bala" <mrbalador at yahoo.com> wrote:
>
> >hi
> >i had problem with nam (i?worke with ns-2 under cygwin)
> >i did this steps for troubleshooting untill now :
> >?
> >while running simple example programs, I get error,
> >
> >$ nam: no display name and no $DISPLAY environment variable.
> >
> >?
> >
> >I tried set it with export DSIPLAY=:0.0
> >
> >it gives error ?
> >
> >$ nam: couldn't connect to display "0.0"
> >
> >I also tried ?startx before running programs, it gives following error,
> >
> >$ nam:
> >
> >[code omitted because of length]
> >
> >: no event type or button # or keysym
> >
> >? ?while executing
> >
> >"bind Listbox <MouseWheel> {
> >
> >%W yview scroll [expr {- (%D / 120) * 4}] units
> >
> >}"
> >
> >? ?invoked from within
> >
> >"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"}
> {
> >
> >bind Listbox <MouseWheel> {
> >
> >%W yview scroll [expr {- (%D)}] units
> >
> >}
> >
> >bind Li..."?
> >
> >this is my bashrc file :
> >?
>
> >LD_LIBRARY_PATH=/home/ALI/ns-allinone-2.33/otcl-1.13:/home/ALI/ns-allinone-2.33//lib
> >TCL_LIBRARY=/home/ALI/ns-allinone-2.33/tcl8.4.18/library
> >export LD_LIBRARY_PATH
> >export TCL_LIBRARY
> >?
> >and my bash_profile file :
> >?
> >PATH=${HOME}/ns-allinone-2.33/bin:${PATH}
> >
> >but? i have problem with nam now and i see this error :
> >?
> >$ nam:
> >[code omitted because of length]
> >: no event type or button # or keysym
> >??? while executing
> >"bind Listbox <MouseWheel> {
> >%W yview scroll [expr {- (%D / 120) * 4}] units
> >}"
> >??? invoked from within
> >"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"}
> {
> >bind Listbox <MouseWheel> {
> >%W yview scroll [expr {- (%D)}] units
> >}
> >bind Li..."
> >?can anybody figure out where the problem lies? (and methode for solve)
> >thanks
> >mr.ali.balador
> >homepage:www.balador.org
> >
> >
> >      )
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 16 Mar 2009 08:01:54 +0530 (IST)
> From: Swaroop Shere <swaroopshere at yahoo.co.in>
> Subject: [ns] How to ensure expire() function in MyTimer is called?
> To: ns-users <ns-users at ISI.EDU>
> Message-ID: <22538.45921.qm at web95404.mail.in2.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hi,
> ???? I am writing a new agent (lets call it VabAgent) and
> implementing a custom timer class (MyTimer : public TimerHandler). I
> have implemented the expire function like this
> -----------------------start code snippet------------------------------
> MyTimer::expire(Event *e){
> ??? a_->broadcast();
> ??? if(!a_->returnhasDestination())
> ??? ??? return 1000;
> ??? else
> ??? ??? return TIMER_HANDLED;
> }
> --------------------end code snippet-----------------------------------
>
> where
> returnhasDestination is a public method of VabAgent. Now, do I have to
> explicitly call the expire function or it is called automatically? I
> hope I am clear in my question.
>
> regards,
> Swaroop
>
>
>      Add more friends to your messenger and enjoy! Go to
> http://messenger.yahoo.com/invite/
>
> ------------------------------
>
> Message: 5
> Date: Mon, 16 Mar 2009 08:15:20 +0530 (IST)
> From: Swaroop Shere <swaroopshere at yahoo.co.in>
> Subject: [ns] How to ensure expire() function in MyTimer is called?
> To: ns-users <ns-users at ISI.EDU>
> Message-ID: <386129.48320.qm at web95405.mail.in2.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
>
>
> Hi,
> ???? I am writing a new agent (lets call it VabAgent) and
> implementing a custom timer class (MyTimer : public TimerHandler). I
> have implemented the expire function like this
> -----------------------start code snippet------------------------------
> MyTimer::expire(Event *e){
> ??? a_->broadcast();
> ??? if(!a_->returnhasDestination())
> ??? ??? return 1000;
> ??? else
> ??? ??? return TIMER_HANDLED;
> }
> --------------------end code snippet-----------------------------------
>
> where
> returnhasDestination is a public method of VabAgent. Now, do I have to
> explicitly call the expire function or it is called automatically? I
> hope I am clear in my question.
>
> regards,
> Swaroop
>
>
>
>      From Chandigarh to Chennai - find friends all over India. Go to
> http://in.promos.yahoo.com/groups/citygroups/
>
> ------------------------------
>
> Message: 6
> Date: Mon, 16 Mar 2009 08:55:50 +0530
> From: muralikrishna g <muralikrishna4g at gmail.com>
> Subject: [ns] how to send message from one node to another node
> To: NS-mail <ns-users at ISI.EDU>
> Message-ID:
>        <d2b7457a0903152025y22344522y3254d8415ab569f3 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> hi to all..
>
> i am searching for a solution.. i have to send an integer number from one
> node to another node.. how to make it
> please tell in detail.. i am in need
>
> thank u
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 16 Mar 2009 08:51:54 +0500
> From: Sarvar Bakhramovich Musabekov <smusabekov at gmail.com>
> Subject: [ns] Problem while executing example script wireless.tcl
>        (directory: ~ns/tcl/ex/simple-wireless.tcl) on NS-2.33
> To: ns-users at ISI.EDU
> Message-ID:
>        <e69c7970903152051r7ac79a68l331bed0e216bacce at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Dear All,
>
> I have installed NS-2.33 on VM RHat Linux 4 and tried to run exp script
> wireless.tcl and got following error:
>
> could't read file "../lib/ns-bsnode.tcl": no such file or directory while
> executing -----> I have checked there is such file
> source.orig ../lib/ns-bsnode.tcl
> ("uplevel" body line 1)
> 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 ../lib/ns-bsnode.tcl"
> (file "wireless.tcl" line 191)
> ============================
> If someone knows or faced this problem before could you pls give me
> suggestion on how to solve this problem or URL for my further study.
>
> Best wishes, Sarvar
>
>
> ------------------------------
>
> Message: 8
> Date: Mon, 16 Mar 2009 09:32:44 +0530
> From: muralikrishna g <muralikrishna4g at gmail.com>
> Subject: [ns] makefile compilation
> To: NS-mail <ns-users at ISI.EDU>
> Message-ID:
>        <d2b7457a0903152102m7b53e5dcjda47c7d1f3d361c1 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> hi to all..
>
> i am using NS-2.33, now i made changes to classifier.cc and queue.cc, to
> get
> these changes in to effect i have to compile.. but i don't have idea on how
> to compile after modifications.. please help me regarding this..
>
> by
>
> Muralikrishna Gaddam
>
>
> ------------------------------
>
> Message: 9
> Date: Sun, 15 Mar 2009 21:45:19 -0700
> From: Rainn <rajstha2006 at gmail.com>
> Subject: [ns] velocity and direction of mobile nodes
> To: ns-users at ISI.EDU
> Message-ID:
>        <7b8896aa0903152145g56a4b9ady3fba148f79cc91f1 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Dear all,
>
> I need to manipulate velocity and direction of mobile nodes in ns-2. Could
> anyone please help me out "CODE" to manipulate this.
> It's urgent .....
> Thanks in advance.
> Have a good days always.
>
>
> ------------------------------
>
> Message: 10
> Date: Mon, 16 Mar 2009 01:23:06 -0400
> From: Diana Benitez <paraguayita_69 at hotmail.com>
> Subject: [ns] problem with ftp stop and TCP
> To: NS Users <ns-users at ISI.EDU>
> Message-ID: <BAY120-W18E767BA69DD4E36409E95EB9B0 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> Hello everybody;
>
> I have teh following situation. A ftp agent stops but the TCP continues
> working. How this is possible? Do someone how to stop a TCP agent when the
> ftp stops?
>
> Thanks in advance,
>
> DIANA.
>
> _________________________________________________________________
> Hotmail? is up to 70% faster. Now good news travels really fast.
> http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009
>
> ------------------------------
>
> Message: 11
> Date: Mon, 16 Mar 2009 14:02:46 +0800
> From: "Phenix" <phenix_yw at hhu.edu.cn>
> Subject: Re: [ns] velocity and direction of mobile nodes
> To: "Rainn" <rajstha2006 at gmail.com>
> Cc: ns users <ns-users at ISI.EDU>
> Message-ID: <437182311.01066 at eyou.net>
> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
>        reply-type=original
>
> Hi Rainn,
>
> I only know how to get the velocity and direction vector, as below:
>
> MobileNode * pMNode ;
> ....
> speed = pMNode->speed();
> dx = pMNode->dX();
> dy = pMNode->dY();
>
>
> I also want to know how to control the movement of mobile nodes, such
> as, nodes stop moving at a specific time.
>
> If anybody know, pls let me know.
> Thank you!
>
>
> Regards,
> Phenix
>
> --------------------------------------------------
> From: "Rainn" <rajstha2006 at gmail.com>
> Sent: Monday, March 16, 2009 12:45 PM
> To: <ns-users at ISI.EDU>
> Subject: [ns] velocity and direction of mobile nodes
>
> >
> > Dear all,
> >
> > I need to manipulate velocity and direction of mobile nodes in ns-2.
> Could
> > anyone please help me out "CODE" to manipulate this.
> > It's urgent .....
> > Thanks in advance.
> > Have a good days always.
> >
>
>
>
> ------------------------------
>
> Message: 12
> Date: Mon, 16 Mar 2009 16:36:28 +0800
> From: kassahun Endris <kasspro at gmail.com>
> Subject: [ns] Path Optimality awk/perl script!
> To: ns-users at ISI.EDU
> Message-ID:
>        <1245d5e80903160136i7457c979q9565bc1145aeaca9 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello!
>
> Is there any one have Path Optimality/ actual path (hops) taken by the
> packets, awk/perl script? I could found any of this =
> script in the web.
>
> Thank you in advance.
>
> Best regards,
>
> Kass
>
>
> ------------------------------
>
> Message: 13
> Date: Mon, 16 Mar 2009 14:53:16 +0530
> From: muralikrishna g <muralikrishna4g at gmail.com>
> Subject: [ns] how to get node_id in classifier.cc in wired network
>        simulation
> To: NS-mail <ns-users at ISI.EDU>
> Message-ID:
>        <d2b7457a0903160223ye0b26a0uec361eb5cd0b2dda at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> hi to all..
>
> i am in need to have node_id of a node in classifier.cc, so that i can
> add new functionality to a node.. so please help me how to get node_id
> in classifier
>
> by
>
> muralikrishna
>
>
>
> ------------------------------
>
> Message: 14
> Date: Mon, 16 Mar 2009 02:31:34 -0700 (PDT)
> From: Mohammed Abu Hajar <mcsist at yahoo.com>
> Subject: Re: [ns] how to get node_id in classifier.cc in wired network
>        simulation
> To: muralikrishna g <muralikrishna4g at gmail.com>
> Cc: NS_2 Mailing List <ns-users at ISI.EDU>
> Message-ID: <647286.11385.qm at web55001.mail.re4.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
>
> use net_id.dump(), this is the code used by the trace mechanism
>
>
>
> ________________________________
> From: muralikrishna g <muralikrishna4g at gmail.com>
> To: NS-mail <ns-users at ISI.EDU>
> Sent: Monday, March 16, 2009 11:23:16 AM
> Subject: [ns] how to get node_id in classifier.cc in wired network
> simulation
>
>
> hi to all..
>
> i am in need to have node_id of a node in classifier.cc, so that i can
> add new functionality to a node.. so please help me how to get node_id
> in classifier
>
> by
>
> muralikrishna
>
>
>
>
> ------------------------------
>
> Message: 15
> Date: Mon, 16 Mar 2009 02:54:39 -0700 (PDT)
> From: Mohammed Abu Hajar <mcsist at yahoo.com>
> Subject: Re: [ns] how to get node_id in classifier.cc in wired network
>        simulation
> To: muralikrishna g <muralikrishna4g at gmail.com>
> Cc: NS_2 Mailing List <ns-users at ISI.EDU>
> Message-ID: <432377.15795.qm at web55003.mail.re4.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
>
> I advice you to implement some simple scenarios with smaller number of
> nodes also try to analaysis the output file. In wireless environment there
> are multi node working.
>
> All the best,
>
> Mohammed AbuHajar
>
>
> ________________________________
> From: muralikrishna g <muralikrishna4g at gmail.com>
> To: Mohammed Abu Hajar <mcsist at yahoo.com>
> Sent: Monday, March 16, 2009 11:49:15 AM
> Subject: Re: [ns] how to get node_id in classifier.cc in wired network
>  simulation
>
> hi sir..
>
> everybody tell me that to use net_id.dump( ), but my problem is that i
> have to check the classifier for which node it is presently working..
> no all the nodes.. so there by i compare the node_id with required
> node_id, if it satisfies i can make a special function to that node by
> some if condition..
>
> sir,.. please help me regarding this..
>
> thank u sir
>
> On 3/16/09, Mohammed Abu Hajar <mcsist at yahoo.com> wrote:
> > use net_id.dump(), this is the code used by the trace mechanism
> >
> >
> >
> > ________________________________
> > From: muralikrishna g <muralikrishna4g at gmail.com>
> > To: NS-mail <ns-users at ISI.EDU>
> > Sent: Monday, March 16, 2009 11:23:16 AM
> > Subject: [ns] how to get node_id in classifier.cc in wired network
> > simulation
> >
> >
> > hi to all..
> >
> > i am in need to have node_id of a node in classifier.cc, so that i can
> > add new functionality to a node.. so please help me how to get node_id
> > in classifier
> >
> > by
> >
> > muralikrishna
> >
> >
> >
>
>
>
>
>
> ------------------------------
>
> Message: 16
> Date: Mon, 16 Mar 2009 11:49:19 +0000 (GMT)
> From: Spyros Marinis <spyros_mar at yahoo.gr>
> Subject: [ns] How to get the transmit power of a mobile node?
> To: ns-users at ISI.EDU
> Message-ID: <955042.15957.qm at web25502.mail.ukl.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-7
>
> Hi all!
> Could anyone tell me how I can get the transmit power of a mobile node from
> the C++ code? I mean the one that is defined by:
> Phy/WirelessPhy set Pt_ 4.5099
> in the tcl script. I used the? bsWlan->radius() to calculate it from there,
> but it gives me zero.....
> I have used different Pt_ levels for various nodes.
> Is there also a way to get the RTXThreshold from c++?
> Thank you very much in advance,
> Spyros
>
>
>
>
>
> ___________________________________________________________
> ?????????????? Yahoo!;
> ?????????? ?? ?????????? ???????? (spam); ?? Yahoo! Mail
> ???????? ??? ???????? ?????? ????????? ???? ??? ???????????
> ????????? http://login.yahoo.com/config/mail?.intl=gr
>
>
> ------------------------------
>
> Message: 17
> Date: Mon, 16 Mar 2009 05:08:01 -0700 (PDT)
> From: Douglas Restrepo <lucas_max2002 at yahoo.es>
> Subject: [ns] LEACH for ns2
> To: ns <ns-users at ISI.EDU>, ns <ns-users at ISI.EDU>
> Message-ID: <479981.937.qm at web24608.mail.ird.yahoo.com>
> Content-Type: text/plain; charset=utf-8
>
>
> Hi Forum...
>
> Can some body tell me if there are some implementation of LEACH for NS2.
>
> Thankyou
>
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 18
> Date: Mon, 16 Mar 2009 18:05:28 +0530 (IST)
> From: Mahendran <mahen2004_tce at yahoo.com>
> Subject: [ns] ns2.1b9a installation
> To: ns-users at ISI.EDU
> Message-ID: <302305.5784.qm at web94908.mail.in2.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
>
> I am Mahen
> ?
> I am trying to install ns2.1b9agcc32 with cygwin.i used the cygwin patch
> file.i got the following error.otcl configuration failed.can u help me
> installing ns2.1b9a.give me the procedure and how to rectify the error.
> ?
> Whether ns2.1b9a can be installed with visual studio.help me.
> ?
> waiting for ur reply.
> from Mahen
> mahen2004_tce at yahoo.com
>
>
>      Cricket on your mind? Visit the ultimate cricket website. Enter
> http://beta.cricket.yahoo.com
>
> ------------------------------
>
> Message: 19
> Date: Mon, 16 Mar 2009 14:42:43 +0200
> From: Mathiew Moussa <mmm59 at aub.edu.lb>
> Subject: [ns] How to create a remote Base Station ?
> To: ns-users at ISI.EDU
> Message-ID: <20090316144243.7i2it0pqzook4cs0 at imail.aub.edu.lb>
> Content-Type: text/plain;       charset=ISO-8859-1;     DelSp="Yes";
>        format="flowed"
>
> Hi All,
>
> I am simulating a wireless network and i want to add a remote Base
> Station (BS) to my network.
> All my nodes are scattered on a distance of 500m x 500m (dimensions
> specified in the tcl script)
>
> Question1: CAN I ADD A BASE STATION AT SAY 1000m x 1000m (or more)
> without changing the network dimensions in tcl, or its necessary.
>
> Question2: Is there a predefined class in ns2 for a Base Station with
> properties such unlimited recourses, or i have to define my own
>
> I hope you got my point.
>
> Thanks in Advance,
> Mathiew
>
>
>
>
>
> ------------------------------
>
> Message: 20
> Date: Mon, 16 Mar 2009 20:51:22 +0530
> From: muralikrishna g <muralikrishna4g at gmail.com>
> Subject: [ns] classifier current tcl object/node
> To: NS-mail <ns-users at ISI.EDU>
> Message-ID:
>        <d2b7457a0903160821kd0270edp440bdeb187f85aa4 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> hi to all..
>
> in classifier i have to add a function.. that have to check for which
> node currently classifier is running..
>
> if(current->node_id==node-id) //node-id, id of the node for which i am
> going to add new function
> { i do add a new function here}
>
> please help how will be this if function, i dont know how to get
> current tcl object/node please help me regarding this.
>
> by
>
> Muralikrishna Gaddam
>
>
>
> ------------------------------
>
> Message: 21
> Date: Mon, 16 Mar 2009 20:52:39 +0530
> From: muralikrishna g <muralikrishna4g at gmail.com>
> Subject: [ns] classifier current tcl object/node
> To: NS-mail <ns-users at ISI.EDU>
> Message-ID:
>        <d2b7457a0903160822r73c9f0aci9e1b9407fa5497 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> hi to all..
>
> in classifier i have to add a function.. that have to check for which
> node currently classifier is running..
>
> if(current->node_id==node-id) //node-id, id of the node for which i am
> going to add new function
> { i do add a new function here}
>
> please help how will be this if function, i dont know how to get
> current tcl object/node and the correct position of this if function
> in classifier, please help me regarding this.
>
> by
>
> Muralikrishna Gaddam
>
>
>
> ------------------------------
>
> Message: 22
> Date: Mon, 16 Mar 2009 23:31:10 +0800
> From: Firdaus Alias <fudgy.geek at gmail.com>
> Subject: Re: [ns] velocity and direction of mobile nodes
> To: ns users <ns-users at ISI.EDU>
> Message-ID:
>        <41df069c0903160831j5ee8900bw7ad1e2ae59e7bbae at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> You can control the start/stop of the node via a tcl. The movement of the
> nodes can also be generated by tcl. You may want to look at traffic
> generators for ns-2 if you want to generate more complicated movements.
>
> Firdaus.
>
> On Mon, Mar 16, 2009 at 2:02 PM, Phenix <phenix_yw at hhu.edu.cn> wrote:
>
> >
> > Hi Rainn,
> >
> > I only know how to get the velocity and direction vector, as below:
> >
> > MobileNode * pMNode ;
> > ....
> > speed = pMNode->speed();
> > dx = pMNode->dX();
> > dy = pMNode->dY();
> >
> >
> > I also want to know how to control the movement of mobile nodes, such
> > as, nodes stop moving at a specific time.
> >
> > If anybody know, pls let me know.
> > Thank you!
> >
> >
> > Regards,
> > Phenix
> >
> > --------------------------------------------------
> > From: "Rainn" <rajstha2006 at gmail.com>
> > Sent: Monday, March 16, 2009 12:45 PM
> > To: <ns-users at ISI.EDU>
> > Subject: [ns] velocity and direction of mobile nodes
> >
> > >
> > > Dear all,
> > >
> > > I need to manipulate velocity and direction of mobile nodes in ns-2.
> > Could
> > > anyone please help me out "CODE" to manipulate this.
> > > It's urgent .....
> > > Thanks in advance.
> > > Have a good days always.
> > >
> >
> >
>
>
> ------------------------------
>
> _______________________________________________
> Ns-users mailing list
> Ns-users at isi.edu
> http://mailman.isi.edu/mailman/listinfo/ns-users
>
>
> End of Ns-users Digest, Vol 63, Issue 16
> ****************************************
>



-- 
************************
COULIBALY Yahaya
PhD Candidate
Faculty of Computer Science & Information Systems
Department of Communication & Computer Systems
Malaysia University of Technology (UTM)
81310 Skudai, Johor Bahru, Johor
Cell: 0060196886615


More information about the Ns-users mailing list