Re: [ns] Ns-users Digest, Vol 136, Issue 13

2015-04-19 Thread Fazlullah Khan

Dear Dr Biju
Please see my profile @
https://docs.google.com/a/awkum.edu.pk/viewer?a=v&pid=sites&srcid=YXdrdW0uZWR1LnBrfGlseWFza2hhbGlsfGd4OjdhNTMxODFmMmQ4NTcwYzk
and
http://awkum.edu.pk/Departments/Computer_Science/CS_Faculty_Fazlullah.html

Regards
Assistant Professor
Fazlullah Khan
Department of Computer Science
Abdul Wali Khan University Mardan
KPK, Pakistan
Cell # +92 313 433 4334

On Sun, Apr 19, 2015 at 5:00 AM,  wrote:

> Send Ns-users mailing list submissions to
> ns-users@isi.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman.isi.edu/mailman/listinfo/ns-users
> or, via email, send a message with subject or body 'help' to
> ns-users-requ...@isi.edu
>
> You can reach the person managing the list at
> ns-users-ow...@isi.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ns-users digest..."
>
>
> Today's Topics:
>
>1. Editing the node structure in NS2 (Dhruv Aggarwal)
>2. IJANS - Call for Editors 2015 (Issac Biju)
>
>
> --
>
> Message: 1
> Date: Sat, 18 Apr 2015 12:43:48 +0530
> From: Dhruv Aggarwal 
> Subject: [ns] Editing the node structure in NS2
> To: ns-users@isi.edu
> Message-ID:
>  nvbgws77oqesg3yy2dhs...@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi,
> I am working on creating a strategy for implementing Self Organisation in
> MANETs. For the same, I also need to edit the structure of the node so as
> to include a credit value and then need to put my controller function in
> the DSR protocol implementation of NS2. I want to edit the credit value of
> the node when a node successfully forwards a packet. How can I model this
> kind of a behaviour? Thanks in advance
>
>
> --
>
> Message: 2
> Date: Sat, 18 Apr 2015 08:19:07 + (UTC)
> From: Issac Biju 
> Subject: [ns] IJANS - Call for Editors 2015
> To: NS List 
> Message-ID:
> <1381202326.5666827.1429345147212.javamail.ya...@mail.yahoo.com>
> Content-Type: text/plain; charset=UTF-8
>
> Dear everyone,
> Sub: Request to be an Editorial board member or an Associate Editor
> Hope you are doing well.
> Recently I have been appointed as the Editor-in-Chief of "International
> Journal of Ad Hoc Networking Systems (IJANS)".
> The journal web link is here: http://airccse.org/journal/ijans/ijans.html
> The journal addresses both practical and theoretical research in the areas
> of ad hoc networks, sensor networks, mesh networks and vehicular networks.?
> It also deals with the security and performance issues of these networks.
> The journal link will show more details.
> I am looking to revamp the Editorial Board and also want to appoint some
> associate editors.
> If you have an interest please get back to me (bis...@ieee.org) as soon
> as possible, with a brief biography/CV (or web link) and your research
> interests.
> Once selected, your name will be added and you will be expected to review
> some papers from time to time.
> The team is trying to index this journal in SCI / SCIE.
> NOTE: Please circulate this to your colleagues who may have an interest in
> this.
> Thank you very much.
> Warm regards,
> Dr Biju IssacSchool of ComputingTeesside UniversityMiddlesbroughEngland, UK
>
>
> --
>
> ___
> Ns-users mailing list
> Ns-users@isi.edu
> http://mailman.isi.edu/mailman/listinfo/ns-users
>
>
> End of Ns-users Digest, Vol 136, Issue 13
> *
>


Re: [ns] How to get energy of neighbouring nodes (Muhammad Waqar Cheema)

2014-06-25 Thread Fazlullah Khan

@Muhammad Waqar Cheema

//Getting energy of current node
double
UCR::get_node_energy() {

double energy;

Node* node_;

node_ = MobileNode::get_node_by_address(index); //index is the addr of a

energy = node_>energy_model()>energy();
return energy;

}

//Getting energy of any node anywhere

double
UCR::get_energy(nsaddr_t n) {

double energy;

Node* node_;

node_ = MobileNode::get_node_by_address(n); //index is the addr of a

energy = node_>energy_model()>energy();
return energy;

}


On Thu, Jun 26, 2014 at 5:00 AM,  wrote:

