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.
Thanks a lot knudfl
I think that LTE Patch is working fine ....
but I have few questions
1- can I install this patch for ns-2.35?
2- why I have to run the simulation using
ns-lte filename.tcl, why isn't ns filename.tcl ?
thanks a lot for your help
2. The naming "ns-lte" is to be absolute sure that you are using the
executable 'ns', that is compiled with LTE :
ns2 users often have more than one 'ns' in their PATH.
* Any name can be used for the "LTE ns" copy.
→ ns233-LTE, ns-LTE or whatever name you like.
* You can also use $ ./ns , when you have the right 'ns'
in the location where you do $ ./ns file.tcl .
2a. When the package lte-ns-2.33-ubuntu10_i386.deb is installed,
the executable is /usr/local/bin/ns-lte : You can make a copy to any name.
2b. When your own build of ns233 + LTE fails,
the executable '/usr/local/bin/ns-lte' will work.
thanks a lot for the info that u explained to me
*********
for dccp
I downloaded the package ....
I put it inside ns-allinone-2.33
after I reached the path I entered:
cd ns-allinone-2.33/ && tar xvf lte+dccp-ns233-patching-1.tar.bz2
I've got:
tar: lte+dccp-ns233-patching-1.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 33 .
Quote:
No such file or directory
Either "lte+dccp-ns233-patching-1.tar.bz2" must be present in ns-allinone-2.33/,
.. or the full path to lte+dccp-ns233-patching-1.tar.bz2 must be included.
Are you sure that your location is ns-allinone-2.33/ ?
* The first command is always $ pwd
.. to decide your location.
And the presence of lte+dccp-ns233-patching-1.tar.bz2 can be decided with :
Thanks a lot
by the way , after I installed LTE patch , I have 2 folders (ns-allinone-2.33)
its like this:
the total file is ns2 ( i created this file and extract the tar file inside it, then I installed ns-2)
inside ns-2 there is only one file which is: ns-allinone-2.33
when I click on ns-allinone-2.33 there are many files, one of these files is ns-allinone-2.33
anyway I copied the package in both paths, I think its installed
but the examples of dccp are not working ,so... I don't know whether the package is installed correctly or not..
example: "ns dccp-wireless.tcl"
*******************
Code:
num_nodes is set 2
INITIALIZE THE LIST xListHead
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST[/php]_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
About your errors : Do not use the name 'ns' in a command.
To much risk of using the wrong one.
$ ns-lte+dccp dccp-wireless.tcl : No errors here.
... I'd guess you now have three or four different 'ns's.
Please make copies of the right 'ns's to e.g. :
ns-orig, ns233, ns-lte, ns-lte+dccp , etc.etc.,
... and then copy them all to /usr/local/bin/.
* All these ns-** will run the simulations OK with : $ ns-<long-name> file.tcl
Thanks a lot
but really I didn't get what did u mean
u told me to edit #button in the 'Advanced Editor'.
which based on my understanding the tcl file
but u told me to edit the output text, so now I confused
should I edit in the tcl file or in the output ?
********
Important note
when I want to excute tcl file for lte patch (it shows with a green
color in terminal) that means the files are coneccted successfully with ns-2
which referes that LTE patch is installed was done successfully
For dccp:
all tcl files are white , which means the files are not connected to ns-2
so I think the dccp patch is not well installed
I tried so many times !
I will show u the out put for dccp patch installation
******************** omar@omar-desktop:~/ns2/ns-allinone-2.33$ cd ns-allinone-2.33/ && tar xvf lte+dccp-ns233-patching-1.tar.bz2
omar@omar-desktop:~/ns2/ns-allinone-2.33/ns-allinone-2.33$
*********
again I'm so sorry for long output without editing it (because I still don't know what do au mean)
thanks a lot
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 37 .
Please edit posts #35, #37 to use code tags.
The "Advanced Editor" is the one you are using, when starting a new thread.
Or when you push the button 'Go Advanced'.
What's the purpose of showing the content of tar xvf lte+dccp-ns233-patching-1.tar.bz2 ??
* The file content is well known already.
Quote:
.. ns-allinone-2.33$ cd ns-allinone-2.33/ && tar xvf lte+dccp-ns233-patching-1.tar.bz2
Wrong ! Your location is already "ns-allinone-2.33/".
Then you cannot change directory (cd) to "ns-allinone-2.33/" !
Just do $ tar xvf lte+dccp-ns233-patching-1.tar.bz2
* And : you are not executing a <file>.tar.bz2 : You are extracting / unpacking.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 39 .
About post #37 : No PHP code tags, please.
And all the lines that are from one output must be within in one time "code tag":
You have just made it even more difficult to read with 132-138 times "Code".
The general idea is : Make things as readable as possible. And make it look nice.
** It's like a job application : Make it a mess, and nobody will read or answer !
Thanks a lot ...
I'm so sorry because so many thing u told me about , I have to know it
by my self , I'm still new on Linux & LTE.
what I did previously in NS-2 was direct implementation...
but still ns-2 is pretty much easier comparing to ns-3
are the outputs better now ?
thanks a lot sir..
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Ubuntu 12.04 - 32bits (i686)
# 42 .
The "post #35 output" → → »Aborted (core dumped)« :
I can reproduce that when I build ns-allinone-2.33 + lte+dccp-ns233-patching-1.tar.bz2
with gcc-4.4 / g++-4.4 (or combined with gcc-4.6 / g++-4.6).
Solution : Start from scratch, and make sure that you do exactly this :
$ export CC=gcc41 CXX=g++41 && ./install
! Be aware that the export command is temporary :
If you exit the terminal :
.. then gcc/g++ will reset to the default gcc/g++ = gcc-4.6/g++-4.6
I.e. For every new terminal session you will have to repeat the
'export CC=gcc41 CXX=g++41'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.