Re: [ns] Newbie questions on wpan demo

2006-04-04 Thread Bruce Who

Finally I add ErrorModel to wpan_demo2.tcl, and but the result I get
is quite different from the that of the paper "A Comprehensive
Performance Study of IEEE 802.15.4" which is written by the author of
wpan module.

Here is my result:

pps is 15.1
throughput is 1.6 KBps
packet delivery ratio is 98.7 %
pps is 4.8
throughput is 0.6 KBps
packet delivery ratio is 98.0 %
pps is 2.6
throughput is 0.4 KBps
packet delivery ratio is 97.0 %
pps is 1.4
throughput is 0.3 KBps
packet delivery ratio is 96.7 %

The paper says that as pps goes bigger, the packet delivery ratio
should go down.

I guess it's quite possible that I have made some mistakes, but I
cannot find out myself.
The attachments are my scripts:

run: just type ./run to run the simulation and you'll see the result
wpan_demo2.tcl: I made some changes to the original wpan_demo2.tcl
calc_wpan2.py: it's used by ./run to caculate pps and packet delivery ratio




Best regards,

Bruce Who
2006-04-03
import sys
import re

cols = [r"(?P\w)",
r"(?P(\d|\.)+)",
r"_(?P\d)_",
r"\w+",
r"(?P[^\s]+)",  # ---
r"\d+",
r"(?P\w+)",
r"(?P\d+)",
r"\[\w+ (?P\w+) (?P\w+) \w+\]",
r".*"
]

row_str = r'\s+'.join(cols)

pat = re.compile(row_str)

class NodeStatistic:
def __init__(self):
self.txTcpPktCount_ = 0
self.txTcpPktBytes_ = 0
self.txAckPktCount_ = 0
self.txAckPktBytes_ = 0
self.txBcnPktCount_ = 0
self.txBcnPktBytes_ = 0
self.txPktCount_ = 0
self.txPktBytes_ = 0
self.rxPktCount_ = 0
self.rxPktBytes_ = 0
self.dpPktCount_ = 0
self.dpPktBytes_ = 0
self.dpTcpPktCount_ = 0
self.dpTcpPktBytes_ = 0
self.errTcpPktCount_ = 0
self.ackPktCount_ = 0
self.ackPktBytes_ = 0


def main():
if len(sys.argv) == 2:
tracefilename = sys.argv[1]
f = open(tracefilename, 'rb')
result = {'s': 0, 'r': 0, 'D': 0, 'f': 0, 'dropped': 0, 'ack': 0}
dictNodeStatistic = {}
for x in f:
m = pat.match(x)
if m:
cmd = m.group('cmd').lower()
time = m.group('time')
nodeaddr = m.group('nodeaddr')
why = m.group('why').lower()
pkttype = m.group('pkttype').lower()
pktsize = int(m.group('pktsize'))
dstaddr = m.group('dstaddr')
srcaddr = m.group('srcaddr')
if not dictNodeStatistic.has_key(nodeaddr):
dictNodeStatistic[nodeaddr] = NodeStatistic()
ns = dictNodeStatistic[nodeaddr]
if cmd == 's':
if pkttype == 'exp':
ns.txTcpPktCount_ += 1
ns.txTcpPktBytes_ += pktsize
elif pkttype == 'ack':
ns.txAckPktCount_ += 1
ns.txAckPktBytes_ += pktsize
elif pkttype == 'bcn':
ns.txBcnPktCount_ += 1
ns.txBcnPktBytes_ += pktsize
ns.txPktCount_ += 1
ns.txPktBytes_ += pktsize
elif cmd == 'r':
ns.rxPktCount_ += 1
ns.rxPktBytes_ += pktsize # + 7 (???)
elif cmd == 'd':
ns.dpPktCount_ += 1
ns.dpPktBytes_ += pktsize
if pkttype == 'exp':
ns.dpTcpPktCount_ += 1
ns.dpTcpPktBytes_ += pktsize
if why == 'err':
ns.errTcpPktCount_ += 1
f.close()
totalTcpPktCount = 0
totalTcpPktBytes = 0
totalPktCount = 0
totalPktBytes = 0
droppedPktBytes = 0
droppedPktCount = 0
droppedTcpPktBytes = 0
droppedTcpPktCount = 0
errTcpPktCount = 0
for i, ns in dictNodeStatistic.iteritems():
totalTcpPktCount += ns.txTcpPktCount_
totalTcpPktBytes += ns.txTcpPktBytes_
totalPktCount += ns.txPktCount_
totalPktBytes += ns.txPktBytes_
droppedPktBytes += ns.dpPktBytes_
droppedPktCount += ns.dpPktCount_
droppedTcpPktBytes += ns.dpTcpPktBytes_
droppedTcpPktCount += ns.dpTcpPktCount_
errTcpPktCount += ns.errTcpPktCount_
throughput = float(totalPktBytes) / 93 /1024
pps = float(totalTcpPktCount) / 93
print 'pps is', round(pps, 1)
print 'throughput is', round(throughput, 1), 'KBps'
print 'packet delivery ratio is',\
round(1 - float(droppedPktCount) / totalPktCount, 3) * 100, '%'

