[ns] question about ns2 enegy model

2012-05-27 Thread

Hi,all
I saw your document http://www.isi.edu/ilense/software/smac/ns2_energy.html  
,and you provide a demo tcl script to evaluate energy comsuming in version 2.29.
However ,I recently to do my project which need use version 2.27 .
Is there any demo tcl script to simply evaluate in 2.27? Or some ways to revise 
current script and run in ns2 2.27?
Thanks a lot

[ns] how to calculate node power usage in aodv?

2012-02-26 Thread

Hi ,all
Aodv use broadcast RREQ ro find next hop waste so much power
If I want to measure power cosuming,how to do it??
Thank you very much

[ns] about SAODV

2012-01-04 Thread

Hi all,
saodv(secure aodv) routing protocol has open source?
I search the website and do not find?
Is there any one ever download the code of this routing protocol?

[ns] how to simulate a failure node in wireless sensor network in ns2?

2011-12-13 Thread

hi all,
recently I do a routing protocol in wireless sensor network ,I want to simulate 
a node failure at some time.
I am rookie in ns2.
could any one help me?
Thanks a lot!

[ns] about node address in wireless sensor network simulation

2011-05-26 Thread

hi,everyone
today I revise a little in one routing protocol,
before I revised ,the source code linkes follow:
ch-next_hop_ = -1; //Broadcast address
which means next hop is broadcast address,I want to indicate the next hop,for 
example,the topology likes this
node 0 -   node 1  — node 2 ,so node 0's next hop is node 1
so I revise the code linkes this
if(index_==0)
ch-next_hop_ = 1
else (index_==1)
ch-nedxt_hop_=2
I do this in order to fix the next hop,however,I recompile the ns2,everything 
goes ok,
but I use the same script to do the experimental,
the screen display : segementation fault (core dumped)
I check related website,and get the information that I may visit the memory I 
did not declared,
I think may be I use the node address as the ip address!
could any body tell me why ?
so Urgent!

[ns] segmentation fault core dumped in ns2-2.27 when I revise the variable of next hop

2011-05-26 Thread

hi,everyone
today I revise a little in one routing protocol,
before I revised ,the source code linkes follow:
ch-next_hop_ = -1; //Broadcast address
which means next hop is broadcast address,I want to indicate the next hop,for 
example,the topology likes this
node 0 -   node 1  — node 2 ,so node 0's next hop is node 1
so I revise the code linkes this
if(index_==0)
ch-next_hop_ = 1
else (index_==1)
ch-nedxt_hop_=2
I do this in order to fix the next hop,however,I recompile the ns2,everything 
goes ok,
but I use the same script to do the experimental,
the screen display : segementation fault (core dumped)
I check related website,and get the information that I may visit the memory I 
did not declared,
I think may be I use the node address as the ip address!
could any body tell me why ?
so Urgent!
Varrick

[ns] error in revising the variable of next hop

2011-05-26 Thread

hi,everyone
today I revise a little in one routing protocol,
before I revised ,the source code linkes follow:
ch-next_hop_ = -1; //Broadcast address
which means next hop is broadcast address,I want to indicate the next hop,for 
example,the topology likes this
node 0 -   node 1  — node 2 ,so node 0's next hop is node 1
so I revise the code linkes this
if(index_==0)
ch-next_hop_ = 1
else (index_==1)
ch-nedxt_hop_=2
I do this in order to fix the next hop,however,I recompile the ns2,everything 
goes ok,
but I use the same script to do the experimental,
the screen display : segementation fault (core dumped)
I check related website,and get the information that I may visit the memory I 
did not declared,
I think may be I use the node address as the ip address!
could any body tell me why ?
so Urgent!
Varrick

[ns] about add a new manet routing protocol in ns2-2.34 encounter an error

2011-05-19 Thread

I follow the instruction about how to add a new routing protocol to ns2
and I am sure that I do all steps,however,I suffer the follow mistake,and I 
search a lot in internet and get nothing useful
the error follows:
num_nodes is set 3
extra switch pattern with no body
while executing
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
invoked from within
set n(0) [$ns node] 
(file mflood.tcl line 55)
Could any one help me !
Thanks a lot!


[ns] an orror when I recompile the ns2 2.27

2011-04-20 Thread

today,I add a new routing protocol to ns2 2.27 and there are five files which I 
put them in a fold,there are :protoname.h 
,protoname.cc,protoname_pky.h,protoname_rtable.h,and protoname_rtable.cc
Then I do some modifications in packet.h, ns-packet.tcl,ns-lib.tcl and 
makefile,I am sure I strictly follow the direction that how to add a new 
protocol in ns2 ,however,the compiles display that
autoconf.f:85:error:namespace 'CPP_NAMESPACE' undeclared,and the more 
information I put them in the error.doc .
 
I do not revised any since I install the ns2 2.27,how this error happened ?
Could any one tell me ? Thanks a lot
Varrick

[ns] add new routing protocol to ns2 encounter an error

