Re: [ns] Help regarding Multi-technology-Multi-interface nodes

2009-04-26 Thread Kiran K Chauhan

Hi,

You can use NIST mobility module for the same

Kiran

On Sun, Apr 26, 2009 at 9:30 PM, Riaz Ul Amin r...@dcs.gla.ac.uk wrote:



 Hi
 I need help regarding a simulation setup that need to define nodes with
 multiple network interfaces i.e capable of 802.11 and UMTS. Can you please
 guide me or refer me if there some ns2 patch available. Moreover, Is there
 any MIH patch available for ns2 with 802.11 and UMTS network interfaces.

 Thanks
 Riaz




-- 

Every footstep in life is full of possibilities we just need to know our
ability to explore them




[ns] multi channel multi interface for 802.11 by Prof. Ramon

2009-04-09 Thread Kiran K Chauhan

Hi All,


I made the modifications in the Ns2.33 as given in the PDF by Prof.Ramon.
But after successful compilation when i run a simple tcl script it gives
error as listed. I am not able to find out the reason for the error.

INITIALIZE THE LIST xListHead
(_o19 cmd line 1)
invoked from within
_o19 cmd if-queue 0 _o22
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 _o19 line 2)
(SplitObject unknown line 2)
invoked from within
$agent if-queue $i [$self set ifq_($i)]
(procedure _o16 line 27)
(Node/MobileNode add-target line 27)
invoked from within
$self add-target $agent $port
(procedure _o16 line 15)
(Node attach line 15)
invoked from within
$node attach $ragent [Node set rtagent_port_]
(procedure _o3 line 82)
(Simulator create-wireless-node line 82)
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 node0 [$ns_ node]
(file multi.tcl line 52)


Please help to resolve the problem.

Thanks.

Regards
Kiran


Re: [ns] multi channel multi interface for 802.11 by Prof. Ramon

2009-04-09 Thread Kiran K Chauhan

Thanks Sir, I modified the command method for AODV. Now when I run the
example I do not get any error, but nothing gets written in the trace
file/nam file.

On command window what I get is

num_nodes is set 8
INITIALIZE THE LIST xListHead
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5,  distCST_ = 212.8
SORTING LISTS ...DONE!
*Scheduler: attempt to schedule an event with a NULL handler.  Don't DO
that.

*Any suggestions !! Thanks for your help

Regards
Kiran



On Thu, Apr 9, 2009 at 4:34 PM, Ramon Aguero ra...@tlmat.unican.es wrote:

 Hi Kiran,

 I think you need to modify the command method of the AODV routing agent. I
 did not include that in the AODV specific information, but you need to
 make the changes as shown in the corresponding Listing for the generic
 routing agent class (I am not currently looking at the howto, but I think
 it was Listing 5.2).

 Hope it helps,
 Ramón

  Hi All,
 
 
  I made the modifications in the Ns2.33 as given in the PDF by Prof.Ramon.
  But after successful compilation when i run a simple tcl script it gives
  error as listed. I am not able to find out the reason for the error.
 
  INITIALIZE THE LIST xListHead
  (_o19 cmd line 1)
  invoked from within
  _o19 cmd if-queue 0 _o22
  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 _o19 line 2)
  (SplitObject unknown line 2)
  invoked from within
  $agent if-queue $i [$self set ifq_($i)]
  (procedure _o16 line 27)
  (Node/MobileNode add-target line 27)
  invoked from within
  $self add-target $agent $port
  (procedure _o16 line 15)
  (Node attach line 15)
  invoked from within
  $node attach $ragent [Node set rtagent_port_]
  (procedure _o3 line 82)
  (Simulator create-wireless-node line 82)
  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 node0 [$ns_ node]
  (file multi.tcl line 52)
 
 
  Please help to resolve the problem.
 
  Thanks.
 
  Regards
  Kiran
 






-- 

Every footstep in life is full of possibilities we just need to know our
ability to explore them




[ns] multi channel multi interface for 802.11 by Prof. Ramon

2009-04-09 Thread Kiran K Chauhan

Hi All,


I made the modifications in the Ns2.33 as given in the PDF by Prof.Ramon.
But after successful compilation when i run a simple tcl script it gives
error as listed.

INITIALIZE THE LIST xListHead

(_o18 cmd line 1)
invoked from within
_o18 cmd if-queue 0 _o21
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
$agent if-queue $i [$self set ifq_($i)]
(procedure _o15 line 27)
(Node/MobileNode add-target line 27)
invoked from within
$self add-target $agent $port
(procedure _o15 line 15)
(Node attach line 15)
invoked from within
$node attach $ragent [Node set rtagent_port_]
(procedure _o3 line 82)
(Simulator create-wireless-node line 82)
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 node_(0) [$ns_ node]
(file test.tcl line 73)

Please help to resolve the problem.

Thanks.

Regards
Kiran

-- 

Every footstep in life is full of possibilities we just need to know our
ability to explore them




Re: [ns] multi channel multi interface for 802.11 by Prof. Ramon

2009-04-09 Thread Kiran K Chauhan

Hi All,

The problem of NULL handler was occuring due to the forward method. In this
method Iface is not defined. If we define it in the method then it gives the
error mentioned. I replaced the Iface with rt_interface and it worked
without error.

Prof Ramon, Please correct me if  I am wrong.

Thanks

Kiran

