[ns] Help .. Error running wireless protocols in ns2.

2012-10-12 Thread vivek arya
I get the following error in terminal when i execute my file.. ns dsdv-example.tcl num_nodes is set 3 invalid command name "-macType" while executing "-macType $val(mac) \ -ifqType $val(ifq) \ -ifqLen $val(ifqlen) \ -antType $val(ant) \ -propType $val(prop) \ -phyType $val(netif) \ -chann..." (fi

[ns] Help .. Error running wireless protocols in ns2.

2012-10-13 Thread Marllus Lustosa
Em 13/10/12 21:00, ns-users-requ...@isi.edu escreveu: Hi, Vivek! Please, post your script file .tcl. > Message: 1 > Date: Sat, 13 Oct 2012 10:25:56 +0530 > From: vivek arya <1viveka...@gmail.com> > Subject: [ns] Help .. Error running wireless protocols in ns2. > To: ns-us

Re: [ns] Help .. Error running wireless protocols in ns2.

2012-10-13 Thread metagoth
Here is the code.. # Define options set val(chan) Channel/WirelessChannel;# channel type set val(prop) Propagation/TwoRayGround ;# radio-propagation model set val(netif) Phy/WirelessPhy;# network interface type set val(mac)Mac/802_11