Re: [ns] Error running pmip with wireless

2012-11-21 Thread zmezm 14

please see the attached script and test it if its run 
i hope its help 

--- On Thu, 11/22/12, Sovortey Thaly sovortey.th...@gmail.com wrote:

From: Sovortey Thaly sovortey.th...@gmail.com
Subject: [ns] Error running pmip with wireless
To: ns-users@ISI.EDU
Date: Thursday, November 22, 2012, 1:56 PM


Dear everyone I try to to run the command like the bellow and I get this
error, So can anyone help me witht his problem?
=
lout@lout:~/Ns/ns-allinone-2.29/ns-2.29/pmip6$ ns pmip.tcl
invalid command name Agent/PMIPv6
    while executing
Agent/PMIPv6 set debug_ $opt(debug)
    (file pmip.tcl line 34)


=
Best Regard

Thaly Sovortey


[ns] i need your help NS-2 users

2012-11-06 Thread zmezm 14

hello everyone , i hope you guys doing great .
ns2 expert am working on handover in mobile wimax , and i have a scenario of 3 
base station and one mobile station . 

now i need to know is it possible to add more then one mobile station to do 
handover in my script 

please let me know 
regards 


[ns] IP Address or subnet adress

2012-10-01 Thread zmezm 14

hi everyone  , 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 , and is it possilbe to put two BSs under the same 
subnet just like ( intra-domain ) ???
 
please share your knowledge
regards


[ns] MIPv6 addressing in ns-2

2012-09-14 Thread zmezm 14

hi experts

am working on MIPv6 in mobile wimax using ns-2

i was wondering about the hierarchical addressing and the NOAH routing protocol

i have a scenario consist of 3 Base Station and 1 Mobile Station 

my question is can i use the hierarchical addressing to make all the 3 
Base station under singel subnet address ( intra domain ) , if yes how 
can i do that ???

and is there any script regarding intra domain handover or mobility ??

with my best regards


[ns] help-handoff value

2012-07-03 Thread zmezm 14

hi all please help out with this , i read somewhere that this is the way to 
calculate the handoff value calculated the time manually by looking from the 
received packet timestamps , is this the right way or not ???
  Handoff duration =  the delay between last successful reception  packet from 
BS1 and first successful packet from BS2.  
and if it is , how can i find these  packet in the tracefile  out put 

with many thanks 



[ns] Base station ID (BSID)

2012-06-12 Thread zmezm 14

hi ns-2 users 

am doing handover scenario in mobile wimax 
and i have a question , how do i know or how to get the BSs ID in ns2  ? 

please help me if you can 



[ns] trace-analyzer-0.3.tar instlation

2012-04-26 Thread zmezm 14


dear all is any one here  have ever used this tool before , or can tell me how 
is it can be installed 

thanks 

Re: [ns] ns2.29 installation

2012-03-31 Thread zmezm 14

'ns-allinone-2.29.3' .. Ubuntu 9.10 Karmic
Ref. post # 6

sudo apt-get install \
libx11-dev libxmu-dev libxmu-headers libxt-dev libtool g++-4.1

If you want to use nam-1.11 ( any nam can be used ) :
http://bugs.gentoo.org/attachment.cgi?id=161242
cd ns-allinone-2.29.3/tk-8.4.11/
patch -p0  tk-8.4-lastevent.patch

Edit some 'Makefile.in' :
otcl-1.11/, line 7 : CC = gcc-4.1
tclcl-1.17/, line 40 : CC = gcc-4.1
tclcl-1.17/, line 41 : CPP = g++-4.1
ns-2.29/ , line 36 : CC = gcc-4.1
ns-2.29/ , line 37 : CPP = g++-4.1
nam-1.11/, line 44 : CC = gcc-4.1
nam-1.11/, line 45 : CPP = g++-4.1

Do 'make clean' in otcl-1.11/ and next delete the 'Makefile'.
Now ./install will work.
..

