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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
04-23-2010, 06:17 PM
|
#61
|
|
LQ Newbie
Registered: Mar 2010
Posts: 10
Rep:
|
I edit my post#50
I will try to install ns-allinone-2.34/nam-1.13 then I will be back.
Thanks knudfl for everything
|
|
|
1 members found this post helpful.
|
04-25-2010, 11:49 AM
|
#62
|
|
LQ Newbie
Registered: Apr 2010
Posts: 19
Rep:
|
hello,
I must write a code for the protocol leach while I do not know how.
can you help me by giving me a sample code to generate a .tr file
thank you very much
|
|
|
|
04-26-2010, 12:32 AM
|
#63
|
|
LQ Newbie
Registered: Apr 2010
Posts: 13
Rep:
|
HI,
I am a new user in LQ.
how to install ns2.27 in ubuntu9.10?
|
|
|
|
04-26-2010, 12:40 AM
|
#64
|
|
LQ Newbie
Registered: Apr 2010
Posts: 13
Rep:
|
hi,
I have insalled ns2.34 in ubuntu9.10.
how I can install LEACH protcole now in ns2.34?
|
|
|
|
04-26-2010, 01:52 AM
|
#65
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,590
|
nour-eddine , # 63 , # 64.
Please read the answer to you = post # 56
Reading all posts in all the six LEACH threads is a must.
The "start" instructions for Ubuntu 9.10 are included ..
http://www.linuxquestions.org/questi...10-a-782356/#3
→ → post # 3.
|
|
|
2 members found this post helpful.
|
04-28-2010, 12:55 PM
|
#66
|
|
LQ Newbie
Registered: Apr 2010
Posts: 13
Rep:
|
install ns2.27 in ubuntu9.10
Quote:
Originally Posted by knudfl
|
Thank you all
Thank you knudfl
I do what you said but
make: *** [libotcl.so] Error 1
otcl-1.8 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
|
|
|
|
04-28-2010, 01:22 PM
|
#67
|
|
LQ Newbie
Registered: Apr 2010
Posts: 13
Rep:
|
install ns2.27 in ubuntu9.10
Quote:
Originally Posted by knudfl
|
Thank you all
Thank you knudfl
now it work.
You need to edit ns-allinone-2.27/otcl-1.13/Makefile.in to :
CC = gcc-3.3
thanks.
and now how i work leach in ns2.27 in ubuntu9.10.
|
|
|
|
04-29-2010, 05:43 AM
|
#68
|
|
LQ Newbie
Registered: Mar 2010
Posts: 10
Rep:
|
leach on ns-2.34
the leach modified to run under NS-2.34
create a shortcut of leach.tcl, leach-c.tcl ... and put them on ..\tcl\mobility\
http://rapidshare.com/files/38151624...for_NS2.34.rar
|
|
|
2 members found this post helpful.
|
04-29-2010, 02:32 PM
|
#69
|
|
LQ Newbie
Registered: Apr 2010
Posts: 13
Rep:
|
[QUOTE=emtarik05;3951639]the leach modified to run under NS-2.34
create a shortcut of leach.tcl, leach-c.tcl ... and put them on ..\tcl\mobility\
http://rapidshare.com/files/38151624...for_NS2.34.rar[
Hi,
I have just installed NS2.27 and ns2.34 onto my system ubuntu9.10.
Following the LEACH installation steps.
Thank you
Last edited by nour-eddine; 04-29-2010 at 02:38 PM.
|
|
|
|
04-29-2010, 02:36 PM
|
#70
|
|
LQ Newbie
Registered: Apr 2010
Posts: 13
Rep:
|
Hi,
I am working on SPIN protocol. I have just installed NS2.27 and ns2.34 onto my system ubuntu9.10.
Following the SPIN installation steps.
Thank you
|
|
|
|
04-30-2010, 05:59 PM
|
#71
|
|
LQ Newbie
Registered: Mar 2010
Posts: 10
Rep:
|
Modified leach run under ns-2.34
Hello
Quote:
Originally Posted by emtarik05
|
I try it but I got lot of warnings (I copy and paste (merge and replace all) the files you modified in ns-2.34 folder and I add leach.tcl, leach-c.tcl on ..\tcl\mobility\):
Code:
[root@localhost ns-2.34]# ./test
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...
[root@localhost ns-2.34]#
Is it mean it is work correct with all of these warnings or what is the problem and how can I solve it?
Thank you
Last edited by WSNs; 04-30-2010 at 06:06 PM.
|
|
|
|
05-01-2010, 03:50 AM
|
#72
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,590
|
# 71 , @ WSNs :
You will know from other LQ Leach posts, that warnings
don't mean errors. Warnings are information.
Words, expressions, statements not used : you will get
'an information' about the situation : A "warning".
Last edited by knudfl; 05-01-2010 at 04:22 AM.
|
|
|
1 members found this post helpful.
|
05-01-2010, 01:08 PM
|
#73
|
|
LQ Newbie
Registered: Mar 2010
Posts: 10
Rep:
|
Leach with ns-2.34
Quote:
Originally Posted by knudfl
# 71 , @ WSNs :
You will know from other LQ Leach posts, that warnings
don't mean errors. Warnings are information.
Words, expressions, statements not used : you will get
'an information' about the situation : A "warning".
|
Thank you knudfl. Actually, I modified LEACH before 1 week to work with ns-2.34 and I did not get all of these warnings:
Code:
[naif@localhost ns-2.34]$ ./test
num_nodes is set 3
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
NS EXITING...
BUT when I ./validate there are some portable and non-portable tests failed:
Code:
validate overall report: some portable tests failed:
./test-all-diffusion3 ./test-all-smac ./test-all-WLtutorial ./test-all-wireless-infra ./test-all-wireless-infra-mobility ./test-all-wireless-lan-aodv ./test-all-wireless-diffusion ./test-all-wireless-lan-newnode ./test-all-wireless-lan-newnode-80211Ext ./test-all-tagged-trace ./test-all-wpan ./test-all-energy
some non-portable tests also failed:
./test-all-smac-multihop ./test-all-wireless-tdma
to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME
[naif@localhost ns-2.34]$
My questions is:
- Does all these test important to agree (not failed)?
- NOW, How I can run example of leach and see the trace and nam of this example because when I (./test) it run wireless-demo-csci694.tcl and (./leach_test) does not give me any thing:
Code:
[naif@localhost ns-2.34]$ ./test
num_nodes is set 3
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
NS EXITING...
[naif@localhost ns-2.34]$ ./leach_test
[naif@localhost ns-2.34]$
Thank you
Last edited by WSNs; 05-01-2010 at 01:13 PM.
|
|
|
|
05-06-2010, 04:11 PM
|
#74
|
|
LQ Newbie
Registered: Apr 2010
Posts: 13
Rep:
|
Quote:
Originally Posted by WSNs
Thank you knudfl. Actually, I modified LEACH before 1 week to work with ns-2.34 and I did not get all of these warnings:
Code:
[naif@localhost ns-2.34]$ ./test
num_nodes is set 3
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
NS EXITING...
BUT when I ./validate there are some portable and non-portable tests failed:
Code:
validate overall report: some portable tests failed:
./test-all-diffusion3 ./test-all-smac ./test-all-WLtutorial ./test-all-wireless-infra ./test-all-wireless-infra-mobility ./test-all-wireless-lan-aodv ./test-all-wireless-diffusion ./test-all-wireless-lan-newnode ./test-all-wireless-lan-newnode-80211Ext ./test-all-tagged-trace ./test-all-wpan ./test-all-energy
some non-portable tests also failed:
./test-all-smac-multihop ./test-all-wireless-tdma
to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME
[naif@localhost ns-2.34]$
My questions is:
- Does all these test important to agree (not failed)?
- NOW, How I can run example of leach and see the trace and nam of this example because when I (./test) it run wireless-demo-csci694.tcl and (./leach_test) does not give me any thing:
Code:
[naif@localhost ns-2.34]$ ./test
num_nodes is set 3
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
NS EXITING...
[naif@localhost ns-2.34]$ ./leach_test
[naif@localhost ns-2.34]$
Thank you
|
how to close all warning.
|
|
|
1 members found this post helpful.
|
05-06-2010, 04:12 PM
|
#75
|
|
LQ Newbie
Registered: Apr 2010
Posts: 13
Rep:
|
hi,
How I can run example of leach and see the trace and nam of this example.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:33 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|