> Send Ns-users mailing list submissions to
> ns-users@isi.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman.isi.edu/mailman/listinfo/ns-users
> or, via email, send a message with subject or body 'help' to
> ns-users-requ...@isi.edu
>
> You can reach the person managing the list at
> ns-users-ow...@isi.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ns-users digest..."
>
>
> Today's Topics:
>
>1. Disable Link Layer notification of broken links in AODV /
>   Enable Hello intervals (Roberto. R.)
>2. How to get energy of neighbouring nodes (Muhammad Waqar Cheema)
>
>
> --
>
> Message: 1
> Date: Wed, 25 Jun 2014 10:56:55 -0300
> From: "Roberto. R." 
> Subject: [ns] Disable Link Layer notification of broken links in AODV
> / Enable Hello intervals
> To: ns-users@isi.edu
> Message-ID:
>  x+abwrfft2yu...@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi all,
>
> I am using NS-2 to investigate the performance of AODV using hello
> intervals. As it should be known, the AODV implementation in NS-2 disables
> hello intervals by default. After enabling it, now I need to disable
> Link Layer notification of broken links, so as to investigate AODV under
> the sole influence of Hello intervals.
>
> Does anyone know how to disable Link Layer notification from 802.11 in
> AODV?
>
> *Ps: Hello_intervals are enabled using the following procedure:*
>
> *comment the following two lines present in aodv.cc*
>
> *#ifndef AODV LINK LAYER DETECTION*
>
> *#endif LINK LAYER DETECTION*
>
> *recompile ns2 by using the following commands on the terminal:*
>
> *make clean*
>
> *make*
>
> *sudo make install*
>
> Thank all in advance,
>
> Roberto Colletti.
>
>
> --
>
> Message: 2
> Date: Wed, 25 Jun 2014 19:05:40 +0500
> From: Muhammad Waqar Cheema <11mseemche...@seecs.edu.pk>
> Subject: [ns] How to get energy of neighbouring nodes
> To: ns-users@isi.edu
> Message-ID:
>  wsbexcwdmi8csf7cz5o8i...@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hello/Asalam-Alikum
>
> I require some help in implementing my protocol in NS2, any help/guidance
> would be appreciated.
>
> 1. Send a broadcast Hello/Beacon message from the Sink to neighbour nodes.
> ( How can I do this ?)
> 2. Neighbour nodes reply with their energy to the sink. ( How can I do this
> ?)
>
> Help on any/both parts would be welcome.
>
>
> --
>
> ___
> Ns-users mailing list
> Ns-users@isi.edu
> http://mailman.isi.edu/mailman/listinfo/ns-users
>
>
> End of Ns-users Digest, Vol 126, Issue 22
> *
>



-- 
Regards
Fazlullah Khan
Cell # +92 313 433 4334


[ns] Re. How can I simulate VANET with NS2?

2014-06-18 Thread Fazlullah Khan
na
> (Corresponding Editor)
> University School of Information and Communication Technology
> GGS Indraprastha University
> New Delhi
> INDIA
> E-Mail:  mbalakrishnacs...@gmail.com, mbalakris...@yahoo.com
>
>
> Jaime Lloret Mauri
> Department of Communications,
> Polytechnic University of Valencia
> Valencia
> SPAIN
> E-mail: jllo...@dcom.upv.es
>
> 
> Chapter Proposal Submission (Second Round)
> Due Date: 28 June 2014.
> 
>
>
>
> --
>
> Message: 2
> Date: Mon, 16 Jun 2014 22:59:25 -0700 (PDT)
> From: prince 
> Subject: [ns] diffserv with aodv
> To: ns-users@isi.edu
> Message-ID: <1402984765747-2.p...@n7.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> hi
> when i use diffserv with aodv it shows segmentation fault .when i
> changed all things in aodv from priQueue to difserv even then also it shows
> segmentation fault how it can be removed
> pls help
> thanks
>
>
>
> --
> View this message in context:
> http://network-simulator-ns-2.7690.n7.nabble.com/diffserv-with-aodv-tp2.html
> Sent from the ns-users mailing list archive at Nabble.com.
>
>
>
> --
>
> Message: 3
> Date: Tue, 17 Jun 2014 20:08:45 +0200
> From: Hana Amira 
> Subject: [ns] How can I simulate VANET with NS2?
> To: ns-users@isi.edu
> Message-ID:
> <
> camvfhx0iajfe5mzvoopqjt3opq266g6tmzlcgz6xa_dhoat...@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi,
>
>
>  I am new in simulation with NS2, and I would like to simulate VANET
> networks in order to modify AODV routing protocols. Actually I would like
> to implement some attacks in VANET with NS2. How can I set the mobility of
> VANET in NS2?
>
> any link or tutorial i will be appreciate
>
> thanks
>
>
> --
>
> ___
> Ns-users mailing list
> Ns-users@isi.edu
> http://mailman.isi.edu/mailman/listinfo/ns-users
>
>
> End of Ns-users Digest, Vol 126, Issue 15
> *
>