2011-04-20 Thread

HI
today,I add a new routing protocol to ns2 2.27 and there are five files which I 
put them in a fold,there are :protoname.h 
,protoname.cc,protoname_pky.h,protoname_rtable.h,and protoname_rtable.cc
Then I do some modifications in packet.h, ns-packet.tcl,ns-lib.tcl and 
makefile,I am sure I strictly follow the direction that how to add a new 
protocol in ns2 ,however,the compiles display that
autoconf.f:85:error:namespace 'CPP_NAMESPACE' undeclared,and the more 
information I put them in the error.doc .
 and there are the code in autoconf.h

/* stl */
 81 #ifdef __cplusplus
 82 #define HAVE_STL 1
83  #define CPP_REQUIRES_NAMESPACE 1
 84 #ifdef CPP_REQUIRES_NAMESPACE
85using namespace CPP_NAMESPACE;
  86   #endif /* CPP_NAMESPACE */
  87#endif /* __cplusplus */
 
I do not revised any since I install the ns2 2.27,how this error happened ?
Could any one tell me ? Thanks a lot
Varrick

[ns] add a protocol to ns2

2011-04-20 Thread

HI
when I add a new routing protocol to ns2,the compiles display that
autoconf.f:85:error:namespace 'CPP_NAMESPACE' undeclared
 and there are the code in autoconf.h

/* stl */
 81 #ifdef __cplusplus
 82 #define HAVE_STL 1
83  #define CPP_REQUIRES_NAMESPACE 1
 84 #ifdef CPP_REQUIRES_NAMESPACE
85using namespace CPP_NAMESPACE;
  86   #endif /* CPP_NAMESPACE */
  87#endif /* __cplusplus */
 
I do not revised any since I install the ns2 2.27,how this error happened ?
Could any one tell me ? Thanks a lot
Varrick

[ns] a sentence of tcl ,I do not understand

2011-04-14 Thread

 eval $ns_ attach-agent \$node_($src) \$udp($src)

this tcl sentence,use some symbol \,

I check the related books that could not apply in this place,

could any one explain that?

thanks a lot

Re: [ns] Drawing exponential graphs

2011-04-10 Thread

hi,
I also work on the simulation of 802.15.4,
I hope that we could discuss together
Varrick




At 2011-04-11 08:17:24,Mossy Mozila mossymb...@gmail.com wrote:



Hie
I'm also facing the same problem if it happens that someone helped you can
you just post me the idea at mossymb...@gmail.com.

Thanks in advance


mikes1313 wrote:
 
 
 
 
 
 rajeev joshi-3 wrote:
 
 
 Hell,
 I simulated IEEE 802.15.4 and Got the throughput delay, and can I draw
 the
 exponential graphs in xgraph if yes please tell how otherwise please
 anyone
 tell any software that plots .
 
 Waiting for ur reply.
 
 -- 
 Jeeva Rajeeva
 
 
 
 I am facing the same problem with Xgraph from what I now you can easily
 draw graphs through excel. Can you please provide me your awk scripts for
 throughput-delay because I am still facing problms with mine.
 THANKS MIKE
 

-- 
View this message in context: 
http://old.nabble.com/Drawing-exponential-graphs-tp31362766p31366534.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] about 802.15.4 dynamic address assignment in ns2

2011-03-11 Thread

Recently,I am doing some research on the source code of 802.15.4,and I am 
intrested in dynamic address assignment and want to do some work on 
it.However,some source codes such as zbr do not provided any more,so we can 
just part of the all . 
Any one familiar with this i ns2 or are there some related work? 

[ns] how to get source code of zigbee routing in ns2?

2011-03-08 Thread

Now we can get 802.15.4 source code in ns2 which offered by Zheng,however,how 
to get zigbee routing?

[ns] how to get source code of zigbee in ns2

2011-03-08 Thread

I am a student who intrest in zigbee and its application,however,i suffer some 
obstacles in simulation because I get the source code of 802.15.4 ,and the 
author of 802.15.4 simulation said that he do not offer the source code of 
zigbee routing anymore.As far as I concern,the source code of zigbee routing 
could be downloaded in the past time.how to get source code of zigbee routing?

Re: [ns] how to get source code of zigbee in ns2

2011-03-08 Thread

hi,

http://www-ee.ccny.cuny.edu/zheng/pub/file/wpan11.tar.gz

this website you offer is release 1.1 ,and this release do not include 
ZBR(zigbee routing),and these messages in Zheng's website:
*** NS2 simulator for 802.15.4 (release v1.1) ***

ZigBee routing is now maintained by ZigBee NWK WG and
no longer included in this release.

 Platforms supported
ns2 version: 2.26 or above
OS: Linux, Sun Solaris and FreeBSD

Note: The code has been included in the core release of ns 2.28.

I am confusing !

At 2011-03-08 23:10:43,Mubashir Rehmani mshrehm...@gmail.com wrote:
Hello,

See this:

