LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 11-30-2013, 02:44 AM   #1
chandana
LQ Newbie
 
Registered: Nov 2013
Posts: 14

Rep: Reputation: Disabled
patching lte in ns2.33


Hi,

I'm using ns 2.33 on Ubuntu 12.04 LTS.I tried installing LTE by following the steps mentioned in Posts 2 & 65.when i run the code,lte.tcl i only end up getting the following output:

invalid command name "Queue/LTEQueue"
while executing
"Queue/LTEQueue set qos_ true "
(file "lte.tcl" line 17)

I have already installed ns2.33 and repeated the steps in posts 2 and 65 n number of times.

Can anyone help me out in this?
 
Old 11-30-2013, 04:03 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post #2 here is a general instruction :
http://www.linuxquestions.org/questi...2-33-a-857930/

Ubuntu : See post #4 in the above link.

The easy way : $ sudo dpkg -i lte-ns-2.33-ubuntu10_i386.deb
https://drive.google.com/file/d/0B7S...it?usp=sharing ( 6.2 MB )
.. which will provide /usr/local/bin/{ns-lte, ns-orig}
.. and you can do $ ns-lte eyana.tcl
https://drive.google.com/file/d/0B7S...it?usp=sharing
> lte-examples-0213.tar.gz

If you want to build ns2 / LTE yourself :
Ubuntu 12.04 - i686 , 32bits , the general build command is
$ export CC=gcc41 CXX=g++41 && ./install
**** Please read all http://www.linuxquestions.org/questions/tags/lte/

-

Last edited by knudfl; 11-30-2013 at 05:06 AM.
 
Old 11-30-2013, 05:10 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
invalid command name "Queue/LTEQueue"
That's an executable 'ns' with no LTE !

Reason : 1) A failed build. 2) Or you are using the wrong "ns".
 
Old 11-30-2013, 06:12 AM   #4
chandana
LQ Newbie
 
Registered: Nov 2013
Posts: 14

Original Poster
Rep: Reputation: Disabled
I'm currently using ns 2.33 as lte patch is available only for this version
 
Old 11-30-2013, 06:16 AM   #5
chandana
LQ Newbie
 
Registered: Nov 2013
Posts: 14

Original Poster
Rep: Reputation: Disabled
I have followed the exact steps mentioned in the post 2 in the thread,how to installing LTE module patch in NS2.33.Still I'm not able to run the lte.tcl program.

And I'm currently using Ubuntu 12.04 64 bit OS on Virtual box
 
Old 11-30-2013, 12:58 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 5 .
Quote:
And I'm currently using Ubuntu 12.04 64 bit OS on Virtual box
All ns2 is for a 32bits OS (i686).
Most versions / patches will also work with a 64bits OS.
( But always with an inferior validate result.)
The LTE patch compiles OK in Ubuntu 12.04 - 64bits (with e.g. g++-3.4.6) , but :
None of the example simulations will work !

Solution : Install a 32bits OS.
*** And read the above post #2 carefully , if you want to build your own "LTE".
The incomplete instructions you refer to were "part one" for Ubuntu 9.04 .
The changes in post #4 http://www.linuxquestions.org/questi...33-a-857930/#4
are a must !

But : No need to build LTE at all : See the above post #2.
You can install the binary Ubuntu package lte-ns-2.33-ubuntu10_i386.deb .
In fact the `ns-lte' command will work with the 7 examples,
even if no ns-allinone-2.33 is installed !

-

Last edited by knudfl; 11-30-2013 at 11:04 PM.
 
Old 12-01-2013, 02:07 AM   #7
chandana
LQ Newbie
 
Registered: Nov 2013
Posts: 14

Original Poster
Rep: Reputation: Disabled
ok.I did install the binary Ubuntu package lte-ns-2.33-ubuntu10_i386.deb.It got installed in root by default,in the bin directory.I copied one of the examples eyana.tcl in the bin directory and used ns-lte eyana.tcl to run it I got the following result.

root@chandana-VirtualBox:/usr/local/bin# ns-lte eyana.tcl
bash: /usr/local/bin/ns-lte: No such file or directory

where should I run the program eyana.tcl from?
 
Old 12-01-2013, 07:34 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 7 .
Quote:
I did install the binary Ubuntu package lte-ns-2.33-ubuntu10_i386.deb.
It got installed in root by default,in the bin directory
That's not an install.
You can either do $ sudo dpkg -i lte-ns-2.33-ubuntu10_i386.deb ,
.. or click the package and install with the `Package Installer'.
! Read post #2 ! http://www.linuxquestions.org/questi...-4175486335/#2
Be aware that the package will only work in a 32bits OS.


