Re: [ns] Ns-users Digest, Vol 44, Issue 24

2007-08-22 Thread G Shafiullah

 
Hi!
I want to work with TDMA protocol in NS-2. But NS-2 documentation
doesn't talk much about TDMA
implemntation. Can someone give me any links/pointers for a detailed
description of this
TDMA protocol? Or if you have any source code of your work, which may be
help me to develop my methodology. 

Thanks in advance.
GM
-
G M Shafiullah
Master of Engineering (Research) Student
Centre for Railway Engineering (CRE)
Faculty of Sciences, Engineering and Health
Central Queensland University
Rockhampton, Qld 4702
AUSTRALIA

Phone: 61 7 4930 9313
Mobile:61 4 3208 5800
Email: [EMAIL PROTECTED],  [EMAIL PROTECTED], [EMAIL PROTECTED] 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 22, 2007 10:00 AM
To: ns-users@ISI.EDU
Subject: Ns-users Digest, Vol 44, Issue 24

Send Ns-users mailing list submissions to
ns-users@isi.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.isi.edu/mailman/listinfo/ns-users
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific than
Re: Contents of Ns-users digest...


Today's Topics:

   1. packet inter-arrival time monitoring in FTP traffic?!!
  (Farzaneh Razavi Armaghani)
   2. How can i set transmission difference rage (Phitsanu Eamsomboon)
   3. Re: How can i set transmission difference rage (Daniel Mahrenholz)
   4. How set difference transmission rage (Phitsanu Eamsomboon)
   5. someone working with the ns2hcca patch ? (jorbustos1)
   6. Re: need help to evaluate performance of mesh routing
  protocols (Ababaa Hamba)
   7. need help to evaluate performance of wire less mesh network
  routing protocols (Ababaa Hamba)
   8. The reception of the packets at the destination (Yi Jiazi)
   9. invalid command name Application/MmApp w/ns tutorial
  (Candace Phelps)
  10. found the right version of tclsh (AZHAR MOHD ARIS)
  11. GPSR compile and simulation (mikel larra?aga negro)
  12. re problems with setdest (JEHD MAHDI)


--

Message: 1
Date: Tue, 21 Aug 2007 00:19:16 -0700 (PDT)
From: Farzaneh Razavi Armaghani [EMAIL PROTECTED]
Subject: [ns] packet inter-arrival time monitoring in FTP traffic?!!
To: ns-users@ISI.EDU
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

Dear friends,
   
  How can I monitor the packet inter-arrival time in a FTP traffic over
TCP?
   
  Rgrds.
  Farzaneh.


   
-
Shape Yahoo! in your own image.  Join our Network Research Panel today!

--

Message: 2
Date: Tue, 21 Aug 2007 14:19:25 +0700
From: Phitsanu Eamsomboon [EMAIL PROTECTED]
Subject: [ns] How can i set transmission difference rage
To: Ns-users@ISI.EDU
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1

Dear All
My name is Phitsanu from Thailand , I  to do my research about
ad hoc network , In my research having 100 mobile nodes but I want to
set 50 nodes can communicated in 250 m and another 50 node communicated
in 500 node . How can I set in tcl for NS-2 ?

Please help me!!

Best regard
Phitsanu


--

Message: 3
Date: Tue, 21 Aug 2007 09:40:20 +0200
From: Daniel Mahrenholz [EMAIL PROTECTED]
Subject: Re: [ns] How can i set transmission difference rage
To: Phitsanu Eamsomboon [EMAIL PROTECTED]
Cc: Ns-users@ISI.EDU
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Phitsanu Eamsomboon schrieb:
 Dear All
 My name is Phitsanu from Thailand , I  to do my research about

 ad hoc network , In my research having 100 mobile nodes but I want to 
 set 50 nodes can communicated in 250 m and another 50 node 
 communicated in 500 node . How can I set in tcl for NS-2 ?

   
Use antennas with different gains. Change the global settings for the
antenna gain before you create a node. That means, set it to (for
example) to 2dBi for the first 50 nodes and 8dBi for the next 50. Use
the propagation.cc utility to calculate the exact parameters (search the
list for details).

