LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-28-2014, 05:14 AM   #1
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled
Patch GPSR Routing protocol in ns-2.xx


Dear Knudfl,
How to incorporate payload in HLS.
 
Old 05-29-2014, 04:43 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486

Rep: Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635
http://www.linuxquestions.org/questi...76#post5178976
→ # 248.

These are the ``vbr´´ links that I have in my "vbr" backup :
http://ns2homeworkforbeginner.blogsp...1_archive.html
http://code.google.com/p/txsys/sourc...ns2/vbr/?r=222
http://www.linuxquestions.org/questi...2-34-a-868010/

http://code.google.com/p/txsys/sourc...vbr_traffic.cc
http://code.google.com/p/txsys/sourc...=222#ns2%2Fsrc

#1 : Not much info about "ns2 payload at all :
https://www.google.com/webhp?hl=all#hl=en&q=ns2+payload


Generally : How do you expect that you can add anything to your GPSR builds,
(hls and KeLiu) when they aren't working properly in Ubuntu 12.04 ?
Suggest : Make some backups to DVD, and install CentOS 6.5 (or Ubuntu 10.10)
on a spare hard disk.

-
 
Old 05-30-2014, 02:13 AM   #3
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Original Poster
Rep: Reputation: Disabled
@knudfl #2
Quote:
Generally : How do you expect that you can add anything to your GPSR builds,
(hls and KeLiu) when they aren't working properly in Ubuntu 12.04 ?
Suggest : Make some backups to DVD, and install CentOS 6.5 (or Ubuntu 10.10)
on a spare hard disk.
Ok would go for it.
 
Old 05-30-2014, 03:31 AM   #4
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Original Poster
Rep: Reputation: Disabled
@knudfl #2
Quote:
Generally : How do you expect that you can add anything to your GPSR builds,
(hls and KeLiu) when they aren't working properly in Ubuntu 12.04 ?
Suggest : Make some backups to DVD, and install CentOS 6.5 (or Ubuntu 10.10)
on a spare hard disk.
Which compiler to use here. And do the previous commands would work here?

Last edited by Chakraborty; 05-30-2014 at 03:33 AM.
 
Old 05-30-2014, 04:37 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486

Rep: Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635
# 4 .

CentOS 6.5 : # yum install \
gcc-c++ compat-gcc-34-c++ autoconf automake libtool libXmu-devel
... The export command is : export CC=gcc34 CXX=g++34

Ubuntu 10.10 : $ sudo apt-get install \
g++ g++-4.1 autoconf automake libtool libxmu-dev xgraph
... The export command : export CC=gcc-4.1 CXX=g++-4.1

-
 
Old 06-01-2014, 10:03 AM   #6
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Original Poster
Rep: Reputation: Disabled
@Knudfl

I need to polate some graphs, with 3-variables.
got to know X-graph doesn't support that.
That can be done through MATLAB.

Now, how to use MATLAB under NS2?
......More specifically with NS2 traces.


Got some link at google hits, but not worth, from hands-on point-of-view.
Some are obsolete[bad link]
Please specify,....Need to study the variants altogether

With Thanks
 
Old 04-10-2015, 02:15 PM   #7
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Original Poster
Rep: Reputation: Disabled
@knudfl
Hello Knudfl.
Quote:
Generally : How do you expect that you can add anything to your GPSR builds,
(hls and KeLiu) when they aren't working properly in Ubuntu 12.04 ?
Suggest : Make some backups to DVD, and install CentOS 6.5 (or Ubuntu 10.10)
on a spare hard disk.
-
How to install NS-3 in CentOS 6.5 or Ubuntu 10.10? As Considering to switch to NS-3.
And are the required repositories available for both?
Please suggest.
 
Old 04-10-2015, 04:17 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486

Rep: Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635
NS-3

Re #7.

CentOS 6 should be OK. Update and you have CentOS 6.6 : # yum update.
Any new Ubuntu version will also be perfect for ns3.

ns3 prerequisites :
$ sudo apt-get python-all-dev python-setuptools
# yum install python-devel python-setuptools

