[ns] help regarding beeadhoc

2012-03-01 Thread sachin dahiya

hi all

i want to test some parametrs for adhoc network using beeadhoc
protocol. can any body suggest me that how the beeadhoc routing
protocol can be installed in ns-2.33.
beeadhoc files are available for experimentation.


sachin



[ns] help energymodel

2011-03-24 Thread sachin dahiya

I am workign with the energy model using the example scripts provided
wireless-newnode-energy.tcl
Iam gettign this error when I run the abovefile where the energy model
was initialized.
invalid command name -energyModel
while executing
-energyModel $opt(energymodel) \
 -rxPower 0.3 \
 -txPower 0.6 \
 -initialEnergy $opt(initialenergy)
please help me
thanks



[ns] installation problrm

2011-02-24 Thread sachin dahiya

hi all
i am trying to install ns-2.29 on cygwin. my operating systen is
win-xp. every time i have got the message like

Package make not found
package patch not found
package perl not found
package w32api not found

what shoul i hav to do in this case.

plz help me
sachin



[ns] installation problem with ns-2.1b8a

2007-03-22 Thread sachin dahiya

Hi friends ,

While installing ns-2.1b8a I am getting this problem

In file included from trace.cc:44:
tfrc.h:116: friend declaration requires class-key,
i.e. `friend class
   TfrcSendTimer'
tfrc.h:117: friend declaration requires class-key,
i.e. `friend class
   TfrcNoFeedbackTimer'
make: *** [trace.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for
problems


please give me the solution

Thank you,
sachin


[ns] problem with make

2007-02-19 Thread sachin dahiya

  
I am new to NS. I am running NS on cygwin on Windows XP.

I was trying the 'make depend' and 'make' commands to see if they are
working properly. I did not make any changes to any files after i installed
NS. However, I received the errors shown below while i used the 'make'
command:

ucb; do ( cd $i; make all; ) done
make[1]: Entering directory `/home/ns-2.29/indep-utils/cmu-scen-gen/setdest'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ns-2.29/indep-utils/cmu-scen-gen/setdest'
make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/dec'
g++ -c -Wall -DCPP_NAMESPACE=std -I. -I/home/tclcl-1.17 -I/home/otcl-1.11
-I/home/include -I/home/include -I/usr/include/pcap -o proxytrace2any.o
proxytrace2any.cc
proxytrace2any.cc: In function `int main(int, char**)':
proxytrace2any.cc:112: error: `IsLittleEndian' undeclared (first use this
function)
proxytrace2any.cc:112: error: (Each undeclared identifier is reported only
once for each function it appears in.)
proxytrace2any.cc:120: error: `ToOtherEndian' undeclared (first use this
function)
make[1]: *** [proxytrace2any.o] Error 1
make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/dec'
make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/epa'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/epa'
make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/nlanr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/nlanr'
make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/ucb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/ucb'

I do not understand why this error is appearing. Can anyone help me with
this? Thanks in advance.





[ns] kindly help me

2007-02-15 Thread sachin dahiya

  
i m trying to implement selective tcp in ns. my ns2 ver is ns-2.29 on 
cygwin.the procedure for ns 2.27 on linux is gven by the crator of this code as 
follows:
To run Selective-TCP:

1. Copy the following files in the ~ns-allinone/ns2.27/tcp/

tcp-newreno.cc
tcp.h
tcp-sink.h
tcp-sink.cc

2. Copy the following file in the ~ns-allinone/ns2.27/tcl/lib/

ns-default.tcl

3. The file 'nspath' has the required path settings. 


4. Recompile NS 

To Recompile

* Goto ~ns-allinone/ns2.27/ and type 
./make clean
./make depend
./make

but when i follow thses steps it could not work.is there any body who helped me 
in implementing this stcp .my ns2 path is usr/local/nsallinone-2.29/ns-2.29.
the above file used is attached in this mail.
specially the  3rd  4th step does not work.