But be aware, the transmission range depends on both, the sender and the
receiver. That means, if you have two kinds of nodes (A and B) you get 3
different combinations and hence communication ranges (e.g. A-A: 250m, 
A-B: 400m, B-B: 500m).

Hope this helps,
Daniel.

--
Dr.-Ing. Daniel Mahrenholz
rt-solutions.de GmbH
Oberl?nder Ufer 190a
D-50968 K?ln

Web: www.rt-solutions.de

rt-solutions.de
networks you can trust.



--

Message: 4
Date: Tue, 21 Aug 2007 15:25:26 +0700
From: Phitsanu Eamsomboon [EMAIL PROTECTED]
Subject: [ns] How set difference transmission rage
To: Ns-users@ISI.EDU
Message-ID:
[EMAIL PROTECTED]

[ns] why my TCL file cannot run ..?

2007-08-22 Thread AZHAR MOHD ARIS

The good news is i succesfully installed NS2 in my Ubuntu Linux OS.
The bad news is :D i found an error when execute the command ns
singlehop.tcl

[EMAIL PROTECTED] :/usr/local/ns2/projek$ ns singlehop.tcl

num_nodes is set 3
invalid command name Propagation/SimpleDistance
while executing
Propagation/SimpleDistance create _o24 
invoked from within
catch $className create $o $args msg
invoked from within
if [catch $className create $o $args msg] {
if [string match __FAILED_SHADOW_OBJECT_ $msg] {
delete $o
return 
}
global errorInfo
error class $...
(procedure new line 3)
invoked from within
new $propType_
(procedure _o3 line 29)
(Simulator node-config line 29)
invoked from within
$ns_ node-config -mobileIP OFF \
  -adhocRouting NOAH \
  -llType LL \
  -macType Mac/802_11 \
   ...
(file singlehop.tcl line 22)



what is actually happen? how i run the tcl and then get a result and make a
graph to view?
AZHAR MOHD ARIS
Master Science Canditate (UPM)
0196137422



-- 
AZHAR MOHD ARIS


[ns] please check my tCL programming

2007-08-22 Thread AZHAR MOHD ARIS

please comment this TCL . when i run the tcl it has an error.. this file
called singlehop.tcl

[EMAIL PROTECTED]:/usr/local/ns2/projek$ ns singlehop.tcl
num_nodes is set 3
invalid command name Propagation/SimpleDistance
while executing
Propagation/SimpleDistance create _o24 
invoked from within
catch $className create $o $args msg
invoked from within
if [catch $className create $o $args msg] {
if [string match __FAILED_SHADOW_OBJECT_ $msg] {
delete $o
return 
}
global errorInfo
error class $...
(procedure new line 3)
invoked from within
new $propType_
(procedure _o3 line 29)
(Simulator node-config line 29)
invoked from within
$ns_ node-config -mobileIP OFF \
  -adhocRouting NOAH \
  -llType LL \
  -macType Mac/802_11 \
   ...
(file singlehop.tcl line 22)

--
# below is singlehop.tcl file
--

set ns_ [new Simulator]
$ns_ node-config -addressType hierarchical

AddrParams set domain_num_ 2
lappend cluster_num 1 1
AddrParams set cluster_num_ $cluster_num
lappend eilastlevel  1 2
AddrParams set nodes_num_ $eilastlevel

set tracefd [open output/singlehop.tr w]
$ns_ trace-all $tracefd

set topo [new Topography]
$topo load_flatgrid 60 40
set god_ [create-god 3]

# wired nodes
set node_(0) [$ns_ node 0.0.1]

set chan_ [new Channel/WirelessChannel]

$ns_ node-config -mobileIP OFF \
  -adhocRouting NOAH \
  -llType LL \
  -macType Mac/802_11 \
  -ifqType Queue/DropTail/PriQueue \
  -ifqLen 50 \
  -antType Antenna/OmniAntenna \
  -propType Propagation/SimpleDistance \
  -phyType Phy/WirelessPhy \
  -channel $chan_ \
   -topoInstance $topo \
  -wiredRouting ON \
  -agentTrace ON \
  -routerTrace ON \
  -macTrace ON

# home agents
$ns_ node-config -rxPower 0.1 -txPower 0.1
set node_(1) [$ns_ node 1.0.0]
#[$node_(1) set regagent_] priority 3

$ns_ node-config -wiredRouting OFF

# mobile agents
$ns_ node-config -rxPower 73 -txPower 73
set node_(2) [$ns_ node 1.0.1]
#[$node_(2) set regagent_] set home_agent_ [AddrParams addr2id [$node_(1)
node-addr]]

