LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-23-2014, 11:21 PM   #121
vishnu1
LQ Newbie
 
Registered: Feb 2014
Posts: 6

Rep: Reputation: Disabled
#59 a new test result (Ubuntu 10.10).


Sir,
Can you please tell me what are the other step you followed to get that result other than post #2.
 
Old 02-24-2014, 07:32 AM   #122
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
# 121.

Read the following posts : #4 , i.e. #1 + #4 is the "year 2011 method":
cd project/
1) ln -s ../lte-model-read-only/*.h ./
2) ln -s ../lte-model-read-only/dlqueue.cc
.... + other files.cc , that Ubuntu missis.

*** Since then, a new "2014" `lte-file-package' has been created,
to be sure that LTE gets built correctly every time.
See post #11 here about "lte-ns233-patching-2.tar.gz"
http://www.linuxquestions.org/questi...5-a-933953/#11
Download link, lte-ns233-patching-2.tar.gz https://drive.google.com/file/d/0B7S...it?usp=sharing

Build ns233+lte like the referred post #11 says.
And : cd ns-allinone-2.33/ns-2.33/lte-model-read-only/ && ./test
* Ref. #11: http://www.linuxquestions.org/questi...3-a-857930/#11

Be aware that the two above #11's are from two different threads.

-

Last edited by knudfl; 02-24-2014 at 07:47 AM.
 
2 members found this post helpful.
Old 11-25-2014, 08:18 AM   #123
Mas Pras
Member
 
Registered: Nov 2014
Posts: 31

Rep: Reputation: Disabled
hi knudfl,
i cant understand about this part in post #2, how about mean???

Edit the new Makefile , lines 41, 67, 82 to actual location.
( I.e all : /root/ns-allinone.... to : <your-path>/ns-allinone.... ).( 8 times edit.)

Next : make


Good luck !
..[/QUOTE]
 
Old 11-25-2014, 10:33 AM   #124
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 #123, @ Mas Pras : Welcome to LQ.
Quote:
I cant understand about this part in post #2
Post #2 : 22 Jan 2011 → i.e. not at all valid any more !

"Latest" isn't far away, please read post #122 : ns-2.33 .

And ns-2.34 :
$ cd ns-allinone-2.34/ && patch -p0 < lte-ns234.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing

* ns-2.35 : $ tar xvf ns-allinone-2.35_gcc482.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing
$ cd ns-allinone-2.35/ && patch -p0 < LTE-ns235_2014-2.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
$ ./install
$ cd ns-2.35/ && cp ns ns-lte
$ sudo cp ns-lte /usr/local/bin/
$ ns-lte eyana.tcl
.... from the examples ``lte-examples-0614.tar.gz““
https://drive.google.com/file/d/0B7S...ew?usp=sharing

Note : The Ubuntu nam packages are not usable.
Solution → #2 http://www.linuxquestions.org/questi...-4175524760/#2


-

Last edited by knudfl; 11-25-2014 at 10:46 AM.
 
Old 11-25-2014, 05:20 PM   #125
Mas Pras
Member
 
Registered: Nov 2014
Posts: 31

Rep: Reputation: Disabled
what do you think either between 2.34 and 2.35 ns2.33 version for the analysis of the video data packets on the network LTE

and there is a script that calculates throughput and delay jitter in video streaming on LTE network

thank you sir
 
Old 11-25-2014, 06:42 PM   #126
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
← #125 .

Three scripts are included in the LTE patch :
delay.awk, jitter.awk, throughput.awk .
More (awk and perl) scripts : awk_scripts_11.2014.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing
But : No guaranty that they will work.
You may have to write a script yourself.


Quote:
what do you think either between 2.34 and 2.35 ns2.33 version
for the analysis of the video data packets on the network LTE
I have no idea. Google, ns2 video streaming on LTE
https://www.google.com/webhp?hl=all&...reaming+on+LTE
.. shows ~700,000 hits. May be you can find something useful.

-
 
Old 11-26-2014, 09:24 AM   #127
Mas Pras
Member
 
Registered: Nov 2014
Posts: 31

Rep: Reputation: Disabled
hello sir, why i run lte.tcl like this,

root@root:/home/ubuntu/ns-allinone-2.33/ns-2.33/lte-model-read-only# ns lte.tcl
invalid command name "Queue/LTEQueue"
while executing
"Queue/LTEQueue set qos_ true "
(file "lte.tcl" line 17)
 
Old 11-26-2014, 11:00 AM   #128
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
← #127 .

» invalid command name "Queue/LTEQueue" « :
Looks like you anyway used a non valid method for the build.

* ns-2.33 : Ref. post #122 →
Please follow the instructions in post #11 here
http://www.linuxquestions.org/questi...5-a-933953/#11


Quote:
root@root:/home/ubuntu/ns-allinone-2.33/ns-2.33/lte-model-read-only# ns lte.tcl
Two errors : First → You are not supposed to use `root“.
* root is for administrative tasks only.
All ns2 commands are to be done as unprivileged user.
(Except # make install ,,, and # cp ns-lte /usr/local/bin/.)
Secondly : Do not use plain 'ns'.
The executable 'ns-lte' is there for a reason.
Testing is : $ ns-lte eyana.tcl


Any questions ? Then please specify Ubuntu version.
a) The output from the command $ uname -m
b) Version : $ cat /etc/issue

-
 
Old 11-30-2014, 08:39 AM   #129
Mas Pras
Member
 
Registered: Nov 2014
Posts: 31

Rep: Reputation: Disabled
hello sir,

I would like to ask , the script lte who have ever uploaded it to calculate the data packets on the video or on voip?

before I use ubuntu lts 12.04 version i686
thank you
 
Old 12-08-2014, 12:31 PM   #130
Mas Pras
Member
 
Registered: Nov 2014
Posts: 31

Rep: Reputation: Disabled
hello knudfl,

sir, i want to ask , how can I run a script steps lte , awk file as delay.awk trouhgput.awk and jitter.awk , and file nam ( animation ) for data traffic , on the LTE network

please answer this question , because I need your help, and there are still many questions to you

thank you ,
I use ubuntu lts 12:04 i686 version
 
Old 12-08-2014, 12:49 PM   #131
Mas Pras
Member
 
Registered: Nov 2014
Posts: 31

Rep: Reputation: Disabled
project@project:~/Documents/ns-allinone-2.33/ns-2.33/lte-model-read-only$ ns-lte eyana.tcl
ns-lte: command not found
project@project:~/Documents/ns-allinone-2.33/ns-2.33/lte-model-read-only$

this is, when i run eyana.tcl in lte-model-read-only, i need your solution sir

thank before,
 
Old 12-08-2014, 03:06 PM   #132
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
← #131 .

Please read post #128 and post #122 → →
http://www.linuxquestions.org/questi...5-a-933953/#11
.
f) $ cp ns ns-lte && sudo cp ns-lte /usr/local/bin/

I.e. " ns-lte " is a command that you create from the LTE patched ns-2.33/.

-
 
Old 12-09-2014, 06:04 AM   #133
tyo
LQ Newbie
 
Registered: Dec 2014
Posts: 2

Rep: Reputation: Disabled
Angry

hello sir im tyo, im a newbie in this LQ, and i want to ask to sir knudfl, after i'm follow step patch in post #2, and then im unistall ns2.33 than im patch again in this post

That's a completely failed build !

Time to update the build instructions / making the build easier :
a) $ tar xvf ns-allinone-2.33.tar.gz
b) $ cd ns-allinone-2.33/
c) $ tar xvf lte-ns233-patching-2.tar.gz
https://drive.google.com/file/d/0B7S...it?usp=sharing
d) $ export CC=gcc41 CXX=g++41 && ./install
e) $ cd ns-2.33/
f) $ cp ns ns-lte && sudo cp ns-lte /usr/local/bin/
.... And you can do $ ns-lte eyana.tcl
from lte-examples-0213.tar.gz https://drive.google.com/file/d/0B7S...it?usp=sharing

Please advice when you have installed a usable OS.
Then you can get information about which gcc41/g++41 to install.

but the result like this

project@project:~/Documents/ns-allinone-2.33/ns-2.33$ cd lte-ex
project@project:~/Documents/ns-allinone-2.33/ns-2.33/lte-ex$ ns-lte eyana.tcl
ns-lte: command not found
project@project:~/Documents/ns-allinone-2.33/ns-2.33/lte-ex$

what solution from you, please help me ?
thanks sir

Last edited by tyo; 12-09-2014 at 06:05 AM.
 
Old 12-09-2014, 06:37 AM   #134
Mas Pras
Member
 
Registered: Nov 2014
Posts: 31

Rep: Reputation: Disabled
sir after i try patch again in this link
http://www.linuxquestions.org/questi...5-a-933953/#11

and than i try for ./test
and the result

project@project:~/Downloads/ns-allinone-2.33/ns-2.33/lte-model-read-only$ ./test
Deleting the old log files ...
rm: cannot remove `*.log': No such file or directory
rm: cannot remove `*.txt': No such file or directory
rm: cannot remove `out.*': No such file or directory
Done
start testing, please wait ...
invalid command name "Queue/LTEQueue"
while executing
"Queue/LTEQueue set qos_ true "
(file "lte.tcl" line 17)
Done
The testing results(throughput, delay, jitter) are:
---------------------------------------------------

0 1 2 3 total(Mbyte)
0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00

0 1 2 3 total
-nan -nan -nan -nan -nan

0 1 2 3 total
0 0 0 0 0

check the out.txt out.tr out.nam for detailed information.
project@project:~/Downloads/ns-allinone-2.33/ns-2.33/lte-model-read-onlyproject@project:~/Downloads/ns-allinone-2.33/ns-2.33/lte-model-read-only$

Last edited by Mas Pras; 12-09-2014 at 06:38 AM.
 
Old 12-09-2014, 07:35 AM   #135
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 #134, @Mas Pras.
Quote:
invalid command name "Queue/LTEQueue"
Please check that the executable file 'ns' is present in ns-2.33/.

* Also check that no ns2 *PATH text was added to .bashrc .
 
  


Reply

Tags
lte, lte-ns235, ns2



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
installing leach patch in ns2.34 in ubuntu9.10 g_vaibh Ubuntu 19 04-09-2015 09:43 AM
how to install leach patch in ns2.34 in ubuntu 9.10 anjon.sunny Linux - Newbie 9 04-30-2014 04:05 AM
patch for working leach protocol in ns2.34 fedora rajcek Linux - Wireless Networking 4 02-04-2013 06:59 AM
integrating patch in ns2 MLinux Linux - Networking 2 11-30-2010 08:26 AM
I cant recompile my patch in ns2 on red hat v5 JawadZaheer Linux - Software 0 12-22-2007 11:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:02 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