Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
what can i do all the version that i download it have the file install under ns-allinone-2.34 not ns-2.34 and i didn't understand what is the problem
help please i can do any thing without installation of ns
Last edited by nassou19891; 09-21-2014 at 11:51 AM.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
← #32 .
Have you tried to follow e.g post #4 ?
Wimax-lwx + LTE example.
$ tar xvf ns-allinone-2.33.tar.gz
$ cd ns-allinone-2.33/
$ patch -p0 < WimaxLWX+lte+dccp_ns233.patch
$ export CC=gcc41 CXX=g++41 && ./install
... And when everything is finished OK :
$ cd ns-2.33/
Check the presence of 'ns' $ ls ns
If the executable 'ns' is in //ns-2.33/, do :
$ cp ns ns-wimaxlwx-lte
$ sudo cp ns-wimaxlwx-lte /usr/local/bin/
* ( Instead of 'make install' ).
And some simulation : $ ns-wimaxlwx-lte eyana.tcl
??? What happened to the 'ns' that you used yesterday for $ ns eyana.tcl
my question is : what you mean about "ns-wimaxlwx-lte-MPTCP" ; is it the folder of the example that i download it or a folder integred in ns-2.34 ?? Because when i write to make the Simulation : $ ns-wimaxlwx-lte-MPTCP eyana.tcl , it told that it coudn't read "eyana.tcl" no such file or directory .
ok i find the "ns-wimaxlwx-lte-MPTCP" under ns-2.34 but i don't understand what is the type of it.
i read in post #18 that you told me that is the safe way to simulate is renaming the "ns" but under the ns-2.34 i find the two "ns" and "ns-wimaxlwx-lte-MPTCP "
note: where did i put the "eyana.tcl" en general the example that i want to simulated ?
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
← #35 .
Quote:
"eyana.tcl" no such file or directory .
Please go to the directory with "eyana.tcl"
( Probably ``lte-ex_06.14/´´ : the unpacked lte-examples-0614.tar.gz ).
→ #36 .
About ns-wimaxlwx-lte-MPTCP , see post #34 :
$ sudo cp ns-wimaxlwx-lte-MPTCP /usr/local/bin/
... then you can do the simulation in lte-ex_06.14/ :
$ ns-wimaxlwx-lte-MPTCP eyana.tcl
i do like you said for me .
I have the same problem that i post it at the post #19 the problem of nam.
i follow the steps to build the nam but the problem is showen again untel after i do the steps that you gived to le in post #19.
memoire@memoire-virtual-machine:~/Desktop/ns-allinone-2.33/ns-2.33$ nam: nam_init out.nam : couldn't open "/home/memoire/.nam-port": permission denied
while executing
"open $PORT_FILE_ w 0600"
(procedure "_o3" line 20)
(AnimControl start-server line 20)
invoked from within
"$self start-server"
(procedure "_o3" line 3)
(AnimControl local-create-animator line 3)
invoked from within
"$self local-create-animator $trace_file [join $args]"
invoked from within
"if $flag {
$self local-create-animator $trace_file [join $args]
} else {
$self remote-create-animator $trace_file [join $args]
}"
(procedure "_o3" line 20)
(AnimControl init line 20)
invoked from within
"_o3 init out.nam {}"
(Class create line 1)
invoked from within
"AnimControl create _o3 out.nam {}"
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 AnimControl $trace_file $args"
(procedure "nam_init" line 2)
invoked from within
"nam_init out.nam "
the animation was worked , i'm very very thinkful to help me . the problem is i should run the simulation under root .
Q1: there is no problem if i work under root ??
Q2 :when the animation was worked well is mean that the patch was worked well ??, can i use the wimax , lte , dccp , mptcp to do another tcl file without problem ?
Q3 : Also i want to use xgraph or gnuplot ? how can i ? My friends told me that gnuplot is well then xgraph ,is it ?
when i do simulation for many example under /home/<memoire> is show for me in terminal that is worked well . But when i want to run nam it does not work under user privelege it work only under root , i don't know why !!!
Note : this is what showen when i'm under user in terminal : memoire@memoire-virtual-machine:~$
this when i'm under root : root@memoire-virtual-machine:/home/memoire#
why /home/memoire was showen anly when i'm under root ?? is it mean that under user is by default /home/memoire ??
sory for asking you this question , i'm not profesionnel for using linux OS
Last edited by nassou19891; 09-22-2014 at 05:04 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.