[ns] result of change in channel bandwidth

2006-06-12 Thread minaxi rawat

hi
  i change the channel band width. and calculating the delay.by 
changing one source channel bandwidth  the drop of packet is increase of other 
souce.but BW 1.4 to 1.8 mbit/sec the drop is same and also for 2to 
2.6mbits/sec the drop is same can any one tell me what is the reason behind 
that. please it is urgent. 
  thanks

 Send instant messages to your online friends http://in.messenger.yahoo.com 

 Stay connected with your friends even when away from PC.  Link: 
http://in.mobile.yahoo.com/new/messenger/  


[ns] help regarding cross referencing in MANETs

2006-06-12 Thread Tirumal G

hi to everybody,

i m trying to modify aodv protocal to reduce the route discovery latency and
number of RREQ broadcasts.

I am using a flag called  ctsflag   in my AODV routing agent. i have to set
this flag when a node receives a CTS packet in MAC.
Nodes waits for CTS in Promiscuous mode.

plz suggest me how to do this cross referencing, setting a flag of AODV
agent in MAC when a node receives  CTS packet in MAC 802.11.

In 802-11.cc file, therr is function called
recv()>recv-timer()->recvCTS()

i mean, recv-timer classifying the various in coming packets , in my case (
bcaz, i m interested in CTS packet) it calls recvCTS().

in this function i have to  set the flag.  Plz tell me , how to do this? and
also suggest me how to do promiscuous mode for AODV.

thanx in advance...

waiting for reply.

bye
tirumal


Re: [ns] Help needed on RSVP !

2006-06-12 Thread Alexander Sayenko

Hi

I have seen earlier this error message. It seems that you have an old OTcl
version, try to install a more recent one. If it does not work, contact me.

Sincerely,
Alexander Sayenko (PhD)
Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>
> Hi ;;
>
>   I try to RSVP implementation from Mr. Alexander Sayenko, but in the make
step I get this error:
>


g_test -I. -I/home/asma/ns-allinone-2.28/tclcl-1.16 -I/home/asma/ns-allinone
-2.2
>


8/otcl-1.9 -I/home/asma/ns-allinone-2.28/include -I/home/asma/ns-allinone-2.
28/i
>


nclude -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I
./ad
>


c -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier
 -I.
>


/mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./
diff
>


usion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./mac/8
02_1
>   1e -I./wpan -o rsvp/rsvp-link.o rsvp/rsvp-link.cc
>   rsvp/rsvp-link.cc: In constructor `RSVPChecker::RSVPChecker()':
>   rsvp/rsvp-link.cc:47: error: call of overloaded `bind(const char[5],
nsaddr_t*
>  )' is ambiguous
>   /home/asma/ns-allinone-2.28/tclcl-1.16/tclcl.h:182: error: candidates
are: void
>
>  TclObject::bind(const char*, unsigned int*) 
>   /home/asma/ns-allinone-2.28/tclcl-1.16/tclcl.h:183: error:
void
>
>  TclObject::bind(const char*, int*) 
>   make: *** [rsvp/rsvp-link.o] Error 1
>
>
>
>   I am using ns-allinone-2.28 on the Cygwin environment.
>   any advice??!!
>
>   Sincerely,
>   Asma
>
>
>
>
> >Hi  >  >I support the following implementation:
>http://www.cc.jyu.fi/~sayenko/src/ns-2.28-rsvp2.diff.gz. The patch also
>installs the test scripts in tcl/ex/rsvp  >  >Sincerely,  >Alexander
Sayenko (PhD)  >Assistant  >Telecommunication laboratory, MIT department
>University of Jyvaskyla, Finland  >  >  >>  >>  >>  >> Hi all!  >>  >>   IS
any of u ppl working on RSVP using NS-2???  >>   If so, then do send me some
example codes or some links where I can get  some direction about where shd
I start 4m??  >>  >>   Thanks in advance,  >>   Deepti.  >>  >>
 >> -  >>  Jiyo cricket on Yahoo! India
cricket  >> Yahoo! Messenger Mobile Stay in touch with your buddies all the
time.
>
>  Send instant messages to your online friends
http://uk.messenger.yahoo.com
>
>
>
> -- 
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.5.2/329 - Release Date: 02.05.2006
>
>



[ns] IFQ ARP DROP

2006-06-12 Thread Mohammed Alchaita

Hi 

