error is happen sir how i solve it ,,when i run this

38 views
Skip to first unread message

lework dagne

unread,
Nov 10, 2019, 11:02:25 AM11/10/19
to Network Simulator 2 (NS2)
1-WCA (1).tcl
errorgwca.png

lework dagne

unread,
Nov 10, 2019, 11:06:17 AM11/10/19
to ns-u...@googlegroups.com
please help me this is my headack


On Sun, Nov 10, 2019 at 11:02 AM lework dagne <lewo...@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/a0328aa6-9ce7-41b8-98af-76bd2a65643d%40googlegroups.com.

lework dagne

unread,
Nov 10, 2019, 11:08:25 AM11/10/19
to ns-u...@googlegroups.com
plus to that when i run the next another tcl file it hasanother problem on connection pattern ..how i can solve it

lework dagne

unread,
Nov 10, 2019, 11:09:30 AM11/10/19
to ns-u...@googlegroups.com
timage.png
me.tcl

lework dagne

unread,
Nov 10, 2019, 11:10:31 AM11/10/19
to ns-u...@googlegroups.com
the screen shot of my problem and the tcl is above
i want to run these two files but i cannot,...i am sorry

lework dagne

unread,
Nov 10, 2019, 12:09:39 PM11/10/19
to ns-u...@googlegroups.com
with greate thanks.....and...my question are urgent for me ...can any one help me.... i am stressed it is not working

On Sun, Nov 10, 2019 at 12:05 PM lework dagne <lewo...@gmail.com> wrote:
with great thanks sir ....i want to get result in graph from the wtrace.tr and already i got the topology from simulation.nam ..please help me. how i got graph from this trace file. it is huge to understan even so how i can solve it.is that possible in xgraph? how?? and when i open this trace file it is huge i cannot understand .so how i make the txt if it has no another way other than awk.please help me from scratch .i am new for these concept.

knudfl

unread,
Nov 10, 2019, 1:48:41 PM11/10/19
to Network Simulator 2 (NS2)
1-WCA.tcl :   You have set the number of nodes as an argument :
set nn    [lindex $argv 0]    ;# number of nodes

.... Which means the node number must be included in the command line :
$ ns 1-WCA.tcl 50



On Sunday, November 10, 2019 at 5:02:25 PM UTC+1, lework dagne wrote:

knudfl

unread,
Nov 10, 2019, 2:19:50 PM11/10/19
to Network Simulator 2 (NS2)
"You should avoid posting pictures of text. Pictures can be hard to read. Text is easier to read in different screen formats, can be copied and pasted, as well as is search engine addressable, making it easier for people to reach this post who may have a similar issue."
My comment :  I guess you know how to copy-paste a text.

Typos
Line 14:  set opt(cp) " "    
Must be:  set opt(cp) ""
Line 84:  87puts "Loading scenario file..."   
Must be:  puts "Loading scenario file..."

Testing the edited OLSR file `me.tcl´ :
$ ns235-olsr-64 olsr-me-1.tcl
.
couldn't read file "./scenario/scen30by10": no such file or directory
.
I.e. the file `scen30by10´ is missing.

Testing with olsr-me-1.tcl edited to use "mobility30.tcl" :
$ ns235-olsr-64 2olsr-me-2.tcl
.... Everything is OK.


olsr-me-1.tcl
2olsr-me-2.tcl
mobility30.tcl

lework dagne

unread,
Nov 11, 2019, 3:30:08 AM11/11/19
to ns-u...@googlegroups.com
sir thanks very much ..but it says command not found
image.png

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.

lework dagne

unread,
Nov 11, 2019, 3:36:06 AM11/11/19
to ns-u...@googlegroups.com
with great thanks before this example you replay for 1-WCA.tcl :  your show me very well thanks and before that you attach it with txt file . how you get/save that result /home/krwel/Downloads/1-wca-out.txt

lework dagne

unread,
Nov 11, 2019, 3:40:17 AM11/11/19
to ns-u...@googlegroups.com
 and i got wca.nam and wca.tr from 1-WCA.tcl. i want to analyze in graph. which tool is preferred? and how from scratch can i get video. awk and xgraph are hard to underdtand for me

lework dagne

unread,
Nov 11, 2019, 3:58:04 AM11/11/19
to Network Simulator 2 (NS2)


On Monday, November 11, 2019 at 3:30:08 AM UTC-5, lework dagne wrote:
sir thanks very much ..but it says command not found
image.png

On Sun, Nov 10, 2019 at 2:19 PM knudfl <knu...@ofir.dk> wrote:
"You should avoid posting pictures of text. Pictures can be hard to read. Text is easier to read in different screen formats, can be copied and pasted, as well as is search engine addressable, making it easier for people to reach this post who may have a similar issue."
My comment :  I guess you know how to copy-paste a text.

Typos
Line 14:  set opt(cp) " "    
Must be:  set opt(cp) ""
Line 84:  87puts "Loading scenario file..."   
Must be:  puts "Loading scenario file..."

Testing the edited OLSR file `me.tcl´ :
$ ns235-olsr-64 olsr-me-1.tcl
.
couldn't read file "./scenario/scen30by10": no such file or directory
.
I.e. the file `scen30by10´ is missing.

Testing with olsr-me-1.tcl edited to use "mobility30.tcl" :
$ ns235-olsr-64 2olsr-me-2.tcl
.... Everything is OK.


--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+unsubscribe@googlegroups.com.
Message has been deleted

