LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack Search this Thread
Old 06-20-2013, 08:33 AM   #481
noussa
LQ Newbie
 
Registered: Jun 2013
Posts: 3

Rep: Reputation: Disabled

#480

effectively, it doesn't work in ns2, I was forced to program it by my self
 
Old 06-21-2013, 02:32 AM   #482
adventurousman
LQ Newbie
 
Registered: Jun 2013
Posts: 5

Rep: Reputation: Disabled
please Melokhule i have same problem i want solve to problem please
Hello All

I tried to install LEACH on ns2.34 but IO got thi error when I was trying to Install it.keepwalking@ubuntu:~/ns-allinone-2.34/ns-2.34$ bash leach-setup.sh
ns-234-leach/trace/cmu-trace.cc
ns-234-leach/trace/
ns-234-leach/test
ns-234-leach/tcl/mobility/stat-clus.tcl
ns-234-leach/tcl/mobility/mte.tcl
ns-234-leach/tcl/mobility/leach.tcl
ns-234-leach/tcl/mobility/leach-c.tcl
ns-234-leach/tcl/mobility/
ns-234-leach/tcl/ex/wireless.tcl
ns-234-leach/tcl/ex/
ns-234-leach/tcl/
ns-234-leach/package_up
ns-234-leach/mit/uAMPS/stats.tcl
ns-234-leach/mit/uAMPS/sims/uamps.tcl
ns-234-leach/mit/uAMPS/sims/stat-clus.tcl
ns-234-leach/mit/uAMPS/sims/nodescen
ns-234-leach/mit/uAMPS/sims/mte.tcl
ns-234-leach/mit/uAMPS/sims/leach.tcl
ns-234-leach/mit/uAMPS/sims/leach-c.tcl
ns-234-leach/mit/uAMPS/sims/genscen
ns-234-leach/mit/uAMPS/sims/100nodes.txt
ns-234-leach/mit/uAMPS/sims/
ns-234-leach/mit/uAMPS/ns-stat-cluster.tcl
ns-234-leach/mit/uAMPS/ns-mte.tcl
ns-234-leach/mit/uAMPS/ns-leach.tcl
ns-234-leach/mit/uAMPS/ns-leach-c.tcl
ns-234-leach/mit/uAMPS/ns-bsapp.tcl
ns-234-leach/mit/uAMPS/extras.tcl
ns-234-leach/mit/uAMPS/bsagent.o
ns-234-leach/mit/uAMPS/bsagent.h
ns-234-leach/mit/uAMPS/bsagent.cc
ns-234-leach/mit/uAMPS/
ns-234-leach/mit/rca/resources/ns-resource.tcl
ns-234-leach/mit/rca/resources/ns-resource-manager.tcl
ns-234-leach/mit/rca/resources/ns-neighbor-resource.tcl
ns-234-leach/mit/rca/resources/ns-energy-resource.tcl
ns-234-leach/mit/rca/resources/
ns-234-leach/mit/rca/resource.o
ns-234-leach/mit/rca/resource.h
ns-234-leach/mit/rca/resource.cc
ns-234-leach/mit/rca/rcagent.o
ns-234-leach/mit/rca/rcagent.h
ns-234-leach/mit/rca/rcagent.cc
ns-234-leach/mit/rca/rca-ll.o
ns-234-leach/mit/rca/rca-ll.h
ns-234-leach/mit/rca/rca-ll.cc
ns-234-leach/mit/rca/ns-ranode.tcl
ns-234-leach/mit/rca/energy.o
ns-234-leach/mit/rca/energy.h
ns-234-leach/mit/rca/energy.cc
ns-234-leach/mit/rca/
ns-234-leach/mit/leach_sims/startup.energy
ns-234-leach/mit/leach_sims/leach.save2
ns-234-leach/mit/leach_sims/leach.save1
ns-234-leach/mit/leach_sims/leach.out
ns-234-leach/mit/leach_sims/leach.err
ns-234-leach/mit/leach_sims/leach.energy
ns-234-leach/mit/leach_sims/leach.data
ns-234-leach/mit/leach_sims/leach.alive
ns-234-leach/mit/leach_sims/conditions.txt
ns-234-leach/mit/leach_sims/TDMAschedule.80.txt
ns-234-leach/mit/leach_sims/TDMAschedule.60.txt
ns-234-leach/mit/leach_sims/TDMAschedule.480.txt
ns-234-leach/mit/leach_sims/TDMAschedule.460.txt
ns-234-leach/mit/leach_sims/TDMAschedule.440.txt
ns-234-leach/mit/leach_sims/TDMAschedule.420.txt
ns-234-leach/mit/leach_sims/TDMAschedule.400.txt
ns-234-leach/mit/leach_sims/TDMAschedule.40.txt
ns-234-leach/mit/leach_sims/TDMAschedule.380.txt
ns-234-leach/mit/leach_sims/TDMAschedule.360.txt
ns-234-leach/mit/leach_sims/TDMAschedule.340.txt
ns-234-leach/mit/leach_sims/TDMAschedule.320.txt
ns-234-leach/mit/leach_sims/TDMAschedule.300.txt
ns-234-leach/mit/leach_sims/TDMAschedule.280.txt
ns-234-leach/mit/leach_sims/TDMAschedule.260.txt
ns-234-leach/mit/leach_sims/TDMAschedule.240.txt
ns-234-leach/mit/leach_sims/TDMAschedule.220.txt
ns-234-leach/mit/leach_sims/TDMAschedule.200.txt
ns-234-leach/mit/leach_sims/TDMAschedule.20.txt
ns-234-leach/mit/leach_sims/TDMAschedule.180.txt
ns-234-leach/mit/leach_sims/TDMAschedule.160.txt
ns-234-leach/mit/leach_sims/TDMAschedule.140.txt
ns-234-leach/mit/leach_sims/TDMAschedule.120.txt
ns-234-leach/mit/leach_sims/TDMAschedule.100.txt
ns-234-leach/mit/leach_sims/TDMAschedule.0.txt
ns-234-leach/mit/leach_sims/
ns-234-leach/mit/
ns-234-leach/mac/wireless-phy.h
ns-234-leach/mac/wireless-phy.cc
ns-234-leach/mac/phy.h
ns-234-leach/mac/phy.cc
ns-234-leach/mac/mac.cc
ns-234-leach/mac/mac-sensor.h
ns-234-leach/mac/mac-sensor.cc
ns-234-leach/mac/mac-sensor-timers.h
ns-234-leach/mac/mac-sensor-timers.cc
ns-234-leach/mac/ll.h
ns-234-leach/mac/channel.cc
ns-234-leach/mac/
ns-234-leach/leach_test
ns-234-leach/common/packet.h
ns-234-leach/common/packet.cc
ns-234-leach/common/mobilenode.cc
ns-234-leach/common/
ns-234-leach/apps/app.h
ns-234-leach/apps/app.cc
ns-234-leach/apps/
ns-234-leach/Makefile.in
ns-234-leach/Makefile
ns-234-leach/
cp: cannot create directory `/keepwalking/ns-allinone-2.34/ns-2.34': No such file or directory
cp: target `/keepwalking/ns-allinone-2.34/ns-2.34/apps' is not a directory
cp: cannot create regular file `/keepwalking/ns-allinone-2.34/ns-2.34/mac': No such file or directory
cp: cannot create regular file `/keepwalking/ns-allinone-2.34/ns-2.34/mac': No such file or directory
cp: target `/keepwalking/ns-allinone-2.34/ns-2.34/mac' is not a directory
cp: target `/keepwalking/ns-allinone-2.34/ns-2.34/mac' is not a directory
cp: cannot create regular file `/keepwalking/ns-allinone-2.34/ns-2.34/mac': No such file or directory
cp: target `/keepwalking/ns-allinone-2.34/ns-2.34/mac' is not a directory
cp: cannot create regular file `/keepwalking/ns-allinone-2.34/ns-2.34/trace': No such file or directory
cp: target `/keepwalking/ns-allinone-2.34/ns-2.34/common' is not a directory
cp: cannot create regular file `/keepwalking/ns-allinone-2.34/ns-2.34/common': No such file or directory
cp: cannot create regular file `/keepwalking/ns-allinone-2.34/ns-2.34/tcl/mobility': No such file or directory
cp: cannot create regular file `/keepwalking/ns-allinone-2.34/ns-2.34/tcl/mobility': No such file or directory
cp: cannot create regular file `/keepwalking/ns-allinone-2.34/ns-2.34/tcl/mobility': No such file or directory
cp: cannot create regular file `/keepwalking/ns-allinone-2.34/ns-2.34/tcl/mobility': No such file or directory
cp: cannot create regular file `/keepwalking/ns-allinone-2.34/ns-2.34/tcl/ex': No such file or directory
cp: cannot create regular file `/keepwalking/ns-allinone-2.34/ns-2.34': No such file or directory
cp: cannot create regular file `/keepwalking/ns-allinone-2.34/ns-2.34': No such file or directory
cp: cannot create regular file `/keepwalking/ns-allinone-2.34/ns-2.34': No such file or directory
cp: cannot create regular file `/keepwalking/ns-allinone-2.34/ns-2.34': No such file or directory
keepwalking@ubuntu:~/ns-allinone-2.34/ns-2.34$ cd
keepwalking@ubuntu:~$ ns
may you please help me to solve this problem
 