When I send a Request packet, and after some forwarding the packet is
dropped and the trace file records the message (D  IFQ ARP  0).

Please any help how to solve this problem?

 

Alchaita

 



[ns] Error with Setdest

2006-06-12 Thread lekkie omotayo

I tried running ./setdest from its directory, but it gave an rerror abt
random.

do anybody know why setdest aint workin on ns-2.29


[ns] Directed Diffusion - First Version

2006-06-12 Thread eoliveira

Hello,

The first version of Directed Diffusion, developed by Chalermerk
Intanagonwiwat, has any know bugs?  Does anybody knows the difference
between the Chalermerk Intanagonwiwat´s version and Fabio Silva´s version?

Thanks in advance.

Etienne Oliveira.





[ns] [NS]TRACEGRAPH FORMAT

2006-06-12 Thread Noelia Galisteo Ruiz



-- 
HI EVERYBODY!
I´M WORKING WITH NS-2 SIMULATOR AND I WANT TO ANALIZE SIMULATIONS RESULTS WITH
TRACEGRAPH.
cAN SOMEBODY TELL ME HOW?
IF I WRITEN ./TRACEGRAPH SIM.TR
I GET AN ERROR. CANNOT OPEN FILE

THANKS IN ADVANCE



[ns] Pocket implementation

2006-06-12 Thread Luciana Esteves Neves Hilario

Hi everybody!
   Does anybody knows if there is a OLSR implementation version that is RFC
compliant and works OK in Pocket PC with Windows CE?

Thanks for help!

Regards
Luciana 



[ns] no. of nodes in ns-2.29

2006-06-12 Thread Shafiq Hashmi

Hi everyone,

What is the limit of number of nodes that ns-2.29 can support? Can anybody 
tell me please?

Thanx
Shafiq 




Re: [ns] no. of nodes in ns-2.29

2006-06-12 Thread Daniel Mahrenholz

Shafiq Hashmi schrieb:
> What is the limit of number of nodes that ns-2.29 can support? Can anybody 
> tell me please
I don't know if there is any limit - we run simulations with 50.000 
nodes without problems. Only the required memory could be the limit. For 
50.000 nodes you should have at least 4GB of memory.

Daniel.




[ns] NS-2 HCCA simulation problem

2006-06-12 Thread mishar

When I run one of the sample scripts of NS-2 HCF implementation from SOP 
INRIA,
I got stuck with this "segmentation fault". I installed the components 
separately with OTCL 1.11 and TCLCL 1.17.
##

set scenario uplink_node
Running scenario uplink_node
Creating 7 nodes
num_nodes is set 7
Audio flow 1 from Node 1 to AP
Audio flow 2 from Node 2 to AP
Audio flow 3 from Node 3 to AP
Audio flow 4 from Node 4 to AP
Audio flow 5 from Node 5 to AP
Audio flow 6 from Node 6 to AP
warning: no class variable Tracefile::debug_

see tcl-object.tcl in tclcl for info about this warning.

VBR H.261 video flow 11 from Node 7 to AP
warning: no class variable Tracefile::debug_

see tcl-object.tcl in tclcl for info about this warning.

VBR H.261 video flow 12 from Node 8 to AP
warning: no class variable Tracefile::debug_

see tcl-object.tcl in tclcl for info about this warning.

VBR H.261 video flow 13 from Node 9 to AP
warning: no class variable Tracefile::debug_

see tcl-object.tcl in tclcl for info about this warning.

VBR H.261 video flow 14 from Node 10 to AP
warning: no class variable Tracefile::debug_

see tcl-object.tcl in tclcl for info about this warning.

VBR H.261 video flow 15 from Node 11 to AP
warning: no class variable Tracefile::debug_

see tcl-object.tcl in tclcl for info about this warning.

VBR H.261 video flow 16 from Node 12 to AP
CBR MPEG 4 video flow 21 from Node 13 to AP
CBR MPEG 4 video flow 22 from Node 14 to AP
CBR MPEG 4 video flow 23 from Node 15 to AP
CBR MPEG 4 video flow 24 from Node 16 to AP
CBR MPEG 4 video flow 25 from Node 17 to AP
CBR MPEG 4 video flow 26 from Node 18 to AP
Starting Simulation...
bad file size in video2.dat
Segmentation fault

#
Regards
Mishar



[ns] Autorate in 802.11G

2006-06-12 Thread Jonathan Lopez Figueroa


Hello.

