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.
I want to install NSDTN-1 in order to simulate that
Please first verify that the build of ns-allinone-2.27 went OK.
When you have a perfect working ns-allinone-2.27 :
Add dtn/ folder, do the patching.
Save the binary ns-allinone-2.27/ns-2.27/ns to a new name (ns227),
delete 'ns', run make clean && make in ns-allinone-2.27/ns-2.27/ to get a new ns.
You can move ns-allinone-2.34 to another directory.
If you followed post # 19 : ns-allinone-2.34 is not required anymore.
Also : Dektop/ is not the suggested place for ns2 : You cannot move it after build.
/home/academy/ns2/ns-allinone-2.27/ is better.
( Imagine a lot of applications : Your Desktop will be crowded.)
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516
Rep:
# 21
Quote:
The problem now is only a file "bashrc".
Doesn't matter. ( Probably.) I never use it. It's just an old text.
The command "ns227" works everywhere : The binary ns is partly statically compiled :
tcl tk otcl tclcl is compiled into ns : ns will use libraries in /usr/lib/ only.
About the binary 'ns' : rename to ns227 before adding dtn.
The path for ns and nam : sudo cp ns227 /usr/local/bin/
sudo cp ns /usr/local/bin/ ; sudo cp nam /usr/local/bin/ :
Then they are in a system path.
I've followed your instructions step.
the process make clear / configure and make worked.
but when running the DTN-demo-fault small.tcl erros
"
sai command name "Agent / DTNAgent"
khi thực
"Agent / create _o59 DTNAgent"
invoked from within
"catch" $ className create $ o $ args "msg"
invoked from within
"if [catch" $ className create $ o $ args "msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $ msg] {
delete $ o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new Agent / DTNAgent"
invoked from within
"set dtn1 [new Agent / DTNAgent]"
(file "scripts / DTN-demo-small.tcl" line 33)
"
and run the DTN-demo-large.tcl erro
"
sai command name "Agent / DTNAgent"
khi thực
"Agent / DTNAgent set custodian_ 10"
(file "DTN-demo-large.tcl" line 6)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.