[ns] need some information about flat topology

2008-05-07 Thread Mubashir Rehmani
Hello, I am using NS 2.32 on ubuntu. I need to know about the following: 1. If i set $topo load_flatgrid 5 5 and we know that the default range of nodes in ns2 is 250m and i define the nodes coordinates as follows: $node_(0) set X_ 0.0 $node_(0) set Y_ 0.0 $node_(0) set Z_ 0.0 $node_(1) set X

[ns] need some information about flat topology

2008-05-07 Thread Mubashir Rehmani
Hello, I am using NS 2.32 on ubuntu. I need to know about the following: 1. If i set $topo load_flatgrid 5 5 and we know that the default range of nodes in ns2 is 250m and i define the nodes coordinates as follows: $node_(0) set X_ 0.0 $node_(0) set Y_ 0.0 $node_(0) set Z_ 0.0 $node_(1) set X

Re: [ns] TCL commands

2008-05-12 Thread Mubashir Rehmani
Hi I think that you should use the following commands to call Tcl command in your C++ code for instance, if you want to call $ns now in your C++ code then you may use this Tcl& tcl = Tcl::instance(); tcl.evalf("$ns now"); float g=atof(tcl.result()); the above command will get the curre

Re: [ns] node id in c++

2008-05-16 Thread Mubashir Rehmani
Hi, Yes you can get the node ID through this code Total number of Nodes: God::instance()->nodes(); Node ID: Node::nodeid(); Don't forget the include God.h Hope it works Regards 2008/5/15 anas abu_taleb <[EMAIL PROTECTED]>: > > Hi all > > I am trying to get the node id in the aodv and the u

[ns] How to place Wireless Node in flat gird (topology) of let's say 1000 by 1000 randomly without any hierarchy?

2008-05-16 Thread Mubashir Rehmani
Hi all, I have a question regarding node placement in flat grid. As we all know that there are many ways to declare node position in flat grid like: 1. Using ~ns/indep-utils/cmu-scen-gen to generate scenarios but it is specific for mobile nodes. 2. We can declare the node position in TCL scrip

[ns] Accessing Node by its ID ???

2008-05-19 Thread Mubashir Rehmani
Hi Everyone I want to access the node by its id I know how to get the current id of node that is currently dealing by NS2 by using the command Node::nodeid(); Basically the problem is that NS2 treats node by node and the above command return the nodeid which is in treatment by NS. And I wan

[ns] Reply to ragent_ question

2008-07-22 Thread Mubashir Rehmani
Hello You can declare ragent_ for instance in your tcl script like this: set ragent_($i) [$node_($i) set ragent_] $ns at $var "$ragent_($i) Myfunction" Then in your tcl script you can also have the ragent_ reference like this: puts "mubashir $ragent_(0)" puts "m

[ns] Answers to your questions !

2008-08-15 Thread Mubashir Rehmani
Hi Here are the answers: 1. I will suggest you to vary the size of the data packet to simulate different types of packets like TCP, SCTP, etc. 2. You can create your customize SendPacket() function in which you can send from one node to your specified node. See SendRequest() function in AODV.cc

Re: [ns] help on segmentation fault after adding a new agent

2008-08-18 Thread Mubashir Rehmani
Hello I think that you should do the following steps: make clean make sudo make install Hope it will help Regards 2008/8/18 Srirupa Dasgupta <[EMAIL PROTECTED]> > > Dear Ns-friends, I have added a new Agent with a new packet type > ..however I have made all the changes in ns-packet.tcl, ne-d

Re: [ns] how to access "this node id" in a c++ file?

2008-08-18 Thread Mubashir Rehmani
Hello Here is the answer to your question: 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); //you can also give index variable as an argument to this function cout<<"Node ID:\t" > Hi all, > > I was

Re: [ns] :help on interpretation of wireless trace file

2008-08-21 Thread Mubashir Rehmani
Hello "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 the wireless simulation, you'd better read t

Re: [ns] Help concearning broadcasting messages - protocols