I´m working on 802.11g in ns-2.28. I need to make automatic
change in dataRate depending in distance between tow nodes.

I tried to make some changes on the on the mac-802_11.h and
in the mac-802_11.cc but they did not worked for me.

I make some other changes in ns-default.tcl and ns-mac.tcl
for make that the 802.11g standard work in ns-2.28, this
changes were succesful.

In order to make the automatic change in dataRate I tried to
make some changes in mac-802_11.cc:

 Packet *p = Packet::alloc();
 
 struct hdr_cmn *ch = HDR_CMN(p);   
 struct hdr_mac802_11 *dh = HDR_MAC802_11(p);
 struct hdr_arp *ah = HDR_ARP(p); 

 double tX_,tY_,tZ_,rX_,rY_,rZ_;
 nsaddr_t txid=index_;
nsaddr_t rxid;
 
 MobileNode *tx_node= (MobileNode*)(Node::get_node_by_address(txid));
 tx_node->getLoc(&tX_,&tY_,&tZ_); 
 
 ch->tX()=tX_;  
 ch->tY()=tY_;  ch->tZ()=tZ_;
   
 if (strcmp(packet_info.name(ch->ptype()), "ARP") == 0)
  rxid=ah->arp_tpa;
 else
  rxid=ETHER_ADDR(dh->dh_ra);  
 
 MobileNode *rx_node= (MobileNode*)(Node::get_node_by_address(rxid));
 rx_node->getLoc(&rX_,&rY_,&rZ_); 
 dist = sqrt((rX_ - tX_) * (rX_ - tX_) + (rY_ - tY_) * (rY_ - tY_)  + 
(rZ_ - tZ_) * (rZ_ - tZ_));
   

 // End of modification


 Tcl& tcl = Tcl::instance();
 tcl.evalf("Mac/802_11 set basicRate_");
 if (strcmp(tcl.result(), "0") != 0) 
  bind_bw("basicRate_", &basicRate_);
  else
   basicRate_ = bandwidth_;


 tcl.evalf("Mac/802_11 set dataRate_");
if (strcmp(tcl.result(), "0") != 0) 
   bind_bw("dataRate_", &dataRate_);

 //Modification to obtain dataRate VS distance by Jonathan Lopez

  else if (dist<=100 & dist>77)

   dataRate_ = 1*1e6;
  else if (dist<=77 & dist>65)
   dataRate_ = 2*1e6;
  else if (dist<=65 & dist>57)
   dataRate_ = 6*1e6;
  else if (dist<=57 & dist>54)
   dataRate_ = 9*1e6;
  else if (dist<=54 & dist>50)
   dataRate_ = 12*1e6;
  else if (dist<=50 & dist>42)
   dataRate_ = 18*1e6;
  else if (dist<=42 & dist>35)
   dataRate_ = 24*1e6;
  else if (dist<=35 & dist>23)
   dataRate_ = 36*1e6;
  else if (dist<=23 & dist>19)
   dataRate_ = 48*1e6;
  else
   dataRate_ = bandwidth_;
  

 // End of modification

EOTtarget_ = 0;
bss_id_ = IBSS_ID;
 //printf("bssid in constructor %d\n",bss_id_);
}


Here I just tried to change dataRate depending the distance
between the nodes, for make the change for every packet that
is send.

However this modification is not working, I see that every
time the
 dataRate is at 54Mbps, including if I comment
every line that define the dataRate, including the lines

 tcl.evalf("Mac/802_11 set dataRate_");
if (strcmp(tcl.result(), "0") != 0) 
   bind_bw("dataRate_", &dataRate_);

I can modify the dataRate with Mac/802_11 set dataRate_ xMb
in my tcl script. But I need that the dataRate been modified
for every packet that is send denpending in the distance.

Can anyone tell me what is happend or how can I do the
modifications that I need?.

Thanks.
  
 __
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 


[ns] Bug in channel.cc

2006-06-12 Thread Weetit W.

Dear All,

I think I found a bug in channel.cc file when I try to implement frequency
hopping scheme. So I need to add and remove nodes from wireless channel
dynamically.

In WirelessChannel::removeNodeFromList(MobileNode *mn)
for (tmp = xListHead_; tmp->nextX_ != NULL; tmp=tmp->nextX_) {

I think it should be.
for (tmp = xListHead_; tmp != NULL; tmp=tmp->nextX_) {

I fixed it and I remove core dump.

Best Regards,

Weetit