and after that install the nist mobility model 
after getting the nist mobility model replace the ns-2.29 folder  inside 
ns-allinone-2.29.3 with the one in ns-2.29-nist-mob-022707 
and then patch the nist mobility patch in the ns-2.29 folder 
pmip6-for-ns-2.29-nist 
and then reinstall it
it should work 

--- On Sat, 3/31/12, Yotta15 b.char...@gmail.com wrote:

From: Yotta15 b.char...@gmail.com
Subject: Re: [ns] ns2.29 installation
To: ns-users@ISI.EDU
Date: Saturday, March 31, 2012, 8:42 PM



Hello,

I have to install NS-2.29 with 'MIH' Module patch on ubuntu 9.10
Is there some one how can help : blogs , links .. which describes the
procedure step by step. 
thanks,


Best Regards,

charanpreet wrote:
 
 
 Hi everyone,
 
 I just want to know if anyone has any link of blog or site that tells step
 by step procedure of installing ns2.29 on fedora 13.
 if anyone knows it i would appreciate if it can be mailed in as a reply to
 this.
 
 Thanks and regards
 Charanpreet Singh
 
 

-- 
View this message in context: 
http://old.nabble.com/ns2.29-installation-tp32853372p33544946.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] please help if you can wimax HO

2012-03-17 Thread zmezm 14

am working in wimax model 
when am increasing the mobile node to more then 5 node i get this error 
anyone know how to fix this please help me out 

Configuration of hierarchical addressing done
num_nodes is set 9
sink node created
INITIALIZE THE LIST xListHead
warning: no class variable WimaxScheduler/BS::use_pmip6_ext_

    see tcl-object.tcl in tclcl for info about this warning.


Base Station 1 created
warning: no class variable WimaxScheduler/BS::use_pmip6_ext_

    see tcl-object.tcl in tclcl for info about this warning.

Base Station 2 created
wireless nodes created ...

Running simulation
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5,  distCST_ = 83.4
SORTING LISTS ...DONE!
Scheduler: Event UID not valid!


[ns] implementing PKM

2012-01-16 Thread zmezm 14

i want to implementing PKM protocol in ns2 model is that possible , please let 
me know
regards 


[ns] does tracegraph analyzer support , handover message ?

2012-01-02 Thread zmezm 14

does tracegraph analyzer support , handover message , in mobile wimax ?
am using ns-2.29 and NIST mobility model
want to get handoff delay time and packet drop 


[ns] WINSE: WiMAX NS-2 Extension

2011-12-22 Thread zmezm 14

does anyone here know , what exactlly  WINSE: WiMAX NS-2 Extension  please 
let me know 
i have a script i want to run it but i cant seems to run it and i read the 
paper that have been the script it says its has been run with WINSE: WiMAX NS-2 
Extension 



[ns] Security features in ns-2

2011-12-21 Thread zmezm 14

can you please let me know if i can implement any security protocal in ns-2 , 
like PKM version 1 or 2
i want to put security features to a handover model on mobile wimax , 
ps: am using ns-2.29 with nist mobility model 
thanks all 


[ns] analysing tool

2011-12-09 Thread zmezm 14

hi , i need to analysis . result in ns2 , in linux environment can any one 
recommend a good and simple analysing tool


[ns] Help Me ns Users , Developer , Expert , Fans , Anyone ..

2011-12-04 Thread zmezm 14

hi all 
i have made a wireless scenario regarding wimax handover and its has one 
problem .
am using ns-2.29 and the nist mobility model ...
the problem is i need to generate file content the position and movement 
pattern for a number of mobile node using ./setdest ,
but when i try to run the tcl script i got this error ..
and when i remove it the tcl file work but all the mobile node in the same 
place and there is no movement ..

so can anyone tell me how to configure the tcl script so it can read the 
movement scenario pattern that i have generated using ./setdest


