LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-17-2014, 02:29 PM   #1
nassou19891
Member
 
Registered: Sep 2014
Posts: 56

Rep: Reputation: Disabled
Extensions Wimax et LTE sous ns2.33 ou ns2.31


Bonsoir
je cherche des exensions Wimax et LTE sous NS2.33 ou NS2.34 et comment je peut les ajouter au NS.
S'il vous plait c'est trs urgent , est ce qu'il ya quelq'un peut m'aider.
Merci
 
Old 09-17-2014, 05:21 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
Welcome to LQ.

Be aware that the Forum language is English only →
http://www.linuxquestions.org/linux/rules.html

? Do you want to add Wimax and LTE to the same ns-2.33 ?
You can have as many times ns-2.33, ns-2.34, {other ns2 versions} as you want,
installed at the same time. ( I have about 100 times ns-allinone-2.xx ).

There is no wimax for ns233, ns234, AFAIK.
But I think you can have both is ns3 :
https://www.nsnam.org/docs/release/3..._wi_m_a_x.html
http://www.nsnam.org/docs/models/html/lte.html

Ns2 Wimax info http://www.linuxquestions.org/questions/tags/wimax/
Ns2 LTE http://www.linuxquestions.org/questions/tags/lte/

-
 
Old 09-18-2014, 01:06 PM   #3
nassou19891
Member
 
Registered: Sep 2014
Posts: 56

Original Poster
Rep: Reputation: Disabled
Smile

Sorry for writen with french language

Yes i want to add the Wimax and LTE at the same ns2.33 or ns2.34 because my work is evaluate the performance of this twoo networks .

But you say that there is no wimax for ns2.33 . if there is a version that i can work with it by adding the wimax and LTE at the same

simulator advace me to install it .

Think you
 
Old 09-18-2014, 02:22 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
← #3 .

Actually there is "ns2 light wimax (lwx)" for ns233 ...
http://code.google.com/p/lwx/

And there are no conflicts adding Wimax-lwx and LTE to the same ns-2.33 .

Build example : In /home/<name>/ →
$ tar xvf ns-allinone-2.33.tar.gz
$ cd ns-allinone-2.33/
$ patch -p0 < wimax-lwx_ns233.patch
https://drive.google.com/file/d/0B7S...it?usp=sharing
$ patch -p0 < lte-ns233.patch
https://drive.google.com/file/d/0B7S...it?usp=sharing
$ export CC=gcc41 CXX=g++41 && ./install

About gcc41 / g++41 : Packages are available for the most Linux OS.
Please specify your OS, and I will supply links to usable packages.
a) Show the reply from the command $ uname -m
b) OS name and version, please.

-
 
Old 09-19-2014, 04:32 AM   #5
nassou19891
Member
 
Registered: Sep 2014
Posts: 56

Original Poster
Rep: Reputation: Disabled
Think you very much

Ok my OS is ubuntu 12.04 and when i tape the command " $ uname -m" it give me this answer "i686".

Please when i tape "$ export CC=gcc41 CXX=g++41 && ./install" i have this error :