if __name__=="__main__":main()


[ns] 802.11 MAC code in NS-2

2006-04-04 Thread Saurabh Sinha

I went through the article "http://www-ece.rice.edu/~jpr/ns/docs/802_11.html";
which is awesome, but i have doubts in my mind like.

Q1) Like which c++ fuction exactly calls the recv() function?

Q2) Now, when you say the control resumes after the timer expires, what do
you mean by that?

Q3) Also, when is this code (say Mac802_11) called, like whenever a packet
or station (node) wise?


I'm trying to implement the EDCF (802.11e) and for that these will of great
help of mine.


Thanks
--
Saurabh Sinha
Department of Computer Science,
University of Delhi.


--
Saurabh Sinha
Department of Computer Science,
University of Delhi.


[ns] DSDV in inifite loop with certain physical layer threshold - help

2006-04-04 Thread Sasan Sahraei

Hi All,

In DSDV, when using

Phy/WirelessPhy set RXThresh_ 3.652e-10

I always get the rtable metrics = 250 and DSDV_Agent::helper_callback
never gets called to update the table (through makeUpdate)

so this leads forwardPacket to get into an infinite loop

but when using

Phy/WirelessPhy set RXThresh_ 1.47635e-07

there is no such problem, but inturn, it result in so many packets to be
dropped.

I can imagine why the second one drops so many packets, but I can't
understand why DSDV gets into infinite loop when using

Phy/WirelessPhy set RXThresh_ 3.652e-10

any opinions will be appreciated.

Thanks,
Sasan



[ns] Core-based Tree Multicast Routing Protocol for MANETs

2006-04-04 Thread Manish Kochhal

Dear friends,

I am looking for ns-2 code for a multicast routing protocol for MANETs that 
uses the underlying CBT-based data multicasting ... I found one protocol i.e. 
AMRoute but I am not able to locate its ns-2 code ...

Please suggest any alternative protocol (with it's ns-2 source code, if any)

Thanks,
--Manish
**
 Manish M Kochhal 
 
 Graduate Research Assistant
 Networking Wireless Sensors Laboratory
 Wayne State University

Ph. 313 577 3427 (O)
313 832 1724 (H)
   email: [EMAIL PROTECTED]

URL: http://www.cs.wayne.edu/~manishk   


"Success doesnt mean absence of failures, it means the attainment of ultimate 
objectives. It means winning the war, not every battle."

--Anonymous

*



[ns] urgent: how to install SPIN on ns-2.27

2006-04-04 Thread 黄莺

i m  trying to install spin code on ns-2.27. i modify ns2.27 folder with spin 
project file. but when i tried to make that i
got more erros. i m not able to figure it out. it's urgent.is there anybody can 
port it on ns2.27? please let me know.
thx in advance.
 
 
 

[ns] urgent: How to judges the edge position o f nodes in cluster protocol?

2006-04-04 Thread 黄莺

If a node far away was selected to be cluster head , energy consumption of the 
majority of members increases because of the transmission distance . Then, How 
to judges the edge position? Are there methods to judges? Please let me know. 
Thank you in advance.
 
 
 

[ns] Reading energy information from routing agent - Please HELP ME!

2006-04-04 Thread Ahmet Kara


Hi,

I'm trying to implement a routing protocol that's decisions depend on the
remaining battery power.

I couldn't find a way to read the remaining battery power (energymodel's
energy property) from a routing agent.