Quote:
where should I run the program eyana.tcl from ?
Anywhere. The lte-ex/ folder is a good place.

-

Last edited by knudfl; 12-01-2013 at 07:42 AM.
 
Old 12-01-2013, 11:01 AM   #9
chandana
LQ Newbie
 
Registered: Nov 2013
Posts: 14

Original Poster
Rep: Reputation: Disabled
Ok.I'm reinstalling everything again.

and I'm planning to install Ubuntu 9.04,32 bit and ns 2.33 on virtual box. Shall I follow the same steps mentioned in the post 2 & 4 in the thread,how to installing LTE module patch in NS2.33?
 
Old 12-02-2013, 01:50 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 9 .

Posts #2 and #4 here are for all Ubuntu versions ..
http://www.linuxquestions.org/questi...2-33-a-857930/


Note : Ubuntu 9.04 is old and unsupported. Was moved to "old" years ago.
And will not work unless you replace URL's in /etc/apt/sources.list
with : http://old-releases.ubuntu.com/ubuntu/

-
 
Old 12-02-2013, 11:41 AM   #11
chandana
LQ Newbie
 
Registered: Nov 2013
Posts: 14

Original Poster
Rep: Reputation: Disabled
Thank you....

Finally I was able to run eyana.tcl with the help of binary Ubuntu package lte-ns-2.33-ubuntu10_i386.deb.However,I was unable to run other files from the lte-ex folder.

What is the difference between building own my LTE and Binary package?

Is it possible to run all the lte related files with this package?
 
Old 12-02-2013, 03:12 PM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 11 .

May not work at all : 2-lte.tcl, new-example.tcl .

Works : eyana.tcl, as you know : out.nam 65MB, out.tr 27MB, http.log 57kB.
*** Note : eyana.tcl is the only file displaying a nam plot automatically.

deVacto-lte.tcl : out.tr 43 MB, http.log 90 kB, out.nam 57MB are created.
example3-lte.tcl : out.tr 43 MB, http.log 90 kB, out.nam 101 MB.
lte.tcl : out.tr 1.1 MB, out.nam 2.6 MB created. ? Not quite OK ?
ltez.tcl : out.tr 9.4 MB, http.log 92 kB, out.nam 23 MB.
*** For files creating a `out.nam' you must manually run $ nam out.nam

.
Quote:
What is the difference between building own my LTE and Binary package ?
Nothing, probably. Small differences, if it's a different OS.
The package lte-ns-2.33-ubuntu10_i386.deb was built on Ubuntu 10.10,
for best performance.

-

Last edited by knudfl; 12-03-2013 at 02:23 AM.
 
Old 12-04-2013, 07:49 AM   #13
chandana
LQ Newbie
 
Registered: Nov 2013
Posts: 14

Original Poster
Rep: Reputation: Disabled
ok..

I'm trying to create a topology with the nodes UE,eNB,aGW and sever.I'm not able to label the nodes with these partcular names.Is it not possible to do it?
 
Old 12-04-2013, 08:33 AM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 13 .

Seems that nodes can have whatever names you like.
But ns can't guess that an undefined name is a node.

Example files.tcl with "node names" :
http://www.ensc.sfu.ca/~ljilja/ENSC8...ations/2fa.txt
> "2fa.tcl".
http://www.mail-archive.com/ns-users.../msg12973.html
> "msg12973.tcl".
.
Attached Files
File Type: txt 01-2fa.tcl.txt (6.4 KB, 35 views)
File Type: txt 02-msg12973.tcl.txt (6.5 KB, 23 views)
 
Old 12-09-2013, 10:40 PM   #15
chandana
LQ Newbie
 
Registered: Nov 2013
Posts: 14

Original Poster
Rep: Reputation: Disabled
ok..thank you....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Simulating LTE using NS2 with LE patch sandeep10 Linux - Software 6 11-29-2013 02:27 PM
Simulating LTE (4G) in NS2 Raniam Linux - Software 45 11-25-2013 05:40 AM
Ns2-lte binteasim Linux - Software 2 07-23-2013 04:43 AM
patch LTE module for ns2 Emna Linux - Newbie 1 03-10-2011 02:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration