[ns] [CFP] IEEE Access Journal -- Special Section on Smart Grids: A Hub of Interdisciplinary Research

2015-08-02 Thread Mubashir Rehmani
Dear All, Please find below a call for papers for IEEE Access. Please accept our apologies if you receive multiple copies of this announcement. --- CALL FOR PAPERS Special Section in IEEE Access Smart Grids: A Hub of Interdisciplinary Research Submission Deadline: September 30, 2015

[ns] [CFP] IEEE Access Journal -- Special Section on Smart Grids: A Hub of Interdisciplinary Research

2015-07-01 Thread Mubashir Rehmani
Dear All, Please find below a call for papers for IEEE Access. Please accept our apologies if you receive multiple copies of this announcement. --- CALL FOR PAPERS Special Section in IEEE Access Smart Grids: A Hub of Interdisciplinary Research Submission Deadline: September 30, 2015

[ns] [CFP] Elsevier Ad Hoc Networks Journal [IF=1.94] -- SI on Cognitive Radio based Smart Grid: The Future of the Traditional Electrical Grid

2015-05-15 Thread Mubashir Rehmani
Dear All, Please find below a call for papers for the Special Issue of the Elsevier Ad Hoc Networks Journal on Cognitive Radio based Smart Grid: The Future of the Traditional Electrical Grid. Please accept our apologies if you receive multiple copies of this announcement. --- Call for

[ns] [CFP] Elsevier Ad Hoc Networks Journal [IF=1.94] -- SI on Cognitive Radio based Smart Grid: The Future of the Traditional Electrical Grid

2015-05-07 Thread Mubashir Rehmani
Dear All, Please find below a call for papers for the Special Issue of the Elsevier Ad Hoc Networks Journal on Cognitive Radio based Smart Grid: The Future of the Traditional Electrical Grid. Please accept our apologies if you receive multiple copies of this announcement. --- Call for

[ns] [CFP] IEEE Access Journal -- Special Section on Smart Grids: A Hub of Interdisciplinary Research

2015-04-30 Thread Mubashir Rehmani
Dear All, Please find below a call for papers for IEEE Access. Please accept our apologies if you receive multiple copies of this announcement. --- CALL FOR PAPERS Special Section in IEEE Access Smart Grids: A Hub of Interdisciplinary Research Submission Deadline: September 30, 2015

[ns] [CFP] IEEE Access Journal -- Special Section on Smart Grids: A Hub of Interdisciplinary Research

2015-04-16 Thread Mubashir Rehmani
Dear All, Please find below a call for papers for IEEE Access. Please accept our apologies if you receive multiple copies of this announcement. --- CALL FOR PAPERS Special Section in IEEE Access Smart Grids: A Hub of Interdisciplinary Research Submission Deadline: September 30, 2015

[ns] [CFP] Workshop on QoS and QoE in Wireless Communications/Networks (QoS-QoE 2015), in conjunction with IWCMC 2015 -- Deadline Extended