2008-08-21 Thread Mubashir Rehmani
Hello You should use in the ip header ih->daddr() = IP_BROADCAST; like this. Hope it helps Regards Mubashir Husain Rehmani 2008/8/21 <[EMAIL PROTECTED]> > > Well.. I'm trying to learn how to implement protocols to NS2,30. And I did > not understand how to broadcast a message in wireless net

[ns] Interpretation of wireless trace file

2008-08-21 Thread Mubashir Rehmani
Hello Srirupa Dasgupta, 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

[ns] Broadcasting messages in ns2

2008-08-21 Thread Mubashir Rehmani
Hello Fernando You should use IP_BROADCAST in the ip header ih->daddr() = IP_BROADCAST; Hope it helps -- Mubashir Husain Rehmani Mobile : 00 33 (0)6 32 00 89 35

Re: [ns] Flow of AODV Protocol

2008-08-22 Thread Mubashir Rehmani
Hello Fernando I am telling you the flow of AODV Protocol. It may be useful to you. 1. In the TCL script one call the "start" and this start cause the pointer to come to the Command Function of AODV Protocol. 2. Then you can see in the Command of "start", you find two timers * btimer.handle(

[ns] Example of Simple Timer

2008-09-08 Thread Mubashir Rehmani
Hi Scott Novich Here is the example of simple timer *Declare this timer in the header fil**e* class MyTimer : public TimerHandler { public: MyTimer(AODV* ms) : TimerHandler() {ms_=ms;}; protected: virtual void expire(Event* e); AODV* ms_; }; MyTimer MS_timer_; *Declare in the

Re: [ns] regarding simulation of TORA

2008-09-12 Thread Mubashir Rehmani
Hi Geetha, This may be useful to you. http://article.gmane.org/gmane.network.simulator.isi/2766/match=segmentation +fault Hi, there is no "the" solution to *segmentation* *fault*s. From what I've seen on this list and in practice, there can be several causes: 1. you deleted a resource from wit

[ns] Answer to your question regarding segmentation fault

2008-09-12 Thread Mubashir Rehmani
Hi Geetha, There is no "the" solution to *segmentation* *fault*s. From what I've seen on this list and in practice, there can be several causes: 1. you deleted a resource from within TCL, causing pointers in C++ to point to memory regions no longer in use. Fix: be careful what you delete in

[ns] Answer to your question regarding segmentation fault

2008-09-12 Thread Mubashir Rehmani
Hi Geetha, There is no "the" solution to *segmentation* *fault*s. From what I've seen on this list and in practice, there can be several causes: 1. you deleted a resource from within TCL, causing pointers in C++ to point to memory regions no longer in use. Fix: be careful what you delete in

Re: [ns] how to add some logic to the UDP flow sending

2008-09-12 Thread Mubashir Rehmani
Hi Tatiana Polishchuk To control the UDP flow, you need to make some ammendments in the udp.cc and udp.h files. See the following links: http://www-rp.lip6.fr/ns-doc/ns226-doc/html/udp_8cc.htm http://www-rp.lip6.fr/ns-doc/ns226-doc/html/udp_8cc-source.htm http://www-rp.lip6.fr/ns-doc/ns226-do

Re: [ns] how to add some logic to the UDP flow sending

2008-09-12 Thread Mubashir Rehmani
Hi Tatiana Polishchuk To control the UDP flow, you need to make some ammendments in the udp.cc and udp.h files. See the following links: http://www-rp.lip6.fr/ns-doc/ns226-doc/html/udp_8cc.htm http://www-rp.lip6.fr/ns-doc/ns226-doc/html/udp_8cc-source.htm http://www-rp.lip6.fr/ns-doc/ns226-do

Re: [ns] tracking the incoming packets

2008-09-15 Thread Mubashir Rehmani
Hi Tatinana To collect the information from each incoming packet, you need to work on the recv() function, where these packets are being received. First in the recv() function, you will declare the receiving packet's header like this: struct hdr_cmn *ch = HDR_CMN(p); struct hdr_ip *ih =

[ns] Answer to your question regarding packet header

2008-09-15 Thread Mubashir Rehmani
Hi Tatinana To collect the information from each incoming packet, you need to work on the recv() function, where these packets are being received. First in the recv() function, you will declare the receiving packet's header like this: struct hdr_cmn *ch = HDR_CMN(p); struct hdr_ip *ih =

Re: [ns] Routing Table

2008-09-17 Thread Mubashir Rehmani
Hi Mauriwio Bellemo Here is the example of simple timer > > > *Declare this timer in the header fil***e** > > > class MyTimer : public TimerHandler { > public: > > MyTimer(AODV* ms) : TimerHandler() {ms_=ms;}; > > protected: > virtual void expire(Event* e); > AODV* ms_; > > > }; > > > M

Re: [ns] send() funtction in tcp.cc

2008-09-18 Thread Mubashir Rehmani
Hi You can find this send() function in Agent.h which takes two arguments packet and handler void Agent::send ( Packet* *p*, Handler * *h * ) [inline] Hope it helps. Re

Re: [ns] Routing Table

2008-09-18 Thread Mubashir Rehmani
wer. How can i take this data? > > Thank you very much > Maurizio > > 2008/9/17 Mubashir Rehmani <[EMAIL PROTECTED]> > > Hi Mauriwio Bellemo >> >> >> >> Here is the example of simple timer >> > >> > >> > *Declare this time

[ns] Lost packets

2008-09-23 Thread Mubashir Rehmani
Hello Belal LQI means Linq Quality Indication. You can found the code here : http://www.ece.uvic.ca/~emads/ns-2.29/p802__15__4mac_8cc-source.html Hope it helps Regards -- Mubashir Husain Rehmani Mobile : 00 33 (0)6 32

Re: [ns] ANSim movement generator

2008-09-26 Thread Mubashir Rehmani
Hi Maurizio Bellemo You can create different random movement and static nodes scenario by using BonnMotion. http://web.informatik.uni-bonn.de/IV/Mitarbeiter/dewaal/BonnMotion/ Regards Mubashir Husian Rehmani 2008/9/26 Maurizio Bellemo <[EMAIL PROTECTED]> > > Hi, > > I'm trying to get some mo

[ns] Random mobility scenario generation using BonnMotion

2008-09-26 Thread Mubashir Rehmani
Hi Maurizio Bellemo You can create different random movement and static nodes scenario by using BonnMotion. http://web.informatik.uni-bonn.de/IV/Mitarbeiter/dewaal/BonnMotion/ Regards -- Mubashir Husain Rehmani Mobile : 00 33 (0)6 32 00 89 35

Re: [ns] Make issues: while building ns-2.33 (common/packet.cc/h)

2008-09-27 Thread Mubashir Rehmani
Hi Try to make changes (include header declaration) in trace.h and cmu_trace.cc. Also do make clean make sudo make install Regards Mubashir Husain Rehmani

Re: [ns] segmentation fault (core dumped) using ZRP in ns-2.27

2008-10-04 Thread Mubashir Rehmani
HI Batbold Toiruul, here is no "the" solution to *segmentation* *fault*s. From what I've seen on this list and in practice, there can be several causes: 1. you deleted a resource from within TCL, causing pointers in C++ to point to memory regions no longer in use. Fix: be careful what you del

Re: [ns] how to find where a variable is initialized

2008-10-04 Thread Mubashir Rehmani
Hi Daniel Dekst, You can find the variables here http://www-rp.lip6.fr/ns-doc/ns226-doc/html/functions.htm Regards Mubashir Husain Rehmani 2008/10/4 Daniel Dekst <[EMAIL PROTECTED]> > > > Hi, everyone, > > How to find where a variable is initialized ? > I add a new mac same as mac-802_11, but

[ns] recv() function in ns2 !

2008-10-24 Thread Mubashir Rehmani
Hi davide, To deal with packet by packet handling when a new packet is received by the node, you need to modify the recv() function, which you can found in the following files: - RECV : WirelessPhy

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 a

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

2008-10-26 Thread Mubashir Rehmani
ling of the node. > > i haven't found yet the rtproto instproc in the simulator class (i havent > found the simulator class!!) > > can you help me? > > davide > > > 2008/10/26 Mubashir Rehmani <[EMAIL PROTECTED]> > > Hi davide, >> >> Basic

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 cont

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 Mobil

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= b) make clean c) make 2. in the directory of ns a) make clean b) ./configure --enable-debug --with-tcl= --with-tk= --with-tcldebug= c)make This TCL debugger enables to set specific br

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); cout<<"Node Location : "< > > Hi

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] 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] Need Simulation for WSNs (802.15)

