Re: [ns] no target for slot 0
- Hi, in many cases this error occurs when you are trying to send data from a node to another, but there is no "link direction" to that node. For instance, if you create a simplex-link from node1 to node2 and then try to send data from node2 to node1 you will get this error. Check to see if your code contains something similar to this. Hope that I have helped... -Fk On 4/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > -- Forwarded message -- > From: nevadita chatterjee <[EMAIL PROTECTED]> > To: ns-users@ISI.EDU > Date: Tue, 24 Apr 2007 12:57:39 +0100 (BST) > Subject: [ns] no target for slot 0 > Hi All, > I am writing a new clustering protocol for MANETs but I am getting a > error as > > > ---Classifier::no-slot{} default handler(tcl/lib/ns-lib.tcl)___ > _031:no target for slot 0 > _031 type: Classifier/Port > content dump: > classifier _031 > 0 offset > 0 shift > 2147483647 mask > 1 slots > slot 255: _017(Agent/DSDV) > Finished standard no-slot{} default-handler --- > > can you help me to find when this error comes. > > Thanks in advance > > Nevadita > > > -- Filippos N Kolovos Software Systems Analyst & Engineer M.Sc. (Eng.) in Data Communications Automation & Networking Department University of Macedonia Library Egnatia 156, P.O.Box 1591 540 06 Thessaloniki, Greece E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED] --
[ns] Problem in making changes
Hi, My name is adithya, i am working on Routing protocols of Ad hoc wireless networks.. Now i wanted to know, if i want to make any changes in the inbuilt protocols how to do that, and how to reflect the effect of the changes made. I would be glad and thankful if any one can help me With regards Adithya
[ns] problem with position of nodes in NAM
Hi all, I have a problem when using NAM. I use these commands to set position of a node $node_(0) set X_ 10.0 $node_(0) set Y_ 50.0 $node_(0) set Z_ 0. But when displaying by NAM, all the nodes are put in the same position (0,0 maybe). If I add the command "$ns_ at 0. "$node_(0) setdest 10.0 50.1 5.470933126741", everything seems be OK but it is strange isn't it. Thank you very much Nguyen
[ns] How to control source traffic?
Hi, How to control the source nodes' traffic load ( the number of packets to be send) ? Does it depend on the application in use ? I want to let the source nodes in a sensor network send different amount of packets to the sink. Thanks in advance Sun ___ 抢注雅虎免费邮箱3.5G容量,20M附件! http://cn.mail.yahoo.com
Re: [ns] NS2 debugging
manpreet grewal wrote: > I am new to gdb debugger please help me in this... > I am using ns-allinone-2.28 under cygwin on Windows XP... > > I have added a small function in tora_dest.cc file.. I want to see > while running tora.tcl, is that function refered... [snip] > i also executed > {gdb) r tora.tcl > > and the result is- > Starting program : tora.tcl > No executable specified,use 'target exec'. > (gdb) The error message says it: A debugger's purpose is to debug executables. A tcl script is not an executable but just a bunch of lines that an interpreter can turn into something runnable. Instead, you have to debug ns and from within gdb, tell ns to call the script as if you'd do without a debugger. See here: http://nsnam.isi.edu/nsnam/index.php/Troubleshooting#unexpected_behavior_or_crash_.28segfault.29_after_code_extension > Please help me... Its very urgent... http://nsnam.isi.edu/nsnam/index.php/Troubleshooting#when_and_how_to_write_to_the_user.27s_mailing-list --Timo
Re: [ns] Drop Reasons
You can find the definitions for those codes in file cmu-trace.h. And I guess, your topology is too dense. 500 nodes in 1000x1000 area and the transmission range is 250 (the carrier sense range should be even larger), this will cause many packets get dropped due to MAC conflict. On 4/24/07, Matthias Budde <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm evaluation tracefiles from a wireless simulation > and would like to know what the following drop reasons > are, why they occur, and how I could prevent the packets > from being dropped. > > The reasons are > > -Nw ARP > -Nw RET > -Nw END > > and just plain > > -Nw > > There are no other drop reasons than those in my > tracefile. > > I'm simulation a network with 500 nodes, each sending > 10 packets per second, for 100 seconds of simulation > time. Most of my packets get dropped. My topology is > 1000 x 1000 meters, the radio range of each node is > set to 250 meters. > > Thank you in advance, > > -Matt > > -- Song Luo Intelligent Automation, Inc.
[ns] NS2 debugging
Hello ns-users, I am new to gdb debugger please help me in this... I am using ns-allinone-2.28 under cygwin on Windows XP... I have added a small function in tora_dest.cc file.. I want to see while running tora.tcl, is that function refered... I simple put gdb in cygwin bash shell...And got the following message... * GNU gdb 6.5.50.20060706-cvs (cygwin-special) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin". (gdb) *** i also executed {gdb) r tora.tcl and the result is- Starting program : tora.tcl No executable specified,use 'target exec'. (gdb) --- Are above two results correct ? Can i use gdb as it is for my above problem or i have to make some changes somewhere??? Please help me... I have reached till here with the help of all of you... Please help me... Its very urgent... Thanks, Manpreet...
[ns] Sending data directly via the MAC layer
Dear all, could does ns2 support sending data directly via the MAC layer? If so could you tell me at which point I will need to create the packet and where I should attach the agent that generates the packet. Kind Regards, Sampath
[ns] Pathneck and IGI/PTR simulation scripts for ns
Hi, does anyone has the simulation scripts for these tools, Pathneck and/or IGI/PTR? Thank you, João Silva
[ns] How add delay metric in OLSR?
someone can I help with OLSR protocol? I need add metric delay at protocol...
[ns] How to use a Modified AODV for a group of nodes only
Hello NS-Users. I have modified AODV so that nodes can abnormally flood RREQs to other nodes. I wanted to use this modified version for only some nodes in the simulation. The other nodes have to use the original AODV protocol. How can I do that?? Thanks in advance. Netsanet __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] How to use a Modified AODV for a group of nodes only
Hello NS-Users. I have modified AODV so that nodes can abnormally flood RREQs to other nodes. I wanted to use this modified version for only some nodes in the simulation. The other nodes have to use the original AODV protocol. How can I do that?? Thanks in advance. Netsanet __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] How to use a Modified AODV for a group of nodes only
Hello NS-Users. I have modified AODV so that nodes can abnormally flood RREQs to other nodes. I wanted to use this modified version for only some nodes in the simulation. The other nodes have to use the original AODV protocol. How can I do that?? Thanks in advance. Netsanet __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] help:send data over tcp connexion
Hi all I want to send packet over TCP connexion in wireless network I have found an application in ns2.30\..\ex\tcpapp.tcl for static network , I have made some change for wireless but that dont work please can anyone help me !! _ MSN Messenger: appels gratuits de PC à PC ! http://www.msn.fr/msger/default.asp
[ns] scripts about IMS
I have a project about ''Quality of service in IMS (IP Mutimedia Subsystem)". the simulation is with NS. i need you to help find severel scripts related to the IMS network. If anyone has scripts about IMS (SIP protocol, ...) , please help me.
[ns] script IMS
j'ai un projet sur le réseau IMS de nouvelle génération (NGN) avec une simulation sur NS. je n'ai pas trouvé de scripts concernant ce type de réseau. est ce que vous pouvez m'aider?
[ns] error when installing ns-2.1b9a (when configure otcl)
hi, I install ns-2.1b9a, and it asks to install otcl-1.0a8. However I could install otcl-1.0a8 because of the following error: checking for X11 header files can't find X includes when I configure the otcl-1.0a8. I do not how to fix the error. Could anyone help me. Looking forward to hearing the solutions. thanks very much. -toan.
[ns] no target for slot 0
Hi All, I am writing a new clustering protocol for MANETs but I am getting a error as ---Classifier::no-slot{} default handler(tcl/lib/ns-lib.tcl)___ _031:no target for slot 0 _031 type: Classifier/Port content dump: classifier _031 0 offset 0 shift 2147483647 mask 1 slots slot 255: _017(Agent/DSDV) Finished standard no-slot{} default-handler --- can you help me to find when this error comes. Thanks in advance Nevadita - SHOUT IT OUT! Tell everyone, from anywhere, that you're online on Yahoo! Messenger
Re: [ns] create new pakt
hi I also want to know how to create a new packet and how to set the data in that packet. Do you get the solution for this? if so please send me. I will be obliged. Anuradha -- View this message in context: http://www.nabble.com/create-new-pakt-tf2581792.html#a10157839 Sent from the ns-users mailing list archive at Nabble.com.
[ns] lines in trace file SSendFailure
Someone know why and what is the meaning of this lines? SSendFailure 5.154911832 _5_ 109 2 14:0 13:0 5->13 2 4 2 5 [14311|513] Ssalv 5.15491 _5_ adding to SB --- 109 14 -> 13 [0] Ssalv 5.15491 _5_ adding to SB --- 111 14 -> 13 [0] -- Saludos Jezabel M. Molina Gil
[ns] Drop Reasons
Hi, I'm evaluation tracefiles from a wireless simulation and would like to know what the following drop reasons are, why they occur, and how I could prevent the packets from being dropped. The reasons are -Nw ARP -Nw RET -Nw END and just plain -Nw There are no other drop reasons than those in my tracefile. I'm simulation a network with 500 nodes, each sending 10 packets per second, for 100 seconds of simulation time. Most of my packets get dropped. My topology is 1000 x 1000 meters, the radio range of each node is set to 250 meters. Thank you in advance, -Matt
Re: [ns] Ns-users Digest, Vol 40, Issue 27
hi all, I have created one protocol called newProto and I have made all the possible changes in ns-2.30 ,my make file is also running, but I am finding this error in my TCL script. invalid command name "Agent/NewProto" while executing "Agent/NewProto create _o59 " invoked from within "catch "$className create $o $args" msg" invoked from within "if [catch "$className create $o $args" msg] { if [string match "__FAILED_SHADOW_OBJECT_" $msg] { delete $o return "" } global errorInfo error "class $..." (procedure "new" line 3) invoked from within "new Agent/NewProto" invoked from within "set p0 [new Agent/NewProto]" (file "newSimulation.tcl" line 49) [EMAIL PROTECTED] test]# vim newSimulation.tcl [EMAIL PROTECTED] test]# ns newSimulation.tcl can't read "ns_": no such variable while executing "$ns_ node-config -propType Propagation/Shadowing" (file "newSimulation.tcl" line 37) please, Help me On 4/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Send Ns-users mailing list submissions to > ns-users@isi.edu > > To subscribe or unsubscribe via the World Wide Web, visit > http://mailman.isi.edu/mailman/listinfo/ns-users > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Ns-users digest..." > > > Today's Topics: > >1. how to create a new packet and set/get data? (Anuradha Sehgal) >2. Hey Ns2 ;) (Nadia) >3. Fwd: Mobility test of mobile IPv6 (Youngmin Kim) >4. HELP:new application not running. (aritra pal) >5. Re: Wireless sensors Examples (Sourabh Bora) >6. Re: how events are scheduled (Sourabh Bora) >7. How to make FTP objects to produce bulk of data for a other > other transport protocol object to send (Satish B) >8. energy of node (leticia bela) > > > -- > > Message: 1 > Date: Mon, 23 Apr 2007 10:38:31 +0530 > From: "Anuradha Sehgal" <[EMAIL PROTECTED]> > Subject: [ns] how to create a new packet and set/get data? > To: ns-users@ISI.EDU > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > hello ns-users > > I am using ns-allinone-2.31 installed on cygwin. > I have added some encryption and decryption functions by creating a new > class in ns2. > I have also used it in a script file by calling it from there. Its working > fine. The script file is > > #myTcl.tcl > set encdec [new Agent/EncDecOtcl] > $encdec call-my-priv-func2 > #end of tcl file= > > > Now i want to create a new packet and want to call that function from > there > so that data get encrypted and decrypted while sending and receiving. > any help will be greatly appreiciated. > > Thanks in advance > > With best regards, > Anuradha Sehgal > > > -- > > Message: 2 > Date: Mon, 23 Apr 2007 00:09:50 -0700 > From: Nadia <[EMAIL PROTECTED]> > Subject: [ns] Hey Ns2 ;) > To: ns-users@ISI.EDU > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii > > > > > http://www.hi5.com/register/RXx2B?inviteId=A_73f38fa_ibS0gd.YG2n0 > > nadia > > > > -- > > Message: 3 > Date: Mon, 23 Apr 2007 16:14:56 +0900 > From: "Youngmin Kim" <[EMAIL PROTECTED]> > Subject: [ns] Fwd: Mobility test of mobile IPv6 > To: ns-users@ISI.EDU > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Hello. > > I tested wireless3.tcl in the section X.2. of Marc Greis's tutorial. > It works good!! > Firstly, MH talks to W(0) through HA. As MH moves to its destination, > it talks to W(0) through FA. And when it returns back original > position MH talks to W(0) through HA again. > It takes long time to hand over relatively (more than 10s), but it works.. > > Now I want to test a mobility of the Mobile IPv6. > I use two tools. One is Mobiwan and the other is Mobility package for > NS-2 from NIST. > 1. Mobiwan for NS-2.27 (http://www.ti-wmc.nl/mobiwan2/) > 2. Mobility package for NS-2 from NIST > (http://w3.antd.nist.gov/seamlessandsecure/download.html) > > I modified wireless3.tcl of Marc Greis's tutorial. I attached them in this > mail. > 1. wireless3-mobiwan-ns-2.27.tcl > 2. wireless3-nist-mih-ns-2.29.tcl > Two files run well but the handover does not work!! > In wireless3-mobiwan-ns-2.27.tcl, when MH is in the HA it talks to > W(0) but after MH leaves HA it does not talk to W(0). > wireless3-nist-mih-ns-2.29.tcl, when MH is in the HA it talks to W(0) > but after MH leaves HA it does not talk to W(0). But when MH returns > back to HA, it talks to W(0) again. > > What is the problem? > > -- > > Message: 4 > Date: Mon, 23 Apr 2007 13:00:45 +0530 > From: "aritra pal" <[EMAIL PROTECTED]>