-- 
Regards
Fazlullah Khan
Cell # +92 313 433 4334


Re: [ns] install ns2 error

2013-03-13 Thread Fazlullah Khan

@Khadeja
issue the commands
./configure; make clean; make ns
if it does not work then
./configure; make clean; make depend; make ns
or simply move to Linux

-- 
Regards
Fazlullah Khan
Department of Electrical Electronics and Information Engineering,
Nagaoka University of Technology, Nagaoka-shi, Niigata-ken, Japan
Cell # +8180 3474 4286


Re: [ns] Regarding Chain Topology

2013-03-13 Thread Fazlullah Khan

Kiran
First thing what are you doing in multihops, I mean what is your purpose,
which routing protocol are you using.
Answer to your question is the unfairness among the flows. Nothing to do
with station 5.

-- 
Regards
Fazlullah Khan
Department of Electrical Electronics and Information Engineering,
Nagaoka University of Technology, Nagaoka-shi, Niigata-ken, Japan
Cell # +8180 3474 4286


Re: [ns] pls assist, error running ns (Daramola Dunni)

2013-03-11 Thread Fazlullah Khan

ns is not installed, check *ns* in ns-allinone-??/ns-??/
Issue the ./install command again.
-- 
Regards
Fazlullah Khan
Department of Electrical Electronics and Information Engineering,
Nagaoka University of Technology, Nagaoka-shi, Niigata-ken, Japan
Cell # +8180 3474 4286


Re: [ns] sample wsn tcl script

2013-03-04 Thread Fazlullah Khan

http://samtrac.informatik.hu-berlin.de/brn/browser/BerlinRoofNet/simulation/ns2/ns-2.29-click/tcl/ex/diffusion3/simple-diffusion.tcl?rev=6

-- 
Regards
Fazlullah Khan
Department of Electrical Electronics and Information Engineering,
Nagaoka University of Technology, Nagaoka-shi, Niigata-ken, Japan
Cell # +8180 3474 4286


Re: [ns] Wireless Regional Area Network (Wran) IEEE 802.22

2013-02-22 Thread Fazlullah Khan

you can do this using ns2. IEEE 802.22 use same mac as 802.15


Re: [ns] compiling ns-2 problem

