[ns] NS error (Wired cum Wireless 200 mobile nodes)

2012-05-11 Thread Shahid

Here is the error
Can any one guide

INITIALIZE THE LIST xListHead
Starting Simulation...
SORTING LISTS ...DONE!
classifier _o20
--- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
_o20: no target for slot 1023
0 offset
22 shift
1023 mask
1 slots
slot 0: _o21 (Classifier/Addr)
num_nodes is set 204
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5,  distCST_ = 550.0
_o20 type: Classifier/Addr
content dump:
-- Finished standard no-slot{} default handler --




[ns] MPEG4 Segmentation fault

2006-03-22 Thread shahid iqbal

Sent: Wednesday, March 22, 2006 6:22 AM
hi
   i had try to simulate MPEG4 Traffic using SCTP in ns-2.29 i got the 
segmentation fault.
   if someone has simulations in MPEG4 kindly give me some guidelines.

Reply Awaited
Thanks in Advance




[ns] find rtt at any time

2006-05-15 Thread shahid iqbal

hi all
 
  i want to see rtt of any packet at any time, whether packet reach late or in 
time at destinition,
  in ns-allinone-2.29 using sctp agent ( for see congestion )
  can any one tell me about 
 
 
  while i sent many requests at ns-users@ISI.EDU but not receive any single 
response
  my e-mail is[EMAIL PROTECTED]
 
thanks
_
Join the next generation of Hotmail and you could win the adventure of a 
lifetime
http://www.imagine-msn.com/minisites/sweepstakes/mail/register.aspx


Re: [ns] find rtt at any time

2006-05-16 Thread shahid iqbal

thanks zhou ya jin for quick response
 
but still i am not clear, actually i want to find the time that a packet is in 
transmission 
 
( from its starting point of transmission to its current time during 
transmission)
 
thanks



 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [ns] find rtt at 
 any time Date: Mon, 15 May 2006 14:08:25 +0800  I think the best method is 
 to record the information in sctp c++ source file. You can find recv 
 function, that is the entry of sctp agent receiving a packet. good luck.  
 - Original Message -  From: shahid iqbal [EMAIL PROTECTED] To: 
 ns 2 ns-users@ISI.EDU; ns-isi 2 [EMAIL PROTECTED] Sent: Monday, May 
 15, 2006 1:07 PM Subject: [ns] find rtt at any time  hi all
  i want to see rtt of any packet at any time, whether packet reach late or in 
 time at destinition,   in ns-allinone-2.29 using sctp agent ( for see 
 congestion )   can any one tell me aboutwhile i sent many 
 requests at ns-users@ISI.EDU but not receive any single response   my 
 e-mail is[EMAIL PROTECTED]thanks  
 _  Join the 
 next!
  generation of Hotmail and you could win the adventure of a lifetime  
http://www.imagine-msn.com/minisites/sweepstakes/mail/register.aspx
_
Search on the go: Try Windows Live(tm) Search for Mobile beta
http://www1.imagine-msn.com/minisites/mobile/Default.aspx?locale=en-us


[ns] FW: tutorials or codes on dynamic cluster formation

2012-05-24 Thread Shahid Hussain Abbassi
 home_agent_ $HAaddress1

set node_(12) [$ns_ node 1.0.7]
[$node_(12) set regagent_] set home_agent_ $HAaddress1

set node_(14) [$ns_ node 1.0.8]
[$node_(14) set regagent_] set home_agent_ $HAaddress1

set node_(16) [$ns_ node 1.0.9]
[$node_(16) set regagent_] set home_agent_ $HAaddress1

set node_(18) [$ns_ node 1.0.10]
[$node_(18) set regagent_] set home_agent_ $HAaddress1

set node_(1) [$ns_ node 5.0.1]
set HAaddress2 [AddrParams addr2id [$HA2 node-addr]]
[$node_(1) set regagent_] set home_agent_ $HAaddress2

set node_(4) [$ns_ node 5.0.2]
[$node_(4) set regagent_] set home_agent_ $HAaddress2

set node_(6) [$ns_ node 5.0.3]
[$node_(6) set regagent_] set home_agent_ $HAaddress2

set node_(8) [$ns_ node 5.0.4]
[$node_(8) set regagent_] set home_agent_ $HAaddress2

set node_(9) [$ns_ node 5.0.5]
[$node_(9) set regagent_] set home_agent_ $HAaddress2

set node_(11) [$ns_ node 5.0.6]
[$node_(11) set regagent_] set home_agent_ $HAaddress2

set node_(13) [$ns_ node 5.0.7]
[$node_(13) set regagent_] set home_agent_ $HAaddress2

set node_(15) [$ns_ node 5.0.8]
[$node_(15) set regagent_] set home_agent_ $HAaddress2

set node_(17) [$ns_ node 5.0.9]
[$node_(17) set regagent_] set home_agent_ $HAaddress2

set node_(19) [$ns_ node 5.0.10]
[$node_(19) set regagent_] set home_agent_ $HAaddress2



# create links between wired and BaseStation nodes
#$ns_ duplex-link $W(0) $W(1) 5Mb 2ms DropTail
#$ns_ duplex-link $W(1) $HA1 5Mb 2ms DropTail
$ns_ duplex-link $W(0) $HA1 5Mb 2ms DropTail
$ns_ duplex-link $HA1 $FA1_1 5Mb 2ms DropTail
$ns_ duplex-link $FA1_1 $FA1_2 5Mb 2ms DropTail
$ns_ duplex-link $FA1_2 $FA1_3 5Mb 2ms DropTail
#$ns_ duplex-link $FA1_3 $HA2 5Mb 2ms DropTail
#$ns_ duplex-link $W(1) $HA2 5Mb 2ms DropTail
$ns_ duplex-link $W(0) $HA2 5Mb 2ms DropTail
$ns_ duplex-link $HA2 $FA2_1 5Mb 2ms DropTail
$ns_ duplex-link $FA2_1 $FA2_2 5Mb 2ms DropTail
$ns_ duplex-link $FA2_2 $FA2_3 5Mb 2ms DropTail