Old 06-21-2013, 06:49 AM   #483
nitin.vtu@gmail.com
LQ Newbie
 
Registered: Apr 2013
Posts: 3

Rep: Reputation: Disabled
Leach protocol

hello ,
how do we install gcc-4.3 and g++-4.3 in fedora 8 ?
because it is giving error while installing LEACH protocol in ns-2.34,
make: G++-4.3: command not found
make: *** [tools/random.o] error 127
 
Old 06-21-2013, 09:36 AM   #484
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,183

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
# 483 .

The perfect gcc/g++ compiler for ns-allinone-2.34 is version 4.1.2 ,
which is already the default Fedora 8 compiler : # yum install gcc-c++

"gcc-4.3" is a version that once worked on some Ubuntu version.
Today we are mostly using version 4.1.2 .
All later Fedora versions use gcc34/g++34 for ns234: compat-gcc-34-c++

-
 
Old 06-23-2013, 03:29 PM   #485
hidoussi
LQ Newbie
 
Registered: May 2012
Location: ALGERIA
Posts: 14

Rep: Reputation: Disabled
HI

any one to help me to install the protocol SCTP in ns 2.34

please !!
 
Old 06-23-2013, 04:45 PM   #486
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,183

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
# 485, @hidoussi :
This thread is about LEACH only. Please do not ask off topic questions.
http://www.linuxquestions.org/linux/rules.html :
"When posting in an existing thread, ensure that what you're posting
is on-topic and relevant to the thread.
If the content of your post will interfere with the current discussion,
you should start a new thread."
http://www.linuxquestions.org/questi...ux-software-2/ → New Thread

