LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-13-2015, 10:15 AM   #946
ghadghoud
LQ Newbie
 
Registered: Apr 2015
Posts: 11

Rep: Reputation: Disabled

i can replace the folder that i already have with one of this and i won't have a problem ?
It won't generate an error ?
Sorry for my question but i am still a beginner .
Thank you
 
Old 04-13-2015, 10:29 AM   #947
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #946.

Not a good idea to replace ns-2.34/mit/leach_sims/ :
The files will be overwritten if you run ./test

Suggest :
$ mkdir 2014 ,,, and unpack leach_sims__2014.tar.gz in 2014/.
$ mkdir 2015 ,,, unpack leach_sims_03.2015.tar.gz in 2015/.
Doesn't really matter with the folder naming :
The files in leach_sims/ are not used by any other files.

-
 
Old 04-14-2015, 04:50 AM   #948
SAHO
LQ Newbie
 
Registered: Mar 2015
Posts: 25

Rep: Reputation: Disabled
file that aggregate packet in clusetr head

hi
i want to change packet before cludter head aggregates packet .where is file that aggregate packet in clusetr head?
 
Old 04-14-2015, 05:08 AM   #949
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #948, @SAHO.

Your leach thread http://www.linuxquestions.org/questi...gy-4175539566/
... expresses a non working LEACH, so why ask here ?
 
Old 04-14-2015, 05:20 AM   #950
SAHO
LQ Newbie
 
Registered: Mar 2015
Posts: 25

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Re #948, @SAHO.

Your leach thread http://www.linuxquestions.org/questi...gy-4175539566/
... expresses a non working LEACH, so why ask here ?
yes it isnt work.and any one help me.andnow i wantto read source code until the leach works correctly.
 
Old 04-14-2015, 06:35 AM   #951
ghadghoud
LQ Newbie
 
Registered: Apr 2015
Posts: 11

Rep: Reputation: Disabled
Thank you again
After running ./test


/ Test after generate a lot of files. Same document mit / uAMPS / sims folder, respectively: wireless.alive, wireless.energy, wireless.data

I can't find these files too . What is the problem ?
 
Old 04-14-2015, 07:01 AM   #952
SAHO
LQ Newbie
 
Registered: Mar 2015
Posts: 25

Rep: Reputation: Disabled
Quote:
Originally Posted by deepa_2111 View Post
Hi prat,

you have to give the proper address of your libraries.
leach.err:

invalid command name "Resource/Energy"
while executing
...

i have same problem.pl guide me.
what do u mean proper address of your libraries?
i read all previous post but didnt see any post that solve this problem.tnx

Last edited by SAHO; 04-14-2015 at 07:03 AM.
 
Old 04-18-2015, 10:07 PM   #953
emprit
Member
 
Registered: Feb 2015
Location: jl. bogor 1 no 91, malang, jawa timur, indonesia
Distribution: any linux
Posts: 81

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
-
sir i try compare output my leach/leach-c with http://www-mtl.mit.edu/researchgroup...wendi05_03.pdf

so much differen about Optimum Number of Clusters energy used per round.
 
Old 04-26-2015, 04:03 AM   #954
soufien1988
LQ Newbie
 
Registered: Apr 2015
Posts: 6

Rep: Reputation: Disabled
ns2

Can anyone tell how to run SPIN protocol in ns2
 
Old 05-08-2015, 01:35 AM   #955
SAHO
LQ Newbie
 
Registered: Mar 2015
Posts: 25

Rep: Reputation: Disabled
distance node -BS

how can calculate distance each node and BS in leach in ns2?
 
Old 05-21-2015, 12:54 PM   #956
rockben
LQ Newbie
 
Registered: Nov 2011
Posts: 5

Rep: Reputation: Disabled
Hi,
I want to integrate the energy model used in leach protocol, into another routing protocol (i'm using ns2.31 ubuntu 10.04)
i observed that in ns2 energy model (in wireless-phy.cc, pt_consume and rt_cosume are fixed) the energy consumed during the transmission is fixed and thus don't consider the variation of transmission power in the enrgy consumption
please help!
 
Old 05-22-2015, 05:44 AM   #957
emprit
Member
 
Registered: Feb 2015
Location: jl. bogor 1 no 91, malang, jawa timur, indonesia
Distribution: any linux
Posts: 81

Rep: Reputation: Disabled
Quote:
Originally Posted by rockben View Post
Hi,
I want to integrate the energy model used in leach protocol, into another routing protocol (i'm using ns2.31 ubuntu 10.04)
i observed that in ns2 energy model (in wireless-phy.cc, pt_consume and rt_cosume are fixed) the energy consumed during the transmission is fixed and thus don't consider the variation of transmission power in the enrgy consumption
please help!
u change pt_consume and rt_consume ?
 
Old 05-22-2015, 12:02 PM   #958
rockben
LQ Newbie
 
Registered: Nov 2011
Posts: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by emprit View Post
u change pt_consume and rt_consume ?
no i didn't
but my quetion is how can i do that ? how can i relate the trasmision power with the energy cunsumption ?
or how can i integrate the leach energy model in ns2 in order to use it in other routing protocols ?( just the energy model )

Last edited by rockben; 05-22-2015 at 12:06 PM.
 
Old 05-23-2015, 11:33 AM   #959
viethd92
LQ Newbie
 
Registered: May 2015
Posts: 9

Rep: Reputation: Disabled
Hi, how to increase the number of packets sent in Leach protocol?
 
Old 05-31-2015, 11:58 PM   #960
NAYEFALDAUIS
LQ Newbie
 
Registered: Oct 2014
Posts: 4

Rep: Reputation: Disabled
Hello ,
To all

Can anyone told me how to edit "topology/topology-100-200x200" ;# scenario file to be for 200 nodes !!!

thanks in advance.
 
  


Reply

Tags
leach, leach-warning50, ns2, ns2 ns234, pegasis



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
ns:"error when calling class OldSim"&tclsh:"invalid command+child process exits abn." shojaru Linux - Newbie 0 03-05-2009 04:23 AM
labview stopped at "init tmp resource files" on FC4 baosheng Linux - Software 2 09-28-2007 11:02 AM
ORiNOCO WLAN card not working - "failed to allocate resource" hauneboo Linux - Laptop and Netbook 1 11-29-2005 09:08 AM
What "kernel opts" allow PC to power down with "turning energy off"? kornerr Linux - General 1 03-10-2005 12:07 PM
nvidia insmod: "Device or resource busy" w/GeForce 4 MX KeithSpook Linux - Hardware 4 03-03-2004 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:32 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