#Errormodel - ASM
#Two State Markov
#set rate [list 0.0001 0.1 ]
#set trans  [list 0.5 0.5]
#set unit pkt
#set em_ [new ErrorModel/TwoStateMarkov $rate $unit $trans ]
set tmp1 [new ErrorModel/Uniform 0 pkt]
set tmp2 [new ErrorModel/Uniform 0.9 pkt]
 set m_states [list $tmp1 $tmp2]
 set m_periods  [list 10 10] ;#[list 0.5 0.5]
 set m_transmx { {0 1} {1 0} }
 set m_trunit pkt
 set m_sttype time
 set m_nstates 2
 set m_nstart [lindex $m_states 0]
 set em_ [new ErrorModel/MultiState $m_states $m_periods $m_transmx
$m_trunit $m_sttype $m_nstates $m_nstart]


#Errormodel - ASM
#Two State
#set rate [list 0.001 0.1 ]
#set unit pkt
#set em_ [new ErrorModel/TwoState $rate $unit]


#Normal one state model
#set em_ [new ErrorModel]
#$em_ unit pkt
#$em_ set rate_ 0.1
#$em_ ranvar [new RandomVariable/Uniform]


$node_(2) install-error $em_
#Errormodel - ASM

$ns_ node-config -wiredRouting ON

# source connection-pattern and node-movement scripts
source singlehop.scn
source singlehop.txt

# Tell all nodes when the simulation ends
for {set i 0} {$i  2 } {incr i} {
#$ns_ at 1000.0 $node_($i) reset;
$ns_ at 120.0 $node_($i) reset;
#$ns_ at 600.0 $node_($i) reset;
}

# Progress
#for {set t 10} {$t  920} {incr t 10} {
#$ns_ at $t puts stderr \completed through $t/920 secs...\
#}

$ns_ at 0.0 puts stderr \Simulation started...\
$ns_ at 120. puts stderr \Simulation finished\
$ns_ at 120.0001 close $tracefd
$ns_ at 120.0002 exec run_plot_tp.sh traffic.tr 2
$ns_ at 120.0003 $ns_ halt

puts $tracefd M 0.0 nn 10 x 60 y 40 rp NOAH
puts $tracefd M 0.0 sc traffic.scn cp traffic.com seed 0

$ns_ run


-- 
AZHAR MOHD ARIS


Re: [ns] why my TCL file cannot run ..?

2007-08-22 Thread Daniel Mahrenholz

