LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-26-2015, 01:54 AM   #46
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
← ref. #44.

My knowledge is pretty much limited to ...
{ Finding information, building and running ns2,
building binary packages and patches.}

? Have you compared with the leach output examples in post #4
http://www.linuxquestions.org/questi...-4175531395/#4

? No hints in the leach documentation ?
http://www-mtl.mit.edu/researchgroup.../leach_doc.pdf


-
sir knudfl, i have a question about leach source.
1. can i move all source leach to one directory? "for documentation"
2. can i use that source without make install ? i mean after i install new ns (default) then just running the scrip bash, without use patch again.

Last edited by emprit; 02-26-2015 at 01:56 AM.
 
Old 02-26-2015, 06:10 AM   #47
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
← ref. #46.

What do you mean by "leach source" ?

( mit/ is already "one directory".)
 
1 members found this post helpful.
Old 02-26-2015, 11:10 AM   #48
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
← ref. #46.

What do you mean by "leach source" ?

( mit/ is already "one directory".)
ow so all leach source just on mit directory.

tq2 sir
 
Old 02-26-2015, 11:13 AM   #49
emprit
Member
 
Registered: Feb 2015
Location: jl. bogor 1 no 91, malang, jawa timur, indonesia
Distribution: any linux
Posts: 81

Rep: Reputation: Disabled
sir #knudfl
how much energy capacity every node by default, in real hardware? (joule)
 
Old 02-26-2015, 12:17 PM   #50
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
← ref. #48.

A complete set of "MIT Leach" files is leach+pegasis-ns234-files-2.tar.gz.
I don't know what you mean by "source".
C++ files (files.cc files.h) and tcl/{ lib/*.tcl [some files */*.tcl] }
are used for building 'ns'.

Running the leach simulation :
tcl files in mit/ and ...
tcl/mobility/{leach-c.tcl leach.tcl mte.tcl pegasis.tcl stat-clus.tcl}


← #49.
Not something I have any knowledge about.

May be some hints in ...
. http://www-mtl.mit.edu/researchgroups/icsystems/uamps/
. http://www-mtl.mit.edu/researchgroup.../leach_doc.pdf
. http://www.ier-institute.org/2070-19...%20v25/048.pdf
. http://lens1.csie.ncku.edu.tw/Librar...ster/P-2-3.pdf
. http://www.ijcsi.org/papers/IJCSI-8-1-155-164.pdf
. http://ceng.usc.edu/~raghu/pegasisrev.pdf
... Etc. leach documentation :
https://www.google.com/webhp?hl=all&...+documentation


-

Last edited by knudfl; 03-01-2015 at 11:19 AM.
 
Old 02-26-2015, 11:00 PM   #51
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 knudfl, how to make cluster 5% from number of node? i have read file readme on test_simulations directory. it said leach_2 use 5%, in directory of uAMPS i see file ns-leach_2.tcl, but idk how to use it, i try change name of ns-leach_2 to ns-leach, so i can call it use .test then the ouput still following number cluster on .test

update:

sir i can create cluster depend on %, now can u helpme, with file create leach.alive.txt sir ?

update:

i found it

Last edited by emprit; 02-27-2015 at 10:11 AM.
 
Old 02-28-2015, 06:39 AM   #52
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
← ref. #51
Quote:
I can create cluster depend on %, now can u helpme,
with file create leach.alive.txt .. ?

update : I found it
Please show what you did : Other LEACH readers may be interested.

1) HOWTO "create cluster depend on % "

2) Which file / function is creating ``leach.alive.txt ?


-
 
Old 03-01-2015, 02:35 AM   #53
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
← ref. #51

Please show what you did : Other LEACH readers may be interested.

1) HOWTO "create cluster depend on % "

2) Which file / function is creating ``leach.alive.txt ?


-
1) i try create cluster depend on % node live for every round create cluster, in my result for 4% is all node die in 700++s and on normal leach-c all node die in 400++s with 100 node. and why i use leach-c because leach-c selected ch depend on residual energy and distance with BS. to get that i just edit about value on num_cluster on tcl, but someone said use c++ if want improve clustering. and i still learn about c++ heheheh, newbie
2) for leach.$alg.txt i have found it.

sir knudfl, dist here in meter?

Last edited by emprit; 03-01-2015 at 04:11 AM.
 
Old 03-01-2015, 05:15 AM   #54
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
← ref. #53.
Quote:
2) for leach.$alg.txt I have found it.
Found leach.$alg.txt where ?
 
Old 03-01-2015, 05:20 AM   #55
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
← ref. #53.

Found leach.$alg.txt where ?
that was create on stats.tcl
not leach.$alg.txt but $alg.alive.txt

Last edited by emprit; 03-01-2015 at 05:22 AM.
 
Old 03-01-2015, 11:28 AM   #56
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
Ref. post #50, Leach Documentation.

I found the old `ns2leach.pdf in my backups.
( Not easy to find on the Internet any more.)

Is available in the "PDF package" leach-doc.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing
( Nine pdfs.)


-
 
1 members found this post helpful.
Old 03-01-2015, 07:44 PM   #57
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
Ref. post #50, Leach Documentation.

I found the old `ns2leach.pdf in my backups.
( Not easy to find on the Internet any more.)

Is available in the "PDF package" leach-doc.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing
( Nine pdfs.)


-
wow nice, thank you very much.

Last edited by emprit; 03-04-2015 at 10:26 PM.
 
Old 03-04-2015, 07:10 AM   #58
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
Ref. post #50, Leach Documentation.

-
sir knudfl u know what this mean
BS received info: (98.747841361327033 38.908460754392884 2) from Node 99 a nodik je 100 - mit/uAMPS/ns-bsapp.tcl
BS received: 100 - mit/uAMPS/ns-bsapp.tcl

"a nodik je" ?
 
Old 03-04-2015, 07:11 AM   #59
emprit
Member
 
Registered: Feb 2015
Location: jl. bogor 1 no 91, malang, jawa timur, indonesia
Distribution: any linux
Posts: 81

Rep: Reputation: Disabled
-----delete dup-----

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

Rep: Reputation: Disabled
-----delete dup-----

Last edited by emprit; 03-04-2015 at 10:25 PM.
 
  


Reply

Tags
leach, leach-ex#4, 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
problem with running leach protocol in ns2.34 leach.er Mohamed69 Linux - Software 14 04-16-2018 07:10 AM
leach.out total energy increase leach ns2.34 linuxUser123linux Linux - Software 1 07-13-2013 04:54 AM
Differences between LEACH results on ns2.1b5 and ns2.35 deepa_2111 Linux - Software 15 05-16-2013 05:53 PM

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

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