LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-26-2015, 03:50 AM   #1
Rizwanamalek
Member
 
Registered: Jan 2015
Posts: 56

Rep: Reputation: Disabled
leach.tcl execution problem


Sir i got error in path folder cd path/ns2.34/mit/uAMPS/sims/leach.tcl What this means? If LACH is not implementd properly? and How can i solve this problem?

Code:
[root@localhost sims]# ns leach.tcl
couldn't read file "mit/uAMPS/ns-leach.tcl": no such file or directory
    while executing
"source.orig mit/uAMPS/ns-leach.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel source.orig[list $fileName]"
    invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
    (procedure "source" line 8)
    invoked from within
"source mit/uAMPS/ns-leach.tcl"
    (file "leach.tcl" line 7)
[root@localhost sims]#
 
Old 03-26-2015, 05:27 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
"leach.tcl" is a configuration file. Cannot be run for simulation.
* Files.tcl are text files. Please read the file.

"leach.tcl" is one of the many configuration-files.tcl,
which are called, when you run ./test.
See post #34 here ...
http://www.linuxquestions.org/questi...367/page3.html

-
 
  


Reply

Tags
leach, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help me i need tcl code for leach protocol urgently manoj robin Linux - Newbie 1 09-20-2014 03:02 AM
LEACH and dsdv in tcl file linuxUser123linux Linux - Software 1 03-05-2014 12:05 AM
LEACH tcl linuxUser123linux Linux - Wireless Networking 2 07-19-2013 12:03 PM
a tcl sample file using leach saeed.m Linux - Software 2 07-15-2013 04:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration