[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] node-config problems with new wireless API (-topoInstanceinvalid command error)
From what you included, sounds like your forgot a '\' (or put spaces after
\) in the line above -topoInstance ...
> $ns_ node-config -mobileIP ON \
> ...
> ..
> -ifqLen $val(ifq)
> ...
> -topoInstance $topo \
> ...
> -channel $chan_1_
>
> (I may have obviously left out some of the other changes that are
> recommended inthe wireless-mitf.tcl example script).
>
> The error message that I get on attempting to run sim.tcl is:
>
> ns sim.tcl
>
> num_nodes is set 8
> invalid command name "-topoInstance" while executing
> "-topoInstance $topo \
> -agentTrance ON \
> -routerTrace OFF \
> -macTrace ON \
> -wiredRouting ON \
> ..."
> (file sim.tcl line 50)
>
> ****************************
>
> I'm just not sure where to look for assistance. I've been trawling the
> NS mailing list for days but I'd thought I'd try posting this as
> someone may spot immediately what I'm forgetting etc.
>
>
>
> Yours sincerely
> Kevin Curran
> ______________________________
> University of Ulster
> Magee College
> Dept Informatics
> Northland Road
> Derry
> BT48 7JL
>
> Phone: +44 (0)1504 375565
> Fax: +44 (0)1504 375565
> Web: http://www2.infm.ulst.ac.uk/~kevin
>