[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] about the simple-wireless.tcl
Hi, all
I think there is an error in the downloaded version of simple-wireless.tcl
which is used as an example in Marc Greis's Tutorial at " IX. Running
Wireless Simulations in ns". The downlaoded version can't work both in
Windows and Unix. The error is caused by the following code
$ns_ node-config -adhocRouting $val(rp) \
-llType $val(ll) \
-macType $val(mac) \
-ifqType $val(ifq) \
-ifqLen $val(ifqlen) \
-antType $val(ant) \
-propType $val(prop) \
-phyType $val(netif) \
-topoInstance $topo \
-channel $val(chan) \ ;# error ,should be channelType
-agentTrace ON \
-routerTrace ON \
-macTrace OFF \
-movementTrace OFF
The code on the webpage is correct. I hope this email can save new user of
ns some time.
HE Jun