zmezm@hz ~/ns-allinone-2.29/ns-2.29/tcl/mobility/scene
 $ ns 100nzwimax.tcl NOAH scen-100
 num_nodes is set 102
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 INITIALIZE THE LIST xListHead
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
 Fs 

[ns] help if you may

2011-10-02 Thread zmezm 14

hi there 
Q \ if i have a node movement file scenario ,that i had generated using the 
./setdest  
now the question is how to set the mobile node definition to match the 
definition of the mobile node in the node movement file and not to get this 
error 



mezm@zmezm-laptop:~/ns2/x1$ ns 100nswimax.tcl
num_nodes is set 102
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
INITIALIZE THE LIST xListHead
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. Bw=500.00, n=1.152000, new value is 5.76e+06
Fs updated. 

[ns] Wimax tcl scripts

2011-09-23 Thread zmezm 14

hi ns2 users 

can anyone please sent me some wimax examples , 
tcl scripts regarding wimax handover .. 

regards 


[ns] generate a movement scenario pattern

2011-08-30 Thread zmezm 14

hi ns users 


i want to generate a movement scenario pattern using cmu-scen-gen , ./setdest  
, for 100 mn , moving at speed 20 m/s  , but i want The position of MNs and 
itsmovement are set randomly. 


can you plz help out here ..   


[ns] error with handover sample

2011-08-29 Thread zmezm 14

hi 


i am using ns-2.29 with nist mobility model , under cygwin , 

i want to run wimax ,and handover sample , witch is located in this directory 

“ns-allinone-2.29/ns-2.29/tcl/hsntg/wimax/handover-wimax-wimax”


i got this error , can  you plz tell me whats the problem 


zmezm@hz ~/ns-allinone-2.29/ns-2.29/tcl/hsntg/wimax/handover-wimax-wimax
$ ns handover.tcl
Wrong Number of Arguments! No arguments in this topology
ns handover2.tcl seed scan_iteration going_down other_nodes
zmezm@hz ~/ns-allinone-2.29/ns-2.29/tcl/hsntg/wimax/handover-wimax-wimax


[ns] remarkable ..

2011-08-21 Thread zmezm 14

Dear NS-uses ..
thanks you being worthless , till now i have been posted more then 60 post none 
of them has been answerd ..
i have no idea what good is this website is..


[ns] please help .. *** NOTE: no connection pattern specified.

2011-08-14 Thread zmezm 14

hi 
am trying to run a tcl file , i have , and there is some movement pattern , so 
i generat the movement file using ,  cmu-scen-gen/setdest.  ./setdest 
but when i try to run it i get this error . can anyone please tell me whats its 
mean ..

INITIALIZE THE LIST xListHead
*** NOTE: no connection pattern specified.
Loading scenario file...
couldn't read file ../../tcl/mobility/scene/scen-100: no such file or 
directory
    while executing
source.orig ../../tcl/mobility/scene/scen-100
    (uplevel body line 1)
    invoked from within
uplevel source.orig [list $fileName]
    invoked from within
if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
...
    (procedure source line 8)
    invoked from within
source $opt(sc)
    invoked from within