Get ns-allinone-3.22.tar.bz
https://www.nsnam.org/release/ns-allinone-3.22.tar.bz2
Build it with $ ./build.py --enable-examples --enable-tests
https://www.nsnam.org/docs/tutorial/...l#building-ns3

The ns3 Forum https://groups.google.com/forum/?fro...rum/ns-3-users
... That's the one and only Forum for user questions.

-
 
Old 04-11-2015, 09:02 PM   #9
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Original Poster
Rep: Reputation: Disabled
Dear, knudfl Thank you

Dear as my previous work was with GPSR patch, and GPSR patch may not work with ns-3. So, I am going with CentOS, But would that work with GPSR patch.
How to patch it in NS-2.34 running in CentOS.

And, in the other case, are the required repositories available for Ubuntu 10.10, to patch ns-2.34 successfully ?

And if you don't mind, may I Know Your Name Please?

Last edited by Chakraborty; 04-11-2015 at 11:23 PM.
 
Old 04-12-2015, 05:58 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486

Rep: Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635
Re #9.

CentOS 6.6 : # yum install automake libtool libXmu-devel
CentOS 6.6 : The default compiler is gcc-4.4.7 .
No patch otcl_ns234_gcc-4.4.patch or ns234_gcc49.patch is required.
The GPSR patch is applied as usual.


Ubuntu 10.10 Maverick :
Requires a new file /etc/apt/sources.list : Attached.
$ sudo gedit /etc/apt/sources.list : Delete all text. Copy/paste new text.
Ubuntu 10.10 Maverick : The default compiler is gcc-4.4.4 .
Ubuntu usually requires the patch otcl_ns234_gcc-4.4.patch .


Kind Regards , Knud F. Larsen.

-
Attached Files
File Type: txt etc.apt.sources.list-Maverick.txt (614 Bytes, 10 views)

Last edited by knudfl; 04-12-2015 at 06:55 AM.
 
Old 04-12-2015, 10:41 PM   #11
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Original Poster
Rep: Reputation: Disabled
Thank You KnudFL,
For all Above.

Due to some circumstances, meanwhile installed Ubuntu 12.04.
Started Looking at he code of GPSR.
 
Old 04-19-2015, 10:23 PM   #12
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Original Poster
Rep: Reputation: Disabled
Dear Knud,
While going for the library updates with
sudo apt-get install build-essential autoconf automake libxmu-dev
for ns make, got an interrupt for cd-ROM

[sudo] password for chakraborty:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-totem-1.0 totem-common libtotem0 gir1.2-totem-plparser-1.0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
autotools-dev dpkg-dev fakeroot g++ g++-4.6 libalgorithm-diff-perl
.....
........
...........

The following packages will be upgraded:
libx11-6 libxext6
2 upgraded, 34 newly installed, 0 to remove and 288 not upgraded.
Need to get 16.6 MB/16.7 MB of archives.
After this operation, 50.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Media change: please insert the disc labeled
'Ubuntu 12.04.4 LTS _Precise Pangolin_ - Release i386 (20140204)'
in the drive '/cdrom/' and press enter


system is on the HDD why it is asking for CD?
And that it is not taking the updates.

Please reply.

Last edited by Chakraborty; 04-19-2015 at 10:27 PM.
 
Old 04-20-2015, 05:04 AM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486

Rep: Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635Reputation: 3635
Re #12.

Ubuntu 12.04 :
Comment the "cdrom text line" in /etc/apt/sources.list with a # :
$ sudo gedit /etc/apt/sources.list
.... Or delete the "cdrom text line".


The ns2 requirements, right is :
Code:
$ sudo apt-get update && sudo apt-get install g++ g++-4.4 make patch libtool automake libxmu-dev xgraph
-
 
  


Reply

Tags
1010, ns2, ns3


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to patch GPSR routing protocol to ns-2.35 sukhalid Linux - Newbie 50 04-07-2017 11:52 AM
How to patch GPSR routing protocol to ns-2.34 nimacasino Linux - Software 287 06-10-2014 12:27 PM

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

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