Could you please help in my problem?

Ahmet Kara




Re: [ns] Routing protocol OK

2006-04-04 Thread juan manuel gomez garcia

Hi Mohammad:
This are the files that I've been changed:
 packet.h
 cmu_trace.h
 cmu_trace.cc
 ns_packet.tcl
 ns_default.tcl
 ns_lib.tcl
 priqueue.cc
 ns-mobilenode.tcl
 ns-agent.tcl
Makefile


"Mohammad Abu Zaid" <[EMAIL PROTECTED]> wrote:

>Dear Jaun,
>  Can u plz verify the files I need to change
>packet.h
>make file
>ns-packet.tcl
>
>Do I have to modify trace(cmu-trace.cc/h), and priority Queue
>I just need to repeat yr scenario,
>
>Thanks
>

_
Descarga gratis la Barra de Herramientas de MSN 
http://www.msn.es/usuario/busqueda/barra?XAPID=2031&DI=1055&SU=http%3A//www.hotmail.com&HL=LINKTAG1OPENINGTEXT_MSNBH



Re: [ns] Routing protocol OK

2006-04-04 Thread juan manuel gomez garcia

Hi Mohammad:
This are the files that I've been changed:
 packet.h
 cmu_trace.h
 cmu_trace.cc
 ns_packet.tcl
 ns_default.tcl
 ns_lib.tcl
 priqueue.cc
 ns-mobilenode.tcl
 ns-agent.tcl
Makefile


"Mohammad Abu Zaid" <[EMAIL PROTECTED]> wrote:

>Dear Jaun,
>  Can u plz verify the files I need to change
>packet.h
>make file
>ns-packet.tcl
>
>Do I have to modify trace(cmu-trace.cc/h), and priority Queue
>I just need to repeat yr scenario,
>
>Thanks
>

_
Moda para esta temporada. Ponte al día de todas las tendencias. 
http://www.msn.es/Mujer/moda/default.asp



[ns] erros model on lan

2006-04-04 Thread Edwin Cruz

I have  a question 

How I can introduce loss in a lan simulation, I difine my lan as:
set lan [$ns newLan "$n0 $n1" 0.5Mb 40ms LL Queue/DropTail Mac/Csma/Cd
Channel]

and the loss as:

set loss_module  [new ErrorModel]
 $loss_module set rate_ 0.0
 $loss_module ranvar [new RandomVariable/Uniform]
 $loss_module drop-target [new Agent/Null]
 # $ns lossmodel $loss_module lan

But it does not work
What can I do?

THanks in advanced

EDWIN CRUZ 
CINVESTAV AREA DE COMUNICACIONES



[ns] Object Tracking With Wirelss Sensor Networks in NS2

2006-04-04 Thread Hadi JamaliRad

Hi all,
  I want to simulate a sensor network for example with 10 sesnors and an object 
passing between them, sensors should sense the object and track it and tell the 
base station, but i cant find any help file with examples of such simulations 
!!!
  how to simulate such networs in NS2 ?? if you have worked on it please help 
me with sending manuals or help files containg the base steps of such 
simulations. 
  thanks in advance .
  Regards.
  Hadi.


-
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates 
starting at 1¢/min.


[ns] make: *** No rule to make target `tcl/lib/noah.tcl', needed by `gen/ns_tcl.cc'. Stop.

2006-04-04 Thread Qasim Raza Iqbal

Dear All

I am trying to implement the Noah protocol. After following the
instructions below
##
Makefile.in  add noah/noah.o \ to OBJ_CC and tcl/mobility/noah.tcl \ to
NS_TCL_LIB
noah/noah.{h,cc}add noah.h and noah.cc to a new subdirectory noah/
tcl/mobility/noah.tcl   add noah.tcl to tcl/mobility/
tcl/lib/ns-lib.tcl.hline 191: add source ../mobility/noah.tcl
line 603ff: add

