Pointer To Mobile Node In Mac802_11 In Ns2

Hi all,
I am using ns2 for my Master project and I want the pointer to current mobile node in mac802_11.
Can anyone help me?
Thanks in advance.


Similar Content



How To Perform Handoff In Mobile Node Fhmip

hi ,

i followed the post and get patched fhmip and run ns fhmip_simula.tcl

http://www.linuxquestions.org/questi...gz-4175538523/

when i moved mobile node hand off not occured, only i am getting packet loss.

an ideas??

Thanks
Pon

How To Do Handoff In Fhmip Patched At Ns2.33

Hi all,

I tried to perfrom handoff of MN from previous access router(PAR) to new access router(NAR) when mobile node moves.
here i attched my output snapshot. In that MN (mobile node) connected to PAR initally, when it moves by crossing NAR the packets get dropped and handoff does not happen. but until MN was connected to PAR there was no loss.

Pls help me to get rid of this packet loss

URGENT HELP!!! GPSR Patch With Ns-2.34 Ubuntu 12.04

Hey guys
I have been trying to patch GPSR with ns-2.34.The operating system i am using is ubuntu 12.04.
I have made all the necessary changes required in the various files .

I have another version of ns (ns-2.35 ) too but it is in a different directory.
Everytime I run my tcl file an error keeps coming up.
I will be greatful if somebody can help me.This is very very URGENT.


(_o29 cmd line 1)
invoked from within
"_o29 cmd if-queue _o23"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o29" line 2)
(SplitObject unknown line 2)
invoked from within
"$agent if-queue [$self set ifq_(0)] "
(procedure "_o17" line 28)
(Node/MobileNode add-target line 28)
invoked from within
"$self add-target $agent $port"
(procedure "_o17" line 15)
(Node attach line 15)
invoked from within
"$node attach $ragent [Node set rtagent_port_]"
(procedure "create-gpsr-routing-agent" line 29)
invoked from within
"create-gpsr-routing-agent $node $id"
(procedure "gpsr-create-mobile-node" line 41)
invoked from within
"gpsr-create-mobile-node $i"
("for" body line 2)
invoked from within
"for {set i 0} {$i < $opt(nn) } {incr i} {
gpsr-create-mobile-node $i
}"

How Do I Edit Mannasim Tcl File To Generate Mobile Nodes For WSN Protocols

Hi,

I intend to use mannasim script generator tool to create mobile nodes for routing protocols like aodv, leach , dsdv and dsr.

To be best of my knowledge, WSN nodes in mannasim are assumed to be static but I would like to know if there is a resource available which explains how the tcl code can be modified to achieve node mobility.

I have tried searching google but I haven't gotten satisfying search result.

It seems is better to ask an experienced ns2/mannasim user.

Be sure your kind response is valued

How To Patch GPSR Routing Protocol To Ns-2.35

