LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-15-2012, 03:40 AM   #46
lubelube
Member
 
Registered: Mar 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled

knudfl, do you know how create node in leach?
 
Old 09-24-2012, 01:13 PM   #47
lubelube
Member
 
Registered: Mar 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled
kndufl, can you help me? I run "make" command in ns 2.27(with cygwin), but there was an error like this

image3.JPG

and when i run "./test" command in ns 2.27 there was an error in leach.err like this

image4.JPG

what should i do? please help me.. thank before..
 
Old 09-27-2012, 02:19 PM   #48
lubelube
Member
 
Registered: Mar 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled
knudfl, can you help me?
i have installed LEACH (mit.tar.gz) with ns-2.27,and i type ./test to test
LEACH protocol but it show error:

invalid command name "Resource/Energy"
while executing
"Resource/Energy instproc setParams {args} {
$self instvar energyLevel_ alarmLevel_
set energyLevel_ [lindex $args 0]
set alarmLevel_ [lind..."
(file "mit/rca/resources/ns-energy-resource.tcl" line 11)
invoked from within
"source.orig mit/rca/resources/ns-energy-resource.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 $env(RCA_LIBRARY)/resources/ns-energy-resource.tcl"
(file "mit/uAMPS/sims/uamps.tcl" line 18)
invoked from within
"source.orig mit/uAMPS/sims/uamps.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/sims/uamps.tcl"
(file "tcl/mobility/leach.tcl" line 18)
invoked from within
"source.orig tcl/mobility/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 tcl/mobility/$opt(rp).tcl"
(file "tcl/ex/wireless.tcl" line 187)


what should i do? please help me..
thanks before.
 
Old 10-26-2012, 03:58 PM   #49
joselitomoraes
LQ Newbie
 
Registered: Oct 2012
Location: Belém, Pará, Brasil.
Distribution: Ubuntu 10.04 LTS
Posts: 4

Rep: Reputation: Disabled
I installed ns-2.33 and have the following problem:

invalid command name "Queue / LTEQueue" while executing "Queue / LTEQueue September qos_ true" (file "lte.tcl" line 17)

Can anyone help me?

Thank you!
 
Old 10-26-2012, 05:01 PM   #50
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,284

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
Post # 49, @joselitomoraes : Welcome to LQ.

This thread is about "ns2 leach" only.
And you cannot use another members thread for an off topic question.
Please start a new thread about lte, then we can answer you.
( Or use the Report button :
Ask a mod about moving your post to an lte tagged thread.)

.
 
1 members found this post helpful.
Old 04-18-2013, 06:02 AM   #51
doussa
LQ Newbie
 
Registered: Feb 2013
Posts: 29

Rep: Reputation: Disabled
Hi friends,
I need a help about how to integrate multi hop notion in leach code (leach.tcl), if anyone can help me I will be grateful.
 
  


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
codes for leach protocol in ns2 shaddrack yaw nusenu Linux - Newbie 4 09-14-2014 11:16 AM
Leach Protocol for ns2.34 pushpita Linux - Software 36 07-08-2013 05:06 AM
LEACH protocol installation on NS2.27 Scofield Linux - General 255 03-08-2012 06:19 PM


All times are GMT -5. The time now is 07:22 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration