Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
04-09-2014, 01:37 PM
|
#31
|
Member
Registered: Mar 2014
Posts: 36
Original Poster
Rep:
|
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
|
|
|
04-09-2014, 02:14 PM
|
#32
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 31 .
1. LTE for ns235 : Might already have been "tested not working" / "answered no".
Please read : http://www.linuxquestions.org/questions/tags/lte/
. https://groups.google.com/forum/?fro...rs/8hU-kax6bJA
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.
-
Last edited by knudfl; 04-09-2014 at 02:54 PM.
|
|
|
04-10-2014, 03:41 AM
|
#33
|
Member
Registered: Mar 2014
Posts: 36
Original Poster
Rep:
|
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
Last edited by Redsfan86; 04-10-2014 at 03:42 AM.
|
|
|
04-10-2014, 06:13 AM
|
#34
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 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 :
Code:
$ cd ns-allinone-2.33/ && ls
|
|
|
04-13-2014, 03:41 AM
|
#35
|
Member
Registered: Mar 2014
Posts: 36
Original Poster
Rep:
|
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!
Warning: *** buffer overflow detected ***: ns terminated
======= Backtrace: =========
Code:
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x45)[0xb73d8045]
/lib/i386-linux-gnu/libc.so.6(+0x102e1a)[0xb73d6e1a]
/lib/i386-linux-gnu/libc.so.6(+0x10214d)[0xb73d614d]
ns(_ZN8CMUTrace10nam_formatEP6Packeti+0x97)[0x81fc617]
ns(_ZN8CMUTrace6formatEP6PacketPKc+0x66)[0x81fceb6]
ns(_ZN8CMUTrace4recvEP6PacketP7Handler+0x44)[0x81fd1e4]
ns(_ZN9DCCPAgent6outputEb+0x240)[0x8189720]
ns(_ZN5Agent7commandEiPKPKc+0x3c9)[0x8147459]
ns(_ZN8TclClass12dispatch_cmdEPvP10Tcl_InterpiPPKc+0x32)[0x82dbce2]
/usr/lib/i386-linux-gnu/libotcl.so.1(+0x20e1)[0xb76ca0e1]
/usr/lib/libtcl8.5.so.0(TclInvokeStringCommand+0x77)[0xb75cb017]
/usr/lib/libtcl8.5.so.0(+0x1e9ae)[0xb75cc9ae]
/usr/lib/libtcl8.5.so.0(+0x674b8)[0xb76154b8]
/usr/lib/libtcl8.5.so.0(+0x64743)[0xb7612743]
/usr/lib/libtcl8.5.so.0(+0x69143)[0xb7617143]
/usr/lib/libtcl8.5.so.0(TclObjInterpProcCore+0x131)[0xb765e3d1]
/usr/lib/libtcl8.5.so.0(TclObjInterpProc+0x69)[0xb765e289]
/usr/lib/libtcl8.5.so.0(TclInvokeObjectCommand+0xe3)[0xb75cb123]
/usr/lib/i386-linux-gnu/libotcl.so.1(+0x2261)[0xb76ca261]
/usr/lib/libtcl8.5.so.0(TclInvokeStringCommand+0x77)[0xb75cb017]
/usr/lib/libtcl8.5.so.0(+0x1e9ae)[0xb75cc9ae]
/usr/lib/libtcl8.5.so.0(+0x674b8)[0xb76154b8]
/usr/lib/libtcl8.5.so.0(TclObjInterpProcCore+0x131)[0xb765e3d1]
/usr/lib/libtcl8.5.so.0(TclObjInterpProc+0x69)[0xb765e289]
/usr/lib/libtcl8.5.so.0(TclInvokeObjectCommand+0xe3)[0xb75cb123]
/usr/lib/i386-linux-gnu/libotcl.so.1(+0x20e1)[0xb76ca0e1]
/usr/lib/libtcl8.5.so.0(TclInvokeStringCommand+0x77)[0xb75cb017]
/usr/lib/libtcl8.5.so.0(+0x1e9ae)[0xb75cc9ae]
/usr/lib/libtcl8.5.so.0(+0x1f824)[0xb75cd824]
/usr/lib/libtcl8.5.so.0(Tcl_EvalEx+0x3b)[0xb75cd1bb]
/usr/lib/libtcl8.5.so.0(Tcl_Eval+0x3e)[0xb75ce2de]
/usr/lib/libtcl8.5.so.0(Tcl_GlobalEval+0x37)[0xb75cf437]
ns(_ZN3Tcl4evalEPc+0x1b)[0x82db2f3]
ns(_ZN9AtHandler6handleEP5Event+0x1b)[0x813322b]
ns(_ZN9Scheduler3runEv+0x3f)[0x813363f]
ns(_ZN9Scheduler7commandEiPKPKc+0x3e4)[0x8133b04]
ns(_ZN8TclClass12dispatch_cmdEPvP10Tcl_InterpiPPKc+0x32)[0x82dbce2]
/usr/lib/i386-linux-gnu/libotcl.so.1(+0x20e1)[0xb76ca0e1]
/usr/lib/libtcl8.5.so.0(TclInvokeStringCommand+0x77)[0xb75cb017]
/usr/lib/libtcl8.5.so.0(+0x1e9ae)[0xb75cc9ae]
/usr/lib/libtcl8.5.so.0(+0x674b8)[0xb76154b8]
/usr/lib/libtcl8.5.so.0(+0x64743)[0xb7612743]
/usr/lib/libtcl8.5.so.0(+0x69143)[0xb7617143]
/usr/lib/libtcl8.5.so.0(TclObjInterpProcCore+0x131)[0xb765e3d1]
/usr/lib/libtcl8.5.so.0(TclObjInterpProc+0x69)[0xb765e289]
/usr/lib/libtcl8.5.so.0(TclInvokeObjectCommand+0xe3)[0xb75cb123]
/usr/lib/i386-linux-gnu/libotcl.so.1(+0x2261)[0xb76ca261]]
/usr/lib/libtcl8.5.so.0(TclInvokeStringCommand+0x77)[0xb75cb017]
/usr/lib/libtcl8.5.so.0(+0x1e9ae)[0xb75cc9ae]
/usr/lib/libtcl8.5.so.0(+0x674b8)[0xb76154b8]
/usr/lib/libtcl8.5.so.0(TclObjInterpProcCore+0x131)[0xb765e3d1]
/usr/lib/libtcl8.5.so.0(TclObjInterpProc+0x69)[0xb765e289]
/usr/lib/libtcl8.5.so.0(TclInvokeObjectCommand+0xe3)[0xb75cb123]
/usr/lib/i386-linux-gnu/libotcl.so.1(+0x20e1)[0xb76ca0e1]
/usr/lib/libtcl8.5.so.0(TclInvokeStringCommand+0x77)[0xb75cb017]
/usr/lib/libtcl8.5.so.0(+0x1e9ae)[0xb75cc9ae]
/usr/lib/libtcl8.5.so.0(+0x1f824)[0xb75cd824]
/usr/lib/libtcl8.5.so.0(Tcl_EvalEx+0x3b)[0xb75cd1bb]
/usr/lib/libtcl8.5.so.0(Tcl_FSEvalFileEx+0x29c)[0xb763cf2c]
/usr/lib/libtcl8.5.so.0(Tcl_Main+0x426)[0xb7644656]
ns(nslibmain+0x1f)[0x82db07f]
ns(main+0x1b)[0x812acfb]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb72ed4d3]
======= Memory map: ========
Code:
08048000-083b6000 r-xp 00000000 08:01 1975858 /usr/bin/ns
083b6000-083b7000 r--p 0036e000 08:01 1975858 /usr/bin/ns
083b7000-0843b000 rw-p 0036f000 08:01 1975858 /usr/bin/ns
0843b000-08443000 rw-p 00000000 00:00 0
096c3000-09a9b000 rw-p 00000000 00:00 0 [heap]
b686d000-b6878000 r-xp 00000000 08:01 131955 /lib/i386-linux-gnu/libnss_files-2.15.so
b6878000-b6879000 r--p 0000a000 08:01 131955 /lib/i386-linux-gnu/libnss_files-2.15.so
b6879000-b687a000 rw-p 0000b000 08:01 131955 /lib/i386-linux-gnu/libnss_files-2.15.so
b687a000-b6884000 r-xp 00000000 08:01 131959 /lib/i386-linux-gnu/libnss_nis-2.15.so
b6884000-b6885000 r--p 00009000 08:01 131959 /lib/i386-linux-gnu/libnss_nis-2.15.so
b6885000-b6886000 rw-p 0000a000 08:01 131959 /lib/i386-linux-gnu/libnss_nis-2.15.so
b6886000-b689c000 r-xp 00000000 08:01 131949 /lib/i386-linux-gnu/libnsl-2.15.so
b689c000-b689d000 r--p 00015000 08:01 131949 /lib/i386-linux-gnu/libnsl-2.15.so
b689d000-b689e000 rw-p 00016000 08:01 131949 /lib/i386-linux-gnu/libnsl-2.15.so
b689e000-b68a0000 rw-p 00000000 00:00 0
b68a9000-b68b0000 r--s 00000000 08:01 1971544 /usr/lib/i386-linux-gnu/gconv/gconv-modules.cache
b68b0000-b68b1000 ---p 00000000 00:00 0
b68b1000-b70b1000 rw-p 00000000 00:00 0 [stack:2698]
b70b1000-b72b1000 r--p 00000000 08:01 1973478 /usr/lib/locale/locale-archive
b72b1000-b72b3000 rw-p 00000000 00:00 0
b72b3000-b72b6000 r-xp 00000000 08:01 131917 /lib/i386-linux-gnu/libdl-2.15.so
b72b6000-b72b7000 r--p 00002000 08:01 131917 /lib/i386-linux-gnu/libdl-2.15.so
b72b7000-b72b8000 rw-p 00003000 08:01 131917 /lib/i386-linux-gnu/libdl-2.15.so
b72b8000-b72b9000 rw-p 00000000 00:00 0
b72b9000-b72d0000 r-xp 00000000 08:01 131984 /lib/i386-linux-gnu/libpthread-2.15.so
b72d0000-b72d1000 r--p 00016000 08:01 131984 /lib/i386-linux-gnu/libpthread-2.15.so
b72d1000-b72d2000 rw-p 00017000 08:01 131984 /lib/i386-linux-gnu/libpthread-2.15.so
b72d2000-b72d4000 rw-p 00000000 00:00 0
b72d4000-b7477000 r-xp 00000000 08:01 131904 /lib/i386-linux-gnu/libc-2.15.so
b7477000-b7478000 ---p 001a3000 08:01 131904 /lib/i386-linux-gnu/libc-2.15.so
b7478000-b747a000 r--p 001a3000 08:01 131904 /lib/i386-linux-gnu/libc-2.15.so
b747a000-b747b000 rw-p 001a5000 08:01 131904 /lib/i386-linux-gnu/libc-2.15.so
b747b000-b747e000 rw-p 00000000 00:00 0
b747e000-b749a000 r-xp 00000000 08:01 131925 /lib/i386-linux-gnu/libgcc_s.so.1
b749a000-b749b000 r--p 0001b000 08:01 131925 /lib/i386-linux-gnu/libgcc_s.so.1
b749b000-b749c000 rw-p 0001c000 08:01 131925 /lib/i386-linux-gnu/libgcc_s.so.1
b749c000-b7574000 r-xp 00000000 08:01 1971170 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
b7574000-b7575000 ---p 000d8000 08:01 1971170 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
b7575000-b7579000 r--p 000d8000 08:01 1971170 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
b7579000-b757a000 rw-p 000dc000 08:01 1971170 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16]b757a000-b7581000 rw-p 00000000 00:00 0
b7581000-b75ab000 r-xp 00000000 08:01 131936 /lib/i386-linux-gnu/libm-2.15.so
b75ab000-b75ac000 r--p 00029000 08:01 131936 /lib/i386-linux-gnu/libm-2.15.so
b75ac000-b75ad000 rw-p 0002a000 08:01 131936 /lib/i386-linux-gnu/libm-2.15.so
b75ad000-b75ae000 rw-p 00000000 00:00 0
b75ae000-b76c1000 r-xp 00000000 08:01 1975763 /usr/lib/libtcl8.5.so.0
b76c1000-b76c3000 r--p 00113000 08:01 1975763 /usr/lib/libtcl8.5.so.0
b76c3000-b76c7000 rw-p 00115000 08:01 1975763 /usr/lib/libtcl8.5.so.0
b76c7000-b76c8000 rw-p 00000000 00:00 0
b76c8000-b76d1000 r-xp 00000000 08:01 1975764 /usr/lib/i386-linux-gnu/libotcl.so.1.14
b76d1000-b76d2000 r--p 00008000 08:01 1975764 /usr/lib/i386-linux-gnu/libotcl.so.1.14
b76d2000-b76d3000 rw-p 00009000 08:01 1975764 /usr/lib/i386-linux-gnu/libotcl.so.1.14
b76d7000-b76d9000 rw-p 00000000 00:00 0
b76d9000-b76e0000 r-xp 00000000 08:01 131951 /lib/i386-linux-gnu/libnss_compat-2.15.so
b76e0000-b76e1000 r--p 00006000 08:01 131951 /lib/i386-linux-gnu/libnss_compat-2.15.so
b76e1000-b76e2000 rw-p 00007000 08:01 131951 /lib/i386-linux-gnu/libnss_compat-2.15.so
b76e2000-b76e3000 r--p 005e0000 08:01 1973478 /usr/lib/locale/locale-archive
b76e3000-b76e5000 rw-p 00000000 00:00 0
b76e5000-b76e6000 r-xp 00000000 00:00 0 [vdso]
b76e6000-b7706000 r-xp 00000000 08:01 131884 /lib/i386-linux-gnu/ld-2.15.so
b7706000-b7707000 r--p 0001f000 08:01 131884 /lib/i386-linux-gnu/ld-2.15.so
b7707000-b7708000 rw-p 00020000 08:01 131884 /lib/i386-linux-gnu/ld-2.15.so
bfd6a000-bfd8b000 rw-p 00000000 00:00 0 [stack]
Warning: Aborted (core dumped)
omar@omar-desktop:~/Desktop/LTE/ex-dccp$
****************
also both trace file & nam file are empty .....
Last edited by Redsfan86; 04-16-2014 at 11:47 AM.
|
|
|
04-13-2014, 06:13 AM
|
#36
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 35 .
The "output text" in post #35 : Please edit, to use CODE tags.
That's the # button in the 'Advanced Editor'.
* http://www.linuxquestions.org/questi....php?do=bbcode
* http://www.linuxquestions.org/questi...gs-4175464257/
-
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
-
|
|
|
04-15-2014, 04:03 AM
|
#37
|
Member
Registered: Mar 2014
Posts: 36
Original Poster
Rep:
|
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
Code:
ns-2.33/
ns-2.33/Makefile.in
ns-2.33/common/
ns-2.33/common/packet.cc
ns-2.33/common/packet.h
ns-2.33/dccp/
ns-2.33/dccp/bsd_queue.h
ns-2.33/dccp/dccp.cc
ns-2.33/dccp/dccp.h
ns-2.33/dccp/dccp_ackv.cc
ns-2.33/dccp/dccp_ackv.h
ns-2.33/dccp/dccp_opt.cc
ns-2.33/dccp/dccp_opt.h
ns-2.33/dccp/dccp_packets.cc
ns-2.33/dccp/dccp_packets.h
ns-2.33/dccp/dccp_sb.cc
ns-2.33/dccp/dccp_sb.h
ns-2.33/dccp/dccp_tcplike.cc
ns-2.33/dccp/dccp_tcplike.h
ns-2.33/dccp/dccp_tfrc.cc
ns-2.33/dccp/dccp_tfrc.h
ns-2.33/dccp/dccp_types.h
Code:
ns-2.33/lte-model-read-only/
ns-2.33/lte-model-read-only/.svn/
ns-2.33/lte-model-read-only/.svn/entries
ns-2.33/lte-model-read-only/.svn/format
ns-2.33/lte-model-read-only/.svn/pristine/
ns-2.33/lte-model-read-only/.svn/pristine/07/
ns-2.33/lte-model-read-only/.svn/pristine/07/077f7de3afa3e585b88c35d74bf3e8d65c61dd5a.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/08/
ns-2.33/lte-model-read-only/.svn/pristine/08/083eb9c3c828ca6bcecc15bf6019127e60460ea4.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/09/
ns-2.33/lte-model-read-only/.svn/pristine/09/094dc93623b0b31dd54856ef60b8415cd187df14.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/0b/
ns-2.33/lte-model-read-only/.svn/pristine/0b/0baea00e8543385b9d34584c930dd8d10a437571.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/18/
ns-2.33/lte-model-read-only/.svn/pristine/18/18c157ce679c2f3ec1deae0c342e02e7e6ab8438.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/24/
ns-2.33/lte-model-read-only/.svn/pristine/24/24d0426bb2ae574a8e65b3c88ec5e270ea6498a9.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/24/24eeba790cf907ae2a5a5734f14201a2b05fa598.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/2c/
ns-2.33/lte-model-read-only/.svn/pristine/2c/2c575e02c9c98c1250d1a7beddcae5a9277eb97e.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/2c/2cdcf7a5e848fd01b9e0f287bc3b9a97427d3bd9.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/46/
ns-2.33/lte-model-read-only/.svn/pristine/46/4695d26e5e8a6fab81af67086e532ef260737908.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/47/
ns-2.33/lte-model-read-only/.svn/pristine/47/47e128af9837bf98d6e81b34dbe62886a65df042.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/50/
ns-2.33/lte-model-read-only/.svn/pristine/50/50315709a830491dc2774721f46ee595ffa1b1e6.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/50/504136ed8073ab28122affd1bc5d370767267771.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/52/
ns-2.33/lte-model-read-only/.svn/pristine/52/52dbe0fcfb017299ee364d838f2e1a692eaf54cd.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/5b/
ns-2.33/lte-model-read-only/.svn/pristine/5b/5b4ea79289d8276c603bc72fdb072f79bb8eb737.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/5b/5bb958bf73d24e1439b64ead81b8cc280d64d43f.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/65/
ns-2.33/lte-model-read-only/.svn/pristine/65/654d48437dac716934a18a416edcccdd648d478e.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/69/
ns-2.33/lte-model-read-only/.svn/pristine/69/699adf69fde85940c3bb6caad4631497242474a1.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/6a/
ns-2.33/lte-model-read-only/.svn/pristine/6a/6a74aa7cbdf0bf7aba994f99add1e7e9f1e74455.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/81/
ns-2.33/lte-model-read-only/.svn/pristine/81/81fc1405c0aa2d69ef4ecf69a0d34e6da8df8aff.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/84/
ns-2.33/lte-model-read-only/.svn/pristine/84/84829539e9a0fcd11f33e5cd797021340c51acc7.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/88/
ns-2.33/lte-model-read-only/.svn/pristine/88/889f3408103bf356367b774ae9be5ddd4814a757.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/99/
ns-2.33/lte-model-read-only/.svn/pristine/99/997d06697005c992de107a3806956123f49eb208.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/9f/
ns-2.33/lte-model-read-only/.svn/pristine/9f/9fd669cda16147c48e4fd6f8c81c474d9a200964.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/c9/
ns-2.33/lte-model-read-only/.svn/pristine/c9/c98ff6c5766605b7919dbeeb25e44c2f92f85170.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/d9/
ns-2.33/lte-model-read-only/.svn/pristine/d9/d90ada59e2ac089c3ef8200425e5cac1832aa73b.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/da/
ns-2.33/lte-model-read-only/.svn/pristine/da/da096516537f96046f4a22517b66749a34bbfe72.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/e5/
ns-2.33/lte-model-read-only/.svn/pristine/e5/e5c6cbb1c835705bb5407d9cedd79c3ca029b19d.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/e5/e5edbbf33f464486d2f3bcb9411f8ad5adaea84b.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/e7/
ns-2.33/lte-model-read-only/.svn/pristine/e7/e741376710ca47430a8627ce439dae6c3b63f914.svn-base
ns-2.33/lte-model-read-only/.svn/pristine/f6/
ns-2.33/lte-model-read-only/.svn/pristine/f6/f682998c4f93d25dba75087565ec60ca3e77ab9d.svn-base
ns-2.33/lte-model-read-only/.svn/tmp/
ns-2.33/lte-model-read-only/.svn/wc.db
ns-2.33/lte-model-read-only/Makefile
ns-2.33/lte-model-read-only/Makefile.in
ns-2.33/lte-model-read-only/Readme
ns-2.33/lte-model-read-only/checkin
ns-2.33/lte-model-read-only/delay.awk
ns-2.33/lte-model-read-only/dlairqueue.cc
ns-2.33/lte-model-read-only/dlairqueue.h
ns-2.33/lte-model-read-only/dlqueue.cc
ns-2.33/lte-model-read-only/dlqueue.h
ns-2.33/lte-model-read-only/dls1queue.cc
ns-2.33/lte-model-read-only/dls1queue.h
ns-2.33/lte-model-read-only/drop-tail.cc
ns-2.33/lte-model-read-only/drop-tail.h
ns-2.33/lte-model-read-only/http-agent.tcl
ns-2.33/lte-model-read-only/http-cache.tcl
ns-2.33/lte-model-read-only/http-server.tcl
ns-2.33/lte-model-read-only/jitter.awk
ns-2.33/lte-model-read-only/lte.tcl
ns-2.33/lte-model-read-only/ltequeue.cc
ns-2.33/lte-model-read-only/ltequeue.h
ns-2.33/lte-model-read-only/ns-default.tcl
ns-2.33/lte-model-read-only/ns-lib.tcl
ns-2.33/lte-model-read-only/ns-link.tcl
ns-2.33/lte-model-read-only/packet.cc
ns-2.33/lte-model-read-only/packet.h
ns-2.33/lte-model-read-only/queue.h
ns-2.33/lte-model-read-only/red.cc
ns-2.33/lte-model-read-only/red.h
ns-2.33/lte-model-read-only/session-rtp.tcl
ns-2.33/lte-model-read-only/test
ns-2.33/lte-model-read-only/throughput.awk
ns-2.33/lte-model-read-only/ulairqueue.cc
ns-2.33/lte-model-read-only/ulairqueue.h
ns-2.33/lte-model-read-only/uls1queue.cc
ns-2.33/lte-model-read-only/uls1queue.h
Code:
ns-2.33/project/
ns-2.33/project/Readme
ns-2.33/project/checkin
ns-2.33/project/checkout
ns-2.33/project/delay.awk
ns-2.33/project/dlairqueue.cc
ns-2.33/project/dlairqueue.h
ns-2.33/project/dlqueue.cc
ns-2.33/project/dlqueue.h
ns-2.33/project/dls1queue.cc
ns-2.33/project/dls1queue.h
ns-2.33/project/drop-tail.h
ns-2.33/project/jitter.awk
ns-2.33/project/lte.tcl
ns-2.33/project/ltequeue.cc
ns-2.33/project/ltequeue.h
ns-2.33/project/packet.h
ns-2.33/project/queue.h
ns-2.33/project/red.h
ns-2.33/project/test
ns-2.33/project/throughput.awk
ns-2.33/project/ulairqueue.cc
ns-2.33/project/ulairqueue.h
ns-2.33/project/uls1queue.cc
ns-2.33/project/uls1queue.h
ns-2.33/queue/
ns-2.33/queue/drop-tail.cc
ns-2.33/queue/drop-tail.h
ns-2.33/queue/queue.h
ns-2.33/queue/red.cc
ns-2.33/queue/red.h
ns-2.33/tcl/
ns-2.33/tcl/lib/
ns-2.33/tcl/lib/ns-default.tcl
ns-2.33/tcl/lib/ns-lib.tcl
ns-2.33/tcl/lib/ns-link.tcl
ns-2.33/tcl/lib/ns-packet.tcl
ns-2.33/tcl/rtp/
ns-2.33/tcl/rtp/session-rtp.tcl
ns-2.33/tcl/webcache/
ns-2.33/tcl/webcache/http-agent.tcl
ns-2.33/tcl/webcache/http-cache.tcl
ns-2.33/tcl/webcache/http-server.tcl
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
Last edited by Redsfan86; 04-17-2014 at 04:10 AM.
|
|
|
04-15-2014, 04:49 AM
|
#38
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 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'.
Code Tags, read this carefully http://www.linuxquestions.org/questi....php?do=bbcode
I.e. type [/code] at text end, and [code] at text start.
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.
-
|
|
|
04-16-2014, 04:58 AM
|
#39
|
Member
Registered: Mar 2014
Posts: 36
Original Poster
Rep:
|
thanks a lot
I edited post 35
plz tell me if the editing is ok
if its ok , I'll edit post 37 too
I'm waiting ....
thx
|
|
|
04-16-2014, 06:09 AM
|
#40
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 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 !
You are supposed to read the LTE threads http://www.linuxquestions.org/questions/tags/lte/
... so why not have a look to watch how others use the 'CODE Tags' ...
. http://www.linuxquestions.org/questi...s2-4175449125/
. http://www.linuxquestions.org/questi...s2-4175433822/
-
|
|
|
04-16-2014, 12:06 PM
|
#41
|
Member
Registered: Mar 2014
Posts: 36
Original Poster
Rep:
|
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..
Last edited by Redsfan86; 04-20-2014 at 02:55 AM.
|
|
|
04-20-2014, 02:55 AM
|
#42
|
Member
Registered: Mar 2014
Posts: 36
Original Poster
Rep:
|
so anythings that u figured out from the output ?
because dccp still not working with me
Last edited by Redsfan86; 04-20-2014 at 05:46 AM.
|
|
|
04-20-2014, 05:12 AM
|
#43
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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'
-
Last edited by knudfl; 04-20-2014 at 05:20 AM.
|
|
|
04-20-2014, 05:38 AM
|
#44
|
Member
Registered: Mar 2014
Posts: 36
Original Poster
Rep:
|
thanks a lot ....
Quote:
Solution : Start from scratch, and make sure that you do exactly this :
$ export CC=gcc41 CXX=g++41 && ./install
|
so is there any certain path ?
Quote:
I.e. For every new terminal session you will have to repeat the
'export CC=gcc41 CXX=g++41'
|
which one I should try ?
the first one ends with "&& ./install"
OR:
second one without "&& ./install"
|
|
|
04-20-2014, 06:17 AM
|
#45
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 44 .
The last part of post #43 is explaining the way export works.
Not suggesting "to try something".
You will have to do : 1) $ mkdir <new-folder>
2) $ cd new-folder/
3) $ tar xvf ns-allinone-2.33.tar.gz
4) $ cd ns-allinone-2.33/
5) $ tar xvf lte+dccp-ns233-patching-1.tar.bz2
6) $ export CC=gcc41 CXX=g++41
7) $ ./install
8) $ cd ns-2.33/
9) $ cp ns ns-lte+dccp
10 $ sudo cp ns-lte+dccp /usr/local/bin/
11) $ ns-lte+dccp dccp-wireless.tcl : Will create simple-w.nam 4MB, simple-w.tr 2.6MB.
12) $ nam simple-w.nam
-
Last edited by knudfl; 04-21-2014 at 05:16 AM.
|
|
|
All times are GMT -5. The time now is 04:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|