lework dagne

unread,
Nov 11, 2019, 4:08:36 AM11/11/19
to Network Simulator 2 (NS2)
in another time it print only one node in all simulation time..

On Monday, November 11, 2019 at 4:03:22 AM UTC-5, lework dagne wrote:
thanks alot sir what is my problem it says...channel warning and sorting lis done it leads to enter something...so

knudfl

unread,
Nov 11, 2019, 4:13:25 AM11/11/19
to Network Simulator 2 (NS2)
@lework dagne :  Images will not be read.  Delete the post. And post a new post with text.txt


lework dagne

unread,
Nov 11, 2019, 7:22:09 AM11/11/19
to Network Simulator 2 (NS2)
in

lework dagne

unread,
Nov 11, 2019, 7:37:44 AM11/11/19
to Network Simulator 2 (NS2)


On Monday, November 11, 2019 at 7:22:09 AM UTC-5, lework dagne wrote:
sorry sir ,,i canot express well ,english is my 2nd language so if it will not clear i will define again
but i want  help uregently
it is not working when  the 2olsr-me-2.tcl na mobility30 it says   "ns235-olsr-64: command not found" i run in the way as you  ns235-olsr-64 2olsr-me-2.tcl

lework dagne

unread,
Nov 11, 2019, 7:40:01 AM11/11/19
to Network Simulator 2 (NS2)
ok sir thanks alot and if  my english not express my idea i kindly ask sorry i will define again

lework dagne

unread,
Nov 11, 2019, 7:45:50 AM11/11/19
to Network Simulator 2 (NS2)


On Monday, November 11, 2019 at 4:13:25 AM UTC-5, knudfl wrote:

lework dagne

unread,
Nov 11, 2019, 7:46:21 AM11/11/19
to Network Simulator 2 (NS2)
thanks alot sir what is my problem it says...channel warning and sorting lis done it leads to enter something...so

knudfl

unread,
Nov 11, 2019, 8:16:29 AM11/11/19
to Network Simulator 2 (NS2)
Hi.

A warning is not an error. Is just "an informational text message".
This warning  "Please use -channel as shown in tcl/ex/wireless-mitf.tcl"
....  will be shown with hundreds of simulations.

lework dagne

unread,
Nov 11, 2019, 8:27:07 AM11/11/19
to ns-u...@googlegroups.com
ok thanks very much..i have no word to express your help other than thanks.....and then i want to analyze the result from trace file how as you see wtrce.tr is created from 1-WCA.tcl . the second question is how you got

On Sun, Nov 10, 2019 at 2:19 PM knudfl <knu...@ofir.dk> wrote:
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.

lework dagne

unread,
Nov 11, 2019, 8:27:54 AM11/11/19
to ns-u...@googlegroups.com
please can any one replay quickly...it is my headacke

lework dagne

unread,
Nov 11, 2019, 8:31:15 AM11/11/19
to ns-u...@googlegroups.com
thanks sir,but the las one is not respond (lead to) the nam
why?

knudfl

unread,
Nov 11, 2019, 9:34:06 AM11/11/19
to Network Simulator 2 (NS2)
»» the las one is not respond (lead to) the nam «« :  Not quite clear what you mean. Please rephrase.

Please show the command ....  and the output :  As text.
And the output files :   File names,  and file size,  please.

.... You should also write the above in your own language.
No problem here with translating any text / any language / any font.
I.e. 'Google translate' https://translate.google.com/  and my installed foreign fonts can handle almost any writing.

-

lework dagne

unread,
Nov 12, 2019, 3:39:55 AM11/12/19
to Network Simulator 2 (NS2)
ok thanks very much..i have no word to express your help other than thanks.....and then i want to analyze the result from trace file how as you see wtrce.tr is created from 1-WCA.tcl . the second question is how you got


knudfl

unread,
Nov 12, 2019, 5:28:31 AM11/12/19
to Network Simulator 2 (NS2)
»» want to analyze the result from trace «« :
Use APP-Tool,  or awk scripts from  APP-Tool/Final/.
$ ns235-64-orig 1-WCA.tcl 50    ## WCA.tr 285 kB is created
$ awk -f Avg_Tput.awk WCA.tr
       startTime:  1
        stopTime:  309
    receivedPkts:  202
   avgTput[kbps]:  0.0358924

»» the second question is how you got «« :    Cannot be answered. What is the question ?

lework dagne

unread,
Nov 12, 2019, 8:52:52 AM11/12/19
to ns-u...@googlegroups.com
how you got this file from terminal-output.txt

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
terminal-output.txt
1-WCA.tcl

hafte agebash

unread,
Nov 12, 2019, 3:08:11 PM11/12/19
to ns-u...@googlegroups.com
1,What is best MANET protocol for clustering energy efficiency ?
2, pls leave here or send via ma gmail if you have any cluster head election /selection source code


knudfl

unread,
Nov 12, 2019, 3:52:51 PM11/12/19
to Network Simulator 2 (NS2)
Add 1.  manet-examples-6.tar.gz

Add 2. Cluster / cluster head


About email :  All technical discussion is supposed to be done in the Forum.
So other readers can benefit from the suggested solutions / information.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-u...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-u...@googlegroups.com.

hafte agebash

unread,
Nov 13, 2019, 9:35:07 AM11/13/19
to ns-u...@googlegroups.com
thanks a lot Dear knudfi
i will chek it

To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/bd44665d-edfb-4e49-bfc6-9de670c26e8f%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages