[ns] router loss

2012-03-29 Thread aditya arya

hello everyone


my project is Vehicular Ad-hoc network.

please tell what changes should be done in tcl code to drop one router in
wireless ad-hoc network for some
duration and activate it.

-- 


-- 
Thanks & Regards-

Aditya Kumar Arya


[ns] issue in understanding coding simulation of tcl file..

2012-03-22 Thread aditya arya

dear all,

when i run my simulation then i got on terminal window these lines

num_nodes is set 10
INITIALIZE THE LIST xListHead
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5,  distCST_ = 550.0
SORTING LISTS ...DONE!

what does "distCST_ = 550.0" mean??

-- 


-- 
thanks..


[ns] help on running emulation in ns-2

2009-10-05 Thread reza aditya suseno

dear all,

i'm trying to patch emulation extension for NS-2.29 in ubuntu 8.10,
after i read this article :
<
http://ivs.cs.uni-magdeburg.de/EuK/forschung/projekte/nse/ns2emu-dstapp.tgz

i try apply that patch and i got some error like this :

> common/scheduler.cc:223: warning: deprecated conversion from string
> constant to ‘char*’
> common/scheduler.cc: In member function ‘void RealTimeScheduler::sync_
> cputicks()’:
> common/scheduler.cc:1061: error: ‘rdtscll’ was not declared in this scope
> make: *** [common/scheduler.o] Error 1
>

then i read the solution, it says that i must compile complete kernel source
for linux
then i compile my kernel in ubuntu,
i'm try for compile ns-2.29 again,
and i got some error again same as like before, my question is;
how i compile my kernel source with right configuration to support this
emulation patch?
thanks for the attention..


Re: [ns] Error after patch emulation extension in NS-2.29, and after install complete kernel source in ubuntu

2009-09-11 Thread reza aditya suseno

dear all,
i'm trying to patch emulation extension for NS-2.29 in ubuntu 8.04,
after i read this article :
<
http://ivs.cs.uni-magdeburg.de/EuK/forschung/projekte/nse/ns2emu-dstapp.tgz>


>  and after i apply that patch, i got some error like this mail:

  M Lee schrieb:
  on Mon, 04 Feb 2008 19:24:51 -0800
  ..
  common/scheduler.cc: In member function `void
RealTimeScheduler::sync_cputicks()':
  common/scheduler.cc:1059: `rdtscll' undeclared (first use this function)
  common/scheduler.cc:1059: (Each undeclared identifier is reported only
once
  for each function it appears in.)
  make: *** [common/scheduler.o] Error 1*
  ..

and after i read other solution:

>   Re: [ns] Something wrong when I patch NS-2.27 with Emulation
> Extensions..
>  Hi, you need to install the kernel headers (or the complete kernel
> sources) to compile this emulation extension.
>

then i compile my kernel in ubuntu,
i'm try for compile ns-2.29 again, and i got some error again same as like
before, my question is;
how i compile my kernel source with right configuration to support this
emulation patch?
thanks for the attention..


[ns] Implementing LAN Switch

2007-02-26 Thread Aditya

Hi,


I m working on implementing LAN Switch.

Can anyone tell me if we have to follow any specific design philosophy
while extending NS2?


Do we have to stick to the original implementation or we can make
modifications as required (Classes and objects)???


Thanx

--
Aditya
Dept of Comp Sci & Tech
Goa University.
--



[ns] help on queue implementation

2006-03-18 Thread Aditya Chavali

hi all

im trying to implement a new queuing policy called LAS in ns2. im obviously
overriding the enque functions of the Queue class wherein i call the
PacketQueue::enque(Packet*) function through an object in my code. However i
find that the scheduler seems to be calling the PacketQueue::enque()
function first before it calls my overriden enque() function. whats the
reason for this? is there any way i can solve this problem? also please tell
me if i can use nam to visualise a queue where i keep shuffling the order of
packets in the queue around

thanks in advance

--
keep mailing
urs
@ditya


[ns] creation of LAS queueing discipline

2006-03-09 Thread Aditya Chavali

hi all

im trying to develop a new queuing policy called LAS in ns2. it requires
that i enque packets and provide them priority in order of the service
received by their respective flows. i tried overriding the methods of the
'PacketQueue' class but it gives me a lot of errors. is this the right
approach or is it a must that i use a subclass of 'Queue' class for my
implementation. also is it absolutely necessary that i have the 'enque'
method of the 'Queue' class (over ridden if necessary) in its original
prototype?  can i use a different function name instead?
please help
thanks

--
keep mailing
urs
@ditya


[ns] help needed flow monitoring

2006-02-04 Thread Aditya Chavali

hi all

im trying to monitor traffic by flow. could some one help me with the
following?

1. how do i interpret the per flow trace file?
2. how do i make a study of the service time recieved by each flow? im using
a FIFO discipline

thanks

--
keep mailing
urs
@ditya


[ns] help on simulating short TCP flows in ns

2006-01-28 Thread Aditya Chavali

hi all

im new to NS and am trying to work my way through understanding the
simulations. i have tried simulating a few short TCP flows in NS. the nam
module shows satisfactory results. however im not happy with the method i
have used i.e, calling the start and stop procedures of the traffic agents
iteratively. is there a better method?

--
keep mailing
urs
@ditya