NOAH {
set ragent [$self create-noah-agent $node]
}

line 768ff: add

Simulator instproc create-noah-agent { node } {
# Create a noah routing agent for this node
set ragent [new Agent/NOAH]

## setup address (supports hier-addr) for noah agent
## and mobilenode
set addr [$node node-addr]

$ragent addr $addr
$ragent node $node

if [Simulator set mobile_ip_] {
$ragent port-dmux [$node demux]
}
$node addr $addr
$node set ragent_ $ragent
return $ragent
}
##

I get the following problem
first I was told to run config
I ran ./config
than I ran "make clean"
and then I ran "make

but after a while it has given me this error

make: *** No rule to make target `tcl/lib/noah.tcl', needed by
`gen/ns_tcl.cc'.  Stop.

please help

your help is very much appreciated

regards

Qasim UK




Re: [ns] compile ns-allinone-2.29.2 error on fedora core 5

2006-04-04 Thread Daniel Mahrenholz

landrew126 schrieb:
> Hi,everybody  I think I must send this letter again,for I didn't post the 
> errormessage to you. The following is the error message I got when 
> complingns-2.29:
> g++ -c -Wall  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR-DNDEBUG 
> -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H-DHAVE_LIBOTCL1_11 
> -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H-DHAVE_LIBTCL8_4 -DHAVE_TCL_H  
> -DHAVE_CONFIG_H -DNS_DIFFUSION-DSMAC_NO_SYNC -DCPP_NAMESPACE=std 
> -DUSE_SINGLE_ADDRESS_SPACE -Drng_test-I. 
> -I/home/landrew/WsnSimulator/ns-allinone-2.29/tclcl-1.17-I/home/landrew/WsnSimulator/ns-allinone-2.29/otcl-1.11-I/home/landrew/WsnSimulator/ns-allinone-2.29/include-I/home/landrew/WsnSimulator/ns-allinone-2.29/include-I/usr/include/pcap
>  -I./tcp -I./sctp -I./common -I./link -I./queue-I./adc -I./apps -I./mac 
> -I./mobile -I./trace -I./routing -I./tools-I./classifier -I./mcast 
> -I./diffusion3/lib/main -I./diffusion3/lib-I./diffusion3/lib/nr 
> -I./diffusion3/ns -I./diffusion3/filter_core-I./asim/ -I./qs -I./diffserv 
> -I./satellite -I./wpan -o dsr/dsragent.odsr/dsragent.ccdsr/dsragent.cc: In 
> member function ‘voidDSRAgent::handleFlowForwarding(SRPacket&, 
> int)’:dsr/dsragent.cc:828: error: ‘XmitFlowFailureCallback’ was not 
> declaredin this scopedsr/dsragent.cc: In member function 
> ‘voidDSRAgent::sendOutPacketWithRoute(SRPacket&, bool, 
> Time)’:dsr/dsragent.cc:1385: error: ‘XmitFailureCallback’ was not declared 
> inthis scopedsr/dsragent.cc:1386: error: ‘XmitFlowFailureCallback’ was not 
> declaredin this scopedsr/dsragent.cc:1403: error: ‘XmitFailureCallback’ was 
> not declared inthis scopemake: *** [dsr/dsragent.o] Error 1
>   

This is a problem with the latest gcc version. To fix it, you can modify 
the files by moving the Xmit*Callback functions to the beginning of the 
file. Otherwise you could get updated versions of the files from the CVS 
- I already fixed this 3 weeks ago.

You can also downgrade your gcc to a 3.3 version.

Daniel.



[ns] installation problem in ns2.29 ......... can somebody please help

2006-04-04 Thread Pranay Prateek

hey prashant,
i also get some same dynamic loading error when i try to install ns2.29 from
its allinone package in my debian box.
is this a bug 
please help me out  if you hav found a solution ,i am really stuck.
my error is as follows

i wanted to install it on my debian
2.6.12-1-686-smp sarge .i downloaded the ns2allinone in package .i run
the install script there but it gives some error like


checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... ./configure: line
7624: syntax error near unexpected token `)'
./configure: line 7624: `   OSF*)'
tcl8.3.2 configuration failed! Exiting ...
Tcl is not part of the ns project.  Please see
www.Scriptics.com
to see if they have a fix for your platform.