Build tcl8.4.18
============================================================
rm -f *.a *.o libtcl* core errs *~ \#* TAGS *.E a.out \
errors tclsh tcltest lib.exp Tcl
cd dltest ; make clean
make[1]: Entering directory `/home/memoire/Desktop/ns-allinone-2.33/tcl8.4.18/unix/dltest'
rm -f *.o config.cache config.log config.status
rm -f lib.exp ../dltest.marker
rm -f *.so
make[1]: Leaving directory `/home/memoire/Desktop/ns-allinone-2.33/tcl8.4.18/unix/dltest'
rm -rf Makefile config.status config.cache config.log tclConfig.sh \
SCRPtcl.* prototype *.plist Tcl.framework
cd dltest ; make distclean
make[1]: Entering directory `/home/memoire/Desktop/ns-allinone-2.33/tcl8.4.18/unix/dltest'
rm -f *.o config.cache config.log config.status
rm -f lib.exp ../dltest.marker
rm -f *.so
rm -f Makefile
make[1]: Leaving directory `/home/memoire/Desktop/ns-allinone-2.33/tcl8.4.18/unix/dltest'
configure: WARNING: unrecognized options: --enable-gcc
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc41
checking whether the C compiler works... no
configure: error: in `/home/memoire/Desktop/ns-allinone-2.33/tcl8.4.18/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details
tcl8.4.18 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
memoire@memoire-virtual-machine:~/Desktop/ns-allinone-2.33$



can you help me to solved it

Also , i want to add dccp to ns so i use this link " http://mohittahiliani.blogspot.dk/20...-for-ns-2.html " to download dccp for ns2.33 and i patch it by using this command "patch -p0 < dccp-ns2.33.patch " but this ligne was showen
" Hunk #1 succeeded at 1686 (offset 215 lines).
(Stripping trailing CRs from patch.)
patching file ns-2.33/tcl/lib/ns-packet.tcl "
is it mean that dccp was add with succeed or not ?

Another question : how can i know that LTE and wimax are add it succeefuly ?

Last edited by nassou19891; 09-19-2014 at 04:55 AM.
 
Old 09-19-2014, 05:16 AM   #6
nassou19891
Member
 
Registered: Sep 2014
Posts: 56

Original Poster
Rep: Reputation: Disabled
Smile

Please i forget to post this question :

if there is a way to add MPTCP with ns2.33 how can i do it ???
 
Old 09-19-2014, 05:56 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
Ref. post #5.
Quote:
Ok my OS is ubuntu 12.04
...
checking for gcc... gcc41
checking whether the C compiler works... no
...
can you help me to solved it
Which version of Ubuntu 12.04 have you got ? i686 or x86_64 ?
This command will reply : $ uname -m

About adding dccp : Can be done, I think.
I will come back with an answer.

Post #6 : Which version of MPTCP ?
? This one ? http://www.jp.nishida.org/mptcp/mptcp.patch.20100512
? Or http://code.google.com/p/multipath-t...30810&can=2&q=


-

Last edited by knudfl; 09-19-2014 at 06:06 AM.
 
Old 09-19-2014, 06:53 AM   #8
nassou19891
Member
 
Registered: Sep 2014
Posts: 56

Original Poster
Rep: Reputation: Disabled
ok my os is i686 .

for MPTCP i want a version compatible with ns2.33

also you did not answer me for this two question : '
Q1 :" how can i know that LTE and wimax are add it succeefuly ? "
Q2 :" Please when i tape "$ export CC=gcc41 CXX=g++41 && ./install" i have this error :

Build tcl8.4.18
============================================================
rm -f *.a *.o libtcl* core errs *~ \#* TAGS *.E a.out \
errors tclsh tcltest lib.exp Tcl
cd dltest ; make clean
make[1]: Entering directory `/home/memoire/Desktop/ns-allinone-2.33/tcl8.4.18/unix/dltest'
rm -f *.o config.cache config.log config.status
rm -f lib.exp ../dltest.marker
rm -f *.so
make[1]: Leaving directory `/home/memoire/Desktop/ns-allinone-2.33/tcl8.4.18/unix/dltest'
rm -rf Makefile config.status config.cache config.log tclConfig.sh \
SCRPtcl.* prototype *.plist Tcl.framework
cd dltest ; make distclean
make[1]: Entering directory `/home/memoire/Desktop/ns-allinone-2.33/tcl8.4.18/unix/dltest'
rm -f *.o config.cache config.log config.status
rm -f lib.exp ../dltest.marker
rm -f *.so
rm -f Makefile
make[1]: Leaving directory `/home/memoire/Desktop/ns-allinone-2.33/tcl8.4.18/unix/dltest'
configure: WARNING: unrecognized options: --enable-gcc
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc41
checking whether the C compiler works... no
configure: error: in `/home/memoire/Desktop/ns-allinone-2.33/tcl8.4.18/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details
tcl8.4.18 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
memoire@memoire-virtual-machine:~/Desktop/ns-allinone-2.33$
"
 
Old 09-19-2014, 07:21 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
← Ref. post #8.
Quote:
Q2 :" Please when I type "$ export CC=gcc41 CXX=g++41 && ./install" I have this error
Please do not use commands (gcc41, g++41) that aren't present on your OS.
Before trying to use gcc41 / g++41, you will have to install the packages.


Quote:
Q1 :" how can I know that LTE and wimax are added successfully ? "
Run the LTE example : $ ns eyana.tcl
... from lte-examples-0614.tar.gz
https://drive.google.com/file/d/0B7S...it?usp=sharing
... And Wimax : I guess you can find some test examples.


*** WimaxLWX + LTE + DCCP :
*** A new patch has been created : WimaxLWX+lte+dccp_ns233.patch
https://drive.google.com/file/d/0B7S...it?usp=sharing


-

Last edited by knudfl; 09-19-2014 at 07:31 AM.
 
