[ns] i need help ^_^

2012-09-18 Thread Sandy Haff

hi everyone i'm new to ns2 , i have a question regarding Base stations address 
as i saw there something called hierarchical addressing , and also there is 
alot of routing protocol like adhoc and NOAH and so on.

my question how can i determine the IP Address or subnet adress of the Base 
stations in NS2 coding

please share your knowledge
regards 


[ns] i need help to simualate energy consumption of nodes

2011-06-19 Thread srinivas kanakala

dear sir/mam,

   how to find the total energy consumption of nodes

-- 
Thanking You.

best wishes and regards,

yours sincerely,

Srinivas.Kanakala
Assistant Professor
Department of Computer Science
Vaagdevi College of Engineering

www.vagdevieng.com

Warangal,AndhraPradesh,INDIA-506002

contact no:91-9966343560


All the power is with in u,u can do any thing and every thing



[ns] I need help in simulating contention in DSR and AODV

2010-02-25 Thread Asaad Shams

Hi,

  Can anyone please help me out by telling me how to simulate
contention in DSR and AODV protocols and also they be simulated in NS2. Its
urgent and i require the details. Please someone help me out.

Regards,
Asaad Bin Shams


Re: [ns] i need help

2008-04-11 Thread Mohammed Abu Hajar

There is a lot of tutorial through the internet you can read it.

Regards
Mohammed AbuHajar

mohamed saad [EMAIL PROTECTED] wrote: 
salam alikom

can you help me
to run asimulator NS2
i use it first
i has written aprogram in text editor and save it as ex1.tcl
but
when i run it by typing ns ex1.tcl in the shell
it say
   couldn't read file exi.tclno such file or directory
i didn't understand what is this?
could you help me HOW TO USE NS2
i'am new to use NS2 

GAZAK ALLAH KHIRN

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[ns] i need help

2008-04-10 Thread mohamed saad

salam alikom

can you help me
to run asimulator NS2
i use it first
i has written aprogram in text editor and save it as ex1.tcl
but
when i run it by typing ns ex1.tcl in the shell
it say
   couldn't read file exi.tclno such file or directory
i didn't understand what is this?
could you help me HOW TO USE NS2
i'am new to use NS2 

GAZAK ALLAH KHIRN

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[ns] I need help in installing ns2

2007-09-06 Thread Mohana Valli

Hai everybody,


 I am new to ns2. I have to first learn to install ns-2.31 and then simulate
a sensor network to
implement a key management protocol. Can anybody help me by telling how to
install ns-2.31 on Fedora core.
Also I need some tips on how to simulate a sensor network

Thank You all in advance

Mohanavalli


Re: [ns] I need help in installing ns2

2007-09-06 Thread Ye YiBin

http://mailman.isi.edu/pipermail/ns-developers/2007-September/003342.html
http://nsnam.isi.edu/nsnam/index.php/Downloading_and_installing_ns-2
http://wpage.unina.it/marcello.caleffi/ns2-01.html

On 9/6/07, Mohana Valli [EMAIL PROTECTED] wrote:

 Hai everybody,


  I am new to ns2. I have to first learn to install ns-2.31 and then simulate
 a sensor network to
 implement a key management protocol. Can anybody help me by telling how to
 install ns-2.31 on Fedora core.
 Also I need some tips on how to simulate a sensor network

 Thank You all in advance

 Mohanavalli



-- 
Regards
-Ye



[ns] i need help pls

2007-08-14 Thread kenneth nwizege

am working on QOS ISSUES FOR VOIP OVER WI-FI, and i need to use a class -based 
queue to schedule my voice and data. so that i give high priority to VOICE and 
low to DATA. pls am new to NS2 and my time is near for submission, can anyone 
help me with code, or what i should do to acheive this, pls i need help, and 
new to NS2 and and dont even know C++ language.
  thanks.

   
-
Need a vacation? Get great deals to amazing places on Yahoo! Travel. 


Re: [ns] i need help pls

2007-08-14 Thread aaa

Hi there,

check those two links...they may help you in your work...