if { $opt(sc) ==  } {
    puts *** NOTE: no scenario file specified.
    set opt(sc) none
} else {
    puts Loading scenario file...
    source $op...
    (file 100nswimax.tcl line 193)
ali@ali-laptop:~/ns2/1$ 



[ns] : cmu-scen-gen

2011-08-09 Thread zmezm 14






Hi and good day 


i want to use the  cmu-scen-gen node movement generator , to create a 
movement node file 

i already made the file using this path  
$NS2_HOME/indep-utils/cmu-scen-gen/setdest.  

and i follow this instruction 

./setdest [-n
num_of_nodes] [-p pausetime] [-M maxspeed] [-t simtime] [-x maxx] [-y maxy]
 [scenario_output_file]so now when i run this commend 

./setdest -n 100
-p 2.0 -M 20.0 -t 250 -x 330 -y 220 scen-100
i get the file inside the setdest. folder in the ns-2.29 directory , but when i 
copy it and past it in the ns-2.29/tcl/mobility/scene dose not run 
so my question is after i create the file using the cmu-scen-gen , should i 
just copy it from the setdest folder and put on the scene folder or should i do 
something first like configure the ns-2 or is there any other way to make the 
ns2 recognize and read the movement file that i created 
thanks 


# ==
#    Define options
# ==

set opt(tr-ns)   
 100nswimax-out.tr  ;# set trace file's name
set opt(tr-nam)  100nswimax-out.nam  ;# set nam's name
set opt(chan)   Channel/WirelessChannel  ;# channel type
set opt(prop)   Propagation/TwoRayGround ;# radio-propagation model
set opt(netif)  Phy/WirelessPhy/OFDM ;# network interface type
set opt(mac)    Mac/802_16   ;# MAC type
set opt(ifq)    Queue/DropTail/PriQueue  ;#
 interface queue type
set opt(ll) LL   ;# link layer type
set opt(ant)    Antenna/OmniAntenna  ;# antenna model
set opt(ifqlen) 50   ;# max packet in ifq
set opt(nn) 100  ;# number of mobilenodes
set opt(adhocRouting)  
 NOAH ;# routing protocol

set opt(cp)    ;# cp file not used
set opt(sc) ../tcl/mobility/scene/scen-100 ;# node movement file. 

set opt(x)  1500 ;# x coordinate of topology
set opt(y) 
 1500 ;# y coordinate of topology
set opt(stop)   250  ;# time to stop simulation

set opt(ftp1-start)  0.01    ;# time to start ftp
set num_wired_nodes  2


[ns] how to install NIST-Mob in sn-2.29 manually .

2011-03-10 Thread zmezm 14



good day everyone , i hope you all having a great time ..

dear all you have been very helpful i have a request ,
i need to install the nist-mob in my ns2 but im using ns-2.29 version so in 
order to complete the installation in need to configured some files manually 
and i really don't  know how , i do have the steps on how to do it but is just 
not clear to me  , can you please walk me through these steps  .     IV  - 
Manual installation



Instructions to install the Wimax extension for NS-2

 
Content

    I   - Disclaimer

    II  - Version

    III - Installation using the patch file

    IV  - Manual installation

    V   - Compilation options

    VI  - Running examples

    VII - Version history

 
I- Disclaimer

This software was developed at the National Institute of Standards and

Technology by employees of the Federal Government in the course of

their official duties. Pursuant to title 17 Section 105 of the United

States Code this software is not subject to copyright protection and

is in the public domain.

NIST assumes no responsibility whatsoever for its use by other parties,

and makes no guarantees, expressed or implied, about its quality,

reliability, or any other characteristic.

BR

 We would appreciate acknowledgement if the software is used.

BR

NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS AS IS CONDITION AND

DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING

FROM THE USE OF THIS SOFTWARE.

 
II- Version

    This documentation is based on the following versions:

        - pre-release2 of the wimax model developed by NIST

        - ns-2.29/ns-2.30/ns-2.31

 
III- Installation using the patch file

    The patch file is only provided for ns-2.31. Use manual installation for 
other 

    versions.

 
    a- Using the ns-allinone installation

        step1: install the patch by running patch -p0 patch-ns-2.31-041707 
from the ns-allinone-2.31 directory.

        step2: re-run ./configure ; make clean ; make in the ns-2.31 
directory.

 
    b- From the ns-2.31 directory 

        step1: install the patch by running patch -p1 patch-ns-2.31-041707

        step2: re-run ./configure ; make clean ; make in the ns-2.31 
directory.

 
IV- Manual installation 

    The source code provided works with some earlier versions (ns-2.28 for 
example). 

    The following steps need to be followed to install the wimax extension:

 
    step1: add the wimax directory in the ns installation

    step2: add the tcl/wimax directory

    step3: add the tcl/lib/ns-wimax.tcl file

    step4: add the mac/mac-stat.h file

    step5: edit Makefile.in and:

       * add -I ./wimax to the list of directories to include (in the 
definition of INCLUDE)

       

     * add the object files before the last line (@V_STLOBJ@) of the OBJ_CC 
list:

 
        wimax/ofdmphy.o \

        wimax/mac802_16pkt.o \

        wimax/serviceflowqos.o \

        wimax/serviceflow.o \

        wimax/serviceflowhandler.o \

        wimax/connection.o \

        wimax/connectionmanager.o \

        wimax/peernode.o \

        wimax/mac802_16.o \

        wimax/mac802_16SS.o \

        wimax/mac802_16BS.o \

        wimax/sduclassifier.o \

        wimax/destclassifier.o \

        wimax/mac802_16timer.o \

        wimax/wimaxneighborentry.o \

        wimax/neighbordb.o \

        wimax/scheduling/wimaxscheduler.o \

        wimax/scheduling/bsscheduler.o \

        wimax/scheduling/ssscheduler.o \

        wimax/scheduling/ulsubframetimer.o \

        wimax/scheduling/dlsubframetimer.o \

        wimax/scheduling/burst.o \

        wimax/scheduling/contentionslot.o \

        wimax/scheduling/contentionrequest.o \

        wimax/scheduling/contentiontimer.o \

        wimax/scheduling/dlburst.o \

        wimax/scheduling/ulburst.o \

        wimax/scheduling/framemap.o \

        wimax/scheduling/phypdu.o \

        wimax/scheduling/profile.o \

        wimax/scheduling/subframe.o \

        wimax/scheduling/scanningstation.o \

        wimax/scheduling/wimaxctrlagent.o \

 
     * add the ns-wimax.tcl entry before (@V_NS_TCL_LIB_STL@):

 
        tcl/lib/ns-wimax.tcl \

         

    step6: edit the file common/packet.h and add a new packet type PT_WIMAXBS 
into the packet_t enumeration and name_[PT_WIMAXBS]=wimaxCtrl; to the class 
p_info

    step7: edit the file tcl/lib/ns-lib.tcl and add the line source 
ns-wimax.tcl

    step8: edit the file tcl/lib/ns-packet.tcl and add 802_16 to the list 
defined in the list of packets (look for foreach prot)

 
    step9: re-run ./configure ; make clean ; make in the ns-2.31 directory.

 
V- Compilation options

After using the patch or manual installation, you need to recompile the code. 
To do so, execute make clean; ./configure ; make in the ns-2.31 directory.

To debug the wimax code, edit the 

[ns] how to install NIST-Mob in sn-2.29 manually .

2011-03-07 Thread zmezm 14

good day everyone , i hope you all having a great time ..

dear all you have been very helpful i have a request ,
i need to install the nist-mob in my ns2 but im using ns-2.29 version so in 
order to complete the installation in need to configured some files manually 
and i really don't  know how , i do have the steps on how to do it but is just 
not clear to me  , can you please walk me through these steps  .     IV  - 
Manual installation



Instructions to install the Wimax extension for NS-2

 
Content

    I   - Disclaimer

    II  - Version

    III - Installation using the patch file

    IV  - Manual installation

    V   - Compilation options

    VI  - Running examples

    VII - Version history

 
I- Disclaimer

This software was developed at the National Institute of Standards and

Technology by employees of the Federal Government in the course of

their official duties. Pursuant to title 17 Section 105 of the United

States Code this software is not subject to copyright protection and

is in the public domain.

NIST assumes no responsibility whatsoever for its use by other parties,

and makes no guarantees, expressed or implied, about its quality,

reliability, or any other characteristic.

BR

 We would appreciate acknowledgement if the software is used.

BR

NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS AS IS CONDITION AND

DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING

FROM THE USE OF THIS SOFTWARE.

 
II- Version

    This documentation is based on the following versions:

        - pre-release2 of the wimax model developed by NIST

        - ns-2.29/ns-2.30/ns-2.31

 
III- Installation using the patch file

    The patch file is only provided for ns-2.31. Use manual installation for 
other 

    versions.

 
    a- Using the ns-allinone installation

        step1: install the patch by running patch -p0 patch-ns-2.31-041707 
from the ns-allinone-2.31 directory.

        step2: re-run ./configure ; make clean ; make in the ns-2.31 
directory.

 
    b- From the ns-2.31 directory 

        step1: install the patch by running patch -p1 patch-ns-2.31-041707

        step2: re-run ./configure ; make clean ; make in the ns-2.31 
directory.

 
IV- Manual installation 

    The source code provided works with some earlier versions (ns-2.28 for 
example). 

    The following steps need to be followed to install the wimax extension:

 
    step1: add the wimax directory in the ns installation

    step2: add the tcl/wimax directory

    step3: add the tcl/lib/ns-wimax.tcl file

    step4: add the mac/mac-stat.h file

    step5: edit Makefile.in and:

       * add -I ./wimax to the list of directories to include (in the 
definition of INCLUDE)

       

     * add the object files before the last line (@V_STLOBJ@) of the OBJ_CC 
list:

 
        wimax/ofdmphy.o \

        wimax/mac802_16pkt.o \

        wimax/serviceflowqos.o \

        wimax/serviceflow.o \

        wimax/serviceflowhandler.o \

        wimax/connection.o \

        wimax/connectionmanager.o \

        wimax/peernode.o \

        wimax/mac802_16.o \

        wimax/mac802_16SS.o \

        wimax/mac802_16BS.o \

        wimax/sduclassifier.o \

        wimax/destclassifier.o \

        wimax/mac802_16timer.o \

        wimax/wimaxneighborentry.o \

        wimax/neighbordb.o \

        wimax/scheduling/wimaxscheduler.o \

        wimax/scheduling/bsscheduler.o \

        wimax/scheduling/ssscheduler.o \

        wimax/scheduling/ulsubframetimer.o \

        wimax/scheduling/dlsubframetimer.o \

        wimax/scheduling/burst.o \

        wimax/scheduling/contentionslot.o \

        wimax/scheduling/contentionrequest.o \

        wimax/scheduling/contentiontimer.o \

        wimax/scheduling/dlburst.o \

        wimax/scheduling/ulburst.o \

        wimax/scheduling/framemap.o \

        wimax/scheduling/phypdu.o \

        wimax/scheduling/profile.o \

        wimax/scheduling/subframe.o \

        wimax/scheduling/scanningstation.o \

        wimax/scheduling/wimaxctrlagent.o \

 
     * add the ns-wimax.tcl entry before (@V_NS_TCL_LIB_STL@):

 
        tcl/lib/ns-wimax.tcl \

         

    step6: edit the file common/packet.h and add a new packet type PT_WIMAXBS 
into the packet_t enumeration and name_[PT_WIMAXBS]=wimaxCtrl; to the class 
p_info

    step7: edit the file tcl/lib/ns-lib.tcl and add the line source 
ns-wimax.tcl

    step8: edit the file tcl/lib/ns-packet.tcl and add 802_16 to the list 
defined in the list of packets (look for foreach prot)

 
    step9: re-run ./configure ; make clean ; make in the ns-2.31 directory.

 
V- Compilation options

After using the patch or manual installation, you need to recompile the code. 
To do so, execute make clean; ./configure ; make in the ns-2.31 directory.

To debug the wimax code, edit the Makefile 

[ns] problem with wimax module in ns-2.29

2011-03-06 Thread zmezm 14




good day everyone , i hope you all doing well ..

i have a problem with my wimax module in ns-2.29 
i already install ns2 with the NIST successfully thanks to your help but when i 
try to run any wimax samples  i get an error im quite new to ns so can you 
pleas help me 

fear@fear-laptop:~/ns2/test$ ns wimaxtest.tcl
Configuration of hierarchical addressing done
num_nodes is set 12
invalid command name Mac/802_16/BS
    while executing
Mac/802_16/BS create _o38 
    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 $mactype
    (procedure _o28 line 10)
    (Node/MobileNode add-interface line 10)
    invoked from within
$node add-interface $chan $propInstance_ $llType_ $macType_  $ifqType_ 
$ifqlen_ $phyType_ $antType_ $topoInstance_  $inerrProc_ $outerrProc_ $FECProc_
    (procedure _o3 line 70)
    (Simulator create-wireless-node line 70)
    invoked from within
_o3 create-wireless-node 1.0.0
    (eval body line 1)
    invoked from within
eval $self create-wireless-node $args
    (procedure _o3 line 16)
    (Simulator node line 16)
    invoked from within
$ns node 1.0.0
    invoked from within
set BaseStation [$ns node 1.0.0]  
   
 (file wimaxtest.tcl line 139)


best regards to all ..
    









  


  

[ns] problem with wimax module in ns-2.29

2011-03-04 Thread zmezm 14

good day everyone , i hope you all doing well ..

i have a problem with my wimax module in ns-2.29 
i already install ns2 with the NIST successfully thanks to your help but when i 
try to run any wimax samples  i get an error im quite new to ns so can you 
pleas help me 

fear@fear-laptop:~/ns2/test$ ns wimaxtest.tcl
Configuration of hierarchical addressing done
num_nodes is set 12
invalid command name Mac/802_16/BS
    while executing
Mac/802_16/BS create _o38 
    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 $mactype
    (procedure _o28 line 10)
    (Node/MobileNode add-interface line 10)
    invoked from within
$node add-interface $chan $propInstance_ $llType_ $macType_  $ifqType_ 
$ifqlen_ $phyType_ $antType_ $topoInstance_  $inerrProc_ $outerrProc_ $FECProc_
    (procedure _o3 line 70)
    (Simulator create-wireless-node line 70)
    invoked from within
_o3 create-wireless-node 1.0.0
    (eval body line 1)
    invoked from within
eval $self create-wireless-node $args
    (procedure _o3 line 16)
    (Simulator node line 16)
    invoked from within
$ns node 1.0.0
    invoked from within
set BaseStation [$ns node 1.0.0]  
    (file wimaxtest.tcl line 139)


best regards to all ..
    



  

[ns] problem with NIST Mob package in NS-2.29

2011-03-02 Thread zmezm 14

good day all i hope you are having a good time , with no stress .

i have a problem with installing the NIST Mob package in NS-2.29 on Ubuntu 8 
.04 

i patched the  pmip6-for-ns-2.29-nist.patch  patch successfully , but when i 
run 
./install in the ns-allinone-2.29  i get this error in this exact folder 
mac/mac-802_11.h  
can anyone pleas help me with that ..

this is the error..
In file included from mac/mac-802_11.cc:63:
mac/mac-802_11.h: At global scope:
mac/mac-802_11.h:620: error: extra qualification ‘Mac802_11::’ on member 
‘calFreq’
mac/mac-802_11.cc: In member function ‘void Mac802_11::update_watch(StatWatch*, 
double)’:
mac/mac-802_11.cc:3442: warning: deprecated conversion from string constant to 
‘char*’
mac/mac-802_11.cc:3444: warning: deprecated conversion from string constant to 
‘char*’
mac/mac-802_11.cc:3446: warning: deprecated conversion from string constant to 
‘char*’
mac/mac-802_11.cc:3448: warning: deprecated conversion from string constant to 
‘char*’
mac/mac-802_11.cc: In member function ‘void 
Mac802_11::update_throughput(ThroughputWatch*, double)’:
mac/mac-802_11.cc:3485: warning: deprecated conversion from string constant to 
‘char*’
mac/mac-802_11.cc:3487: warning: deprecated conversion from string constant to 
‘char*’
mac/mac-802_11.cc:3489: warning: deprecated conversion from string constant to 
‘char*’
mac/mac-802_11.cc:3491: warning: deprecated conversion from string constant to 
‘char*’
make: *** [mac/mac-802_11.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems


best regards to all 



  

[ns] tclcl-1.17 make failed! Exiting

2011-02-22 Thread zmezm 14

Hi. I have a problem while installing Tclcl 1.17 in ns 2.29 in Ubuntu 10.04
But in make I get this error:
can anyone hwlp me with that 


g++ -c  -DNO_TK  -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_11 -DHAVE_OTCL_H
-DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCLINT_H -DHAVE_TCL_H
-DHAVE_CONFIG_H -I. -I/home/sina/Desktop/ns-allinone-2.29/otcl-1.11
-I/home/sina/Desktop/ns-allinone-2.29/include
-I/home/sina/Desktop/ns-allinone-2.29/include
-I/home/sina/Desktop/ns-allinone-2.29/include -o Tcl.o Tcl.cc
Tcl.cc: In member function ‘void Tcl::eval(char*)’:
Tcl.cc:182:8: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc: In member function ‘int TclObject::traceVar(const char*,
TclObject*)’:
Tcl.cc:421:50: warning: deprecated conversion from string constant to
‘char*’
Tcl.cc: In static member function ‘static int TclClass::create_shadow(void*,
Tcl_Interp*, int, const char**)’:
Tcl.cc:509:57: warning: deprecated conversion from string constant to
‘char*’
Tcl.cc:511:61: warning: deprecated conversion from string constant to
‘char*’
Tcl.cc: In static member function ‘static int
TclClass::dispatch_instvar(void*, Tcl_Interp*, int, const char**)’:
Tcl.cc:566:35: error: invalid conversion from ‘const char*’ to ‘char*’
Tcl.cc:571:72: warning: deprecated conversion from string constant to
‘char*’
Tcl.cc: In member function ‘virtual void TclClass::bind()’:
Tcl.cc:603:60: warning: deprecated conversion from string constant to
‘char*’
Tcl.cc:605:60: warning: deprecated conversion from string constant to
‘char*’
make: *** [Tcl.o] Error 1




  

[ns] ns: finish: couldn't execute nam: permission denied

2011-02-20 Thread zmezm 14

greetings all 
thank you all for helping me with the installation of ns-2

i have this problem when i was running an example inns: finish: couldn't 
execute nam: permission denied ns-2.29 on ubuntu 8.04
i get this error ,
hz@hz-laptop:~$ ns ns-simple.tcl
CBR packet size = 1000
CBR interval = 0.0080002
ns: finish: couldn't execute nam: permission denied
    while executing
exec nam out.nam 
    (procedure finish line 7)
    invoked from within
finish

can anyone tell me what is the problem here 
thank you all for your help 



  


[ns] nam bash: nam: command not found

2011-02-20 Thread zmezm 14

good day everyone 
i have a problem with nam 
when i try to run an example in ns-2.29 i got an error 
hz@hz-laptop:~$ ns ns-simple.tcl
CBR packet size = 1000
CBR interval = 0.0080002
ns: finish: couldn't execute nam: permission denied
    while executing
exec nam out.nam 
    (procedure finish line 7)
    invoked from within
finish


even when i just type nam in the terminal i got an error 
hz@hz-laptop:~$ nam
bash: nam: command not found

can anyone pleas help me with that 

best regards to all  



  


[ns] install ns-2.29 on linux

2011-02-19 Thread zmezm 14



good day everyone .
can anyone pleas show me how to install NS-2.29 on Linux ubuntu or fedora , 
i always get an error when i try to install it 
pleas its very urgent 




  


  


[ns] pleas i need help

2011-02-19 Thread zmezm 14


dear all i hope you having a great day 
when i was installing ns-2.29 on Ubuntu 10.04 i get this error 

Tcl is not part of the ns project.  Please see www.Scriptics.com
to see if they have a fix for your platform. 

right after i write ./install 

can anyone help me with that 
thank you all