2013-02-13 Thread Fazlullah Khan
th smart cities
>
> -
> Committee: http://www.iaria.org/conferences2013/ComSMART13.html
> 
>
>
>
> --
>
> Message: 2
> Date: Wed, 13 Feb 2013 15:45:45 +
> From: Dalia El3wely 
> Subject: [ns] compiling ns-2 problem
> To: 
> Message-ID: 
> Content-Type: text/plain; charset="windows-1256"
>
>
>
>
> after making changes in ns2 c++ files , i tried to rebuild ns2 by using "
> make" command, i didn't get any errors, but when i tried to simulate a
> simple scenario i found that my changes have not been applied   !!I'm using
> ns-2.35 under cygwin + windows 7..even when i tried to print a simple line
> on my trace file so i've altered cmu-trace.cc file .. changes have not been
> applied too!! , i don't know if i have to change any files else befor
> compiling ns2, or what..?
> Regards,
> Dalia Elewely.
>
>
> --
>
> Message: 3
> Date: Wed, 13 Feb 2013 09:03:10 -0700
> From: Sai Bhyravajosyula 
> Subject: [ns] Total Transmission Time
> To: ns-users@isi.edu
> Message-ID:
> <
> cabztdkv-dpl6zufsmo-diyx+c5cmq-mo3z7+07jvampfkwf...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi All
>
> Is there any way to find out total time a mobile node actually transmitted
> the packets (both data and control).
>
> Please let me know if anyone knows the answer
>
> Thanks in advance.
>
>
> --
> Bhyravajosyula Sai Vishnu Kiran
> MS in Computer Science
> mail-id:  sbhyr...@asu.edu
>
>
> --
>
> Message: 4
> Date: Wed, 13 Feb 2013 16:10:25 +
> From: Saravanan Kandasamy 
> Subject: Re: [ns] compiling ns-2 problem
> To: ns-users@isi.edu
> Message-ID:
>  m7qy3...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> After "make", do "sudo make install"
>
> rgds
> SK
>
> On Wed, Feb 13, 2013 at 3:45 PM, Dalia El3wely  >wrote:
>
> >
> >
> >
> >
> > after making changes in ns2 c++ files , i tried to rebuild ns2 by using "
> > make" command, i didn't get any errors, but when i tried to simulate a
> > simple scenario i found that my changes have not been applied   !!I'm
> using
> > ns-2.35 under cygwin + windows 7..even when i tried to print a simple
> line
> > on my trace file so i've altered cmu-trace.cc file .. changes have not
> been
> > applied too!! , i don't know if i have to change any files else befor
> > compiling ns2, or what..?
> > Regards,
> > Dalia Elewely.
> >
> >
>
>
> --
>
> ___
> Ns-users mailing list
> Ns-users@isi.edu
> http://mailman.isi.edu/mailman/listinfo/ns-users
>
>
> End of Ns-users Digest, Vol 110, Issue 11
> *
>



-- 
Regards
Fazlullah Khan
Department of Electrical Electronics and Information Engineering,
Nagaoka University of Technology, Nagaoka-shi, Niigata-ken, Japan
Cell # +8180 3474 4286


Re: [ns] to trace rto value

2013-01-29 Thread Fazlullah Khan

Hey Abiyana!
>From tcl you can use this command to get some particular vlaues in the
trace file for example I want to get only cbr values, so the command is
set tracefd [open "| greo \ " cbr \" > out.tr" w]
this will record all the cbr values, so use it for what ever values you
need.

On Wed, Jan 30, 2013 at 10:00 AM,  wrote:

> Send Ns-users mailing list submissions to
> ns-users@isi.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman.isi.edu/mailman/listinfo/ns-users
> or, via email, send a message with subject or body 'help' to
> ns-users-requ...@isi.edu
>
> You can reach the person managing the list at
> ns-users-ow...@isi.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ns-users digest..."
>
>
> Today's Topics:
>
>1. Re: Ns-users Digest, Vol 109, Issue 25 (An Feng)
>2. Regarding the Number of Attempts (Sai Bhyravajosyula)
>3. to trace rto value (abinaya rajendhiran)
>4. when does "A" flag set (abinaya rajendhiran)
>5. nse scheduler issue (Bipul Kumar)
>
>
> --
>
> Message: 1
> Date: Tue, 29 Jan 2013 02:08:37 -0500 (EST)
> From: An Feng 
> Subject: Re: [ns] Ns-users Digest, Vol 109, Issue 25
> To: ns-users@isi.edu
> Message-ID: <8cfcc06978e42d3-277c-3c...@webmail-d184.sysops.aol.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi ALL,
>
> can some one help me to figure out how to do the wireless protocol auto
> switching in the NS simulation process. And how to effectively change the
> protocol parameters in the NS installation directory
> ~/nsnam/dskim/rts-cts/tinyos/tinyviz/org/c++/mingw...
>
>
>
>
>
> An Feng
> anderson.an.f...@aol.com
>
>
>
>
>
> -Original Message-
> From: ns-users-request 
> To: ns-users 
> Sent: Tue, Jan 29, 2013 9:01 am
> Subject: Ns-users Digest, Vol 109, Issue 25
>
>
> Send Ns-users mailing list submissions to
> ns-users@isi.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman.isi.edu/mailman/listinfo/ns-users
> or, via email, send a message with subject or body 'help' to
> ns-users-requ...@isi.edu
>
> You can reach the person managing the list at
> ns-users-ow...@isi.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ns-users digest..."
>
>
> Today's Topics:
>
>1. Re: trace file modification (Fazlullah Khan)
>2. Transmission range of a wireless node? (nguyen hieu)
>3. code for TrustAODV (akki trivedi)
>4. TIREM available ? (Siyui AliOh)
>5. detection of retransmitted packets (abinaya rajendhiran)
>6. GTS in 802.15.4 (Fazlullah Khan)
>7. Bind a float (Rafael P B Mota)
>
>
> --
>
> Message: 1
> Date: Mon, 28 Jan 2013 10:28:32 +0900
> From: Fazlullah Khan 
> Subject: Re: [ns] trace file modification
> To: ns-users@isi.edu
> Message-ID:
> <
> camjcqcdax6aqqv0zfgt7f7xvdsujfhxgb9a0x01z0kq6pgr...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> In ns-2-xx/trace.cum-trace.cc,.h needs to be modify, and if you are using
> some routing protocol, may be that too.
>
> On Mon, Jan 28, 2013 at 10:00 AM,  wrote:
>
> > Send Ns-users mailing list submissions to
> > ns-users@isi.edu
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://mailman.isi.edu/mailman/listinfo/ns-users
> > or, via email, send a message with subject or body 'help' to
> > ns-users-requ...@isi.edu
> >
> > You can reach the person managing the list at
> > ns-users-ow...@isi.edu
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Ns-users digest..."
> >
> >
> > Today's Topics:
> >
> >1. Re: Calculate Signal strength in ns2 (shiny john)
> >2.  TrustAODV in MANET (Nikunj Shah)
> >3. trace file modification (bhupendra rajput)
> >
> >
> > --
> >
> > Message: 1
> > Date: Sat, 26 Jan 2013 20:42:27 -0800 (PST)
> > From: shiny john 
> > Subject: Re: [ns] Calculate Signal strength in ns2
> > To: ns-users@isi.edu
> > Message-ID: <34950173.p...@talk.nabble.com>
> > Content-Type: text/plai