#$ns_ duplex-link-op $W(0) $W(1) orient down
#$ns_ duplex-link-op $W(1) $HA1 orient left-down
$ns_ duplex-link-op $W(0) $HA1 orient left-down
$ns_ duplex-link-op $HA1 $FA1_1 orient left
$ns_ duplex-link-op $FA1_1 $FA1_2 orient left
$ns_ duplex-link-op $FA1_2 $FA1_3 orient left
#$ns_ duplex-link-op $FA1_3 $HA2 orient down
#$ns_ duplex-link-op $W(1) $HA2 orient left-down
$ns_ duplex-link-op $W(0) $HA2 orient left-down
$ns_ duplex-link-op $HA2 $FA2_1 orient right
$ns_ duplex-link-op $FA2_1 $FA2_2 orient right
$ns_ duplex-link-op $FA2_2 $FA2_3 orient right


$ns_ initial_node_pos $HA1 20
$ns_ initial_node_pos $FA1_1 20
$ns_ initial_node_pos $FA1_2 20
$ns_ initial_node_pos $FA1_3 20
$ns_ initial_node_pos $HA2 20
$ns_ initial_node_pos $FA2_1 20
$ns_ initial_node_pos $FA2_2 20
$ns_ initial_node_pos $FA2_3 20

$ns_ at $stopTime $HA1 reset;
$ns_ at $stopTime $FA1_1 reset;
$ns_ at $stopTime $FA1_2 reset;
$ns_ at $stopTime $FA1_3 reset;
$ns_ at $stopTime $HA2 reset;
$ns_ at $stopTime $FA2_1 reset;
$ns_ at $stopTime $FA2_2 reset;
$ns_ at $stopTime $FA2_3 reset;

Best Regards

Shahid H Abbassi

 Date: Thu, 24 May 2012 10:59:59 -0700
 From: wise_...@yahoo.com
 To: ns-users@ISI.EDU
 Subject: [ns]  tutorials or codes on dynamic cluster formation
 
 
 
 Hello all,
 I am working on clustering nodes and selecting cluster heads using mobile
 nodes, I would appreciate if i can be provided with any tutorials or sample
 codes on formation of clusters.
 Thank you
 -- 
 View this message in context: 
 http://old.nabble.com/tutorials-or-codes-on-dynamic-cluster-formation-tp33903550p33903550.html
 Sent from the ns-users mailing list archive at Nabble.com.
 
  


[ns] End to End Delay and Packet Delivery Ratio

2012-05-25 Thread Shahid Hussain Abbassi







Dear Users

Here is the awk code for calculating end to end delay and packet delivery ratio 
while generating traffic from wired node and receiving packets on mobile nodes.
Hopefully it will be helpful.

Best Regards

Shahid H Abbassi


BEGIN {

seqno = -1;

droppedPackets = 0;

receivedPackets = 0;

generatedpackets = 0;

count = 0;

}

{

#packet delivery ratio

if($5 == cbr  $1 == +  seqno  $12) {

seqno = $12;
generatedpackets++;
start_time[$12] = $2;
#print start_time =start_time[$12]\n $12;

} else if(($7 == cbr)  ($1 == r)) {

receivedPackets++;
end_time[$6] = $2;
#print end_time =end_time[$6]\n $6;

} else if ($1 == D  $7 == cbr  $8  200){

droppedPackets++;
end_time[$6] = -1;
#print end_time =end_time[$6]\n $6;

}



}



END {


#print seqno= seqno;

for(i=0; i=seqno; i++) {

if(end_time[i]  0) {

delay[i] = end_time[i] - start_time[i];

n_to_n_delay = n_to_n_delay + delay[i];

#print delay= delay[i];

#print n_to_n_delay= n_to_n_delay;

count++;

}

else
{

delay[i] = 0;

}

}


n_to_n_delay = n_to_n_delay/count;



print \n;

print GeneratedPackets =  generatedpackets;

print ReceivedPackets =  receivedPackets;

print Packet Delivery Ratio =  receivedPackets/generatedpackets*100 %;

print Total Dropped Packets =  droppedPackets;

print Average End-to-End Delay =  n_to_n_delay * 1000  ms;

print \n;

}

  


[ns] Runtime Bandwidth

2013-08-20 Thread Shahid Hussain Abbassi


Dear NS Users

I am facing problem in checking Runtime Bandwidth available on any Link in 
Wired cum wireless scenarios. Kindly help

Best Regards

Shahid H Abbassi
  


[ns] FW: Runtime Bandwidth

2013-08-22 Thread Shahid Hussain Abbassi

Dear NS users

Previous problem is over with selection of DSDV instead of AODV. Is it the 
problem with NS2 installation or any thing else?

Further an warning is appearing as below:

mobile/tworayground.cc: TwoRayGround propagation model assume flat ground

Can any one guide.

Best Regards

Shahid H Abbassi


From: hamja...@hotmail.com
To: ns-users@isi.edu
Subject: Runtime Bandwidth
Date: Tue, 20 Aug 2013 07:25:52 +





Dear NS Users

I am facing problem in checking Runtime Bandwidth available on any Link in 
Wired cum wireless scenarios. Kindly help

Best Regards

Shahid H Abbassi