AZHAR MOHD ARIS schrieb:
 The good news is i succesfully installed NS2 in my Ubuntu Linux OS.
 The bad news is :D i found an error when execute the command ns
 singlehop.tcl

 [EMAIL PROTECTED] :/usr/local/ns2/projek$ ns singlehop.tcl

 num_nodes is set 3
 invalid command name Propagation/SimpleDistance
 while executing
 Propagation/SimpleDistance create _o24 
 invoked from within
 catch $className create $o $args msg
 invoked from within
 if [catch $className create $o $args msg] {
 if [string match __FAILED_SHADOW_OBJECT_ $msg] {
 delete $o
 return 
 }
 global errorInfo
 error class $...
 (procedure new line 3)
 invoked from within
 new $propType_
 (procedure _o3 line 29)
 (Simulator node-config line 29)
 invoked from within
 $ns_ node-config -mobileIP OFF \
   -adhocRouting NOAH \
   -llType LL \
   -macType Mac/802_11 \
...
 (file singlehop.tcl line 22)
   
For me its seems that you implemented a new propagation model but forgot 
to make it available on the tcl layer.
Check the following:
- Makefile compiles your new propagation model
- the final binary contains the new model
- the new model is registered with tcl using the right name

Daniel.

-- 
Dr.-Ing. Daniel Mahrenholz
rt-solutions.de GmbH
Oberländer Ufer 190a
D-50968 Köln
Web: www.rt-solutions.de

rt-solutions.de
networks you can trust.



[ns] ns-2.31 installation failed

2007-08-22 Thread bhaskar sardar

Dear all
I am trying to install ns-2.31 in Rad Hat Linux 9.0. The install script is
located in allinone directory. I am getting following error message:




* Testing for Darwin (OS X) environment





* Testing for Cygwin environment



Cygwin not detected, proceeding with regular install.



* Build XGraph-12.1



./install: line 280: cd: ./xgraph-12.1: No such file or directory

./install: line 281: ./configure: No such file or directory

make: *** No targets specified and no makefile found. Stop.

Can not create xgraph; But xgraph is an optional package, continuing...



* Build CWeb



./install: line 300: cd: ./cweb: No such file or directory

ns-allinone unable to install cweb for you. Please install it manually. cweb
is used by sgb to create sgblibrary needed by scenario-generator. But this
will not affect the use of ns as such, so continue..



* Build Stanford GraphBase



./install: line 331: cd: ./sgb: No such file or directory

Unable to create sgb library. This library is used by gt-itm and so for
scenario generators. If you already have sgblib (possible if you are on
solaris,sunos or freebsd platforms) you may still be able to run gt-itm. so
continuing..



* Build GT-ITM



sgb lib not found. gt-itm  sgb2ns could not be installed. Continuing..



* Build zlib



./install: line 390: cd: ./zlib-1.2.3: No such file or directory

./install: line 392: ./configure: No such file or directory

Zlib-1.2.3 configuration failed, but it's optional, so continuing ...



* Build tcl8.4.14



./install: line 412: cd: ./tcl8.4.14/unix: No such file or directory

./install: line 419: ./configure: No such file or directory

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.

Please help.



Bhaskar Sardar


[ns] muti-channel ad hoc network

2007-08-22 Thread 王俊伟

 
Dear smallko,
I am download your multi-channel implemention in ns2 from
 
Multi-channel
Multi-interface Simulation in NS2 (2.29) (I have prepared one ns2 version
that has already included this module. Download the file fromhere.
Decompress it and go into ns-allinone-2.29/ns-2.29 directory. Runthe 
./configure; make clean; make depend; make to install.)
but when i make i meet errors as follows:
dsr/dsragent.cc: In member function ‘void 
DSRAgent::handleFlowForwarding(SRPacket, int)’:
dsr/dsragent.cc:828: 错误:‘XmitFlowFailureCallback’ 在此作用域中尚未声明
dsr/dsragent.cc: In member function ‘void 
DSRAgent::sendOutPacketWithRoute(SRPacket, bool, Time)’:
dsr/dsragent.cc:1385: 错误:‘XmitFailureCallback’ 在此作用域中尚未声明
dsr/dsragent.cc:1386: 错误:‘XmitFlowFailureCallback’ 在此作用域中尚未声明
dsr/dsragent.cc:1403: 错误:‘XmitFailureCallback’ 在此作用域中尚未声明
My linux is fedora core 5 ,I do not why? please help me!
Thanks a lot!
   
--
  此致
 敬礼
   王俊伟

[ns] Movement of nodes should be modifiable during runtime of an ns-2 simulation

2007-08-22 Thread Schuenemann, Bjoern

Dear all,
 
I'd like to make a simulation with ns-2 where the movement of the nodes is 
modifiable by another program during the runtime of the ns-2 simulation. How 
could I realize this? It seems that modifications of trace and movement files 
are ignored by ns-2 after the files are read in by the TCL script.
 
Thank you very much for your help!
 
Regards,
Björn


Re: [ns] Movement of nodes should be modifiable during runtime of an ns-2 simulation

2007-08-22 Thread Daniel Mahrenholz

Hi Bjoern,

Schuenemann, Bjoern schrieb:
 I'd like to make a simulation with ns-2 where the movement of the nodes is 
 modifiable by another program during the runtime of the ns-2 simulation. How 
 could I realize this? It seems that modifications of trace and movement files 
 are ignored by ns-2 after the files are read in by the TCL script
I think the problem is that after reading the movement files all events 
that actually control the movement are already in the event queue.

One of my students implemented an external movement control some years 
ago for the emulation mode. Basically he adds a listening socket that 
takes simulator control commands from an external program, converts them 
to TCL code and evaluates them. Then he ran the simulation for an 
infinite time (and send a stop command from the external controller to 
exit) and could move the nodes around as he liked.

But, this only works in emulation mode. The reason is, if you are in the 
normal simulation mode, time will jump from event to event. And if there 
is the last movement event in the queue, the simulator possibly will 
jump to the final stop event and quit. So, only emulation ensures that 
your simulation time does not runs too fast.

I took a quick look but could not find the diploma thesis / code of the 
student. I will spend more time searching if you like. Title of the 
thesis was  Eine dynamische WLAN-Emulationsumgebung auf Basis des 
NS-2, Thomas Kiebel, Diplomarbeit, 2005.

Daniel.

-- 
Dr.-Ing. Daniel Mahrenholz
rt-solutions.de GmbH
Oberländer Ufer 190a
D-50968 Köln

Web: www.rt-solutions.de

rt-solutions.de
networks you can trust.



[ns] modified DSR protocol and extract out.tr script

2007-08-22 Thread uknown noname

hello...

Theoretically if we are using dsr protocol, the route discovery and route 
maintenance are involved. its also involved RREQ, RREP and RERR.. contain 
routing table, packet detail information and many more. But regarding to 
~tcl/ex/wireless.tcl (using dsr), i didn't find where all this function is 
calling.

It may be a big help if anyone can give your modified ~tcl/ex/wireless.tcl and 
awk/perl script to extract the ~tcl/ex/out.tr to get some network analysis such 
as delay/jitter/packet send/received/etc so i can learn from it.

your help is valuable for me. thanks..

My system :
FC 6
2.6.18-1.2869.fc6
ns2.30
   
-
Moody friends. Drama queens. Your life? Nope! - their life, your story.
 Play Sims Stories at Yahoo! Games. 


[ns] FW: re problems with setdest

2007-08-22 Thread JEHD MAHDI


any help plzz
 


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: re problems with setdestDate: Tue, 
21 Aug 2007 18:56:20 +


hi there i get this message when i run the make comand at the /setdest 
directory: g++ -c -Dstand_alone [EMAIL PROTECTED]@ -DCPP_NAMESPACE=std -Wall  
-o setdest.o setdest.ccsetdest.cc:55:32: error: ../../../tools/rng.h: No such 
file or directorysetdest.cc:140: error: expected constructor, destructor, or 
type conversion before â*â tokensetdest.cc: In function âdouble 
uniform()â:setdest.cc:146: error: ârngâ was not declared in this 
scopesetdest.cc: In function âint main(int, char**)â:setdest.cc:348: error: 
ârngâ was not declared in this scopesetdest.cc:348: error: expected 
type-specifier before âRNGâsetdest.cc:348: error: expected `;' before 
âRNGâsetdest.cc:349: error: âRNGâ has not been declaredsetdest.cc:349: error: 
âHEURISTIC_SEED_SOURCEâ was not declared in this scopemake: *** [setdest.o] 
Error 1what is the solution?!!


J Mahdi
Newcastle Upon Tyne
**
 

The next generation of MSN Hotmail has arrived - Windows Live Hotmail 
_
100’s of Music vouchers to be won with MSN Music
https://www.musicmashup.co.uk/index.html


[ns] How to install propagation model

2007-08-22 Thread AZHAR MOHD ARIS

Please let me know how to install propagation model with step by step
instruction.. thanks

The bad news is :D i found an error when execute the command ns
singlehop.tcl

[EMAIL PROTECTED] :/usr/local/ns2/projek$ ns singlehop.tcl

num_nodes is set 3
invalid command name Propagation/SimpleDistance
while executing
Propagation/SimpleDistance create _o24 
invoked from within
catch $className create $o $args msg
invoked from within
 if [catch $className create $o $args msg] {
 if [string match __FAILED_SHADOW_OBJECT_ $msg] {
 delete $o
 return 
 }
 global errorInfo
 error class $...
 (procedure new line 3)
 invoked from within
 new $propType_
 (procedure _o3 line 29)
 (Simulator node-config line 29)
 invoked from within
 $ns_ node-config -mobileIP OFF \
   -adhocRouting NOAH \
   -llType LL \
   -macType Mac/802_11 \
...
 (file singlehop.tcl line 22)



-- 
AZHAR MOHD ARIS
UPM MALAYSIA


[ns] setdest error!!

2007-08-22 Thread JEHD MAHDI


hi there i get this message when i run the make comand at the /setdest 
directory: g++ -c -Dstand_alone [EMAIL PROTECTED]@ -DCPP_NAMESPACE=std -Wall  
-o setdest.o setdest.ccsetdest.cc:55:32: error: ../../../tools/rng.h: No such 
file or directorysetdest.cc:140: error: expected constructor, destructor, or 
type conversion before â*â tokensetdest.cc: In function âdouble 
uniform()â:setdest.cc:146: error: ârngâ was not declared in this 
scopesetdest.cc: In function âint main(int, char**)â:setdest.cc:348: error: 
ârngâ was not declared in this scopesetdest.cc:348: error: expected 
type-specifier before âRNGâsetdest.cc:348: error: expected `;' before 
âRNGâsetdest.cc:349: error: âRNGâ has not been declaredsetdest.cc:349: error: 
âHEURISTIC_SEED_SOURCEâ was not declared in this scopemake: *** [setdest.o] 
Error 1what is the solution?!!


J Mahdi
Newcastle Upon Tyne
**
 
_
Celeb spotting – Play CelebMashup and win cool prizes
https://www.celebmashup.com/index2.html


[ns] tcl script

2007-08-22 Thread wathig dawelbait

hi I am new in using ns-2 and I am using ns-2.31 realy I need help in
biulding tcl script my project in (impact of udp on tcp in the internet) I
have to have from 1-100 mixed user
pls help me


[ns] Error using Agent/MessagePassing

2007-08-22 Thread Anna Pereira

 

Dear Friends,

 

I do not seem to be able to run any of the wired/wireless example tcl
scripts with the class Agent/MessagePassing in it .

I am interested in simulating a wireless broadcast protocol and wanted to
run the wireless-flooding.tcl script found in the examples folder. I seem to
be getting an error and can't figure a way out.

I get the following error:

 

num_nodes is set 24

expected a list of classes but got Agent/MessagePassing

(Class superclass line 18)

(Object init line 18)

invoked from within

Agent/MessagePassing/Flooding init -superclass Agent/MessagePassing

(Class create line 1)

invoked from within

Class create Agent/MessagePassing/Flooding -superclass
Agent/MessagePassing

(eval body line 1)

invoked from within

eval [list $self] create [list $m] $args 

(procedure Class line 5)

(Class unknown line 5)

invoked from within

Class Agent/MessagePassing/Flooding -superclass Agent/MessagePassing

(file wireless-flooding.tcl line 128)

 

I get the same error when I try to simulate the other examples that use
Agent/MessagePassing class.

 

I would really appreciate it if someone could tell me what I'm doing wrong.

I am using Windows/Cygwin system and NS2.31 to simulate the example.

 

Thanks in advance.

 

Rgds

Anna

 



[ns] Recursive variable OBJ STL appear when run MAKE in NS-2.31 directory

2007-08-22 Thread AZHAR MOHD ARIS

i do this step :


I followed the steps you specified for installing the GPRS patch. In
step 2, we need to apply the noah extension, at the website you
provided it said that:
::  install the appropriate ;-) version of ns
::  make clean; rm config.cache; rm Makefile
::  unzip the extension archive to a temporary directory
::  copy sdist.cc, sdist.h, wireless-phy.cc, wireless-phy.h,
  cmu-trace.cc, mip.h, mip-reg.cc, Makefile.in, noah/ to the
  ns directory
