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,520
Rep:
# 34 .
The right command is, example :
1) $ cd ns-allinone-2.33/ns-2.33/indep-utils/setdest/
2) $ ./setdest -n 20 -p 2.0 -s 10.0 -t 200 -x 500 -y 500 > scen-20-test
I.e. "for creating a node-movement scenario consisting of 20 nodes
moving with maximum speed of 10.0m/s with an average pause between
movement being 2s. We want the simulation to stop after 200s and
the topology boundary is defined as 500 X 500."
Please read the file /indep-utils/cmu-scen-gen/setdest/README
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
Rep:
# 38 .
Don't know how you can get `Segmentation faultī.
Might indicate a failed build.
$ ns-hls hls.tcl : Should produce "other errors" with Ubuntu 12.04 .
1) The executable ns must be copied to a new name, e.g. ns-hls, and then :
$ sudo cp ns-hls /usr/local/bin/
... Then run all hls simulations with $ ns-hls file.tcl
2) But : Ubuntu 12.04 has been updated to a level,
that makes it unusable for building any GPSR. (Hence "other errors").
num_nodes is set 5
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
can't read "God_": no such variable
while executing
"$God_ set-dist 0 1 16777215"
(file "ss66" line 19)
invoked from within
"source.orig ss66"
("uplevel" body line 1)
invoked from within
"uplevel source.orig[list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source $opt(sc)"
invoked from within
"if { $opt(sc) == "" } {
puts "*** NOTE: no scenario file specified."
set opt(sc) "none"
} else {
puts "Loading scenario file..."
source $opt(sc)
puts ..."
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
Rep:
# 43 .
Quote:
can't read "God_": no such variable
Take care that your unknown file.tcl uses the same naming for `godī,
as your connected files.
Any questions : "when I run simulation" isn't the required information.
Minimum information is : 1) The full command, like $ ns-hls file.tcl
2) And the right file names for all files / connected files must be shown.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.