Linux - SoftwareThis 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.
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.
Dear Sir/Mam,
I am using ns-allinone-2.29.3 with fedora 18. I have installed Mannasim successfully. My tcl code runs with following error and also i couldn't find how to run my nam.
ns: finish: can't read "namtraceAllFile_": no such variable
while executing
"if {$namtraceAllFile_ != ""} {
$self puts-nam-config "W -t $stoptime"
}"
(procedure "_o3" line 4)
(Simulator nam-end-wireless line 4)
invoked from within
"$ns_ nam-end-wireless $val(stop)"
(procedure "finish" line 9)
invoked from within
"finish"
And a Fedora package : nrl-sensorsim-ns-2.26-1.sl6.i686.rpm https://drive.google.com/file/d/0B7S...it?usp=sharing
Install with : # yum localinstall nrl-sensorsim-ns-2.26-1.sl6.i686.rpm
Provides /usr/local/bin/ns-nrl
.. which means simulation is done with $ ns-nrl file.tcl
I have downloaded nrl-sensorsim-ns-2.26-1.sl6.i686.rpm.. I have seen the questions related to nrl-sensorsim. But i couldn't follow the steps. plz help me to install nrl-sensorsim in ns-allinone-2.34.. I am using fedora 18.
Last edited by esthersangeetha; 10-02-2014 at 08:29 AM.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,494
Rep:
← #6 .
"nrl-sensorsim-ns-2.26-1.sl6.i686.rpm" is a binary package.
Have you installed the package ? ( See post #4.)
Is a "complete" ns-allinone-2.26 with nrl-sensorsim.
* All applications not required to run $ ns-nrl
.. are not included in the rpm package.
I don't think you can add the complete patch
to any later version : ns-2.26 .
When i am running the nrl-sensorsim 2.26 in ns-allinone-2.26 i face the following error.
[root@localhost simulation_aids]# ns simme-phenoms.tcl
This is a sensor network simulation.
num_nodes is set 102
Wrong node routing agent!
[root@localhost simulation_aids]# nam simme-phenoms.nam
*** !!! ***
nam cannot recognize the trace file simme-phenoms.nam
Please make sure that the file is not empty and it is a nam trace
***********
plz help me to resolve this..
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,494
Rep:
← ref. post #8.
None of the examples seem to work anymore.
I think they worked OK at begin of 2013 ? → some old OS.
(Ubuntu 10.04, CentOS 5 (Fedora 6 based), CentOS 6 (Fedora 12 based)).
OS's get updated, and ns-2.26+nrlsensorsim are very old.
* Better consider another WSN / may be another simulator ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.