http://info.iet.unipi.it/~cng/ns2hcca/http://info.iet.unipi.it/%7Ecng/ns2hcca/

http://planete.inria.fr/qni/fhcf/


good luck..

Ashraf Bourawy.



On 8/14/07, kenneth nwizege [EMAIL PROTECTED] wrote:


 am working on QOS ISSUES FOR VOIP OVER WI-FI, and i need to use a class
 -based queue to schedule my voice and data. so that i give high priority to
 VOICE and low to DATA. pls am new to NS2 and my time is near for submission,
 can anyone help me with code, or what i should do to acheive this, pls i
 need help, and new to NS2 and and dont even know C++ language.
   thanks.


 -
 Need a vacation? Get great deals to amazing places on Yahoo! Travel.



[ns] I need help for my script with mw-node patch

2007-03-18 Thread Elena Putzolu

Hi ns-users,
I have installed in ns-2.30 pach MW-node, 
http://www.q2s.ntnu.no/~paquerea/ns.html
through my script, would purely like to simulate a net wireless, where 
presents of Access Point (2) and the mobile nodes(3). Access Point 
communicate between them through the standard 802.11a, while the mobile 
nodes only communicate cross Access Point with the standard 802.11b/gm. 
Therefore Access Point need 2 interfaces with different settings ( 
802.11a, 802.11b/g ) using pach and the commands I have found in the 
manual tried to set up all these elements in my script:

global val_
set val_(channel)Channel/Wireless;# channel
set val_(propagation) Propagation/TwoRayGround ;# radio-propagation model

set val_a(phy) Phy/WirelessPhy  ;# physical layer
set val_b(phy) Phy/WirelessPhy  ;# physical layer

set val_a(mac) Mac/802_11   ;# mac layer
set val_b(mac) Mac/802_11   ;# mac layer

set val_(ifq)  Queue/DropTail/PriQueue  ;# interface 
queue type
set val_(ll) LL   ;# link layer type
set val_(antenna) Antenna/OmniAntenna  ;# antenna model
set val_(ifqlen) 50   ;# max packet in ifq

set val_(routing)  InterfaceWirelessRoutingProtocol   ;# routing

set val_(x)150
set val_(y)150
set val_(tr)   esercizi/out4.tr   ;# 
trace file
set val_(namtr)esercizi/out4.nam  ;# nam 
trace file
set val_(stopTime)   15


proc init {} {
global val_ tracefd_ namfd_ ns_
set ns_ [new Simulator]
set tracefd_ [open ./$val_(tr) w]
$ns_ trace-all $tracefd_
set namfd_ [open ./$val_(namtr) w]
$ns_ namtrace-all-wireless $namfd_ $val_(x) $val_(y)
}

proc finish {} {
global val_ tracefd_ namfd_ ns_ node_
for {set i 0} {$i  $val_(nMn) } {incr i} {
$ns_ at $val_(stopTime) $node_($i) reset
}
$ns_ flush-trace
close $tracefd_
close $namfd_
exit 0
}

global ns_

init


 $val_a(mac) set SlotTime_  0.50;# 50us
 $val_a(mac) set SIFS_  0.28;# 28us
 $val_a(mac) set PreambleLength_0   ;# no preamble_
 $val_a(mac) set PLCPHeaderLength_  128 ;# 128 bits
 $val_a(mac) set PLCPDataRate_  1.0e6   ;# 1Mbps
 $val_a(mac) set dataRate_  54.0e6  ;# 54Mbps
 $val_a(mac) set basicRate_ 1.0e6   ;# 1Mbps

###802.11b/g

 $val_b(mac) set SlotTime_  0.20;# 20us
 $val_b(mac) set SIFS_  0.10;# 10us
 $val_b(mac) set PreambleLength_144 ;# 144 bits 
preamble
 $val_b(mac) set PLCPHeaderLength_  48  ;# 48 bits
 $val_b(mac) set PLCPDataRate_  1.0e6   ;# 1Mbps
 $val_b(mac) set dataRate_  11.0e6  ;# 11Mbps or 