SCTP http://www.isi.edu/nsnam/ns/doc/node426.html >
> http://www.isi.edu/nsnam/ns/doc/node427.html


-

Last edited by knudfl; 06-23-2013 at 04:53 PM.
 
Old 06-28-2013, 03:05 AM   #487
goldking123
LQ Newbie
 
Registered: Jun 2013
Location: Kanpur
Posts: 26

Rep: Reputation: Disabled
steps for exidus leach installation in NS2.34

Dear Sir/Madam,


Please help me to configure/install exidus leach to my ns2.34.

please suggest the steps.

thanks in advance.
 
Old 06-28-2013, 04:13 AM   #488
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,183

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
# 487 .

Double posting is not allowed http://www.linuxquestions.org/linux/rules.html
>> ""Do not post the same discussion in more than one forum.""

#11, #12 http://www.linuxquestions.org/questi...05#post4980105
 
Old 07-06-2013, 12:10 AM   #489
goldking123
LQ Newbie
 
Registered: Jun 2013
Location: Kanpur
Posts: 26

Rep: Reputation: Disabled
Question I also face the same problem. if you found anything means help me also.

Dear sir,

I faced the problem in creating nam file sir. if you know now the solution means share to me also. thanks in advance. and i am very kind of you if you helped me in this issue.

Last edited by goldking123; 07-10-2013 at 11:34 PM.
 
Old 07-06-2013, 01:58 PM   #490
saeed.m
LQ Newbie
 
Registered: Apr 2013
Posts: 17

Rep: Reputation: Disabled
Red face

hi
i have installed leach patches into my ns2.34 on fedora and also i download leach tcl file sample from google codes, now i try to use it below errors appearing so how to solve theme?
thanks in advance

Captures.JPG
 
Old 07-09-2013, 04:36 AM   #491
DeepaliDeshpande
LQ Newbie
 
Registered: Jul 2013
Posts: 11

Rep: Reputation: Disabled
leach

Quote:
Originally Posted by emma166 View Post
@deepa 2111
thx a lotttttttttt i changed the energy.cc and wireless-phy.cc as u said and my nergy is < 200 J
GOD bless u.thx a lot
Please let me also know what u have change in energy.cc and wireless-phy.cc with line no.
pleaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaase its urgent
 
Old 07-09-2013, 05:03 AM   #492
goldking123
LQ Newbie
 
Registered: Jun 2013
Location: Kanpur
Posts: 26

Rep: Reputation: Disabled
Respected kundfl sir,

I got now no errors in execution. thanks a lot for your support.

And please suggest some support to understand the process very well. i posted two problems to you.please support for that sir.
I kindly request you for the same.

Thanks in advance.
 
Old 07-09-2013, 06:51 AM   #493
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,183

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
# 492 .
Quote:
I got now no errors in execution
My congratulations with the successful build.

Suggest deepa_2111 : http://www.linuxquestions.org/questi...ember&u=584182
.. for the mentioned subjects / issues.

-
 
Old 07-09-2013, 06:59 AM   #494
goldking123
LQ Newbie
 
Registered: Jun 2013
Location: Kanpur
Posts: 26

Rep: Reputation: Disabled
Exclamation unable to open that file sir - help me

Quote:
Originally Posted by knudfl View Post
# 492 .

My congratulations with the successful build.

Suggest deepa_2111 : http://www.linuxquestions.org/questi...ember&u=584182
.. for the mentioned subjects / issues.

-
Respected knudfl Sir ,

I am unable to open the link sir. it shows the following message. please help me in this regard sir.




Quote:
LinuxQuestions.org Message
goldking123, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

And help me, what i to do to get the privileges. any one at least tell that to me.

Last edited by goldking123; 07-10-2013 at 05:03 AM. Reason: no response from linuxquestion.org
 
Old 07-11-2013, 05:39 AM   #495
DeepaliDeshpande
LQ Newbie
 
Registered: Jul 2013
Posts: 11

Rep: Reputation: Disabled
Deae all mates
Please help me when i run leach.test i get empty leach.out file please tell me why its really very very urgent
 
  


Reply

Tags
leach, leach-deepa#774, leach-warning50, ns2 ns234, pegasis


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


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