i wud be very thankful if u help me figure it out .
pranay









Date: Mon, 3 Apr 2006 03:44:48 -0700 (PDT)
From: Prashant Khanna < [EMAIL PROTECTED]>
Subject: [ns] [bug] checking system version (for dynamic loading)...
   ./configure: line 7068: syntax
To: ns-users@ISI.EDU
Message-ID: <[EMAIL PROTECTED]>

[Bug Report]

-
Category:  Installation Failure
Package:   ns 2.29
OS:Fedora Core 5
Environment Variables:
LD_LIBRARY_PATH=
TCL_LIBRARY=
TK_LIBRARY=


-
Description:

Description of Problem:
The ns2-allinone for 2.29 in not installing.
Actual Results:
(describe what the application did after performing the above steps)



--


[ns] compile ns-allinone-2.29.2 error on fedora core 5

2006-04-04 Thread landrew126


Hi,everybody
  I think I must send this letter again,for I didn't post the error
message to you. The following is the error message I got when compling
ns-2.29:

g++ -c -Wall  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR
-DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H
-DHAVE_LIBOTCL1_11 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H
-DHAVE_LIBTCL8_4 -DHAVE_TCL_H  -DHAVE_CONFIG_H -DNS_DIFFUSION
-DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test
-I. -I/home/landrew/WsnSimulator/ns-allinone-2.29/tclcl-1.17
-I/home/landrew/WsnSimulator/ns-allinone-2.29/otcl-1.11
-I/home/landrew/WsnSimulator/ns-allinone-2.29/include
-I/home/landrew/WsnSimulator/ns-allinone-2.29/include
-I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue
-I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools
-I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib
-I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core
-I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o dsr/dsragent.o
dsr/dsragent.cc
dsr/dsragent.cc: In member function ‘void
DSRAgent::handleFlowForwarding(SRPacket&, int)’:
dsr/dsragent.cc:828: error: ‘XmitFlowFailureCallback’ was not declared
in this scope
dsr/dsragent.cc: In member function ‘void
DSRAgent::sendOutPacketWithRoute(SRPacket&, bool, Time)’:
dsr/dsragent.cc:1385: error: ‘XmitFailureCallback’ was not declared in
this scope
dsr/dsragent.cc:1386: error: ‘XmitFlowFailureCallback’ was not declared
in this scope
dsr/dsragent.cc:1403: error: ‘XmitFailureCallback’ was not declared in
this scope
make: *** [dsr/dsragent.o] Error 1


Thank you very much!





[ns] more then one CBR connection in a large network

2006-04-04 Thread Semih DOKURER

Hi;

 

I have created 20 CBR connections over UDP of 50 wireless nodes using for
loop in TCL. The code is compiled but when the NAM run it, I saw that
connections doesn't work as I programmed. Its trace file proves it. For
example, one of the connections, even tough I took out the forwarded
packets, number of received packets at receiving node is more then sent
packets at sending node. My TCL code is below. I think there is a mistake.
I will be appreciated if any body can explain the mistake or say the
necessary code to create 20 CBR connections. 

Thnx

 

 

Semih



Re: [ns] how to obtain current virtual time in ns2.29

2006-04-04 Thread Daniele

On 4/3/06, BENMESSAOUD ASMA <[EMAIL PROTECTED]> wrote:
>
> Hi every body ,
>
> i want to calculate a current virtual time in ns-2.29 . i already used "now"
> but the values which are returned are different about the values of time
> which we find in file trace for example . and me , search a function which
> gives a time like a trace file .
>
> Please reply , it's veeery important for me .
> thanks a lot in advance .
> Asma.
>
I don't know if it's the correct answer...but you can try:
double now = Scheduler::instance().clock();

Cheers
--
Daniele



Re: [ns] energy model in ns

2006-04-04 Thread Qasim Raza Iqbal

Hi Amrutha