54Mbps(802.11g)
 $val_b(mac) set basicRate_ 1.0e6   ;# 1Mbps

 $val_a(phy) set Pr_ 8.9175e-10 
 $val_a(phy) set Pt_ 0.2818
 $val_a(phy) set freq_ 5.0e+9
# Receive sensitivity.
 #./threshold.out -m TwoRayGround -r 0.95 -Pt 0.2818 -Gt 1 -Gr 1 -fr 
5.0e+9 200; Calcola RXThresh_
 $val_a(phy) set RXThresh_  1.60607e-10
 $val_a(phy) set CSThresh_ [expr 0.9*[$val_a(phy) set RXThresh_]]  

 $val_b(phy) set Pr_ 8.9175e-10 
 $val_b(phy) set Pt_ 0.007214
 $val_b(phy) set freq_ 2.4e+9
 $val_b(phy) set RXThresh_  7.138e-11
 $val_b(phy) set CSThresh_ [expr 0.9*[$val_b(phy) set RXThresh_]]

## 802.11g
 $val_b(phy) set DSSS_CWMin 15
 $val_b(phy) set DSSS_CWMax 1023
 $val_b(phy) set DSSS_SlotTime 0.09   
 $val_b(phy) set DSSS_CCATime  0.03   
 $val_b(phy) set DSSS_RxTxTurnaroundTime 0.02   
 $val_b(phy) set DSSS_SIFSTime 0.16
 $val_b(phy) set DSSS_PreambleLength 96
 $val_b(phy) set DSSS_PLCPHeaderLength 40   
 #$val_b(phy) set DSSS_PLCPDataRate   6.0e6// 6Mbps
 #$val_b(phy) set DSSS_MaxPropagationDelay0.005// 0.5us

#---create topography
set topography_ [new Topography]
$topography_ load_flatgrid $val_(x) $val_(y)

$ns_ node-config -addressType hierarchical
AddrParams set domain_num_ 1
lappend cluster_num 2
AddrParams set cluster_num_ $cluster_num
lappend eilastlevel 3 2
AddrParams set nodes_num_ $eilastlevel
puts Configuration of hierarchical addressing done


# init GOD
create-god 5

$ns_ wireless-config-routing$val_(routing)\
-mac$val_a(mac)\
-phy$val_a(phy) 

[ns] I need help with the wep protocol (Adriano Lucas)

2006-10-24 Thread Adriano Lucas

Hi all,

 Does anybody have the wep protocol to use on Network Simulator ??
 I need to simulate ad-hoc wireless nets using this protocol. My research
depends on
this protocol. and I can´t find it.
 If someone has the source code in c++, please send it to me.

   I really need help.


[ns] I NEED HELP IN ORDER TO DEBUG C++ CODE

2006-05-17 Thread Edwin Cruz

hi everyone

In past message I read that in order to debug I need to do:
++
look for the line :

# Build Tcl8.3.2  (should be around line 173)

In this section you need to add the option --enable-symbols to the line :
./configure --enable-gcc --disable-shared --prefix=$CUR_PATH || 

so it becomes:
./configure --enable-gcc --enable-symbols --disable-shared
--prefix=$CUR_PATH || 

Now, still in the ns-allinone/install file, look for the tclcl section.

# Build tclcl  (should be around line 260)

in this section, you need to add --enable-debug to your configure line, such
that:

./configure ||  ...

becomes

./configure --enable-debug || ...

ok, we're done with this one. save and close.

now, go into your ns-allinone/ns directory, and open your Makefile.in. Search
for CFLAGS (should be around line 90), and change it from

CFLAGS  = $(CCOPT) $(DEFINE)

to

CFLAGS  = -g $(CCOPT) $(DEFINE)

++
 I did this steps but now my scripts don´t work, what Happend
I use Ns-2-29. I read the section in the ns manual for debug but is not
clear.
If some one know a good guide, and could send me it. I aprecite the help.


Ing. Edwin Cruz.
Área de Comunicaciones.
50613800 Ext. 6357