[ns] help required

2012-06-18 Thread manonmani maligachar

Hi All,


How can i send user defined data payload between two nodes in NS2?

How can I display the contents at the receiver node?

Please reply to me as soon as possible.

Regards
manonmani


[ns] Help needed!!

2012-04-17 Thread manonmani maligachar

Hi all,

1.I have to use 802.16 in ns2.34. I followed the link from one of the site,
but is'nt working.
Please help me how to make 802.16 work.

2.I also have plotted a graph between to nodes which shows the lost (packet
dropped). Now how can i see packets dropped + packets sent = total packets.

3.I have simulated the VANET, but  have take RSU as one of the node, I feel
the RSU functionality should be different from the rest of the nodes. I
need some suggestions on this.

Regards
Manonmani


[ns] help on 802.16

2012-04-16 Thread manonmani maligachar

Hi all,

Can anyone tell me how to use 802.16 in ns2.34.

Thanks in advance.

Regards


[ns] Error while make command

2012-03-13 Thread manonmani maligachar

Hi All,


MAKE is giving me the following error.


mac/channel.cc:631: error: ‘class WirelessPhy’ has no member named
‘getAntennaZ’
mac/channel.cc:632: error: ‘class WirelessPhy’ has no member named
‘getAntennaZ’
mac/channel.cc:640: error: ‘class WirelessPhyExt’ has no member named
‘getPt’
mac/channel.cc:645: error: ‘class WirelessPhy’ has no member named ‘getDist’
mac/channel.cc:645: error: ‘class WirelessPhy’ has no member named
‘getCSThresh’
mac/channel.cc:645: error: ‘class WirelessPhy’ has no member named ‘getPt’
make: *** [mac/channel.o] Error 1

Please help!

Regards
Manonmani


[ns] VANET Simulation

2012-03-10 Thread manonmani maligachar

Hello,

I'm working on VANET project, and want to simulate it in NS-2.
Please help me how I can go about it?

Regards
Manonmani


[ns] Help required

2012-03-06 Thread manonmani maligachar

Hi all,
 How can I integrate IEEE 802.11p in NS-2.35?
 How can I set up VANET environment in NS-2.35?
 How can I go about streaming in VANET?


Regards
Manonmani


[ns] help required

2012-01-22 Thread manonmani maligachar

Hi all,

Can anybody tell how to obtain the coordinates of the node movements from
nam.

On Sun, Jan 22, 2012 at 4:28 AM, shoaib saleem shoaib.sal...@it-sudparis.eu
 wrote:


 Hi again ,

 ok what you can do is that the code which i wrote earlier , you can modify
 it a bit as follow

 *1. include Packet *p in the following function in aodv.h*

 void  rt_print(nsaddr_t node_id, Packet *p);

 *2.  In  aodv.cc   , in  **void  AODV::rt_print(nsaddr_t id, Packet* p ) *
include the following structure

 struct hdr_cmn *ch = HDR_CMN(p);

 *include ch -ptype() in the following line *

 fprintf (dumpFile,  NODE: %it %.4lft %it %it %it %it %it %.4lft %d \n,
 id, CURRENT_TIME, rt-rt_dst, rt-rt_nexthop, rt-rt_hops,
 rt-rt_seqno, rt-rt_expire, rt-rt_flags,*ch-ptype()*);

 *3.  Putrt_print(index,p);after the following lines in aodv.cc*

 if (ch-ptype() != PT_TCP  ch-ptype() != PT_ACK) {
 ch-size() += IP_HDR_LEN;

 }
 * rt_print(index,p);*
 *
 *
 *
 *
 *
 *
 *4.  Now make clean , make , sudo make install *
 *
 *
 *run your tcl script. you will have a rtable.txt file  with the following
 information. In ns-2.xx/common/packet.h file you have all types of packet
 defined in ns 2. Like for example, *
 *PT_TCP = 0 , PT_ AODV = 38 , PT_ACK = 5 . In rtable.txt , you have info
 about each node like in the first line , we have Node 0, sending 1st (1)
 PT_TCP packet = 0 at 13 sec .  Similary there two other packets PT_AODV =
 38 and PT_ACK = 5 . *

  NODE: 0  t 13.t 1t 0t 255t 0t 0t 0.t 0 n

  NODE: 0   t 19.t 1t 0t 255t 0t 0t 0.t 0 n

  NODE: 2   t 28.0059t 0t 0t 1t 14t 1t 38.0059t 38 n

  NODE: 0   t 31.t 2t 2t 1t 6t 1t 34.0012t 0 n
  NODE: 0   t 31.t 1t 0t 255t 0t 0t 0.t 0 n

  NODE: 0   t 34.5030t 2t 2t 1t 10t 1t 44.5030t 38 n
  NODE: 0   t 34.5030t 1t 0t 255t 0t 0t 0.t 38 n

  NODE: 0   t 39.0149t 2t 2t 1t 10t 1t 44.5030t 38 n
  NODE: 0   t 39.0149t 1t 2t 2t 6t 1t 49.0149t 38 n

 ..
 ..
 ..
 ..
 ..
 ..
 ..
  NODE: 1t 149.9275t 0t 0t 1t 48t 1t 159.9153t 5
  NODE: 0t 149.9293t 2t 2t 1t 60t 1t 150.5402t 0
  NODE: 0t 149.9293t 1t 1t 1t 34t 1t 159.9172t 0
  NODE: 0t 149.9315t 2t 2t 1t 60t 1t 150.5402t 0
  NODE: 0t 149.9315t 1t 1t 1t 34t 1t 159.9293t 0
  NODE: 1t 149.9414t 2t 0t 2t 60t 1t 150.5243t 5
  NODE: 1t 149.9414t 0t 0t 1t 48t 1t 159.9275t 5
  NODE: 1t 149.9513t 2t 0t 2t 60t 1t 150.5243t 5
  NODE: 1t 149.9513t 0t 0t 1t 48t 1t 159.9414t 5
  NODE: 1t 149.9614t 2t 0t 2t 60t 1t 150.5243t 5
  NODE: 1t 149.9614t 0t 0t 1t 48t 1t 159.9513t 5
  NODE: 0t 149.9632t 2t 2t 1t 60t 1t 150.5402t 0

 I hope this will help you a little to understand your problem

 Regards
 -- Forwarded message --
 From: Fatima Kader kader.el...@gmail.com
 Date: Sat, Jan 21, 2012 at 9:18 PM
 Subject:
 To: shoaib saleem shoaib.sal...@it-sudparis.eu


 ok sir, i have understand you, but i need all this information for another
 pupose, so i want each node calculate the number of data received from
 another node, and count another packet also, that's why i want to define an
 activity table independant and maintained by each node
 thanks in advance



 --
 [image: http://www.etudinfo.com/image/logo-ecole/telecom-sudparis.jpg]
 Muhammad Shoaib SALEEM
 PhD Student
 Wireless Networks  Multimedia Services Department
 Institut Télécom - Télécom SudParis
 9 Rue Charles Fourier 91011 Evry, France.
 Office: +33 1 60 76 43 91
 https://sites.google.com/site/shoaibsal/

 https://sites.google.com/site/shoaibsal/



[ns] simulation of vehicular Network

2012-01-16 Thread manonmani maligachar

Hi,


I want to simulate vehicular network. And I am not able to move 2 nodes in
parallel (like 2 vehicles in different lanes moving towards same direction)

Though i mention 2 different initial position, the nam is showing 2 nodes
in the same initial position.

Please somebody help me.

Regards
Manonmani