LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-09-2013, 03:21 AM   #106
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

# 105 .
Quote:
ok, now i got:
Much better tell how you got there. I.e. the command used.

If you use this command, it is actually impossible to fail :
$ export CC=gcc41 CXX=g++41 && ./install
Failing anyway : Start from scratch in a new directory
with a new unpacked ns-allinone-2.33.tar.gz .

The main purpose of ns-allinone-2.33 is to create one file : 'ns'. (ns-lte).
Which you will get by installing the Ubuntu package lte-ns-2.33-ubuntu10_i386.deb .
Then you can use the lte-examples-0213.tar.gz .
lte https://docs.google.com/file/d/0B7S2...it?usp=sharing
ex https://docs.google.com/file/d/0B7S2...it?usp=sharing

-
 
Old 05-09-2013, 06:17 AM   #107
djeldum
LQ Newbie
 
Registered: Apr 2013
Posts: 6

Rep: Reputation: Disabled
i started in new diretory, unpacked again ns-allinone.tar.gr, and afrer command ./install
i got that.
actually i need it for lte.
 
Old 05-27-2013, 12:08 AM   #108
cio
LQ Newbie
 
Registered: Mar 2013
Location: Indonesia
Posts: 26

Rep: Reputation: Disabled
hi... i'm coming again...
knudfl i try to patching mobiwan patch first and then i'm patching lte

when i do "make" on terminal

it showed up like this...

trace/trace.cc: At global scope:
trace/trace.cc:185:1: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185:1: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185:1: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185:1: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185:1: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc: In static member function ‘static int Trace::get_seqno(Packet*)’:
trace/trace.cc:201:36: error: ‘PT_BU’ was not declared in this scope
trace/trace.cc:201:50: error: ‘PT_BU_HA’ was not declared in this scope
trace/trace.cc:201:67: error: ‘PT_BU_CN’ was not declared in this scope
trace/trace.cc:202:11: error: ‘PT_BU_BS’ was not declared in this scope
trace/trace.cc:202:28: error: ‘PT_BACK’ was not declared in this scope
trace/trace.cc:202:44: error: ‘PT_BREQ’ was not declared in this scope
trace/trace.cc:202:60: error: ‘PT_RADS’ was not declared in this scope
make: *** [trace/trace.o] Error 1


what does it mean?
 
Old 05-27-2013, 12:18 AM   #109
cio
LQ Newbie
 
Registered: Mar 2013
Location: Indonesia
Posts: 26

Rep: Reputation: Disabled
Quote:
Originally Posted by djeldum View Post
ld: final link failed: Bad value
make: *** [libotcl.so] Error 1
otcl-1.13 make failed! Exiting ...

:/
have u tried to edit he "configure" file in otcl-1.13 directory?
type this command in terminal
cd ns-allinone-2.33/otcl-1.13
gedit configure

and then change SHLIB_LD="ld -shared" to SHLIB_LD="gcc -shared" (line 5518)

i've same problem before and this is what i do...
 
Old 05-27-2013, 01:06 AM   #110
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 # 108, @cio.

Please do not use the LTE thread for an off topic question about mobiwan. >
http://www.linuxquestions.org/linux/rules.html "When posting in an existing thread,
ensure that what you're posting is on-topic and relevant to the thread."

Start a new thread ..
http://www.linuxquestions.org/questi...ux-software-2/ > New Thread

... And tell which ns-allinone and which mobiwan patch it is about.
> http://www.linuxquestions.org/linux/...Ask_a_Question
> http://linuxsilo.net/docs/smart-questions_en.html

-
 
Old 11-30-2013, 03:44 AM   #111
chandana
LQ Newbie
 
Registered: Nov 2013
Posts: 14

Rep: Reputation: Disabled
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, 03:51 AM   #112
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
# 111, @chandana.

Duplicate posts are not allowed at LQ.
http://www.linuxquestions.org/questi...-a-4175486335/
 
Old 11-30-2013, 05:35 AM   #113
chandana
LQ Newbie
 
Registered: Nov 2013
Posts: 14

Rep: Reputation: Disabled
ok.
 
Old 12-11-2013, 10:40 PM   #114
mahsima
LQ Newbie
 
Registered: Dec 2013
Posts: 2

Rep: Reputation: Disabled
Hello,

My OS is ubuntu 10.04. I installed ns-2.33. Then I add VanetRBC protocol to my ns. I followed the instruction in previous post tp add lte model to ns2. But, when I type ns command I receive
ns:
[code omitted because of length]
: invalid command name "Queue/LTEQueue"
while executing
"Queue/LTEQueue set drop_front_ 0"

