Re: [ns] Missing file libdei80211mr.so

2007-10-09 Thread Federico Maguolo

Hi,
which is your operating system configuration (e.g. Cygwin, linux fedora, etc)?

The dynamic libraries are OS dependent, thus if you need help from us, you can 
specify the platform under which you are running ns.

Federico

Alle 06:29, martedì 9 ottobre 2007, Pradeep R ha scritto:
 Dear all,
 I have installed the nsmiracle , applied all patches etc. But as per
 instruction when trying to execute the sample script
 dei80211mr_infrastruct_plus_wired_tcp.tcl it giving an error message as
 follows,
 couldn't load file libdei80211mr.so: libdei80211mr.so: cannot open shared
 object file: No such file or directory
 while executing
 load libdei80211mr.so
 (file dei80211mr_infrastruct_plus_wired_tcp.tcl line 125)

 I checked through all libraries but this file is nowhere.
 All examples without this particular lib is working fine.
 Please help me to resolve this

 Thank you,
 pradeep
 NITK, surathkal



Re: [ns] Error when using nsmiracle

2007-08-01 Thread Federico Maguolo

HI Balkrishna,

the problem is that the version of the dynamic library patch which is 
currently published on our website does not work on CYGWIN. 

We have already succeeded in making dynamic libraries work on CYGWIN, however 
we currently do not have an official patch for it. The problem is that on 
windows plugins are not easily built due to the limitations imposed by the 
dll format (see http://edll.sourceforge.net/). Consequently the modifications 
made to ns all-in-one are quite complicated. If you want to try them out have 
a look to this file:

http://www.dei.unipd.it/~maguolof/doc-ns-dynlib/windoz-dl.txt

Here you will find a diff between the original ns all-in-one distribution 
files and the ones which we have modified to support dynamic libraries on 
CYGWIN (the last row of the file is the command run in order to build the 
dei80211mr library). However, if you do not feel very confident with building 
dynamic libraries I think it is probably easier to install linux and run ns 
from there.

Regards 

Federico Maguolo


Alle 04:12, martedì 31 luglio 2007, Balkrishna Gukhool ha scritto:
 Hi all,

 I have tried installing the nsmiracle patch for ns-2.31. I have the
 followed the instructions on the mini howto web page. I have been able to
 successfully patch and test the dynamic libraries patch. However, even
 though I have all the correct results on installing dei80211mr, when I try
 running the adhoc_tcp.tcl script, I get an error message telling me that
 the libdei80211mr.so file is missing. I have double-checked the
 instructions, and re-run the setup several times, but still the problem
 persists.

 I am using Cygwin on a Windows XP Pro Sp2 PC, and ns-allinone-2.31.

 Could anyone help on this? It is much appreciated.

 Thanks.

 Balkrishna.



Re: [ns] [Ns-developers] Multirate 802.11 implementation is now available

2007-06-27 Thread Federico Maguolo

 What do you mean with gaussian model?
 I think the problem in simulation is not to use approximation but mimic
 what really happens.
 Interference should be calculated as a cumulative interference, which
 varies along the reception
 of a packet as the interferring packets arrives/depart.

Our module works exactly  as you have described: when a packet is received, it 
begins to record the interference profile perceived by the radio. The 
Gaussian model hypothesis permits to consider the interference power as  the 
sum of all the packets transmission power sensed in the medium.

Federico



[ns] Multirate 802.11 implementation is now available

2007-06-26 Thread Federico Maguolo

Hi all,
I would like to announce the publication of a new 802.11 that we
developed at the SIGNET lab, University of Padova, Department of
Information Engineering (DEI), downloadable  at

http://www.dei.unipd.it/wdyn/?IDsezione=5090

This 802.11 implementation, named dei80211mr, permits the simulation of rate 
adaptation algorithm (in the distribution an implementation of ARF  is already 
included) with an enhanced physical layer with respect to those 
in the ns distribution. In particular:

- support for multiple PHY modes is included; in particolar,
  dei80211mr supports simulation of the different transmission rates,
  modulation and coding schemes defined in the IEEE802.11b/g standards.

- a SINR-based packet level error model is introduced:
  + the RX Threshold variable which was used in the 802.11
implementation included in standard NS to determine successful
receptions has been removed. Instead, Packet Error Rate (PER) is
used to determine random packet losses.
  + PER is calculated using pre-determined curves (PER
vs SINR and packet size); the curves can be specified by the user
via TCL. Some default curves for both 802.11g and 802.11b are
provided.
  + SINR is calculated using received signal strength, noise and
interference
  + interference is calculated using a gaussian model to account for
all transmissions which happen simultaneously to the one which is
considered for reception
  + noise power is set via TCL

- the capture model, i.e. the determination of whether a packet can be
  received when there are other concurrent transmissions are
  simultaneously ogoing, is now embedded in the above mentioned
  interference model (no more Capture Threshold).

- Some well-known bugs of the 802.11 implementation in NS have been
  resolved. With reference to [1], we solved the following bugs:
  + direct access denial
  + random backoff time
  + capture model (note: this is different from the point above since,
as per the description in [1], it is actually a synchronization
issue)

- In the wireless channel, the affected nodes distance is no more
  determined using the CS threshold, but we used a fixed value in
  meters (distInterference_) which can be set at the beginning of the
  simulation. The reason is that, since we use a gaussian interference
  model, nodes well below the CS threshold often still provide a
  non-negligible contribution to interference. The default value for
  the affected nodes distance (distInterference_) is very
  conservative, so that all nodes are considered for interference
  calculation. This default value therefore yields accurate but
  computationally intensive simulations. The value can be adjusted via
  TCL to achieve different trade-offs between computational load and
  simulation accuracy.

- Several useful 802.11 MAC MIB counters described in [3], Annex D, have 
  been added to the MACMIB C++ class

- dei80211mr can be used within the classical ns-2 MobileNode



dei80211mr is distributed as a dynamic library using the Dynamic Library
patch [2]. Thanks to the functionalities introduced by this patch,
dei80211mr can be used with different versions of ns2. We have tested it
with ns-2.29 and ns-2.31, and we expect it to work with future ns2
releases as well.


[1] Ilango Purushotaman and Sumit Roy,
IEEE802.11 implementation Issues in Network Simulator 2,
Dept. of Electrical Engineering, University of Washington, US
http://ee.washington.edu/research/funlab/

[2] Patch for Loading Dynamic Modules in ns-2,
http://mailman.isi.edu/pipermail/ns-users/2007-June/060486.html
http://www.dei.unipd.it/~rossi/ns2-patch.html

[3] IEEE LAN MAN Standards, Part 11: Wireless LAN
Medium Access Control (MAC) and Physical Layer
(PHY) specifications¿, ANSI/IEEE Std., March 1999.