Hi,
I have patched GPSR to ns-2.35 using keliu' code. It works fine with given tcl file. I need to move nodes according to mine own mobility scenario and compare them to AODV protocol.
I have two problems
1. I don't understand what this command in gpsr.tcl file means Code:
proc gpsr-create-mobile-node { id args } {
         .........................	
if [info exists opt(energy)] {
	$node addenergymodel [new $opt(energy) $node 10 0.5 0.2]}
         .............

What are these figures (0.5, 0.2), are these energy consumed in reception and transmission or some thing else.

Secondly I want move mobile node created using proc defined in gpsr.tcl file according to my own mobility plan e.g. Code:
 $ns_ at 0.000000000000 "$node_(0) setdest 144.816950690450 20.073824649527 0.324133202939"
$ns_ at 0.000000000000 "$node_(1) setdest 93.957720171475 192.140808646867 1.452613500562"
$ns_ at 12.158688172971 "$node_(23) setdest 113.137798368154 39.443538618334 0.902003496971"
$ns_ at 14.805074599534 "$node_(2) setdest 152.227654369397 20.766089279052 1.742469780423"

But when I run simulation it gives error like this:[QUOTE]Load complete...
Starting Simulation...
ns: _o18 setdest 144.816950690450 20.073824649527 0.324133202939:
(_o18 cmd line 1)
invoked from within
"_o18 cmd setdest 144.816950690450 20.073824649527 0.324133202939"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o18" line 2)
(SplitObject unknown line 2)
invoked from within
"_o18 setdest 144.816950690450 20.073824649527 0.324133202939"
[\QUOTE]
Urgent help is needed please

NS2 Nam And Trace Files Are Always Empty

Hi everybody,
I need help!
I wrote a script in which, a mobile node across the umts, the WIMAX and the WIFI coverage to test the vertical handover .
But the out.nam file and the trace one are always empty, the script is correct there is no errors !!!!
please help

Measuring Disk Performance With Clustered IOzone

Dear all,
I don't know how I can figure this problem out.

I tried to execute iozone with clustered mode but it didn't work. It stalled after executing the last line (see below!)
What do you think the problem is?
Please let me know if you have similar experience to me.

Best regards,
Jeongsook.

----------

[root@host current]# ./iozone -i0 -i1 -R -I -+n -w -r 128k -s 1G -+m node.lst -t 4

Run began: Mon Apr 13 17:07:21 2015

Excel chart generation enabled
O_DIRECT feature enabled
No retest option selected
Setting no_unlink
Record Size 128 KB
File size set to 1048576 KB
Network distribution mode enabled.
Command line used: ./iozone -i0 -i1 -R -I -+n -w -r 128k -s 1G -+m node. lst -t 4
Output is in Kbytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 Kbytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
Throughput test with 8 processes
Each process writes a 1048576 Kbyte file in 128 Kbyte records

******** Content of node.lst
[root@lamap10 current]# cat node.lst
129.254.XXX.XXX /root/iozone3_420/src/current /root/iozone3_420/src/current/iozone /mnt/vdi/iozone/129_254_XXX_XXX/DUMMY.1
129.254.XXX.XXX /root/iozone3_420/src/current /root/iozone3_420/src/current/iozone /mnt/vdi/iozone/129_254_XXX_XXX/DUMMY.2
129.254.XXX.XXX /root/iozone3_420/src/current /root/iozone3_420/src/current/iozone /mnt/vdi/iozone/129_254_XXX_XXX/DUMMY.3
129.254.XXX.XXX /root/iozone3_420/src/current /root/iozone3_420/src/current/iozone /mnt/vdi/iozone/129_254_XXX_XXX/DUMMY.4

Mobile Cloud Gaming Using NS2?

Hi everyone..i have problem in running Mobile Cloud Gaming using NS2. Can anyone share simple coding on Mobile Cloud Gaming using NS2
?
\

No Mouse Pointer In Mint 17

No mouse pointer on loading Mint 17 onto new build computer: Asus A88XM-A mobo, AMD A6 7400K CPU, 4gb Corair xms3 memory, seagate hard drive, optical drive. Have updated bios to latest version from Asus web page. Mouse works ok in bios pages so believe mouse is ok.

Any ideas please?

Problem In Running Codes Of TORA

Hi,
I am new in linux. I have following problem while running the codes of TORA in ns-2.35 in ubuntu.Can you please help me?


num_nodes is set 6
INITIALIZE THE LIST xListHead

(_o22 cmd line 1)
invoked from within
"_o22 cmd port-dmux _o37"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o22" line 2)
(SplitObject unknown line 2)
invoked from within
"$agent port-dmux $dmux_"
(procedure "_o19" line 11)
(Node/MobileNode add-target-rtagent line 11)
invoked from within
"$self add-target-rtagent $agent $port"
(procedure "_o19" line 28)
(Node/MobileNode add-target line 28)
invoked from within
"$self add-target $agent $port"
(procedure "_o19" line 15)
(Node attach line 15)
invoked from within
"$node attach $ragent [Node set rtagent_port_]"
(procedure "_o3" line 85)
(Simulator create-wireless-node line 85)
invoked from within
"_o3 create-wireless-node"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o3" line 23)
(Simulator node line 23)
invoked from within
"$ns node"
invoked from within
"set n(0) [$ns node]"
(file "tora2.tcl" line 115)