[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] while installing ns-2.1b8a i am getting this error please give me solution

2007-03-21 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


[ns] regarding make command

2007-03-01 Thread sachin dahiya


hi everybody
i m working on ns-2.27 on cygwin
i have modifid tcp-newreno.cc,tcp-sink.cc,tcp-sink.h.tcp.hand in
ns-default.tcl
but when i run make command it gives me the error which is given in
the attached file.after running make command th ns command stops
working.isthere any body who can suggest me what should i do to remove
the error.
th error is attached here..

sachin


[ns] Make doesn't reflect changes in .cc, .h files !!!!

2007-02-20 Thread sachin dahiya

respected sir
i m working on ns-2.29 on cygwin on window xp.
i m trying to implement selective tcp which is the modification in existing
newreno tcp version.i have changed the tcpnewreno.cc,tcp sink.cc.tcp.h,
tcpsink.h.
when i recompile ns by make clean ,make depend ,make commands the stcp stiil
not work.
make depend and make command show error like error1 and error2 in the last
line when i run these command.
will u please tell me the procedure how to make these changes effective.
with regards
sachin


[ns] how to make file

2007-02-20 Thread sachin dahiya

i have modified the tcp-newreno.cc,tcp-sink.cc,tcp.h .,i m trying to
implement the changes which i made.can any help me in making these
changes.how to make these changes effective.
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.