then I use:

/project/
&& ln -s ../lte-model-read-only/*.h .
.... Where the period ( . ) means the current directory.
&& ln -s ../lte-model-read-only/dlqueue.cc && cd ../

after that I print make and then receive:

for i in indep-utils/cmu-scen-gen/setdest indep-utils/webtrace-conv/dec indep-utils/webtrace-conv/epa indep-utils/webtrace-conv/nlanr indep-utils/webtrace-conv/ucb; do ( cd $i; make all; ) done
make[1]: Entering directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/cmu-scen-gen/setdest'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/cmu-scen-gen/setdest'
make[1]: Entering directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/dec'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/dec'
make[1]: Entering directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/epa'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/epa'
make[1]: Entering directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/nlanr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/nlanr'
make[1]: Entering directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/ucb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mahsima/Desktop/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/ucb'

is it possible to help me . please?
 
Old 12-12-2013, 02:26 AM   #115
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 #114, @mahsima : Welcome to LQ.
Quote:
is it possible to help me . please ?
" Nothing to be done for `all'. " means "everything is OK".
Those files were handled at an earlier `make' :
Noting is to be done for anything in ns-2.33/indep-utils/**


Quote:
Then I add VanetRBC protocol to my ns
.
.
I followed the instruction in previous post tp add lte model to ns2
Please provide a link to information about "VanetRBC protocol".
Which files did you change ? Any patches ? ?

And there is no guaranty that the two extra protocols,
( LTE , VanetRBC ) can be added at the same time.
May be try with another ns-2.33 :
You can have as many versions of ns-allinone-2.xx as you want,
installed at the same time. But do not add any text to .bashrc .


-

Last edited by knudfl; 12-12-2013 at 06:21 AM.
 
Old 12-12-2013, 11:25 AM   #116
mahsima
LQ Newbie
 
Registered: Dec 2013
Posts: 2

Rep: Reputation: Disabled
Hello again,

I can fix the problem. The MakeFile in lte-model-read-only has the difference with the Makefile in ns-2.33.

Add the following from Makefile in in lte-model-read-only to Makefile in ns-2.33:
project/ltequeue.o \
project/ulairqueue.o \
project/dlairqueue.o \
project/uls1queue.o \
project/dls1queue.o \
project/dlqueue.o \
then the problem will be fixed.
 
Old 01-28-2014, 03:16 PM   #117
kmar
LQ Newbie
 
Registered: Jan 2014
Posts: 2

Rep: Reputation: Disabled
Hi.
I tried to install LTE patch on ns 2.33. After many tries i finally could execute the last make without any problem. So for the next step, i tried the test. Unfortunally results come as this:
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.

So i checked the out.txt to find written :
ns: [code omitted because of length]
: invalid command name "Queue/LTEQueue"
while executing
"Queue/LTEQueue set drop_front_ 0"

I tried to do all the work from the beginning but the test result never changed.
At this point i don't know what else i can do. I appreciate any help thank you.
 
Old 01-29-2014, 02:51 AM   #118
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 #117, @kmar : Welcome to LQ.
Quote:
: invalid command name "Queue/LTEQueue"
You are using an executable 'ns' with no LTE.

Either you are using the wrong 'ns' (If you have more than one ns.)
Or it's a failed lte build.

Please read the LTE threads http://www.linuxquestions.org/questions/tags/lte/

Any questions ? Then please specify your OS.
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html
I.e. tell us the outputs from the commands $ uname -m
... and $ cat/etc/*release*

-
 
Old 01-29-2014, 02:49 PM   #119
kmar
LQ Newbie
 
Registered: Jan 2014
Posts: 2

Rep: Reputation: Disabled
Up to now i can't fix the same problem.
So the result of $ uname -m:
i686

and for $ cat /etc/*release*:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.3 LTS"
NAME="Ubuntu"
VERSION="12.04.3 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.3 LTS)"
VERSION_ID="12.04"
 
Old 01-30-2014, 06:09 AM   #120
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
# 119 .
Quote:
Up to now i can't fix the same problem.
Well, until you find a way to do things right (posts #2, #4)
.. you can just install the package lte-ns-2.33-ubuntu10_i386.deb
.. Then you can do : $ ns-lte eyana.tcl

.. Anyway, you will have to read all http://www.linuxquestions.org/questions/tags/lte/

LTE examples : post #75.

-
 
  


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 02:59 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