IEEE 802.15.4 extensions to ns-2.26 and 2.27 are now available. The code works 
with ns 2.26 and 2.27 and has been tested on Linux/Solaris/FreeBSD. There are 
README, test/demo scripts. Code is athttp://www-ee.ccny.cuny.edu/zheng/pub. 
ContactJianliang Zheng for details.
IEEE 802.15.4 extensions to ns-2.26 and 2.27 are now available. The code works 
with ns 2.26 and 2.27 and has been tested on Linux/Solaris/FreeBSD. There are 
README, test/demo scripts. Code is athttp://www-ee.ccny.cuny.edu/zheng/pub. 
ContactJianliang Zheng for details.
The source code can be found from here:
http://www-ee.ccny.cuny.edu/zheng/pub/file/wpan11.tar.gz

Best Regards
Mubashir Husain Rehmani
Lip6/UPMC Sorbonne Universtié
Paris, France



2011/3/8 兰天lantian0...@163.com


I am a student who intrest in zigbee and its application,however,i suffer some 
obstacles in simulation because I get the source code of 802.15.4 ,and the 
author of 802.15.4 simulation said that he do not offer the source code of 
zigbee routing anymore.As far as I concern,the source code of zigbee routing 
could be downloaded in the past time.how to get source code of zigbee routing?




--
Mubashir Husain Rehmani




[ns] about source code of zigbee routing

2011-03-08 Thread

hi,

http://www-ee.ccny.cuny.edu/zheng/pub/file/wpan11.tar.gz

this website you offer is release 1.1 ,and this release do not include 
ZBR(zigbee routing),and these messages in Zheng's website:
*** NS2 simulator for 802.15.4 (release v1.1) ***

ZigBee routing is now maintained by ZigBee NWK WG and
no longer included in this release.

 Platforms supported
ns2 version: 2.26 or above
OS: Linux, Sun Solaris and FreeBSD

Note: The code has been included in the core release of ns 2.28.

I am confusing !

Re: [ns] how to get source code of zigbee in ns2

2011-03-08 Thread

hi,
It is my honor to get help from you!
I am very sorry that I do not express myself clearly.
http://www-ee.ccny.cuny.edu/zheng/pub/file/wpan11.tar.gz  this website offer us 
a new release about 802.15.4 code in ns2.When we unpack this file we could see 
cpp,demo,namthese folds.However,zigbee rouing needs a fold called zbr which 
include in the old version.in zbr this fold we could find many useful structure 
and method such asstruct zbr and so on.
I mean we could not find zbr.cc and zbr.h all these important files .
this time I express clearly?
Best wishes .
Varrick

At 2011-03-08 23:26:49,Mubashir Rehmani mshrehm...@gmail.com wrote:
Hello,

Zig Bee Routing is included in the new version of ns2 (ns 2.32), see the folder 
wpan in the ns2 main directory. They have also included the pdf tutorial there.

Best Regards


2011/3/8 兰天lantian0...@163.com


hi,

http://www-ee.ccny.cuny.edu/zheng/pub/file/wpan11.tar.gz

this website you offer is release 1.1 ,and this release do not include 
ZBR(zigbee routing),and these messages in Zheng's website:
*** NS2 simulator for 802.15.4 (release v1.1) ***

ZigBee routing is now maintained by ZigBee NWK WG and
no longer included in this release.

 Platforms supported
ns2 version: 2.26 or above
OS: Linux, Sun Solaris and FreeBSD

Note: The code has been included in the core release of ns 2.28.

I am confusing !

At 2011-03-08 23:10:43,Mubashir Rehmani mshrehm...@gmail.com wrote:
Hello,

See this:

IEEE 802.15.4 extensions to ns-2.26 and 2.27 are now available. The code works 
with ns 2.26 and 2.27 and has been tested on Linux/Solaris/FreeBSD. There are 
README, test/demo scripts. Code is athttp://www-ee.ccny.cuny.edu/zheng/pub. 
ContactJianliang Zheng for details.
IEEE 802.15.4 extensions to ns-2.26 and 2.27 are now available. The code works 
with ns 2.26 and 2.27 and has been tested on Linux/Solaris/FreeBSD. There are 
README, test/demo scripts. Code is athttp://www-ee.ccny.cuny.edu/zheng/pub. 
ContactJianliang Zheng for details.
The source code can be found from here:
http://www-ee.ccny.cuny.edu/zheng/pub/file/wpan11.tar.gz

Best Regards
Mubashir Husain Rehmani
Lip6/UPMC Sorbonne Universtié
Paris, France



2011/3/8 兰天lantian0...@163.com


I am a student who intrest in zigbee and its application,however,i suffer some 
obstacles in simulation because I get the source code of 802.15.4 ,and the 
author of 802.15.4 simulation said that he do not offer the source code of 
zigbee routing anymore.As far as I concern,the source code of zigbee routing 
could be downloaded in the past time.how to get source code of zigbee routing?




--
Mubashir Husain Rehmani








--
Mubashir Husain Rehmani