::  copy noah.tcl to tcl/mobility and ns-default.tcl and
  ns-lib.tcl to tcl/lib
::  run ./configure and make

and when i run make the error appear:

config.status: creating autoconf.h
config.status: autoconf.h is unchanged
[EMAIL PROTECTED]:/usr/local/ns2/ns-allinone-2.31/ns-2.31$ make
Makefile:225: *** Recursive variable `OBJ_STL' references itself
(eventually). Stop.




-- 
AZHAR MOHD ARIS



[ns] segmentation fault

2007-08-22 Thread Elahe Alipour

Hello all,
   
  I wrote a new agent. this agent has a command{} which receives 6 arguments. I 
use the following line to pass the arguments to the command{}.
  $ns at $now $source-ad($j) ad-request $j $peak $error $standard-dev
  but when I run my tcl script. I receive this error:
  segmentation fault
  can anybody  help me about this error?any kind of help.
  Thanks in advance
   
  Regards
  Elahe

   
-
Pinpoint customers who are looking for what you sell. 


Re: [ns] Movement of nodes should be modifiable during runtime of an ns-2 simulation

2007-08-22 Thread Pedro Vale Estrela

Yes, looked at this issue, and the only way to do it in run-time is to use
emulation!

If the movement customization did not require run-time, it would be a simple
problem - the first program would just generate a movement file according to
some parameters.

Pedro Estrela
http://tagus.inesc-id.pt/~pestrela/ns2



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
 Of Daniel Mahrenholz
 Sent: quarta-feira, 22 de Agosto de 2007 15:46
 To: Schuenemann, Bjoern
 Cc: ns-users@ISI.EDU
 Subject: Re: [ns] Movement of nodes should be modifiable during runtime of
 an ns-2 simulation
 
 
 Hi Bjoern,
 
 Schuenemann, Bjoern schrieb:
  I'd like to make a simulation with ns-2 where the movement of the nodes
 is modifiable by another program during the runtime of the ns-2
 simulation. How could I realize this? It seems that modifications of trace
 and movement files are ignored by ns-2 after the files are read in by the
 TCL script
 I think the problem is that after reading the movement files all events
 that actually control the movement are already in the event queue.
 
 One of my students implemented an external movement control some years
 ago for the emulation mode. Basically he adds a listening socket that
 takes simulator control commands from an external program, converts them
 to TCL code and evaluates them. Then he ran the simulation for an
 infinite time (and send a stop command from the external controller to
 exit) and could move the nodes around as he liked.
 
 But, this only works in emulation mode. The reason is, if you are in the
 normal simulation mode, time will jump from event to event. And if there
 is the last movement event in the queue, the simulator possibly will
 jump to the final stop event and quit. So, only emulation ensures that
 your simulation time does not runs too fast.
 
 I took a quick look but could not find the diploma thesis / code of the
 student. I will spend more time searching if you like. Title of the
 thesis was  Eine dynamische WLAN-Emulationsumgebung auf Basis des
 NS-2, Thomas Kiebel, Diplomarbeit, 2005.
 
 Daniel.
 
 --
 Dr.-Ing. Daniel Mahrenholz
 rt-solutions.de GmbH
 Oberländer Ufer 190a
 D-50968 Köln
 
 Web: www.rt-solutions.de
 
 rt-solutions.de
 networks you can trust.




Re: [ns] segmentation fault

2007-08-22 Thread WangYaogong

segmentation fault usually stems from illegal access to the memory. check 
your code to see whether you illegally try to access some memory when it is 
already deallocated. usually it's because using pointers incorrectly.

 Date: Wed, 22 Aug 2007 11:52:11 -0700 From: [EMAIL PROTECTED] To: 
 ns-users@ISI.EDU Subject: [ns] segmentation fault   Hello all,  I wrote 
 a new agent. this agent has a command{} which receives 6 arguments. I use the 
 following line to pass the arguments to the command{}. $ns at $now 
 $source-ad($j) ad-request $j $peak $error $standard-dev but when I run my 
 tcl script. I receive this error: segmentation fault can anybody help me 
 about this error?any kind of help. Thanks in advance  Regards Elahe   
 - Pinpoint customers who are looking for 
 what you sell. 
_
中国十大热门旅游景点
http://search.msn.com/results.aspx?q=%E4%B8%AD%E5%9B%BD%E5%8D%81%E5%A4%A7%E9%A3%8E%E6%99%AFmkt=zh-CNform=QBRE