2008-11-10 Thread Mubashir Rehmani
Hi AMathiew Moussa Basically SMAC is a MAC Protocol specifically designed for WSNs to conserve the energy by integrating Active/Sleep Regime. I think you should do this: 1. Include SMAC as your MAC Protocol in your simulation. 2. You can create nodes and assign the status of sink to some nodes an

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

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 PRO

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

2011-08-21 Thread Mubashir Rehmani
as*: patch with instructions - *Location*: ‎http://sites.google.com/site/igmpextension - *Download*: igmp-extension.tar.gz<http://sites.google.com/site/igmpextension/download-install/igmp-extension.tar.gz> Mubashir Husain Rehmani Lip6, UPMC, Paris, France On 21 August 2011 10:29,

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 - *Description*: Codes used for simulation work in the following p

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 - *Description*: Codes used for simulation work in the following p

[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 wrote: > > Dear all, > I'm going to simulate Intrusion

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 wrote: > > Dear all, > I'm going to simulate Intrusion

[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 t

[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 wrote: > > Are there any lte modules available for ns2. Where ca

[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: 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 Coding

[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: Appli

[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

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 Journal [IF=1.629] SI on "Recent Developments in Cognitive Radio Sensor Networks" -- Deadline 31 Aug 2014

2014-07-31 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 Spe

[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 Spe

[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] 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 2

[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 2

[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 2

[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] 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] 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 2

[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] 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] 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] 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-31 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-05-31 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] IEEE Access Journal -- Special Section on "Smart Grids: A Hub of Interdisciplinary Research"

2015-08-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 *

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] 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] 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, Fr

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. Tha

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 nei

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 nei

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() cout< > > Dear all, >I want to know the current time in C++ programs. Is there a > function to do this? Or, How can I get the remaining time of a run

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 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 command

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] 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;# chann

Re: [ns] How to generate energy traces periodically

2009-01-22 Thread Mubashir Rehmani
Hi Manish, Yes, it is possible. What you have to do is that, in the cmu trace file, where energy module is given, just write a condition that if simulator time is 100 secs, then print the trace in the trace file or you can declare a timer over there which will expire as per your desire. Each time

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. http://www.cs.uni-bonn.de/IV/Bo

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] 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 www

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

2009-02-18 Thread Mubashir Rehmani
ix : >> >>> >>> Hi Mubashir, >>> >>> Thanks for your advice. But I don't think this method denotes a rigorous >>> probability-based mechanism. >>> In fact, the packet may not be forwarded even with a probability of 90%. >>>

[ns] Brief Functionality of Node.cc in ns2...

2009-02-25 Thread Mubashir Rehmani
Hi Dinesh Nagare, You can find the brief functionality of some functions of node.cc in ns2. I hope it gives you an overall idea how things are going on in ns2. * Functionality of Node.cc in ns2 * 00090

Re: [ns] printf doesn't work in aodv.cc file

2009-02-25 Thread Mubashir Rehmani
Hi Domenico, Basically you need to uncomment some lines, in order to enable Hello Packets. Then and only then program pointer will come to recvHello() and sendHello() functions. If you want to broadcast Hello messages then, you should do the following: Comment the following two lines in aodv.cc

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.irisa.fr/asap/Members/mreh

Re: [ns] Capturing Packets

2009-03-01 Thread Mubashir Rehmani
n how this should be done? > > - scharan. > > > Mubashir Rehmani wrote: > > > > > > 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.

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 will

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 co

Re: [ns] packet forwarding

2009-03-10 Thread Mubashir Rehmani
But do we have to set ttl in tcl script or > in source code. also how do 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. > > &

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] 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] 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 > > hi , > I'm working on vertical handover between umts and wimax > I have to

  1   2   >