At the moment the sleep cycle is only implemented in SMAC protocol used in
wireless sensor networks. The 802.11 or any other protocol do not have
sleep cycle (anyone correct me if I am wrong).
also the energy is decreased for units/second. e.g if your transmit energy
is set to 5, then for total transmission for a second/ 5 units will be
deducted. these deduction can contribute from MAC/RTS/CTS or any other
message being transmitted.
I have not used TCP, so I could not answer the seconf question

regards

Qasim
UK
> HI,
> I find that in the energy model the energy is getting reduced(in receive
> and
> transmit mode) only for MAC,RTS,CTS etc. packets and not for TCP packets..
> I need to find out how much energy is consumed for the transmission and
> reception of TCP packets and also the amount of time spent in the 'sleep'
> mode..
> How do i do this??
> Pls help its urgent..
>
> Thanks,
> Amrutha.
>




[ns] very urgent!!!!!!!!!!!!!!!!!!!!!--------help me

2006-04-04 Thread maha lingam

hello friends,
i am currently working on a project in ns2. while executing my tcl
script i get the following error
MAC CACHE_ ARRAY OUT OF RANGE (SRC 50,DEST 0, SIZE 50). clarify me on this
issue


with expectations
mahalingam


[ns] 2.1b7a installing problem

2006-04-04 Thread lewapryb

Hi everyone!
I tried to install ns 2.1b7a on Fedora 4. I still got the same problem:

tclcl-mappings.h: In static member function ?static int
TclObjectHelper::dispatch_(void*, Tcl_Interp*, int, char**)?:
tclcl-mappings.h:51: error: incomplete type ?Tcl? used in nested
name specifier
tclcl-mappings.h:52: error: invalid use of undefined type ?struct Tcl?
tclcl-mappings.h:41: error: forward declaration of ?struct Tcl?
tclcl-mappings.h:57: error: invalid use of undefined type ?struct Tcl?
tclcl-mappings.h:41: error: forward declaration of ?struct Tcl?
make: *** [Tcl.o] Error 1
tclcl-1.0b10 make failed! Exiting ...

What should I do??? 
Could You help me?? 






[ns] Even seqno in ns-2

2006-04-04 Thread Vinod

hi,

can any one tell me why is the seqno always made even in the ns-2
implementation of aodv? or have i unstood it wrongly?

thanx,
vinod
--
Vinod Kone,
Btech,Computer Science,
VIII sem,
Room 177,Kapili,
IIT Guwahati.



[ns] compile ns-allinone-2.29.2 on fedora core 5 got error

2006-04-04 Thread landrew126


Hi,everyone!
I compile ns-allinone-2.29.2 on fedora core 5,and I got a lot of errors.
does anybody compile at this platform successfully? 




[ns] setup sctp multihome node

2006-04-04 Thread Phi Hung Hoang

Dear all!
I setup multihome nodes as discriptions in ns by manual, but it does not 
automatically change the path when one of its path broken, so i have to change 
the path by command "set_primary_destination".  Any one know how and why, 
please tell me know? Thank.
Best regards.


-
New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low 
rates.


[ns] FW: FSO on ns-2

2006-04-04 Thread Jayasinghe, Sana


Please respond to [EMAIL PROTECTED]

Thanks
> __ 
> From: Jayasinghe, Sana  
> Sent: Tuesday, 4 April 2006 4:48 PM
> To:   'ns-users@isi.edu'
> Subject:  Sec: U  FSO on ns-2
> 
> Hi
> 
> I want to develop a Free Space Optics system on ns-2.  To do this I
> have to change some of the modules in the wireless node.  For example,
> I have to use my own radio propagation model.  If I write my own
> propagation model, how do I incorporate it into the wireless node of
> ns-2?  Your answers will be much appreciated.
> 
> Sana
> 
> 
> 
> 
> 
> 


[ns] new node creation at run time

2006-04-04 Thread narayanan ellapparajan

dear users,
  is there any possibility of creating a node during run time through 
procedure and link it to existing node. help me in this regard,
  thanking you in advance
  with regards,
  narayanan.e


-
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.


[ns] Urgent: LEACH installtion prob on solaris

2006-04-04 Thread Brajesh Gupta

Hi all,

i m  trying to install leach code on solaris. First i installed
ns2.1b5alinone package. it get installed. i replaced
ns2.1b5 folder with MIT_uAMPS project file. but when i tried to make that i
got following erros. i m not able to figure it out. it's urgent.
thx in advance.