2015-03-04 Thread Mubashir Rehmani
[Please accept our apologies if you receive multiple copies of this Call for Paper (CFP).] *** CALL FOR PAPERS Workshop on QoS and QoE in Wireless Communications/Networks (QoS-QoE

[ns] [CFP] Elsevier Ad Hoc Networks Journal [IF=1.94] -- SI on Cognitive Radio based Smart Grid: The Future of the Traditional Electrical Grid

2015-02-28 Thread Mubashir Rehmani
Dear All, Please find below a call for papers for the Special Issue of the Elsevier Ad Hoc Networks Journal on Cognitive Radio based Smart Grid: The Future of the Traditional Electrical Grid. Please accept our apologies if you receive multiple copies of this announcement. --- Call for

[ns] [CFP] Elsevier Ad Hoc Networks Journal [IF=1.94] -- SI on Cognitive Radio based Smart Grid: The Future of the Traditional Electrical Grid

2015-02-08 Thread Mubashir Rehmani
Dear All, Please find below a call for papers for the Special Issue of the Elsevier Ad Hoc Networks Journal on Cognitive Radio based Smart Grid: The Future of the Traditional Electrical Grid. Please accept our apologies if you receive multiple copies of this announcement. --- Call for

[ns] [CFP] Workshop on QoS and QoE in Wireless Communications/Networks (QoS-QoE 2015), in conjunction with IEEE IWCMC 2015

2015-01-28 Thread Mubashir Rehmani
[Please accept our apologies if you receive multiple copies of this Call for Paper (CFP).] *** CALL FOR PAPERS Workshop on QoS and QoE in Wireless Communications/Networks (QoS-QoE

[ns] [CFP] Workshop on QoS and QoE in Wireless Communications/Networks (QoS-QoE 2015), in conjunction with IEEE IWCMC 2015

2015-01-09 Thread Mubashir Rehmani
[Please accept our apologies if you receive multiple copies of this Call for Paper (CFP).] *** CALL FOR PAPERS Workshop on QoS and QoE in Wireless Communications/Networks (QoS-QoE

[ns] [CFP] Workshop on QoS and QoE in Wireless Communications/Networks (QoS-QoE 2015), in conjunction with IEEE IWCMC 2015

2014-12-10 Thread Mubashir Rehmani
[Please accept our apologies if you receive multiple copies of this Call for Paper (CFP).] *** CALL FOR PAPERS Workshop on QoS and QoE in Wireless Communications/Networks (QoS-QoE

[ns] [CFC] Emerging Communication Technologies Based on Wireless Sensor Networks: Current Research and Future Applications - CRC Press, Taylor Francis Group, USA

2014-10-18 Thread Mubashir Rehmani
Dear colleagues, Please find below a call for book chapters for our edited book entitled Emerging Communication Technologies Based on Wireless Sensor Networks: Current Research and Future Applications to be published by CRC Press, Taylor Francis Group, USA. Please accept our apologies if you

[ns] [CFP] Elsevier PMC Journal [IF=1.66] SI on Recent Developments in Cognitive Radio Sensor Networks -- FIRM DEADLINE 30 Sep 2014

2014-08-30 Thread Mubashir Rehmani
Dear All, Please find below a call for papers for the Special Issue of the Pervasive and Mobile Computing Journal on Recent Developments in Cognitive Radio Sensor Networks. Please accept our apologies if you receive multiple copies of this announcement. --- Call for Papers for the

[ns] [CFP] Elsevier PMC Journal [IF=1.629] SI on Recent Developments in Cognitive Radio Sensor Networks -- Deadline 31 Aug 2014

2014-08-01 Thread Mubashir Rehmani
Dear All, Please find below a call for papers for the Special Issue of the Pervasive and Mobile Computing Journal on Recent Developments in Cognitive Radio Sensor Networks. Please accept our apologies if you receive multiple copies of this announcement. --- Call for Papers for the

Re: [ns] Node Position

2014-05-05 Thread Mubashir Rehmani
Dear Najma, Yes, you can get the node position whenever and where ever you require in ns2. For instance, when you declare the grid in tcl script and read the nodes initial position and movement pattern from a file, all these information is stored in the variables in mobilenode.cc file. Now lets

[ns] [CFP] Elsevier PMC [IF=1.629] SI on Recent Developments in Cognitive Radio Sensor Networks

2014-05-04 Thread Mubashir Rehmani
Dear colleagues, Please find below a call for papers for the Special Issue of the Pervasive and Mobile Computing Journal on Recent Developments in Cognitive Radio Sensor Networks. Please accept our apologies if you receive multiple copies of this announcement. --- Call for Papers for

[ns] (Firm Deadline) Call for Book Chapters: Cognitive Radio Sensor Networks: Applications, Architectures, and Challenges

2013-06-16 Thread Mubashir Rehmani
*Please accept our apologies if you receive multiple copies of this call for book chapters.* *** CALL FOR CHAPTER PROPOSALS Proposal Submission Deadline: July 15, 2013 (Firm Deadline) Cognitive Radio Sensor Networks:

[ns] [NS-ANS] Re: network coding in ns2

2011-09-26 Thread Mubashir Rehmani
Hi, You can find it here: *SOURCE # 1:* http://telecom.dei.unipd.it/pages/read/58/ NS2 Simulation Code for Wireless Network Coding The package below provides the random network coding modules for ns2.27. ns2 Simulation Code for Wireless Network

[ns] [NS-ANS] Re: Finding the neighbour nodes of a mobile node

2011-09-20 Thread Mubashir Rehmani
Hi, You can use the following methods to discover neighbors: 1. Use Hello Packets for *neighbor* discovery. 2. Use Communication range for neighbour discovery. 3. Use Nodes Positions for *neighbor* discovery. So, it totally depends upon you, how you discover your neighbours. But i would suggest

[ns] [NS-ANS] Re: Finding the neighbour nodes of a mobile node

2011-09-20 Thread Mubashir Rehmani
Hi, You can use the following methods to discover neighbors: 1. Use Hello Packets for *neighbor* discovery. 2. Use Communication range for neighbour discovery. 3. Use Nodes Positions for *neighbor* discovery. So, it totally depends upon you, how you discover your neighbours. But i would suggest

[ns] [NS-ANS] Re: lte module

2011-09-15 Thread Mubashir Rehmani
Hi, See this, it may help you http://ru6.cti.gr/ru6/umts_home.php http://code.google.com/p/lte-model/ http://nsnam.isi.edu/nsnam/index.php/Contributed_Code Regards Mubashir Husain Rehmani On 15 September 2011 17:09, Ziqiang Chen zq.chenm...@gmail.com wrote: Are there any lte modules

[ns] NS-2 recompiling problem [On behalf of Muhammad Shoaib SALEEM]

2011-09-11 Thread Mubashir Rehmani
Dear NS Users , I am having recompiling problem with ns2. I am using ns 2.34 version on ubuntu 10.04 LTS. I am working on aodv protocol. The problem comes whenever i enable or disable the HELLO packets. For the first time when i recompile ns 2 it works fine. But again when i enable or disable

[ns] [NS-ANS] Re: Simulate IDS for MANET in NS-2

2011-09-05 Thread Mubashir Rehmani
Hi, You can find some ints about IDS in ns2 here: http://apachepersonal.miun.se/~qinwan/resources.htm http://arqos.csc.ncsu.edu/software.htm Best Regards Mubashir Husain Rehmani Lip6/UPMC, Paris, France On 5 September 2011 14:19, samira h samira...@gmail.com wrote: Dear all, I'm going to

Re: [ns] Simulate IDS for MANET in NS-2

2011-09-05 Thread Mubashir Rehmani
Hi, You can find some ints about IDS in ns2 here: http://apachepersonal.miun.se/~qinwan/resources.htm http://arqos.csc.ncsu.edu/software.htm Best Regards Mubashir Husain Rehmani Lip6/UPMC, Paris, France On 5 September 2011 14:19, samira h samira...@gmail.com wrote: Dear all, I'm going to

Re: [ns] [Help] Wireless multicast - in wireless mesh networks

2011-09-01 Thread Mubashir Rehmani
Hi, Here is some contributed code about multicasting in ns2. http://nsnam.isi.edu/nsnam/index.php/Contributed_Code#Multicast Multicast 1. *Codes* - *Author*: Jon Crowcroft http://www.cs.ucl.ac.uk/staff/jon - *Description*: Codes used for simulation work in the following

Re: [ns] [Help] Wireless multicast - in wireless mesh networks

2011-09-01 Thread Mubashir Rehmani
Hi, Here is some contributed code about multicasting in ns2. http://nsnam.isi.edu/nsnam/index.php/Contributed_Code#Multicast Multicast 1. *Codes* - *Author*: Jon Crowcroft http://www.cs.ucl.ac.uk/staff/jon - *Description*: Codes used for simulation work in the following

Re: [ns] [NS-ANS] Re: multicast routing

2011-08-21 Thread Mubashir Rehmani
:29, Mubashir Rehmani mshrehm...@gmail.com wrote: Hi, Here is the list of multicast codes in ns2: Multicast 1. *Codes* - *Author*: Jon Crowcroft http://www.cs.ucl.ac.uk/staff/jon - *Description*: Codes used for simulation work in the following papers are available

Re: [ns] How to get node's transmit power from routing protocol file?

2011-06-01 Thread Mubashir Rehmani
:* Mubashir Rehmani mshrehm...@gmail.com *To:* ns-users ns-users@isi.edu *Cc:* Ghofrane ghofrane1...@yahoo.com *Sent:* Wednesday, June 1, 2011 11:08 PM *Subject:* Re: [ns] How to get node's transmit power from routing protocol file? Hello Ghofrane, The aodv.cc file does not contain

Re: [ns] AODV - Dijkstra - NS2

2011-04-26 Thread Mubashir Rehmani
Hello Shariq, Dijkstra is already implement in ns2, you can get some insight from here: http://www-rp.lip6.fr/ns-doc/ns226-doc/html/dijkstra_8cc-source.htm Best Regards Mubashir Husain Rehmani On 26 April 2011 13:55, Shariq Mahmood Khan shariq@hotmail.com wrote: Hi , I want to

Re: [ns] [Very Urgent] Error of PUMA multicasting in multiple radio multiple channel network

2011-04-25 Thread Mubashir Rehmani
Hi Ejaz, In fact, the CRCN patch has an array that maintains the number of channels at the routing layer. When you run any other routing protocol except the aodv or wcett provided with the CRCN patch, it will give you an error. Because, other protocols are not configured to work with multiple

Re: [ns] Neighbor node in AODV

2011-04-17 Thread Mubashir Rehmani
Hi Jay, Please see this tutorial on aodv protocol in ns2, it will help you... http://www-npa.lip6.fr/~rehmani/aodv_v2.pdf 1. For neighbor list, see this... http://old.nabble.com/neighbor-discovery-in-wireless-simulation-td20287516.html#a20357220 2. You need to create a neighbor list in node.cc

Re: [ns] dsdv protocol

2011-03-10 Thread Mubashir Rehmani
Hi, See this: http://masimum.dif.um.es/nsrt-howto/pdf/nsrt-howto.pdf Best Regards Mubashir Husain Rehmani Lip6/UPMC, Paris, France 2011/3/10 wee liang ahtoo...@hotmail.com hi al, does any1 know whatare the steps to add in a new protocoL? -- Mubashir Husain Rehmani

Re: [ns] how to get source code of zigbee in ns2

2011-03-08 Thread Mubashir Rehmani
Hello, See this: - IEEE 802.15.4 extensions to ns-2.26 and 2.27 are now available. The code works with ns 2.26 and 2.27 and has been tested on Linux/Solaris/FreeBSD. There are README, test/demo scripts. Code is at http://www-ee.ccny.cuny.edu/zheng/pub. Contact Jianliang

Re: [ns] how to get source code of zigbee in ns2

2011-03-08 Thread Mubashir Rehmani
: 2.26 or above OS: Linux, Sun Solaris and FreeBSD Note: The code has been included in the core release of ns 2.28. I am confusing ! At 2011-03-08 23:10:43,Mubashir Rehmani mshrehm...@gmail.com wrote: Hello, See this: - IEEE 802.15.4 extensions to ns-2.26 and 2.27 are now

Re: [ns] how to get source code of zigbee in ns2

2011-03-08 Thread Mubashir Rehmani
At 2011-03-08 23:26:49,Mubashir Rehmani mshrehm...@gmail.com wrote: Hello, Zig Bee Routing is included in the new version of ns2 (ns 2.32), see the folder wpan in the ns2 main directory. They have also included the pdf tutorial there. Best Regards 2011/3/8 兰天 lantian0...@163.com hi, http

Re: [ns] Basic Rate and Data Rate

2011-03-03 Thread Mubashir Rehmani
Hi Amir, In the following document Section 1.8.4, it is written that: *All the control packets would be transmitted through the basicRate_ which is mostly 1Mbps, configuration is in the file ns2/tcl/lan/ns-mac.tcl; All the data packet would be transmitted through the dataRate_ which is also

Re: [ns] interference model

2011-02-22 Thread Mubashir Rehmani
in range when a msg is sent get delay time increased by a factor distance/speed of light, and why this happens inside a square? Also I'm not seeing any reference to noise, so it seems that it is not even a AWGN channel. Érico V. Porto On Tue, Feb 22, 2011 at 2:39 PM, Mubashir Rehmani mshrehm

Re: [ns] interference model

2011-02-22 Thread Mubashir Rehmani
in range when a msg is sent get delay time increased by a factor distance/speed of light, and why this happens inside a square? Also I'm not seeing any reference to noise, so it seems that it is not even a AWGN channel. Érico V. Porto On Tue, Feb 22, 2011 at 2:39 PM, Mubashir Rehmani mshrehm

Re: [ns] Adding a new Route Entry in AODV routing tables

2011-02-03 Thread Mubashir Rehmani
Hello, This tutorial may be useful to you: http://www-npa.lip6.fr/~rehmani/aodv_v2.pdf Moreover, after making any changes, do not forget to do: make clean make sudo make install As far as your question is concerned, you can include a packet field in the AODV packet header and propagate the

Re: [ns] how to find the current position of mobile nodes?Urgent please

2011-02-02 Thread Mubashir Rehmani
Hi, See this: http://old.nabble.com/Get-node-positions-in-C%2B%2B-td20349414.html#a20349583 Best Regards On 3 February 2011 08:25, Amrutha anitha1990@gmail.com wrote: Hello, Im doing my project in ns2.I want to find out the current position of the mobile node.Help me if you

Re: [ns] Adding a new command

2011-01-31 Thread Mubashir Rehmani
Hi, Please try to access the mac command() by writing the following commands in your tcl script: setMub_Mac_(0) [$node_(0) set mac_(0)] $ns_ at 0.0 $Mub_Mac_(0) *myfunction* 1; Define *myfunction* in the Command of Mac802_11...Once the handler is in myfunction of Command of

Re: [ns] Unite in NS2 topology (m or km) ??

2011-01-12 Thread Mubashir Rehmani
Hello, The grid size is in meters. Thanks Regards Mubashir Husain Rehmani On 12 January 2011 12:19, El hadi Cherkaoui e_cherka...@yahoo.fr wrote: Dear all, I want to know what is the default unite of distance in NS2, (metter or kilometer ) when I create a sample topology: set opt(x)

Re: [ns] multichannel interface

2011-01-10 Thread Mubashir Rehmani
Hello, This could be easily done. Please take a look at the aodv.cc file (sendHello()) function of the CRCN patch, in which a loop is declared to send the packets on multiple interfaces. But you need to specifiy the channel in the packet header, so that the mac layer transmit on that channel.

Re: [ns] good way to access node id in *.cc files?

2010-07-12 Thread Mubashir Rehmani
Hi Sarthak, One option is to use the index variable to print the node id but remember that the value of index varies under different functions. In fact, at any particular time, the value of index will print the node id which is under consideration by the ns2. Second option is that you can get

Re: [ns] good way to access node id in *.cc files?

2010-07-12 Thread Mubashir Rehmani
Hi Sarthak, You can also get the node id like this Total number of Nodes: God::instance()-nodes(); Node ID: Node::*nodeid*(); Don't forget the include God.h You can access this node id which is mention in Node.cc File in a C++ file by using Node* thisnode = Node::get_node_by_address(n_id);

[ns] tutorial on multi-channel multi-interface support provided by Cognitive Radio Cognitive Network (CRCN) patch of ns2

2010-07-06 Thread Mubashir Rehmani
Hello All, A tutorial on multi-channel multi-interface support provided by CRCN patch of ns2 can be found below: http://www-npa.lip6.fr/~rehmani/wcett_v1.pdf Thanks Regards -- Mubashir Husain Rehmani Lip6, UPMC, Paris, France

[ns] Multi-channel Multi-radio patches (NS-2)

2010-06-03 Thread Mubashir Rehmani
Hello Everybody, Here are some patches for multi-channel multi-radio support in ns2. - Hyacinth: An IEEE 802.11 based multi channel wireless mesh network http://www.ecsl.cs.sunysb.edu/multichannel/ - Multi channel multi interfaces simulation

Re: [ns] IEEE802.11 PSM's source codes!

2010-06-02 Thread Mubashir Rehmani
Hi Elham Noori, You may find it here: http://sarwiki.informatik.hu-berlin.de/Network_Simulator_ns2 http://nspme.sourceforge.net/ http://nsnam.isi.edu/nsnam/index.php/Contributed_Code Regards Mubashir Husain Rehmani Lip6, UPMC, Paris, France On 2 June 2010 13:50, Elham Noori elha...@gmail.com

Re: [ns] How to get the routing information from DSR

2010-05-26 Thread Mubashir Rehmani
Hi Ruilie Lin, See this very informative FAQs on DSR protocol in ns2. I hope that it will help you. Regards Mubashir Husain Rehmani Lip6, UPMC, Paris, France On 26 May 2010 14:25, RJ Lin rj@bristol.ac.uk wrote: Hello Everyone, Is it able to get the source routing for a path which a

Re: [ns] Mobilenode Movement?

2010-05-26 Thread Mubashir Rehmani
Hi, There are several mobility models that mobile nodes can follow. These mobility models can be included in the tcl file. Please use BonnMotion to generate these mobility models: The BonnMotion provides the following mobility models: Gauss Markov Manhattan Grid Random Waypoint RPGM

Re: [ns] Compute Throughput in NS-2

2010-05-23 Thread Mubashir Rehmani
Hi Vaibhav Tayal, Here is a very nice link to calculate throughput, jietter etc. http://mohittahiliani.blogspot.com/2009/12/awk-script-for-ns2.html Regards Mubashir Husain Rehamni Lip6, UPMC, Paris, France On 23 May 2010 11:32, vaibhav tayal vaibhav.b...@gmail.com wrote: Sir, I want to

Re: [ns] Changing the sources file

2010-05-17 Thread Mubashir Rehmani
Hi Faraz, You need to recompile ns2, so that the changes taken into effect by using make clean make sudo make install Moreover, it may happen that the printf that you inserted may not be encountered by the program pointer. I mean, you need to put prinft in the appropriate position of the mac

Re: [ns] Data rate for Mac/802_11

2010-05-17 Thread Mubashir Rehmani
Hi Mucktar, Use this command in your tcl script (vary the datarate as per your requirement) Mac/802_11 set dataRate_ 11Mb Mac/802_11 set basicRate_ 2Mb For more help: http://www.joshuarobinson.net/docs/ns-802_11b.html

Re: [ns] how change can effect in AODV code

2010-04-21 Thread Mubashir Rehmani
Hi Umang Joshi, To make the changes taken into effect, you need to do this: make clean; make; sudo make install; See this tutorial also, it may help you http://www-npa.lip6.fr/~rehmani/aodv_v2.pdf Regards Mubashir Husain Rehmani Lip6, UPMC, Paris, France On 21 April 2010 12:11, umang joshi

[ns] Fwd: want some help on mesh network

2010-04-07 Thread Mubashir Rehmani
Hi, Please see this link where you can find several patches regarding mesh network implementation in ns2 http://nsnam.isi.edu/nsnam/index.php/Contributed_Code Regards Mubashir Husain Rehmani Lip6, UPMC, Paris, France 2010/4/7 lianxiaoxu lianxia...@126.com Hello everyone: From the

Re: [ns] FW: CR routing in ns2

2010-03-05 Thread Mubashir Rehmani
Hi Omar Jan, See this link http://old.nabble.com/Ns2-patch-for-Cognitive-Radio-Networks-(CRNs)-td23317014.html#a23317014 Regards Mubashir Husain Rehmani On 5 March 2010 12:46, Omar Jan omar.ah...@gmx.de wrote: Hi there, Anyone work on cognitive radio in NS2? I've an idea in routing

Re: [ns] Help me

2009-10-09 Thread Mubashir Rehmani
Hi, See these links http://www.nabble.com/Finding-Neighbors-of-a-Mobile-Node.-td21019174.html#a21019289 Regards Mubashir Husain Rehmani 2009/10/9 Sebastian Terence.J jsebi...@gmail.com Hi Friends, I want to know how to discover neighbor nodes in mobile environment. If any one know

Re: [ns] TORA Simulation hangs/stops at a point

2009-10-01 Thread Mubashir Rehmani
Hi, I am sending you the file of tora.cc in which you can see on line number 380 that the error comes in recvQRY() function http://www-rp.lip6.fr/ns-doc/ns226-doc/html/tora_8cc-source.htm So, this is the source of the error. Hope it helps Regards Mubashir Husain Rehmani Lip6, UPMC, Paris,

Re: [ns] What does LIST_ENTRY(AODV Neighbor) nb_link; mean in AODV code

2009-09-13 Thread Mubashir Rehmani
Hi Bringo Shawn, Basically in ns2, there are five different types of data structures defined in the file bsd-list.h. The name of these structures are singly-linked list, slingly-linked tail queues, lists, tail queues, and circular queues.

Re: [ns] Simulation Status

2009-07-03 Thread Mubashir Rehmani
Hi Nicholas, Yes, it is possible. You need to incorporate this header file in your .cc file #includefstream.h ofstream abc(file1.tr); and then print anything (any variable you want to monitor) at any simulation time by using this format: if(Scheduler::instance().clock() == 10) { abcMy name is

Re: [ns] NS2 debugger

2009-07-01 Thread Mubashir Rehmani
Hi Here are a very nice link for debugging ns2 with DDD. http://pauseandreconsider.blogspot.com/2007/07/debugging-ns-2.html Regards Mubashir Husain Rehmani Lip6, UPMC, Paris, France 2009/7/1 qweq adcsad nill_akaser_t...@yahoo.com Hello, I am trying to debug NS2 with DDD. I compiled

[ns] Trouble understanding NAM visualization of 802.11

2009-06-29 Thread Mubashir Rehmani
Hi Gokul Bhat, Here is the answer to your question: s and r indicates that you send and receive the packets respectively. RTR means network layer and AGT means application layer. Here is the full description of trace format: To find the interpretation of all possible trace format when you do

Re: [ns] Trouble understanding NAM visualization of 802.11

2009-06-29 Thread Mubashir Rehmani
, ACK packets. Can anyone tell me is there any software or any online resource that I can use to understand the cmu-trace.cc file? On Mon, Jun 29, 2009 at 8:13 AM, Mubashir Rehmani mshrehm...@gmail.com wrote: Hi Gokul Bhat, Here is the answer to your question: s and r indicates

Re: [ns] Trouble understanding NAM visualization of 802.11

2009-06-29 Thread Mubashir Rehmani
gokul bhat gb...@ufl.edu Also, Is it possible to get a class diagram for the mac.cc file?? It would really help me. On Mon, Jun 29, 2009 at 9:19 AM, gokul bhat gb...@ufl.edu wrote: Thanks a lot for your help. On Mon, Jun 29, 2009 at 9:02 AM, Mubashir Rehmani mshrehm...@gmail.com wrote

[ns] Ns2 patch for Cognitive Radio Networks (CRNs)

2009-04-30 Thread Mubashir Rehmani
Hi All, A patch for Cognitive Radio Networks can be found here: http://stuweb.ee.mtu.edu/~ljialian/ Regards -- Mubashir Husain Rehmani http://www-npa.lip6.fr/~rehmani/ Lip6, UPMC, Paris, France

Re: [ns] how to implement overhearing by neighborhood nodes in manet protocol( DSR )?

2009-04-26 Thread Mubashir Rehmani
Hi Sangameshwar, Nodes overhear and check the packet. If the packet is not destined to them, discard the packet. This is happening at the MAC layer. So, you should see the mac layer. MAC_802.11 code in recv_timer: if(dst != (u_int32_t)index_ dst != MAC_BROADCAST) { /*

Re: [ns] how to get the coordinates of the nodes in evrey period of time

2009-03-24 Thread Mubashir Rehmani
Hi, Try to use timers to get the coordinates of the nodes periodically. See ns2 manual for timers. Regards Mubashir Husain Rehmani 2009/3/24 anas saba717...@hotmail.com Dear users how to get the coordinates of the nodes in evrey period of time Regards Anas -- Mubashir Husain

Re: [ns] request about NIST mobility package

2009-03-23 Thread Mubashir Rehmani
Hi, You can find a great link for ns2 contributed code http://nsnam.isi.edu/nsnam/index.php/Contributed_Code Regards Mubashir Husain Rehmani http://www.irisa.fr/asap/Members/mrehmani/Mubashir 2009/3/23 sofia insat sofia.in...@yahoo.fr hi , I'm working on vertical handover between umts and

Re: [ns] AODV whith no hello msg

2009-03-18 Thread Mubashir Rehmani
Hi Sarym Comment the following two lines in aodv.cc 00092 #ifndef AODV_LINK_LAYER_DETECTION 00095 #endif // LINK LAYER DETECTION and then do make make clean sudo make install and you will see **hello** packets in your trace file. Regards Mubashir Husain Rehmani www-npa.lip6.fr/~rehmani

Re: [ns] the function generating a node in NS2.33

2009-03-11 Thread Mubashir Rehmani
Hi Nadine, The objects of nodes are created in Node.cc, present in the common folder of ns2. http://rp.lip6.fr/ns-doc/ns226-doc/html/node_8cc-source.htm http://rp.lip6.fr/ns-doc/ns226-doc/html/node_8h.htm Regards Mubashir Husain Rehmani www-npa.lip6.fr/~rehmani

Re: [ns] Walls and structure in ns-2

2009-03-10 Thread Mubashir Rehmani
Hi Faraz I just want to share you a trick that you can use to simulate walls and roofs with different physical channel characteristics. Walls and structures impacts over the channel physical characteristics. It means that if you have two rooms with two different antennas, the overall impact

Re: [ns] Energy consumption for mobile nodes not receiving/transmitting

2009-03-10 Thread Mubashir Rehmani
Hi Salvo, Yes, it is normal. For instance there are 10 nodes that are within the range of each other. If node 1 sends packet to node 10, then all the nodes overhear the packet, and discard the packet (because the packet is not destined to it). Thus, it is obvious that, in this case, nodes will

Re: [ns] packet forwarding

2009-03-10 Thread Mubashir Rehmani
i change the dst and src address dynamically. Can you please give me a little more insight about it, or fwd me a link from where I can follow in detail. thanks again, Regards, Gaurav. On Tue, Mar 10, 2009 at 3:24 AM, Mubashir Rehmani mshrehm...@gmail.comwrote: Hi Gaurav Joshi

Re: [ns] Capturing Packets

2009-03-01 Thread Mubashir Rehmani
Hi Sri Charan, Yes it is possible. You need to work in the recv() packet function and dump the contents of all the packet in the trace file. Regards Mubashir Husain Rehmani ASAP/INRIA and LIP6, UPMC www-rp.lip6.fr/~rehmani http://www-rp.lip6.fr/%7Erehmani

Re: [ns] how to forward packets based on probability

2009-02-18 Thread Mubashir Rehmani
a rigorous probability-based mechanism. In fact, the packet may not be forwarded even with a probability of 90%. But using your method, it must be forwarded if only the probability exceeds a threshold. Any other ideas? Regards, Phenix From: Mubashir Rehmani Sent: Wednesday, February 18

Re: [ns] how to forward packets based on probability

2009-02-17 Thread Mubashir Rehmani
Hi Phenix, To forward a packet with certain probability, you need to include an if condition in the sendPkt() function. It should be something like this: If(probability 0.5) { Scheduler::instance().schedule(target_, p, delay); } in the SendPkt() function. Hope it helps Regards Mubashir

Re: [ns] limiting the neighboring radius in NS2.33:please help

2009-01-29 Thread Mubashir Rehmani
Hi Nadine, One way to reduce the number of neighbors is to reduce the average node density. For example, you have a network of 100 nodes, then you can control the number of nodes, let's say each node can have 10 neighbors or each node can have 20 neighbors. To achieve this, you can vary the grid

Re: [ns] Setting mobile node position for large number of nodes

2009-01-28 Thread Mubashir Rehmani
Hi Arslan Yes, the easy way to set the position of mobile nodes is to load a scenario file. You can generate a scenario file of as many nodes as your want, placed randomly with different node density. Try to use BonnMotion and then convert the file into ns2 format.

Re: [ns] example on aodv simulation

2009-01-22 Thread Mubashir Rehmani
Hi Samar asf, You can use the following code to run a simple example of aodv. # A 3-node example for ad-hoc simulation with AODV # Define options set val(chan) Channel/WirelessChannel;#

Re: [ns] number of neighbors

2009-01-21 Thread Mubashir Rehmani
Hi Dinesh Nagare, - To find the average number of neighbors, first you need to know the neighbors of each and every node, then you will be able to calculate the average number of neighbors. - You can easily include IEEE 802.11 protocol in your simulation by using this command

Re: [ns] how to generate graph in wireless scenario

2009-01-20 Thread Mubashir Rehmani
Hi As far as gnuplot is concerned, its very easy and there is no need of any language to learn it. I am sending you two very simple files. what you have to do is: 1. Install gnuplot in your linux (ubuntu) distribution. 2. Once you are in the directory of gnuplot, just write gnuplot at the

Re: [ns] segmentation fault

2009-01-08 Thread Mubashir Rehmani
Hi Dasari Mallikarjuna Look at this link to resolve the problem of segmentation fault. http://article.gmane.org/gmane.network.simulator.isi/2766/match=segmentation+fault Besides this, after making any changes in c++ code of ns2, do this: make clean make sudo make install Regards Mubashir Lip6,

Re: [ns] How to get the current simulation time in ns2? Or how to know the remaining time of a timer?

2009-01-05 Thread Mubashir Rehmani
Dear Matt Wood To know the current time in C++ files of ns2, you can use these commands #define CURRENT_TIMEScheduler::instance().clock() coutCURRENT_TIMEendl; Hope it helps Regards Mubashir Lip6, UPMC, Paris, France 2009/1/5 matt Wood withhighp...@gmail.com Dear all, I want to

Re: [ns] QoS AODV

2008-12-29 Thread Mubashir Rehmani
Hi Rashedul Arefin - For route selection based on bandwidth, delay, and jitter, you should collect the information from the lower layers like MAC and based upon that, you can select the best route in AODV. - There is already a neighbor table present in AODV.cc. If you want your own customize

Re: [ns] QoS AODV

2008-12-29 Thread Mubashir Rehmani
Hi Rashedul Arefin - For route selection based on bandwidth, delay, and jitter, you should collect the information from the lower layers like MAC and based upon that, you can select the best route in AODV. - There is already a neighbor table present in AODV.cc. If you want your own customize

Re: [ns] Finding Neighbors of a Mobile Node.

2008-12-15 Thread Mubashir Rehmani
Hi Mayank Daga Neighbour Discovery in NS-2 is easy. You may have these options: 1. Use Hello Packets for neighbor discovery. 2. Use Communication range for neighbour discovery. 3. Use Nodes Positions for neighbor discovery. So, it totally depends upon you, how you discover your neighbours.

Re: [ns] how new link is added

2008-11-24 Thread Mubashir Rehmani
Hi Spyros You can find below two links that will help you to create multiple channels, multiple links, and multiple interfaces as well. http://www.cse.msu.edu/~wangbo1/ns2/nshowto8.html http://blog.chinaunix.net/u2/63367/showart_684833.html Regards Mubashir Husain Rehmani Lip6, UPMC, Paris,

Re: [ns] aodv.cc

2008-11-18 Thread Mubashir Rehmani
Hi, Making changes in AODV.cc is quite simple. For instance if you want to broadcast Hello messages then, you should do the following: Comment the following two lines in aodv.cc 00092 #ifndef AODV_LINK_LAYER_DETECTION 00095 #endif // LINK LAYER DETECTION and then do make make clean sudo make

Re: [ns] Energy Model

2008-11-17 Thread Mubashir Rehmani
Hi Ahmed I will suggest you to create your own energy model. Although it is difficult but it will be more scalable and will fulfil your needs. To do that i will suggest you to create a variable in the Node Class per node by declaring it in Node.cc as energy variable and consume the energy as you

Re: [ns] how use the sleep mode

2008-11-12 Thread Mubashir Rehmani
Hi Douglas To put the nodes in sleep mode, you can use a timer and your nodes will be in the sleep mode or in active mode as the timer expires and you can do this in Node.cc file. Hope it helps. Regards Mubashir Husain Rehmani Lip6, UPMC, Paris, France. 2008/11/12 Douglas Restrepo [EMAIL

Re: [ns] How to disable a mobileNode's movement

2008-11-11 Thread Mubashir Rehmani
Hi Mathiew Just include this line in your tcl script to disable motion of mobile nodes: $ns at 0.0 $node_($i) random-motion 0; # disable random motion Regards Mubashir Husain Rehmani Lip6, UPMC, Paris, France. 2008/11/11 Mathiew Moussa [EMAIL PROTECTED] Hello, If i have an

Re: [ns] simulation of UMTS in NS2

2008-11-08 Thread Mubashir Rehmani
Hi Esmat You can find the UMTS extensions of NS-2 here : http://net.infocom.uniroma1.it/reti_files/reti_downloads.htm http://www.geocities.com/opahostil/ Regards Mubashir Husain Rehmani LIP6, UPMC, Paris, France 2008/11/8 esmat shoja [EMAIL PROTECTED] Hi to all Ns_users, Does any one

Re: [ns] neighbor discovery in wireless simulation

2008-11-06 Thread Mubashir Rehmani
Hi Hamideh Neighbour Discovery in NS-2 is easy. You may have these options: 1. Use Hello Packets for neighbor discovery. 2. Use Communication range for neighbour discovery. 3. Use Nodes Positions for neighbor discovery. So, it totally depends upon you, how you discover your neighbours. Thanks

Re: [ns] -DDEBUG option

2008-11-05 Thread Mubashir Rehmani
Hi Farhan Hyder To debug ns do the following: 1. in the directory of tcl-debug: a) ./configure --with-tcl=path b) make clean c) make 2. in the directory of ns a) make clean b) ./configure --enable-debug --with-tcl=tcl path --with-tk=tk path --with-tcldebug=tcl-debug path c)make This TCL

Re: [ns] Get node positions in C++

2008-11-05 Thread Mubashir Rehmani
Hi Ivanovich Medeiroa You can get the node location in your c++ by using the following code: double x,y,z; Node* srcnode = 0 ; srcnode = Node::get_node_by_address(2); //put here the node id MobileNode* tmnode = (MobileNode*)srcnode; tmnode-getLoc(x, y, z); coutNode Location : x yendl; Hope it

Re: [ns] about AODV

2008-10-28 Thread Mubashir Rehmani
Hi, To broadcast Hello messages periodically, you should comment the following two lines in aodv.cc 00092 #ifndef AODV_LINK_LAYER_DETECTION 00095 #endif // LINK LAYER DETECTION and then do make make clean sudo make install and you will see hello packets in your trace file. Feel free to

Re: [ns] what's appen when you type $ns node

2008-10-28 Thread Mubashir Rehmani
Hi Davide Basically in ns2, nodes are objects that you create through tcl script. You can refer the file Node.cc http://www-rp.lip6.fr/ns-doc/ns226-doc/html/node_8cc-source.htm When you declare a node in ns2 (tcl script), then each node will either go to the Command function of Node.cc or

Re: [ns] recv() function in ns2 !

2008-10-26 Thread Mubashir Rehmani
class!!) can you help me? davide 2008/10/26 Mubashir Rehmani [EMAIL PROTECTED] Hi davide, Basically there are four types of routing strategies in ns2. 1. Static 2. Session 3. Dynamic 4. Manual And rtproto{} is an instance procedure in the class simulator that specifies the unicast

Re: [ns] recv() function in ns2 !

2008-10-25 Thread Mubashir Rehmani
Hi davide, Basically there are four types of routing strategies in ns2. 1. Static 2. Session 3. Dynamic 4. Manual And rtproto{} is an instance procedure in the class simulator that specifies the unicast routing protocol to be used in the simulation. Basically session routing provides complete

  1   2   >