[ns] how to set Packet error rate and Bit error rate in MAC80211

2010-07-23 Thread El hadi Cherkaoui

Dear all,

I am working on wireless communication in Underwater Network and I want to set 
the PER and BER and a certain value.

Thank you to tell me how to do it in TCL or C++ 

Regards




  


[ns] exception in NS2

2010-07-23 Thread AMINA GNICHI


I have an error that appears when I execute a .tcl script.
How can I resolve this problem??

" exception en point flottant"

 Amina Gnichi



  
_
Hotmail : une messagerie performante et gratuite avec une sécurité signée 
Microsoft
https://signup.live.com/signup.aspx?id=60969


[ns] simple simulation script for satellite with wireless nodes in the same topology

2010-07-23 Thread Muhammad ALI





Dear All
   Can anybody please tell me that from where i can get a simple 
example script which simulate both satellite and wireless nodes togather.
   I have been trying this but getting consective failures.
  
   I would really appreciate any kind of help on this.
 
 
 
  
_
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969


[ns] help me to solve the mentioned error in NS 2.29

2010-07-23 Thread mobi faizy

*Hi Dear ALL,'*
**
*Can anyone help me to solve the below error.*
**
*I have install NS 2.29 on Ubuntu and Also on Windows through Cygwin.*
**
*ita85[/home/salam/229/ns-allinone-2.29/ns-2.29]# ./ns scen229/project.tcl
*num_nodes is set 100
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Loading connection pattern...
couldn't read file "cbr-nodes-test": no such file or directory
while executing
"source.orig cbr-nodes-test"
("uplevel" body line 1)
invoked from within
"uplevel source.orig [list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source  $val(cp)"
(file "scen229/project.tcl" line 70)


Regards,


[ns] Segmentation fault

2010-07-23 Thread mostfa menioui

Hi all,

i m trying to add a new header in the common header of packets in order to
use it in QOS.
i want to set the value of the new field by the command eval \$udp($src) set
priority_ 1
the name of the field that i want to add is Priority
First, i added a field in packet.h
i added

intpriority_;// priority packet
inline int& priority() { return (priority_); }
-
then i added in udp.cc

UdpAgent::UdpAgent() : Agent(PT_UDP), seqno_(-1)
{
bind("packetSize_", &size_);
bind("priority_", &priority_);
}

UdpAgent::UdpAgent(packet_t type) : Agent(type)
{
bind("packetSize_", &size_);
bind("priority_", &priority_);

}
-
and //modification du champ priorite
hdr_cmn::access(p)->priority() = priority_;
fin
in order to access to the field and modify it.

this doesn t work and i got segmentation error
can anyone help me please


[ns] Copying Data

2010-07-23 Thread Nourideen A

Hi all,

I was wondering how I can copy data stored in a node to be copied to a
another node nearby. Any advice in being able to copy data would be useful.

-- 
Thanks,

Nourideen