[ns] GTS in 802.15.4

2013-01-28 Thread Fazlullah Khan

Hi every body!
Do any one know the Guaranteed Time Slot (GTS) patch for IEEE 802.15.4 in
NS2. OR have the implementation of GTS?

-- 
Regards
Fazlullah Khan


Re: [ns] Ns-users Digest, Vol 109, Issue 21

2013-01-24 Thread Fazlullah Khan

Hello Rafael
How about to use Error Model between those two nodes, then you will get the
dropped packet in the trace file.
On Fri, Jan 25, 2013 at 10:00 AM,  wrote:

> : [ns] Drop a packet





-- 
Regards
Fazlullah Khan


[ns] Negative data received in trace

2013-01-22 Thread Fazlullah Khan

Hi everybody!
In mu trace follow negative data receive as shown below, what could be
the reason.
s 0.0 _1_ AGT  --- 0 cbr 1000 [0 0 0 0] [energy 100.00 ei
0.000 es 0.000 et 0.000 er 0.000] --- [1:0 0:0 32 0] [0] 0 0
s 0.0 _1_ AGT  --- 1 cbr 24 [0 0 0 0] [energy 100.00 ei
0.000 es 0.000 et 0.000 er 0.000] --- [1:0 0:0 32 0] [1] 0 0
N -t 0.001625 -n 0 -e 99.30
N -t 0.006807 -n 1 -e 99.998651
s 0.008192000 _1_ AGT  --- 2 cbr 1000 [0 0 0 0] [energy 99.998651 ei
0.000 es 0.000 et 0.001 er 0.000] --- [1:0 0:0 32 0] [2] 0 0
s 0.008192000 _1_ AGT  --- 3 cbr 24 [0 0 0 0] [energy 99.998651 ei
0.000 es 0.000 et 0.001 er 0.000] --- [1:0 0:0 32 0] [3] 0 0
N -t 0.009404 -n 0 -e 99.999003
N -t 0.010908 -n 1 -e 99.997760
N -t 0.012545 -n 1 -e 99.997695
N -t 0.014561 -n 0 -e 99.997543
N -t 0.015923 -n 0 -e 99.997532
s 0.016384000 _1_ AGT  --- 4 cbr 1000 [0 0 0 0] [energy 99.997261 ei
0.000 es 0.000 et 0.003 er 0.000] --- [1:0 0:0 32 0] [4] 0 0
s 0.016384000 _1_ AGT  --- 5 cbr 24 [0 0 0 0] [energy 99.997261 ei
0.000 es 0.000 et 0.003 er 0.000] --- [1:0 0:0 32 0] [5] 0 0
N -t 0.016403 -n 1 -e 99.997248
r 0.016972313 _0_ AGT  --- 0 cbr -4 [0 0 1 800] [energy 99.997299 ei
0.000 es 0.000 et 0.003 er 0.000] --- [1:0 0:0 30 0] [0] 1 0
N -t 0.017075 -n 0 -e 99.997289
N -t 0.017556 -n 1 -e 99.997023
r 0.018124439 _0_ AGT  --- 4 cbr -4 [0 0 1 800] [energy 99.997056 ei
0.000 es 0.000 et 0.003 er 0.000] --- [1:0 0:0 30 0] [4] 1 0
N -t 0.018228 -n 0 -e 99.996992
N -t 0.020244 -n 1 -e 99.995784
r 0.021260564 _0_ AGT  --- 5 cbr 44 [0 0 1 800] [energy 99.996759 ei
0.000 es 0.000 et 0.003 er 0.000] --- [1:0 0:0 30 0] [5] 1 0
s 0.024576000 _1_ AGT  --- 6 cbr 1000 [0 0 0 0] [energy 99.995784 ei
0.000 es 0.000 et 0.004 er 0.000] --- [1:0 0:0 32 0] [6] 0 0
s 0.024576000 _1_ AGT  --- 7 cbr 24 [0 0 0 0] [energy 99.995784 ei
0.000 es 0.000 et 0.004 er 0.000] --- [1:0 0:0 32 0] [7] 0 0
N -t 0.024921 -n 0 -e 99.996746
N -t 0.025401 -n 1 -e 99.995567
r 0.025970063 _0_ AGT  --- 6 cbr -4 [0 0 1 800] [energy 99.996514 ei
0.000 es 0.000 et 0.003 er 0.000] --- [1:0 0:0 30 0] [6] 1 0
N -t 0.026393 -n 0 -e 99.996449
N -t 0.028409 -n 1 -e 99.994340

