[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wireless Tutorial



Fabio Nieri wrote:
> 
> Hi,
> I'm trying to learn how the ns simulation for wireless networks work.
> The simple-wireless.tcl script which comes with the Greis' tutorial comes
> out with the following error:
> 
> _o3: unable to dispatch method node-config
>     while executing "$ns_ node-config -adhocRouting $val(rp) \
>                  -llType $val(ll) \
>                  -macType $val(mac) \
>                  -ifqType $val(ifq) \
>                  -ifqLen $val(ifqlen) \
>                  -a..."
>     (file "simple-wireless.tcl" line 31)
> 
> PS
> I'm currently working with ns snapshot 2.1b6.
> 
> Can anyone help!
> Thanks in advance

Maybe your snapshot is too old.

try grep node-config ~ns/tcl/lib/ns-lib.tcl

if you don't have the following line
Simulator instproc node-config args {

download the new snapshot


-- 
Vera Mickael Stagiaire