LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Closed Thread
 
Search this Thread
Old 03-15-2011, 09:32 AM   #196
salutrcmoi
LQ Newbie
 
Registered: Mar 2011
Posts: 16

Rep: Reputation: 0

i have the same résult with ./leach_test and ./test , leach.err writed befor, conditions.txt and leach.out empty

but with ./leach_test i have nothing in the terminal but with ./test i have :

num_nodes is set 3
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
warning: no class variable Phy/WirelessPhy::alive_

see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Phy/WirelessPhy::Efriss_amp_

warning: no class variable Phy/WirelessPhy::Etwo_ray_amp_

warning: no class variable Phy/WirelessPhy::EXcvr_

warning: no class variable Phy/WirelessPhy::sleep_

warning: no class variable Phy/WirelessPhy::ss_

warning: no class variable Phy/WirelessPhy::dist_

INITIALIZE THE LIST xListHead
warning: no class variable Phy/WirelessPhy::alive_

see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Phy/WirelessPhy::Efriss_amp_

warning: no class variable Phy/WirelessPhy::Etwo_ray_amp_

warning: no class variable Phy/WirelessPhy::EXcvr_

warning: no class variable Phy/WirelessPhy::sleep_

warning: no class variable Phy/WirelessPhy::ss_

warning: no class variable Phy/WirelessPhy::dist_

warning: no class variable Phy/WirelessPhy::alive_

see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Phy/WirelessPhy::Efriss_amp_

warning: no class variable Phy/WirelessPhy::Etwo_ray_amp_

warning: no class variable Phy/WirelessPhy::EXcvr_

warning: no class variable Phy/WirelessPhy::sleep_

warning: no class variable Phy/WirelessPhy::ss_

warning: no class variable Phy/WirelessPhy::dist_

Loading connection pattern...
Loading scenario file...
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 89.8
SORTING LISTS ...DONE!
NS EXITING...

Last edited by salutrcmoi; 03-15-2011 at 09:35 AM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-15-2011, 09:40 AM   #197
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
# 196 :

Well, then read posts #5 and #6, to know that it is OK.
 
Old 03-16-2011, 03:59 AM   #198
salutrcmoi
LQ Newbie
 
Registered: Mar 2011
Posts: 16

Rep: Reputation: 0
you said just that warning is not error, but i haven't results, please can you give me more informations ? and how can i use leach in my simulations

Last edited by salutrcmoi; 03-17-2011 at 10:35 AM.
 
Old 03-17-2011, 10:54 AM   #199
salutrcmoi
LQ Newbie
 
Registered: Mar 2011
Posts: 16

Rep: Reputation: 0
i have just leach.err writted before, but a havn't leach.alive, leach.out, leach.energy....
 
Old 03-19-2011, 12:06 PM   #200
rami2007
LQ Newbie
 
Registered: Mar 2011
Posts: 5

Rep: Reputation: 0
please help, couldn't run mte

please help me,

i cannot execute mte protocol, when i made it, i found the mte.err like following: INITIALIZE THE LIST xListHead
And mte.alive, mte.data, etc are null files. I have no idea about this. plz help me! thank you.
 
Old 03-22-2011, 04:45 AM   #201
keepwalking
Member
 
Registered: Oct 2010
Posts: 46

Rep: Reputation: 0
Hello

I'm trying to install ns2.27 on ubuntu 9.10 and have a problem for downloading the gcc410 patch can any one help me to download this patch file
 
Old 03-22-2011, 06:31 AM   #202
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
# 201 , @keepwalking :

Already answered here four days ago ( #30 ) :

http://www.linuxquestions.org/questi...356/page2.html
 
Old 03-29-2011, 07:34 AM   #203
keepwalking
Member
 
Registered: Oct 2010
Posts: 46

Rep: Reputation: 0
Hello all

I thank you I have manage to install ns2.27 on my computer now I want to add LEACH can any one help me with the LEACH make file and the instructions of how to add it on ns2.27.
 
Old 03-29-2011, 08:16 AM   #204
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
# 203 : The instructions are actually here in this very thread.


Or have a look at http://www.linuxquestions.org/questi...each-862835/#4
> > > ns2leach.pdf

Suggest again : Read the LEACH threads !
LQ Search → Tag = leach

.
 
Old 03-31-2011, 04:08 AM   #205
salutrcmoi
LQ Newbie
 
Registered: Mar 2011
Posts: 16

Rep: Reputation: 0
Please, can you tell me how I can change other parameters such as agent or paquet size ?
 
Old 03-31-2011, 04:12 AM   #206
keepwalking
Member
 
Registered: Oct 2010
Posts: 46

Rep: Reputation: 0
Hello all

I'm trying to test the leach on ns2.27, when I running ./test command it says ./leach_test line 37: mit/leach_sims/leach.err: no such file or directory but all this files are already in side the ns2.27 package . please can you help me to solve this problem
 
Old 04-01-2011, 08:45 AM   #207
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
# 206 : How come you don't read the above posts ? ?

I think the answer is still in post # 6. ( #5...#7.)

Also be aware that the log file leach.err is supposed to be an empty file,
when no errors appear. ( ns-allinone-2.27/ns-2.27/mit/leach_sims/leach.err )
 
Old 04-04-2011, 03:11 AM   #208
salutrcmoi
LQ Newbie
 
Registered: Mar 2011
Posts: 16

Rep: Reputation: 0
can you tell me how I can change other parameters such as agent or paquet size ?
 
Old 04-06-2011, 03:38 AM   #209
Poongs
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
Leach

Hello,
I'm working on LEACH protocol.I followed the installation steps and installed mit.tar.gz in ns 2.34.i performed till ./test step.but when viewed the leach.err file and compiled/run leach.tcl,mte.tcl i m getting the error that tcl/lib/ns-mte.tcl etc(tcl files of mit) no such files or directories.it would be very useful if someone helps me to debug this error.awaiting sincerely for your responses.


thanks
 
Old 04-06-2011, 03:43 AM   #210
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
@ Poongs , post 209 : Welcome to LQ. .. .. ..

The instructions, a build script, the modified files for ns-2.34,
it's all here ... post # 5
http://www.linuxquestions.org/questi...34-a-870368/#5
 
  


Closed Thread

Tags
leach, leach-ns227, ns2, ns227


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in simulating Black Hole Attack in AODV Protocol through NS2 in FC8 shyan Linux - Newbie 1 03-21-2009 05:28 AM
NS2 installation ds_priyaa Fedora 2 05-28-2008 02:23 AM
NS2 installation eby83 Linux - Newbie 2 06-11-2007 01:08 AM
ns2 installation pranoti Linux - Software 2 06-11-2007 12:45 AM
LXer: Interview with Bernard Leach (iPodLinux) LXer Syndicated Linux News 0 10-31-2006 11:33 AM


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

Main Menu
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