Re: [ns] Request for help

2013-11-04 Thread shalom

Thanks for your reply.  I followed your advice but I just include the file
wireless-phyExt.h  inside the file aodv.h without adding anything else and 
after recompiling ns2 i am getting the same error. I don't understand what
is going on.



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Request-for-help-tp27717p27751.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] How to Cross Layer AODV?

2013-08-07 Thread shalom

The following can be useful, 

http://wmnatupdiliman.blogspot.com/2011/02/exchanging-cross-layer-information-in.html


Regards!





--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/How-to-Cross-Layer-AODV-tp13084p27459.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] CROSS LAYER IN NS2.34: accessing the MAC layer from Routing layer

2013-07-27 Thread shalom

Good day Dear, 

I am trying to access the Mac Layer from the Routing layer of AODV routing
protocol using the following document (see link below).  I followed all the
steps but I think i have a problem with the last one, when i try to add the
last step to my tcl script in order to get the right pointer, I am getting
the following error 
can't read rt(0)_o17: no such variable 
while executing 
set rt($i)[$node_($i) agent 255] 
(for body line 5) 
.. 
My question is what rt stands for? is it the AODVagent? 

Please see below the link  where it  is explained 

http://wmnatupdiliman.blogspot.com/2011/02/exchanging-cross-layer-information-in.html


Regards! 



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/CROSS-LAYER-IN-NS2-34-accessing-the-MAC-layer-from-Routing-layer-tp27390.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] How to add a new packet header to AODV routing protocol in NS2.34

2013-07-20 Thread shalom

Good day all,

I am trying to implement a new routing metric on  AODV  routing protocol
using ns-2.34. For this purpose i have to add a new packet header for all
data packets. Going  through to aodv_packet.h i noticed there are 5 packet
headers (RREQ, HELLO, ERR, RREP_ACK). How can i add my packet header so that
i can trace it as well in the trace file?

Regards!





--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/How-to-add-a-new-packet-header-to-AODV-routing-protocol-in-NS2-34-tp27349.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] help- AODV protocol

2013-07-08 Thread shalom

Hey!


I think this link can be useful
http://mailman.isi.edu/pipermail/ns-users/2011-September/071004.html

Hope it will help!



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/help-AODV-protocol-tp27095p27265.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Piggyback in NS2

2013-06-25 Thread shalom

Good day all,

I am trying to piggyback or combine two packets at a time and then send
those packets to avoid extra routing overhead that can be caused by sending
them on by one. I am using NS2.34

Regards! 



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Piggyback-in-NS2-tp27179.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] SINR and SNR Computation in ns2

2013-06-18 Thread shalom

Good day all,I am trying  to get the Signal to Interference and Noise Ratio
(SINR) and the Signal to Noise Ratio (SNR) at the Physical layer and using a
cross layer i will use them at the routing layer. any one who has an idea
how i can Compute the SINR and the SNR in NS2. I am using the routing
protocol AODV.Regards! 



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/SINR-and-SNR-Computation-in-ns2-tp27149.html
Sent from the ns-users mailing list archive at Nabble.com.


[ns] how to add random noise in node's channel in ns2

2013-03-18 Thread shalom

Good day all,

I am trying to evaluate the robustness of a quality link metric by adding
some random  noise to some selected nodes channel communication in wireless
networks but i don't have any clue how i can do it. someone who did it
before?

Thanks in advance!



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/how-to-add-random-noise-in-node-s-channel-in-ns2-tp26449.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] how to generate a noisy environment in ns-2.34?

2013-03-18 Thread shalom

 Good day all,

I am trying to evaluate the robustness of a quality link metric over a
routing protocol, for that purpose i would like to generate a noisy
environment  network in ns-2.34. any one who has done before?

Thanks in advance!




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/how-to-generate-a-noisy-environment-in-ns-2-34-tp26451.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Getting error after re-installing ns-2.34

2012-11-08 Thread Shalom


Good day all,

I uninstalled and re-installed ns-2.34  but when i try to run some basic tcl
scripts it gives an error as   segmentation fault I did google it  on the
internet and i didn't find the answer. any one has an idea what is going
wrong?

Thanks in advance!
-- 
View this message in context: 
http://old.nabble.com/Getting-error-after-re-installing-ns-2.34-tp34655766p34655766.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] How to uninstall NS-2.34 on Ubuntu

2012-11-07 Thread Shalom


Good day all,

Please someone can help me to uninstall Ns-2.34. Please give me the
different steps i have to do.

Regards!
-- 
View this message in context: 
http://old.nabble.com/How-to-uninstall-NS-2.34-on-Ubuntu-tp34652534p34652534.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Getting error when running a tcl script after adding a new routing protocol

2012-11-06 Thread Shalom


Good afternoon Ns-users!

 I am trying to implement ETX (Expected Transmission Count) and IBETX
(Interference Bandwidth adjusted ETX) as routing metric into the AODV
routing protocol and DSDV routing protocol respectively in NS-2.34.  I
created another identical AODV and DSVD  ad hoc routing protocols file and I
made some changes into AODV and DSDV file in order to incorporate ETX  and
IBETX as routing metric respectively. After that i renamed all AODV and DSDV
files (.cc  .h) to AODVETX and DSDVIBETX files (.cc  .h). I have changed 
all the words where the aodv  and dsdv words appear by aodvetx and dsdvibetx
words (c++ Classes, Packets headers, variables, TCL bindings,..). After run
Make clean and Make it compiles fine. But during execution of tcl file
with new protocol code I am getting following errors. I have carefully
implemented code step by step by thoroughly reading ns material on internet
and ebooks. I shall be highly thankful to you




(_o14 cmd line 1)
invoked from within
_o14 cmd addr
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 _o14 line 2)
(SplitObject unknown line 2)
invoked from within
_o14 addr
(eval body line 1)
invoked from within
eval $node addr $args
(default arm line 2)
invoked from within
switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 $node start-dsr
}
AODV {
set ragent [$self cre...
(procedure _o3 line 14)
(Simulator create-wireless-node line 14)
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
(for body line 2)
invoked from within
for {set i 1} {$i = $val(nn) } { incr i } {
set node_($i) [$ns node]
}

-- 
View this message in context: 
http://old.nabble.com/Getting-error-when-running-a-tcl-script-after-adding-a-new-routing-protocol-tp34647085p34647085.html
Sent from the ns-users mailing list archive at Nabble.com.