Contact

Richardson Lima

Position:

Security System Administrator and Network Security Research

Location: Networking and Telecommunications Research Group

Federal University of Pernambuco, Informatics Center, Brazil

P.O. Box: 7851, ZIP: 50732-970

Phone: +55-81-2126-8954 Fax:+55-81-2126-8955 Gsm Mobile: +55-81-88725173

Email: richardson at gprt dot ufpe dot br

securityfusion at gmail dot com

*New Twitter: http://twitter.com/richardsonlima

* Skype ID: richardsonpindoramalinux

* MSN ID ( only Msn Messenger ): richardson at hachid  dot com

* Gtalk: p4ck37f1lt3r at gmail dot com

Advertisements

21 Responses

  1. Hi, I am trying to run the antnet simulation on NS-2.33. I followed the manual and was able to Make with no errors, yet when i tried to run a script I get the following message:

    ns: [Simulator instance] get-drop-queue 0 5:
    (_o3 cmd line 1)
    invoked from within
    “_o3 cmd get-drop-queue 0 5”
    invoked from within
    “catch “$self cmd $args” ret”
    invoked from within
    “if [catch “$self cmd $args” ret] {
    set cls [$self info class]
    global errorInfo
    set savedInfo $errorInfo
    error “error when calling class $cls: $args” $…”
    (procedure “_o3” line 2)
    (SplitObject unknown line 2)
    invoked from within
    “[Simulator instance] get-drop-queue 0 5”

    Could anyone help me please?

    • Hi,

      This is a little bit tricky.
      When doing copy/pate from antnet.pdf:
      *Blancs are added to the get-drop-queue procedure in ns-lib.tcl.
      * the character – in get-drop-queue is not a normal one it should be replaced by a normal minus.
      (font & copy/paste problems :))

      supress the blancs & retype the character -.Inchallah this will suffice.

      MOHAMMED-AMINE KOULALI
      PhD Student
      ENSIAS, Morocco

    • I have the same problem as above. PLease help

  2. Dear Sir,

    I followed the ant net manual and added antnet in ns2 without any error. But I am getting the following error while running the script.

    ns: [Simulator instance] get-drop-queue 0 5:
    (_o3 cmd line 1)
    invoked from within
    “_o3 cmd get-drop-queue 0 5”
    invoked from within
    “catch “$self cmd $args” ret”
    invoked from within
    “if [catch “$self cmd $args” ret] {
    set cls [$self info class]
    global errorInfo
    set savedInfo $errorInfo
    error “error when calling class $cls: $args” $…”
    (procedure “_o3” line 2)
    (SplitObject unknown line 2)
    invoked from within
    “[Simulator instance] get-drop-queue 0 5”

  3. hello sir,
    I got installed the antnet alg successfully as you told.Is it possible to detect the malicious routers using antnet algorithm?.If yes,how can i do ti?

  4. While compiling NS2-2.28 does not give any error, but when I use the new routing protocol under tcl, it stops with the following error.

    INITIALIZE THE LIST xListHead

    (_o17 cmd line 1)
    invoked from within
    “_o17 cmd if-queue _o20”
    invoked from within
    “catch “$self cmd $args” ret”
    invoked from within
    “if [catch “$self cmd $args” ret] {
    set cls [$self info class]
    global errorInfo
    set savedInfo $errorInfo
    error “error when calling class $cls: $args” $…”
    (procedure “_o17” line 2)
    (SplitObject unknown line 2)
    invoked from within
    “$agent if-queue [$self set ifq_(0)] ”
    (procedure “_o14” line 24)
    (Node/MobileNode add-target line 24)
    invoked from within
    “$self add-target $agent $port”
    (procedure “_o14” line 15)
    (Node attach line 15)
    invoked from within
    “$node attach $ragent [Node set rtagent_port_]”
    (procedure “_o3” line 71)
    (Simulator create-wireless-node line 71)
    invoked from within
    “_o3 create-wireless-node”
    (“eval” body line 1)
    invoked from within
    “eval $self create-wireless-node $args”
    (procedure “_o3” line 14)
    (Simulator node line 14)
    invoked from within
    “$ns_ node”
    (“for” body line 2)
    invoked from within
    “for {set i 0} {$i < $val(nn) } {incr i} {
    set node_($i) [$ns_ node]
    # $node_($i) random-motion 0 ;# disable random motion
    }"
    (file "wpan_demo1.tcl" line 109)

    If some one can help me.

    Regards,

    Kashif

  5. Sir please help,
    I am getting the following error in the implementation, how to rectify it-

    ns: [Simulator instance] get-drop-queue 0 5:
    (_o3 cmd line 1)
    invoked from within
    “_o3 cmd get-drop-queue 0 5″
    invoked from within
    “catch “$self cmd $args” ret”
    invoked from within
    “if [catch “$self cmd $args” ret] {
    set cls [$self info class]
    global errorInfo
    set savedInfo $errorInfo
    error “error when calling class $cls: $args” $…”
    (procedure “_o3″ line 2)
    (SplitObject unknown line 2)
    invoked from within
    “[Simulator instance] get-drop-queue 0 5″

  6. Hi, I followed the manual antnet for NS-2.33 and was able to Make with
    no errors, but when i tried to run a script I get the following
    messagge:

    ns: [Simulator instance] get-drop-queue 0 5:
    (_o3 cmd line 1)
    invoked from within
    “_o3 cmd get-drop-queue 0 5″
    invoked from within
    “catch “$self cmd $args” ret”
    invoked from within
    “if [catch “$self cmd $args” ret] {
    set cls [$self info class]
    global errorInfo
    set savedInfo $errorInfo
    error “error when calling class $cls: $args” $…”
    (procedure “_o3″ line 2)
    (SplitObject unknown line 2)
    invoked from within
    “[Simulator instance] get-drop-queue 0 5″

    can you help me?

  7. Hi, I am implement antnet on NS-2.33. I followed the manual and was able to Make with no errors,but when i tried to run script I get the message:

    ns: [Simulator instance] get-drop-queue 0 5:
    (_o3 cmd line 1)
    invoked from within
    “_o3 cmd get-drop-queue 0 5″
    invoked from within
    “catch “$self cmd $args” ret”
    invoked from within
    “if [catch “$self cmd $args” ret] {
    set cls [$self info class]
    global errorInfo
    set savedInfo $errorInfo
    error “error when calling class $cls: $args” $…”
    (procedure “_o3″ line 2)
    (SplitObject unknown line 2)
    invoked from within
    “[Simulator instance] get-drop-queue 0 5″

    can you help me?

  8. I want to implement AntNet Algorithm in NS-allinone-2 .33.
    I am following your manual “AntNet Algorithm Implementation on NS-2 .33 ” given on https://antnet.wordpress.com
    when I reach on step 15 (according to manual) and type command “make” I get this message

    “commands commence before first target. Stop.
    child process exited abnormally ”

    what should I do to avoid this
    can any help me pls.
    thanks in anticipation

  9. I get the same error as Chris Saliba.

    Please someone help

  10. Thank for your sources.
    First of all, I added the scripts you wrote.
    and I operated by the book.
    The title of the book is an AntNet Algorithm Implementation on NS-2 .33.

    But,
    I got an error.
    Following is below.

    Plus, I need your help.
    Please.. help me.

    [Kyoungki@FedoraServer scripts]$ ns ring.tcl
    ns: [Simulator instance] get-drop-queue 0 2: invalid command name “0”
    while executing
    “$n1”
    (procedure “_o3” line 3)
    (Simulator get-drop-queue line 3)
    invoked from within
    “[Simulator instance] get-drop-queue 0 2”
    [Kyoungki@FedoraServer scripts]$

  11. I have compiled AntNet 1.0 sucessfully as per the instruction from the mannual but when I run the antnet.tcl file the “Segmentatioon Fault Core dumped” fault displaed. I am using ns2 under cygwin, XP OS. Kindly help me to solve this problem

  12. dear sir,

    i am doing antnet implementation can u, please guide in installing ns2…

  13. While comparing antnet with other routing protocols in ns2, is it necessary to take UDP/TCP agent and then compare different parameters(throughput, delay, ..etc) or is there any other method. If u have any procedure how to compare please inform to my mail as soon as possible.
    i have used DV routing ,using “ns Rtproto DV” in tcl scripting we implement distance vector(which is inbuilt)

  14. ztlinux@ztlinux-laptop:~/NS2/Antscripts$ ns antnet.tcl
    ns: [Simulator instance] get-drop-queue 0 5: can’t read “link_”: variable is array
    while executing
    “$link_ ($n1 : $n2) queue”
    (procedure “_o3” line 3)
    (Simulator get-drop-queue line 3)
    invoked from within
    “[Simulator instance] get-drop-queue 0 5”

  15. Hi,everybody:
    How to use apply ths protocol to WIRELESS enviroment?Could you send me DOCUMENTATION and EXAMPLE in WIRELESS experiments.
    My email address is penglixiang@gmail.com
    By the way,I have successfully setup this protocol.
    We could disscuss and make progress together.
    Welcome to email me.

  16. I “make” the ns2.34 with the antnet files without any error.
    However, when I want to run a tcl file, i get the following error:
    glibc detected ./ns realloc(): [hexadecimal number]

    Any idea about this problem?

    • Without modifications, Antnet does not work on ns2.34, but it dows work on ns2.33.

  17. Hi, I am trying to run the antnet simulation on NS-2.33. I followed the manual and was able to Make with no errors, yet when i tried to run a script I get the following message:

    ns: [Simulator instance] get-drop-queue 0 5:
    (_o3 cmd line 1)
    invoked from within
    “_o3 cmd get-drop-queue 0 5″
    invoked from within
    “catch “$self cmd $args” ret”
    invoked from within
    “if [catch “$self cmd $args” ret] {
    set cls [$self info class]
    global errorInfo
    set savedInfo $errorInfo
    error “error when calling class $cls: $args” $…”
    (procedure “_o3″ line 2)
    (SplitObject unknown line 2)
    invoked from within
    “[Simulator instance] get-drop-queue 0 5″

    please help me out

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: