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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 35
Quote:
couldn't read file "../mobility/scene/scen-3-test": no such file or directory
That's right. There is no directory tree "mobility/scene/" one level up.
Solution :
Copy ' wireless2.tcl' to ns-allinone-2.27/ns-2.27/tcl/ex/
.. and run it there : $ ns wireless2.tcl
The "leach patched" binary 'ns' will work with this file.
But some warnings will appear.
For other "non leach" examples you may have to use an unpatched 'ns'.
( You can have as many "ns binaries" as you want in /usr/local/bin/,
e.g. ns227-orig, ns227-leach.
And use with e.g. : $ ns227-orig wireless2.tcl ).
That's right. There is no directory tree "mobility/scene/" one level up.
Solution :
Copy ' wireless2.tcl' to ns-allinone-2.27/ns-2.27/tcl/ex/
.. and run it there : $ ns wireless2.tcl
The "leach patched" binary 'ns' will work with this file.
But some warnings will appear.
For other "non leach" examples you may have to use an unpatched 'ns'.
( You can have as many "ns binaries" as you want in /usr/local/bin/,
e.g. ns227-orig, ns227-leach.
And use with e.g. : $ ns227-orig wireless2.tcl ).
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 37
The idea is to have different names for all "ns executables".
The naming is by your own choice.
I have 21 "ns" in /usr/local/bin/ on this machine :
ns ns227 ns227-leach ns228 ns228-mympeg ns229-mannasim ns230-Aqua
ns230-eurane ns231 ns231-crcn ns232-mtens ns233 ns233-gpsr ns234, etc.
The idea is to have different names for all "ns executables".
The naming is by your own choice.
I have 21 "ns" in /usr/local/bin/ on this machine :
ns ns227 ns227-leach ns228 ns228-mympeg ns229-mannasim ns230-Aqua
ns230-eurane ns231 ns231-crcn ns232-mtens ns233 ns233-gpsr ns234, etc.
.
i am so sorry knudfl.. i don't understand what do you mean.. can you explain to me again?
knudfl, can you help me?
i try to run cd ns-allinone-2.27/ns-2.27/mit/uAMPS/ and then ns ns-leach.tcl, but no output comes out.. please help me.. what should i do? I still do not understand about this leach simulation
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.