-- 
Regards
Fazlullah Khan
Department of Electrical Electronics and Information Engineering,
Nagaoka University of Technology, Nagaoka-shi, Niigata-ken, Japan
Cell # +8180 3474 4286



[ns] throughput is higher than cbr rate

2013-01-21 Thread Fazlullah Khan

Hi every body
My throughput is higher than the CBR rate?
I think it is not possible, anybody know the reason.

-- 
Regards
Fazlullah Khan


[ns] multi-channel cannot read chan_(1)

2013-01-17 Thread Fazlullah Khan

Dear all
Can anybody help me in the following error in multiple channels.
num_nodes is set 2
can't read "chan(1)": no such element in array
while executing
"return $chan($index)"
(procedure "_o3" line 3)
(Simulator get-channel line 3)
invoked from within
"$ns get-channel [expr $t*$channelnum+$j]"
(procedure "_o15" line 14)
(Node/MobileNode add-interface line 14)
invoked from within
"$node add-interface $chan([expr $i*$channum_]) $propInstance_
$llType_ $macType_  $ifqType_ $ifqlen_ $phyType_ $antType_
$topoInstance_  $inerrProc_ $..."
(procedure "_o3" line 77)
(Simulator create-wireless-node line 77)
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"
("for" body line 2)
invoked from within
"for {set i 0 }  {$i < $val(nn) } { incr i } {
set node_($i)  [$ns node]


-- 
Regards
Khan
Department of Electrical Electronics and Information Engineering,
Nagaoka University of Technology, Nagaoka-shi, Niigata-ken, Japan
Cell # +8180 3474 4286



[ns] Error in Muli-Channel + CRCN

2013-01-07 Thread Fazlullah Khan

Dear all!
I installed CRCN patch and the run the tcl file with nodes=2, and
channels=2, and get the following error and warning!
Any onw knows how to avoid this error and warning!
INITIALIZE THE LIST xListHead
Warning: nodes cannot have more radio interfaces on the same channel!! 1st
can't read "chan(2)": no such element in array
while executing
"$node add-interface $chan([expr $i*$channum_]) $propInstance_
$llType_ $macType_  $ifqType_ $ifqlen_ $phyType_ $antType_
$topoInstance_  $inerrProc_ $..."
(procedure "_o3" line 77)
(Simulator create-wireless-node line 77)
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"
("for" body line 2)
invoked from within
"for {set i 0} {$i < $val(nn)} {incr i} {
 set node_($i) [$ns_ node]
