Re: [ns] ns questions

2011-02-15 Thread jun liu

Hi everyone , Hi Ankur

I instal ns-2.28 on cygwin , I use  ./install,  when the building comes to
ns-2.28 ,it does checking then
compile files, then this error occurs,

trace/trace.cc:185: warning: deprecated conversion from string constant to
‘char*’
trace/trace.cc:185: warning: deprecated conversion from string constant to
‘char*’
trace/trace.cc:185: warning: deprecated conversion from string constant to
‘char*’
trace/trace.cc:185: warning: deprecated conversion from string constant to
‘char*’
trace/trace.cc:185: warning: deprecated conversion from string constant to
‘char*’
make: *** [trace/trace.o] Error 1
Ns make failed!


What is the problem.

Jun


On Mon, Feb 14, 2011 at 10:53 PM, ankur goyal dream.an...@gmail.com wrote:

 Hi,

 I am not sure but i dont think ns2.34 is compatible with cygwin. Try
 installing ns 2.35 and some version in cygwin than it will install.

 On Tue, Feb 15, 2011 at 1:25 AM, jun liu junliu...@gmail.com wrote:


 Hi

 I am new comer of ns2,  I install ns-2.34  in windows 7 using cygwin
 when I build ns2 in tcl8.4.18 module, there sre errors

 storage size of 'tz' is not know.

 How can deal with it?

 Thank you

 Jun





 On Mon, Feb 14, 2011 at 12:24 AM, jun liu junliu...@gmail.com wrote:

  HI
 
  I am a new user of ns2. I install ns2 in my computer, operating system
 is
  windows 7,
  I install cygwin in my computer, the download  latest all-in-one 2.34
  file,
  I tar this file, and install in cgywin (*./install*), then I validate it
  using *./validate*,
 
  I found such problem:
I can not find the command *ns *when I do test such as *ns
  simple-dyn.tcl*
  * *reply:*  command not found*
  * *
  * *When I input :*./test-all-simple* in *test* directory
   reply:
*./test-all-template1: line 110: ../../ns: no such a file or
 directory*
  *  test output difference from reference output.*
  * *
  Thank you
 
  Jun
  *
  *
  *
  *
  *  *
 
 




 --
 Thanks,
 Ankur
 +91-8975125485




[ns] multicast on wireless nodes

2011-02-15 Thread rahaa


I want to multicast UDP packets between 6 mobile nodes in wireless 802-11
nodes .does Ns2-2.31 support this ? 
please help me
-- 
View this message in context: 
http://old.nabble.com/multicast-on-wireless-nodes-tp30928861p30928861.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] ARQ implementation in ns 2

2011-02-15 Thread bibhu


hi friends
m trying to implement ARQ in ns2 but i thing ns 2.31 doesn't support ARQ
.can anybody tell me what should i do to implement stop-n-wait arq.
pls give your suggestions

-- 
View this message in context: 
http://old.nabble.com/ARQ-implementation-in-ns-2-tp30929430p30929430.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Coverage area of base station Node

2011-02-15 Thread jeevan pokhrel

Dear all,
I am doing my simulation for vertical handover. I have three base station node 
and I want to set the different coverage area for each node. Can you please 
reply me how can I do it.

jeevan pokhrel
master student
jeevan pokhrel
master student




  


[ns] Dynamically change node attributes

2011-02-15 Thread Sunil K

In NS2 can I change the attributes of mobile nodes such as their position
and speed or add/remove nodes while the simulation is running. Can you give
me a link containing such examples or tutorial .
Thanking you.


Re: [ns] How to use snoop agent at base station?

2011-02-15 Thread chaaru


Hi ,
even I am facing the same problem. Do you know how to solve it ?


kaustav_deybiswas wrote:
 
 Hi ,
 
 I am facing a huge problem in using snoop agent at base station. The base
 station is connected to wired nodes through duplex link. whenever i use
 IIType to be LL/LLSnoop , i get segmentation fault. When i use LL only
 then everything is ok.
 
 Please reply
 

-- 
View this message in context: 
http://old.nabble.com/How-to-use-snoop-agent-at-base-station--tp26098578p30932572.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Lacking of Sample code for Clustering Routing Protocol

2011-02-15 Thread lim shia yok

Hi,

Most of us are lacking the code information about clustering based routing
protocol, pls help, thanks

I need your help on how do I collect the weight for cluster head selection
in NS2, the weight includes number of hops, degree nodes, and etc..
Or is there anyone know where can I get the sample code for clustering based
routing protocol? Thanks for your help..

Regards,
Shia Yok


[ns] problems with propagation model

2011-02-15 Thread Stephan Lorenz

All,
I need to use the function double FreeSpace::Pr(PacketStamp *t, PacketStamp
*r, WirelessPhy *ifp) in /ns-2.34/mobile/propagation.cc . What do I have to
pass to that function?

Thanks for your time and help,
Stephan


[ns] problem in HSDPA simulation

2011-02-15 Thread maissa boujelben

Hi all,

I want to simulate a HSDPA network. I've already downloaded the patch of
EURANE.
What should I do to make it work?
Can any one provide me with an example of code dealing with HSDPA?

thanks,


[ns] Problem in running multi_udpflows.tcl with Mac/802_11e

2011-02-15 Thread Subir Biswas

*Hi all,*
*
*
*I have been trying to run the example script multi_udpflows.tcl from the
802_11EDCA patch by TKN/TU-Berlin using ns-2.31. There were thousands of
errors before I was able run ./configure; make clean; make depend; make
command set. *
*
*
*However, when things started looking good, I attempted to run the mentioned
example file **multi_udpflows.tcl**. And, it says:*


 *invalid command name Mac/802_11e*

* while executing
 Mac/802_11e create _o54 
 invoked from within
 catch $className create $o $args msg *

* invoked from within*
*
*
*I double checked the changes in tcl scripts according to the README as
indicated by some other ns users, and also, all required object (.o) files
in mac/802_11e folder are created by make. *
*
*
*I was wondering what could go wrong.*
*
*
*If anyone knows the solution to this problem, please reply. Thanks a lot
for your time.*
*
*
*
*
*Regards,*
*Subir*


Re: [ns] ARQ implementation in ns 2

2011-02-15 Thread Teerawat@UBC

If you are interested in implementing ARQ in NS2, please read

http://www.ns2ultimate.com/post/1539258323/arq-module-program-update

Best Wishes,

Teerawat Issariyakul
http://www.ns2ultimate.com/
http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417
http://twitter.com/T_Bear
http://www.t-issariyakul.blogspot.com
http://www.ece.ubc.ca/~teerawat



On Feb 15, 2011, at 5:00 PM, bibhu wrote:

 
 
 hi friends
 m trying to implement ARQ in ns2 but i thing ns 2.31 doesn't support ARQ
 .can anybody tell me what should i do to implement stop-n-wait arq.
 pls give your suggestions
 
 -- 
 View this message in context: 
 http://old.nabble.com/ARQ-implementation-in-ns-2-tp30929430p30929430.html
 Sent from the ns-users mailing list archive at Nabble.com.
 




Re: [ns] Tcl::evalf(const char* fmt, ....) definition

2011-02-15 Thread Kuldeep Singh

Hi, everyone

I just got the solution

It is defined in tclcl/Tcl2.cc file





On Mon, Feb 14, 2011 at 4:47 AM, Kuldeep Singh kuldip...@gmail.com wrote:

 Hi,

 can anyone tel the location of Tcl::evalf(const char* fmt,...) function in
 Tcl.cc ???


 It is declared in Line No 128 of file tclcl.h.

 Plz inform me, where it is defined