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 |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-08-2015, 02:20 AM
|
#1
|
LQ Newbie
Registered: Mar 2015
Posts: 25
Rep:
|
problem with mannasim after install leach on ns2.34
hi
I install ns2.34 with mannasim correctly.
but after install leach ns doesnt work.
erorr is:
ns:
[code omitted because of length]
: invalid command name "DataGenerator/TemperatureDataGenerator"
while executing
"DataGenerator/TemperatureDataGenerator set sensing_interval_ 0.0"
while executing
What is the problem?
Last edited by SAHO; 04-08-2015 at 02:22 AM.
|
|
|
04-08-2015, 02:32 AM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Welcome to LQ.
! Mannasim and LEACH cannot be added to the same ns-2.34 .
Just setup another ns-allinone-2.34 for LEACH :
/home/<name>/mannasim/ns-allinone-2.34/ (for mannasim)
/home/<name>/ns-allinone-2.34/ ( for Leach ).
You can have as many ns-allinone-2* as you want, installed at the same time. But do not add any *PATH text to .bashrc : Never required.
-
|
|
|
04-08-2015, 02:40 AM
|
#3
|
LQ Newbie
Registered: Mar 2015
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
Welcome to LQ.
! Mannasim and LEACH cannot be added to the same ns-2.34 .
Just setup another ns-allinone-2.34 for LEACH :
/home/<name>/mannasim/ns-allinone-2.34/ (for mannasim)
/home/<name>/ns-allinone-2.34/ ( for Leach ).
You can have as many ns-allinone-2* as you want, installed at the same time. But do not add any *PATH text to .bashrc : Never required.
-
|
tnx.
pl explain more.I didnt understand what should I do?
LEACH with out mannasim doesnt wor!!!
|
|
|
04-08-2015, 02:48 AM
|
#4
|
LQ Newbie
Registered: Mar 2015
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
Welcome to LQ.
! Mannasim and LEACH cannot be added to the same ns-2.34 .
Just setup another ns-allinone-2.34 for LEACH :
/home/<name>/mannasim/ns-allinone-2.34/ (for mannasim)
/home/<name>/ns-allinone-2.34/ ( for Leach ).
You can have as many ns-allinone-2* as you want, installed at the same time. But do not add any *PATH text to .bashrc : Never required.
-
|
ns2.34 PATH :/home/saho/nss/ns-allinone-2.34/ns-2.34
mannasim PATH:/home/saho/nss/ns-allinone-2.34/ns-2.34/mannasim
echo $PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
tnx
|
|
|
04-08-2015, 03:40 AM
|
#5
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Re #3, #4.
! Please do not quote entire posts ! A "one word reference" will do.
Quote:
LEACH with out mannasim doesnt work
|
What do you mean ?
1) LEACH without mannasim doesn't work ?
2) LEACH with mannasim out doesn't work ?
Repeat : There is no chance that you can add Leach to a mannasim patched ns-2.34.
Setting up two times ns-allinone-2.34
a) /home/saho/mannasim/ns-allinone-2.34/ (for mannasim)
b) /home/saho/ns-allinone-2.34/mit/ ( The MIT Leach.)
-
|
|
|
04-08-2015, 04:08 AM
|
#6
|
LQ Newbie
Registered: Mar 2015
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
Re #3, #4.
! Please do not quote entire posts ! A "one word reference" will do.
What do you mean ?
1) LEACH without mannasim doesn't work ?
2) LEACH with mannasim out doesn't work ?
Repeat : There is no chance that you can add Leach to a mannasim patched ns-2.34.
Setting up two times ns-allinone-2.34
a) /home/saho/mannasim/ns-allinone-2.34/ (for mannasim)
b) /home/saho/ns-allinone-2.34/mit/ ( The MIT Leach.)
-
|
without?! it means both mannasim and leach must be install!!!
first I installed ns2.34 with mannasim and mannasim 's PATH is /home/saho/nss/ns-allinone-2.34/ns-2.34/mannasim.
but in your PATH mannasim is befor ns-allinone-2.34!!!/home/saho/mannasim/ns-allinone-2.34 .
it means I should install again ns2.34 in /home/saho/nss/ns-allinone-2.34/ns-2.34/mannasim ?
second https://abdusyarif.wordpress.com/201...-step-by-step/
What do you mean ? (Setting up two times ns-allinone-2.34)?
|
|
|
04-08-2015, 07:53 AM
|
#8
|
LQ Newbie
Registered: Mar 2015
Posts: 25
Original Poster
Rep:
|
tnx .
what you are saying is not my problem.
I install ns2.34 with mannasim correctly.
when I have done all of those which sayed in this page ( https://abdusyarif.wordpress.com/201...step/)(install and rummig leach in ns2.34) i faced by this problem
ns:
[code omitted because of length]
: invalid command name "DataGenerator/TemperatureDataGenerator"
while executing
"DataGenerator/TemperatureDataGenerator set sensing_interval_ 0.0"
while executing
my ns dosent work.
what should I do?
|
|
|
04-08-2015, 07:58 AM
|
#9
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Re #8.
"https://abdusyarif.wordpress.com/201...-step-by-step/)(install"
.... is not a valid link.
How to copy a link address :
Right click >> Select : Copy Link Location.
-
|
|
|
04-08-2015, 08:07 AM
|
#10
|
LQ Newbie
Registered: Mar 2015
Posts: 25
Original Poster
Rep:
|
|
|
|
04-08-2015, 08:13 AM
|
#11
|
LQ Newbie
Registered: Mar 2015
Posts: 25
Original Poster
Rep:
|
I want to run leach in ns2.34 and ubuntu .
what is your procedure to install and run leach ?
step by step
tnx
|
|
|
08-30-2015, 06:50 AM
|
#13
|
LQ Newbie
Registered: Aug 2015
Posts: 1
Rep:
|
Answer
QUESTION:
[COLOR="black"]
Quote:
Originally Posted by SAHO;53[/COLOR
44210]hi
I install ns2.34 with mannasim correctly.
but after install leach ns doesnt work.
erorr is:
ns:
[code omitted because of length]
: invalid command name "DataGenerator/TemperatureDataGenerator"
while executing
"DataGenerator/TemperatureDataGenerator set sensing_interval_ 0.0"
while executing
What is the problem?
|
ANSWER:
hi.
I think you should copy all of file (into the mannasim folder) to the ns-allinone-2.35 folder. .then reinstall the ns
Last edited by sanazs; 08-30-2015 at 06:58 AM.
|
|
|
All times are GMT -5. The time now is 03:58 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
|
|