# $node_($i) set SingleIfMultiChan 1
 $node_($i) random-motion 0 ;# ..."
(file "multi-channel.tcl" line 123)
num_nodes is set 2

-- 
Regards
Khan



[ns] Divide MAC time in to equal length interval

2012-12-22 Thread Fazlullah Khan

Hi everybody
I want to divide the MAC time into equal length intervals but have no idea
how to do it. Any one is helpful here, or any link etc.

Regards
Khan


[ns] How to divide MAC layer time into equal length interval

2012-11-26 Thread Fazlullah Khan

Dear All!
Do any body knows how to divide the MAC layer time into equal length
intervals. I am using 802.15.4, so what files I have to modify, mac.cc and
mac.h or other files.
Any body who is having related code which can be helpful please share.

-- 
Regards
Fazlullah Khan
Department of Electrical Electronics and Information Engineering,
Nagaoka University of Technology, Nagaoka-shi, Niigata-ken, Japan
Cell # +8180 3474 4286


[ns] Error Model

2012-11-25 Thread Fazlullah Khan

Hi everybody!
How to add NS2 built-in Error Models in Wireless Networks. I followed the
NS example and some other tutorials but could not implement it.

-- 
Regards
Fazlullah Khan
Department of Electrical Electronics and Information Engineering,
Nagaoka University of Technology, Nagaoka-shi, Niigata-ken, Japan
Cell # +8180 3474 4286


Re: [ns] Performance Evaluation of 802.15.4 (Muhammad Javed)

2012-11-13 Thread Fazlullah Khan

802.15.4 is alreaady implemented/simulated in Ns-2.34, what are you
going to implement? You want to find throughput and delay of what?

On 11/14/12, ns-users-requ...@isi.edu  wrote:
> Send Ns-users mailing list submissions to
>   ns-users@isi.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mailman.isi.edu/mailman/listinfo/ns-users
> or, via email, send a message with subject or body 'help' to
>   ns-users-requ...@isi.edu
>
> You can reach the person managing the list at
>   ns-users-ow...@isi.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ns-users digest..."
>
>
> Today's Topics:
>
>1. Performance Evaluation of 802.15.4 (Muhammad Javed)
>2. Multicast PMIPv6 simulation (Sovortey Thaly)
>
>
> --
>
> Message: 1
> Date: Tue, 13 Nov 2012 00:20:33 -0800 (PST)
> From: Muhammad Javed 
> Subject: [ns] Performance Evaluation of 802.15.4
> To: "ns-users@isi.edu" 
> Message-ID:
>   <1352794833.53447.yahoomail...@web124501.mail.ne1.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hi all,
>
> I want to simulate 802.15.4 and want to get throughput and delay.
> So anyone can help me that how i will do simulation and how i will get
> throughput and delay
> values in graph. i will use ns-2.34.
>
>
> ?
> Best regards,
>
> Muhammad Javed
>
> --
>
> Message: 2
> Date: Tue, 13 Nov 2012 20:25:58 +0900
> From: Sovortey Thaly 
> Subject: [ns] Multicast PMIPv6 simulation
> To: ns-users@isi.edu
> Message-ID:
>   
> Content-Type: text/plain; charset=ISO-8859-1
>
> Dear everyone,
>
> Now I am want to simulation Multicast Proxy Mobile IPv6 on ns-2 but I don't
> how can I do so if who know and have experience on this please help me, and
> if you have a source code can you provide it to me because I need it as
> urgent research for my thesis research.
>
> Best Regard
>
> --
> Thaly Sovortey
>
> ===
>
> The Republic of Korea, Seoul 143-701, Konkuk University, New Millennium
> Hall, CC Lab 1108
> Mobile: (82) 10 7566 2175
> CCLab No: (82) 2-450-3537
>
> Email:sovortey.th...@gmail.com / sovor...@yahoo.com  /
> sovor...@cclab.konkuk.ac.kr
>
> =
>
>
> ------
>
> ___
> Ns-users mailing list
> Ns-users@isi.edu
> http://mailman.isi.edu/mailman/listinfo/ns-users
>
>
> End of Ns-users Digest, Vol 107, Issue 12
> *
>


-- 
Regards
Fazlullah Khan
Department of Electrical Electronics and Information Engineering,
Nagaoka University of Technology, Nagaoka-shi, Niigata-ken, Japan
Cell # +8180 3474 4286



[ns] can't read "chan": variable is array