Old 09-19-2014, 07:30 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
Packages gcc41-compat / g++41-compat for the 32bits Ubuntu 12.04 - i686,
post #18 here :
http://www.linuxquestions.org/questi...022/page2.html
 
Old 09-19-2014, 08:41 AM   #11
nassou19891
Member
 
Registered: Sep 2014
Posts: 56

Original Poster
Rep: Reputation: Disabled
thinks you very much for your help

i found in this post " http://www.linuxquestions.org/questi...022/page2.html "
that i should download gcc41 and gcc++. but i didn't know where i should put it to go for the next step: "sudo dpkg -i gcc41-compat-4.1.2.ubu1204_i386.deb g++41-compat-4.1.2_i386.deb"
Q1 :i put it in ns directory or where ?? and if it is correct where exact in the ns directory ??
Q2 : it's necassary to install gcc41 and g++41 after i run wimax and LTE examples because i have usaly erros after i run this example even ( eyana.tcl ).
Q3 : i alredsy have installed gcc 4.6.3 it can be a problem or not ?? and i desintalled if it is ?
Q4 : for MPTCP there is no a patch version for ns2.33 ??



thinks very very much

Last edited by nassou19891; 09-19-2014 at 08:43 AM.
 
Old 09-19-2014, 09:45 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
← #11 .
Quote:
Q1 :I put it in ns directory or where ?? and if it is correct where exact in the ns directory ?
Please keep downloaded packages in e.g. `Downloads/.
You can click the packages, and your Package-Installer will take care.
Or : $ cd Downloads/ && sudo dpkg -i <package> <package>



MPTCP

.. can be added to ns-2.34 , not ns-2.33 .
$ tar xvf ns-allinone-2.34.tar.gz
$ cd ns-allinone-2.34/
$ patch -p0 < lwx+LTE+dccp+MPTCP.patch
$ export CC=gcc41 CXX=g++41 && ./install

The MPTCP patch mptcp.patch-for-ns2.34-20130810 was used
to make the combined patch.

The combined patch "lwx+LTE+dccp+MPTCP.patch" :
https://drive.google.com/file/d/0B7S...it?usp=sharing

Testing :
MPTCP : $ ns234-wimax-lwx+DCCP+LTE+MPTCP mptcp-sample.tcl : OK, xgraph opens,
... and the files out.nam 285MB and out.tr 174MB are created.
LTE : $ ns234-wimax-lwx+DCCP+LTE+MPTCP eyana.tcl : OK, the usual "nam visual".
DCCP : $ ns234-wimax-lwx+DCCP+LTE+MPTCP dccp-wireless.tcl : OK.
DCCP examples : dccp-examples-2014.tar.gz
https://drive.google.com/file/d/0B7S...it?usp=sharing

-
 
Old 09-19-2014, 11:33 AM   #13
nassou19891
Member
 
Registered: Sep 2014
Posts: 56

Original Poster
Rep: Reputation: Disabled
The combined patch "lwx+LTE+dccp+MPTCP.patch" :
https://drive.google.com/file/d/0B7S...it?usp=sharing

Q1 :i need to know if this patch contians the patch for wimax ??

because my work is to use wimax and lte at the same simulator and study the performence of dccp and mptcp so that i need to add this protocols and networks at the same simulator .

Last edited by nassou19891; 09-19-2014 at 11:40 AM.
 
Old 09-19-2014, 12:10 PM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
← Ref. post #13 .

"lwx+LTE+dccp+MPTCP.patch" : ``lwx is "ns2 light wimax (lwx)" →
http://code.google.com/p/lwx/
.... Please read post #4.

The Wimax-LWX examples are in the packages.zip :
http://code.google.com/p/lwx/downloa...g.zip&can=2&q=

-
 
Old 09-19-2014, 12:15 PM   #15
nassou19891
Member
 
Registered: Sep 2014
Posts: 56

Original Poster
Rep: Reputation: Disabled
think you very very much you help me.

if i have a problem to add this patch i will post a message.

think you again
 
  


Reply

Tags
lte, mptcp, ns2, wimax-lwx_and_lte


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
regarding LTE patch on ns2.35 swetha.goudar Linux - Networking 3 03-24-2014 05:11 AM
[SOLVED] patching lte in ns2.33 chandana Linux - Software 19 03-01-2014 12:20 AM
Ns2 + wimax ballexaa Linux - Software 1 09-14-2013 03:27 PM
Ns2-lte binteasim Linux - Software 2 07-23-2013 04:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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