On Thu, Apr 9, 2009 at 5:09 PM, Kiran K Chauhan kiran.c...@gmail.comwrote:

 Thanks Sir, I modified the command method for AODV. Now when I run the
 example I do not get any error, but nothing gets written in the trace
 file/nam file.

 On command window what I get is

 num_nodes is set 8
 INITIALIZE THE LIST xListHead
 Starting Simulation...
 channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
 highestAntennaZ_ = 1.5,  distCST_ = 212.8
 SORTING LISTS ...DONE!
 *Scheduler: attempt to schedule an event with a NULL handler.  Don't DO
 that.

 *Any suggestions !! Thanks for your help

 Regards
 Kiran




 On Thu, Apr 9, 2009 at 4:34 PM, Ramon Aguero ra...@tlmat.unican.eswrote:

 Hi Kiran,

 I think you need to modify the command method of the AODV routing agent. I
 did not include that in the AODV specific information, but you need to
 make the changes as shown in the corresponding Listing for the generic
 routing agent class (I am not currently looking at the howto, but I think
 it was Listing 5.2).

 Hope it helps,
 Ramón

  Hi All,
 
 
  I made the modifications in the Ns2.33 as given in the PDF by
 Prof.Ramon.
  But after successful compilation when i run a simple tcl script it gives
  error as listed. I am not able to find out the reason for the error.
 
  INITIALIZE THE LIST xListHead
  (_o19 cmd line 1)
  invoked from within
  _o19 cmd if-queue 0 _o22
  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 _o19 line 2)
  (SplitObject unknown line 2)
  invoked from within
  $agent if-queue $i [$self set ifq_($i)]
  (procedure _o16 line 27)
  (Node/MobileNode add-target line 27)
  invoked from within
  $self add-target $agent $port
  (procedure _o16 line 15)
  (Node attach line 15)
  invoked from within
  $node attach $ragent [Node set rtagent_port_]
  (procedure _o3 line 82)
  (Simulator create-wireless-node line 82)
  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 node0 [$ns_ node]
  (file multi.tcl line 52)
 
 
  Please help to resolve the problem.
 
  Thanks.
 
  Regards
  Kiran
 






 --

 
 Every footstep in life is full of possibilities we just need to know our
 ability to explore them

 

 




-- 

Every footstep in life is full of possibilities we just need to know our
ability to explore them




Re: [ns] wireless access point

2009-03-13 Thread Kiran K Chauhan

Hi,

Yes NS2 does support that, use ns2.33 version.

Sample code given in that is infrs.tcl

Kiran

On Fri, Mar 13, 2009 at 8:42 AM, mm min...@gmail.com wrote:


 Hello and thank you very much for all your efforts

 Could you please tell me if NS2 (version 2.32) can support simulation of
 wireless networks in infrastructure mode (it means wireless nodes connected
 to a wireless access point)?

 Thanks in advance




-- 

Every footstep in life is full of possibilities we just need to know our
ability to explore them




[ns] M ulti Channel Multi interface 802.11

2009-03-11 Thread Kiran K Chauhan

Hello Friends,

Did anyone try the Notebook:multi channel multi interface for NS2?

I could make the changes in file and do propoer installation ut while
running the example file twoflows2channel.tcl it gives error as:

num_nodes is set 4
INITIALIZE THE LIST xListHead
INITIALIZE THE LIST xListHead
INITIALIZE THE LIST xListHead
INITIALIZE THE LIST xListHead
INITIALIZE THE LIST xListHead

(_o25 cmd line 1)
invoked from within
_o25 cmd add-route-tag 1 999
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 _o25 line 2)
(SplitObject unknown line 2)
invoked from within
$node_(0) add-route-tag 1 999
(file 2.tcl line 84)
Calling superclass Agent's command function!Calling superclass Agent's
command function!Calling superclass Agent's command function!Calling
superclass Agent's command function!

It will be really helpful if somebody helps me in this regard

Thanks

Regards
Kiran

-- 

Every footstep in life is full of possibilities we just need to know our
ability to explore them




[ns] Multichannel in NS2

2009-02-20 Thread Kiran K Chauhan

Dear Friends,

I tried a scenario with 4 wireless nodes communicating as shown (using same
channel)

1  2
   ch1
3-4

Now when I assign different channels (i.e. ch 1 and ch 2) to these I do get
a good throughput as expected.

My doubt is, in NS2 when we set the channels, what frequency does it map to?

Where can I look for this mapping in NS2 code (I am not able to locate the
same)

Plz help !

Thanks
Kiran



-- 

Every footstep in life is full of possibilities we just need to know our
ability to explore them




[ns] WiFi infrastructure and MEsh

2009-02-18 Thread Kiran K Chauhan

Hi all,

Can anyone help me by suggesting how to simulate a node which can
communicate via hops within its own circle of nodes and for
communication to other circle it uses its AP-AP of other circle.

Thanks

Kiran



-- 

Every footstep in life is full of possibilities we just need to know our
ability to explore them




[ns] RTR - IFQ Problem

2009-02-11 Thread Kiran K Chauhan

Hi all,

Can anyone help me to understand why most of  the packets drops at RTR -IFQ
level.
I tried to simulate around 200 nodes - 1000 nodes for 802.11 and realized
that most of the packets are dropped.
I changed the queue size (ifqLen) but that didnt give any improvement.

Thanks

Kiran
-- 

Every footstep in life is full of possibilities we just need to know our
ability to explore them




[ns] Infrastructure 802.11

2009-01-27 Thread Kiran K Chauhan

Hi all,

Can anyone help me in simulating a tree like 802.11 infrastructure. Where a
leaf node talks through its AP (intermediate node) - root node - other AP
- leaf node.

Thanks with regards

Kiran

..


[ns] wireless nodes Ns2

2009-01-20 Thread Kiran K Chauhan

Hi All,

I need help in simulating around 1000 nodes in 3000X3000 area. But when I
run the simulation it works only to a maximum of 300 nodes.

If I increase the number of nodes to say 400 , it gives segmentation error.

I am using wireless 802.11 module for it.


Thanks

Regards

Kiran