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

NS



Hello,
I downloaded the code "simple-wireless.tcl" from Mark's ns tutorial web
page (creating a simple wireless scenario section). But I get an error
when I run it. It says
"create-god" method is not defined
So I added the following lines

source /home/raja/ns2/ns-2.1b6-current/tcl/lib/ns-bsnode.tcl
source /home/raja/ns2/ns-2.1b6-current/tcl/mobility/com.tcl

just before initializing global variables. The error I now get is

_o4: 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) \
    -ant..."
    (file "simple-wireless.tcl" line 106)

Do you have any idea as to what is wrong here. I would appreciate any
suggestions that anyone might have. Thanks.
Raja

ps
How do I know which version of ns I am running and if I need to download the more recent version?
====================================================================
Epsilon(Raja)
Department of Computer Science          Phone:  (306) 966-4907
57 Campus Drive                         Fax:    (306) 966-4884
University of Saskatchewan              E-mail: [email protected]
Saskatoon, Saskatchewan  S7N 5A9                [email protected]
CANADA                    
               URL:  http://www.cs.usask.ca/grads/xxe101/
=====================================================================

                              \\\\|////
                             \\  - -  //
                             #(  @ @  )#
                               \  o  /
                                \ * /
------------------------------oOOo--oOOo-------------------------
For your dreams to be true, you must first be true to your dreams
----------------------------ooooO---Ooooo------------------------
                            (   )   (   )
                             \  |   |  /
                              (_|   |_)