[ns] Error in EURANE patch install

2009-03-10 Thread Vinicio Guanochanga



Hi ns users...

I have this error message when I'm trying to install EURANE patch in ns2.28.


./tcp/tcp.h:128: aviso: ‘class RtxTimer’ tiene funciones virtuales pero 
destructores no virtuales
./tcp/tcp.h:136: aviso: ‘class DelSndTimer’ tiene funciones virtuales pero 
destructores no virtuales
./tcp/tcp.h:144: aviso: ‘class BurstSndTimer’ tiene funciones virtuales pero 
destructores no virtuales
./mobile/energy-model.h:56: aviso: ‘class AdaptiveFidelityEntity’ tiene 
funciones virtuales pero destructores no virtuales
./mobile/energy-model.h:75: aviso: ‘class SoftNeighborHandler’ tiene funciones 
virtuales pero destructores no virtuales
./mac/mac.h:142: aviso: ‘class Tap’ tiene funciones virtuales pero destructores 
no virtuales
./mac/mac.h:150: aviso: ‘class MacHandlerResume’ tiene funciones virtuales pero 
destructores no virtuales
./mac/mac.h:158: aviso: ‘class MacHandlerSend’ tiene funciones virtuales pero 
destructores no virtuales
umts/umts-timers.h:71: aviso: ‘class UmtsTimer’ tiene funciones virtuales pero 
destructores no virtuales
umts/umts-timers.h:86: aviso: ‘class HsdpaMacTimer’ tiene funciones virtuales 
pero destructores no virtuales
make: *** [umts/am.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems



What is the problem???
any idea??



Vinicio Guanochanga
Estudiante EPN
Quito-Ecuador


_
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-ussource=wlmailtagline


[ns] Error in EURANE install

2009-03-07 Thread Vinicio Guanochanga




Hi ns users
 
I'm trying to install EURANE patch to support UMTS  in ns2.28. The process 
of installation is succeed, however, when I typing ns in a console, this 
error message appears:
 
ns:
[code omitted because of length]
: invalid command name UMTS/RLC/UM
while executing
UMTS/RLC/UM set avoidReordering_  false
 
 
Anyone knows what happen??
How I'd solve this problem?
Any idea???
 
Please help me
 
 
Thanks in advance..
 
 
Vinicio Guanochanga
ESCUELA POLITECNICA NACIONAL
+59322316183


_
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us


[ns] HMIP example

2009-01-22 Thread Vinicio Guanochanga






Hi users,,

Anybody can send me an example of HMIP, I'm trying to do it, but My script 
don't do  a handoff..,,, 


My script is:

# Main Program

proc main {} {
  global opt ns namtrace tracefd cn_ node_ wtopo

source /home/vinicio/ns-allinone-2.31/ns-2.31/tcl/mobility/timer.tcl


# Define options

set opt(chan) Channel/WirelessChannel
set opt(prop) Propagation/TwoRayGround
set opt(netif) Phy/WirelessPhy
set opt(mac) Mac/802_11
set opt(ifq) Queue/DropTail/PriQueue
set opt(ll) LL
set opt(ant)Antenna/OmniAntenna
set opt(x)  800   ;# X dimension of the topography
set opt(y)  800   ;# Y dimension of the topography
set opt(ifqlen) 50   ;# max packet in ifq
set opt(seed) 0.0
set opt(tr)  out.tr;# trace file
set opt(nam)  out.nam   ;# nam trace file
set opt(adhocRouting)   NOAH
set opt(nn) 3 ;# how many nodes are simulated
set opt(stop)  55.0  ;# simulation time

set ns  [new Simulator]

set tracefd [open $opt(tr) w]
$ns trace-all $tracefd

set namtrace[open $opt(nam) w]
$ns namtrace-all $namtrace

$ns color 1 red

create-my-topo
log-mn-movement_no_topo
set-cbr

$ns at  $opt(stop) finish


$ns run

}

 Topologia ##

proc create-my-topo {} {

global ns opt wtopo node_ cn_

set wtopo [new Topography]

$wtopo load_flatgrid $opt(x) $opt(y)




set num_wired_nodes 2
set num_bs_nodes 2
set num_wireless_nodes 1

Agent/MIPMH set reg_rtx_ 1.0
$ns set-address-format hierarchical

Simulator set mobile_ip_ 1
set HFA_Routing 1

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

set cn_ [$ns node 0.0.0] 
$cn_ set X_ 400.0
$cn_ set Y_ 400.0
$cn_ set Z_ 0.0
$ns initial_node_pos $cn_ 10

set router [$ns node 1.0.0] 
$router set X_ 400.0
$router set Y_ 300.0
$router set Z_ 0.0
$ns initial_node_pos $router 10

$ns node-config -adhocRouting $opt(adhocRouting) \
   -mobileIP ON \
   -addressType hierarchical \
   -llType $opt(ll) \
   -macType $opt(mac) \
   -ifqType $opt(ifq) \
   -ifqLen $opt(ifqlen) \
   -antType $opt(ant) \
   -propType $opt(prop) \
   -phyType $opt(netif) \
   -channelType $opt(chan) \
-topoInstance $wtopo \
-wiredRouting ON \
-agentTrace ON \
-routerTrace ON \
-macTrace OFF

source /home/vinicio/ns-allinone-2.31/ns-2.31/tcl/cims/hfa-lib_ns-2.26.tcl

Simulator set node_factory_ MobileNode/GFA
Simulator set EnableHierRT_ 1

set god_ [create-god $opt(nn)]

set gma1 [$ns node 1.1.0] 
$gma1 set X_ 200.0
$gma1 set Y_ 200.0
$gma1 set Z_ 0.0
$ns initial_node_pos $gma1 10
makeHfaBS $gma1

set gma2 [$ns node 1.2.0] 
$gma2 set X_ 600.0
$gma2 set Y_ 200.0
$gma2 set Z_ 0.0
$ns initial_node_pos $gma2 10
makeHfaBS $gma2

createAddrTable $cn_
createAddrTable $router
set BS1address [AddrParams set-hieraddr [$gma1 node-addr]]

$ns node-config -wiredRouting OFF;

set node_(3) [$ns node 1.1.1] 
$node_(3) set X_ 200.0
$node_(3) set Y_ 100.0
$node_(3) set Z_ 0.0
set GFAaddress [AddrParams set-hieraddr [$node_(3) node-addr]]
makeHfaMH $node_(3) $GFAaddress

set NumOfHO 110

$ns at 1.0 $node_(3) setdest 600 100 15


$ns duplex-link $cn_ $router 100Mb 2.0ms DropTail
$ns duplex-link $router $gma1 100Mb 2.0ms DropTail
$ns duplex-link $router $gma2 100Mb 2.0ms DropTail

}

#

proc log-mn-movement_no_topo { } {
  Class LogTimer -superclass Timer
  LogTimer instproc timeout {} {

  global node_ logtimer
$node_(3) log-movement
$self sched 1
  }
  set logtimer [new LogTimer]
  $logtimer sched 1
}

###
proc finish {} {
global ns tracefd namtrace opt cn_ node_
puts Simulacion terminada
$ns flush-trace
flush $tracefd
close $tracefd
close $namtrace

exec nam $opt(nam) 
exit 0
}

## trafico ##


#--- Tráfico desde el CN hacia el MN 
--

proc set-cbr { } {
global ns cn_ node_ udp dst src

# CREACIÓN DE UN AGENTE UDP

# Nodo fuente
   set udp [new Agent/UDP]
   $ns attach-agent $cn_ $udp
   
# Nodo destino
   set dst [new Agent/Null]
   $ns attach-agent $node_(3) $dst

#Conexión virtual de los nodos fuente y destino 
   $ns connect $udp $dst

# Define el color del flujo de datos UDP
   $udp set fid_ 1

# Configuración del tráfico CBR
   set src [new Application/Traffic/CBR]
   $src set packetSize_ 256
   $src set rate_ 64000
   $src attach-agent $udp

# Inicio del tráfico CBR
   $ns at 3.0 $src start
}

main



or if someone can help and debugg my script I'm thankful
 
Vinicio,..



_
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us


[ns] how change router advertisement interval

2008-11-07 Thread Vinicio Guanochanga


Hi users...
I'm working in a project and I'm using the patch mobiwan for ns2.28 my question 
is how I can change the router advertisement interval?thanks a millon...
Vinicio.. Vinicio,..
_
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us


[ns] how change coverage diameter in 802.11

2008-08-23 Thread Vinicio Guanochanga


Hi users...   I'm simulating mipv6 with mobiwan and I found that it use 802_11 
in it mac layer.  This standar have a coverage about 500m (diameter). Anyone 
knows if I can change this value? how?   thaks in advance Vinicio,..
_
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vistamkt=en-USform=QBRE


[ns] patch HMIPv6

2008-08-04 Thread Vinicio Guanochanga


Hi users..  Anybody has a HMIPv6 patch for ns2 whatever version??? I'm working 
in a project and I can't continue, please help me or maybe Anybody knows how I 
can change the patch mobiwan (support MIPv6) to support HMIPv6???   Thanks a 
millon... 
_
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vistamkt=en-USform=QBRE


[ns] patch hmipv6???

2008-07-28 Thread Vinicio Guanochanga


 hi users..  I'm working in a project with hmipv6 in ns2.. I'm serching in the 
Internet for the patch but I found nothing.. I appreciate if someone sends me a 
link or patch for HMIPv6.. Thanks..  Vinicio 
_
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE


[ns] HMIPv6 in ns2.28

2008-07-22 Thread Vinicio Guanochanga


Hi users
 
 
Do you know if exists any patch for HMIPv6 in ns2.28
 
 
thaks,,
_
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE


[ns] Patch SIP for ns2.28

2008-07-01 Thread Vinicio Guanochanga


Hi Users...

I'm trying to simulate MIPv6 and SIP in the samesimulation and I don't know any 
patch for SIP in ns2.28.. I waswondering if the patch  
'ns-allinone-2.1b9a.sip.patch' for ns2.1b9 canbe used in ns2.28 or I need to do 
some especial to adapt it. 

I'm using ns2.28 over ubuntu 6.10


Best regards...




Vinicio...
_
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us


[ns] problem install ns2.28

2008-04-16 Thread Vinicio Guanochanga


Hi, I have a big problem. I try to install ns2.28 in ubuntu 6.10 like: 
http://b.gaedol.org/entry/ns-allinone-228-mobiwan-on-Ubuntu
 but, I have problems when put the instruction: $ sudo apt-get install -f 
libxt-dev libxt6 libsm-dev libsm6 libice-dev libice6 sgb  its has an error: 
Leyendo lista de paquetes... HechoCreando arbol de dependencias Leyendo 
informacion de estado... Hecholibxt-dev ya esta en su version mas 
reciente.libxt6 ya esta en su version mas reciente.libsm-dev ya esta en su 
version mas reciente.libsm6 ya esta en su version mas reciente.libice-dev ya 
esta en su version mas reciente.libice6 ya esta en su version mas reciente.E: 
No se pudo encontrar el paquete sgb  Someone Knows how I can install it.. or 
someone know other way to install.. I need to run MIPv6  regards, Vinicio
_
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us