c++  -o ns \
tclAppInit.o  random.o rng.o ranvar.o misc.o timer-handler.o
scheduler.o object.o packet.o ip.o route.o connector.o ttl.o trace.o
trace-ip.o classifier.o classifier-addr.o classifier-hash.o
classifier-virtual.o classifier-mcast.o classifier-mpath.o replicator.o
classifier-mac.o app.o telnet.o tcplib-telnet.o trafgen.o traffictrace.o
pareto.o expoo.o cbr_traffic.o tbf.o resv.o sa.o saack.o measuremod.o
estimator.o adc.o ms-adc.o timewindow-est.o acto-adc.o pointsample-est.o
salink.o actp-adc.o hb-adc.o expavg-est.o param-adc.o null-estimator.o
adaptive-receiver.o vatrcvr.o consrcvr.o agent.o message.o udp.o
session-rtp.o rtp.o rtcp.o ivs.o tcp.o tcp-sink.o tcp-reno.o tcp-newreno.o
tcp-vegas.o tcp-rbp.o tcp-full.o scoreboard.o tcp-sack1.o tcp-fack.o
tcp-asym.o tcp-asym-sink.o tcp-fs.o tcp-asym-fs.o tcp-int.o chost.o
tcp-session.o nilist.o integrator.o queue-monitor.o flowmon.o loss-monitor.o
queue.o drop-tail.o simple-intserv-sched.o red.o semantic-packetqueue.o
semantic-red.o ack-recons.o sfq.o fq.o drr.o cbq.o hackloss.o errmodel.o
delay.o snoop.o dynalink.o rtProtoDV.o net-interface.o ctrMcast.omcast_ctrl.o
srm.o sessionhelper.o delaymodel.o srm-ssm.o srm-topo.o mftp.o mftp_snd.o
mftp_rcv.o codeword.o alloc-address.o address.o lib/int.Vec.o lib/int.RVec.o
lib/dmalloc_support.o webcache/http.o
webcache/tcp-simple.owebcache/pagepool.o webcache/inval-
agent.o webcache/tcpapp.o webcache/http-aux.o lanRouter.o tfcc.o filter.o
pkt-counter.o Decapsulator.o Encapsulator.o channel.o mac.o
ll.omac-802_11.o mac-802_3.o
mip.o mip-reg.o propagation.o tworayground.o antenna.o omni-antenna.o
bi-connector.o node.o mobilenode.o arp.o god.o dem.o topography.o
modulation.o priqueue.o phy.o wired-phy.o wireless-phy.o mac-timers.o
cmu-trace.o varp.o dsdv/dsdv.o dsdv/rtable.o dsr/dsragent.o dsr/hdr_sr.o
dsr/mobicache.o dsr/path.o dsr/requesttable.o dsr/routecache.o ns-process.o
gen/version.o gen/ns_tcl.o gen/ptypes.o  win32.o -R../tclcl-1.0b8-L../tclcl-
1.0b8 -ltclcl -R../otcl-1.0a4 -L../otcl-1.0a4 -lotcl
-R/home1/stud/brajesh/ns-allinone-2.1b5/ns-2.1b5/../tk8.0.4/unix
-L/home1/stud/brajesh/ns-allinone-2.1b5/ns-2.1b5/../tk8.0.4/unix
-ltk8.0-R../tcl8.0.4/unix -L../tcl8.0.4/unix -
ltcl8.0 -lXext -lX11 -lsocket -lnsl -lintl -ldl -ldl -lm -ldl
ld: warning: symbol `TracedVar virtual table' has differing sizes:
(file tcp-rbp.o value=0x10; file ../tclcl-1.0b8/libtclcl.a(
tracedvar.o) value=0x18);
tcp-rbp.o definition taken
Undefined   first referenced
 symbol in file
__eh_pc tclAppInit.o
EnergyResource::remove(double)  wireless-phy.o
ld: fatal: Symbol referencing errors. No output written to ns
collect2: ld returned 1 exit status
make: *** [ns] Error 1



with regards,
Brajesh Gupta