2012-11-13 Thread Fazlullah Khan

Hi all!
While running the simulation I get the following error, any body have
any idea about it.
num_nodes is set 5
can't read "chan": variable is array
while executing
"$node add-interface $chan $propInstance_ $llType_ $macType_
$ifqType_ $ifqlen_ $phyType_ $antType_ $topoInstance_  $inerrProc_
$outerrProc_ $FECProc_..."
(procedure "_o3" line 69)
.
invoked from within
"for {set i 0 }  {$i < $val(nn) } { incr i } {
set node_($i)  [$ns_ node]  ; # usually problem comes here
set ragent_($i) [$node_($i) set ragent_]
set ..."



-- 
Regards
Fazlullah Khan



[ns] TCL call C++ Error

2012-07-09 Thread Fazlullah Khan

Hi every one!
When I run my tcl file it gives the following Error
Starting Simulation...
Total Number of Nodes...  100
Total Number of Interfaces...  1
Total Number of Channels...  8
Total Number of Acs Channels... 5

---
ns: _o24 manage-channels 8 5:
(_o24 cmd line 1)
invoked from within
"_o24 cmd manage-channels 8 5"
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 "_o24" line 2)
(SplitObject unknown line 2)
invoked from within
"_o24 manage-channels 8 5"

and the C++ code is below, help me what should I do

if(strcmp(argv[1], "manage-channels") == 0) {
cout<<"In AODV.cc, magange-channels "<

[ns] Spectrum Sensing and Spectrum Allocation

2012-03-05 Thread Fazlullah Khan

Hi dear friends!
I need ns2 code for spectrum sensing and dynamic spectrum allocation in
Cognitive Radio for Sensor Networks.

-- 
Regards
Fazlullah Khan
Department of Electrical Electronics and Information Engineering,
Nagaoka University of Technology, Nagaoka-shi, Niigata-ken, Japan
Cell # +8180 3474 4286


Re: [ns] Ns-users Digest, Vol 98, Issue 25

2012-02-26 Thread Fazlullah Khan
t; Installing crcn:
> Problem in step 6 make depend
> HTML output shows atfer entering "make depend"
>
>
> emulate/net-pcap.cc:64:18: fatal error: pcap.h: No such file or directory
> compilation terminated.
>
> What should I do?
>
> Reference: http://stuweb.ee.mtu.edu/~ljialian/installation.hts
> Thanks
>
>  Sincerely,Khaled Elmishad
>
> Senior Student, Communication Engineering ASU-CHEP
>
>
>
>
> --
>
> ___
> Ns-users mailing list
> Ns-users@isi.edu
> http://mailman.isi.edu/mailman/listinfo/ns-users
>
>
> End of Ns-users Digest, Vol 98, Issue 25
> 
>



-- 
Regards
Fazlullah Khan
Department of Electrical Electronics and Information Engineering,
Nagaoka University of Technology, Nagaoka-shi, Niigata-ken, Japan
Cell # +8180 3474 4286


[ns] Cognitive Radio Sensor Networks

2012-01-30 Thread Fazlullah Khan

Good Morning!
Hope you will be doing good. I need the algorithm and code for *Dynamic
Spectrum Sensing (DSS)* and *Dynamic Spectrum Allocation(DSA) *for
cognitive radio sensor networks.
Your help in this regard will be appreciated please.

Regards
Fazlullah Khan
Department of Electrical Electronics and Information Engineering,
Nagaoka University of Technology, Nagaoka-shi, Niigata-ken, Japan
Cell # +8180 3474 4286


[ns] Can NS2 code be injected on sensors

2010-01-20 Thread Fazlullah Khan

Hello everybody!
Please any one can tell me that Can we inject NS2 code on sensors?
Can NS2 be used for implementaion purpose?

Regards
Fazlullah Khan


[ns] LEACH and PEGASIS CODE

2009-12-10 Thread Fazlullah Khan

Respected Members!
I need he codes of LEACH and PEGASIS for NS2, I have Installed NS2.34 on
Fedora 10 and a new user to NS, Please help me.
Regards
Fazlullah Khan


[ns] LEACH or SPIN

2009-11-22 Thread Fazlullah Khan

To: ns-users@isi.edu

Respected Members!
Hope every body will be doing good.
I need the source code of LEACH and SPIN or any other well known WSN
algorith please.

Regards
Fazlullah Khan