LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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


Closed Thread
  Search this Thread
Old 03-04-2014, 12:16 AM   #166
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled

Quote:
Originally Posted by knudfl View Post
# 164 .

? Any particular reason not to use the proof code for ns-2.34 ?
-
I don't tried the installation procedure of ns-2.34.
and not having the proof code.
and anyway what do you mean by proof code. Is it 'working code'

I am stuck in my work!
Please help me out.

with thanks.

Last edited by Chakraborty; 03-04-2014 at 12:18 AM.
 
Old 03-04-2014, 01:54 AM   #167
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
# 166 .

The code is mentioned first time here, "Ke Liu's NS2 Code .. and Q & A"
http://www.cs.binghamton.edu/~kliu/research/ns2code/

The edited files : "gpsr-KeLiu-patched-ns234.tar.gz".
Read post # 148 , that was an answer to you.

Also : Please read ..
http://www.linuxquestions.org/questi...gs/gpsr-keliu/
http://www.linuxquestions.org/questions/tags/gpsr/
http://www.linuxquestions.org/questions/tags/gpsr-hls/

* http://www.cs.binghamton.edu/~kliu/r...Binghamton.tgz
→ GPSR_KeLiu_SUNY_Binghamton.tgz → → The ns-2.33 code is included too.


-

Last edited by knudfl; 03-04-2014 at 02:05 AM.
 
Old 03-06-2014, 01:05 AM   #168
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled
Dear Knudfl,

with reference to:
http://mailman.isi.edu/pipermail/ns-...st/060965.html

How to bind agent attributes for GPSR.
Got to know the Agent/GPSR is not binded.
By debugging the gpsr.tcl file which is called by wireless-gpsr.tcl file.
In function
proc create-gpsr-routing-agent { node id }
...
...
set ragent_($id) [new Agent/GPSR] //it halts here.

Now, need the bind attributes.

Please suggest.
With Thanks.
 
Old 03-06-2014, 03:40 AM   #169
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled
Dear Knudfl,

I need to install NSG2.1 in Ubuntu 12.04
But supporting packages are missing.

Please help.
 
Old 03-06-2014, 06:26 AM   #170
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
# 169 .

NSG2.1 : There is no install.

Just run with $ java -jar NSG2.1.jar
.. and the display opens.

* You will of course have to install a usable "java" :
$ sudo apt-get install openjdk-6-jdk
And / or $ sudo apt-get install openjdk-7-jdk

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

Rep: Reputation: Disabled
Dear Knudfl,

Please help with respect to #168.
Is there any requirement to do some changes
in

http://mailman.isi.edu/pipermail/ns-...st/060965.html

ns-packet.tcl
ns-default.tcl --> # how to get the Agent bind attributes for GPSR.
ns-lib.tcl
ns-mobilenode.tcl

...files.

with thanks.
 
Old 03-06-2014, 12:11 PM   #172
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
# 168 .
Quote:
Now, need the bind attributes.
Sorry, I have no knowledge about that.

You can try asking at http://network-simulator-ns-2.7690.n7.nabble.com/
.. and https://groups.google.com/forum/?fro...forum/ns-users
 
Old 03-10-2014, 04:34 AM   #173
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled
Dear Knudfl,

1)I want to upload the patch with me. Please tell me how to do that in LQ as you have done in:
Quote:
#152

http://www.linuxquestions.org/questi...-a-4175448663/
#7 ------ with Makefile.in.
Else you can give your mail-id, so that I can send the Patch files to your mailbox.

Please suggest
-
2) I am trying ns-2.34 with Ubuntu.12.04 as suggested in

http://www.linuxquestions.org/questi...-a-4175448663/

Quote:
1#
Anyway, it has been done before: gpsr-KeLiu-patched-ns234.tar.gz (14.4 MB)
Download link https://docs.google.com/file/d/0B7S2...it?usp=sharing
.. The patch origins from a huge "gpsr-KeLiu-ns234.tar.gz", 51.6 MB

-
How and at what sequence of execution to use the patch.
And if possible please provide the 'wireless-gpsr.tcl' file, that validates the patch with formation of a trace file.


Please help with these respects.

Awaiting for a mail-id.
With thanks

Last edited by Chakraborty; 03-10-2014 at 04:38 AM.
 
Old 03-10-2014, 07:23 AM   #174
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
# 173 .
Quote:
How and at what sequence of execution to use the patch.
Read the answers to you, it's in post #148.
And it's not a patch. It's the most of ns-2.34 + the KeLiu files.
Post #148 has a link to #3 here ..
http://www.linuxquestions.org/questi...-4175448663/#3
1) cd ns-allinone-2.34/ && tar xvf gpsr-KeLiu-patched-ns234.tar.gz
2) export CC=gcc41 CXX=g++41 && ./install


Quote:
Awaiting for a mail-id.
Please use http://www.linuxquestions.org/questi...ember&u=386037
.. then I can supply an email address.

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

Rep: Reputation: Disabled
Quote:
# 173.

Read the answers to you, it's in post #148.
And it's not a patch. It's the most of ns-2.34 + the KeLiu files.

-
Quote:
# 173 .

Post #148 has a link to #3 here ..

-
i.e order of installation will be, as expected
Install :
1) cd ns-allinone-2.34/ && tar xvf gpsr-KeLiu-patched-ns234.tar.gz
2) export CC=gcc41 CXX=g++41 && ./install
3) sudo dpkg -i gpsr-keliu-ns-2.34-ubuntu10_i386.deb
4) sudo dpkg -i gpsr-hls-2.33-ubuntu10_i386.deb
----(Is it mandatory ? As I need only GPSR!)

Please just confirm.

Quote:
#81

The trick is to rename all 'ns' to e.g. ns234, ns-orig, ns-hls, ns-gpsr-KeLiu,
etc. etc., and then copy all ns** to /usr/local/bin/ : A system PATH.
Or use as ./ns*

-
please clarify the reasons and give the procedures.

Quote:
#173

Please use http://www.linuxquestions.org/questi...ember&u=386037
.. then I can supply an email address.

-
Taking me to an unprivileged page, though I am registered with LQ.
Besides I have uploaded the files in Google Drive according to #78

https://docs.google.com/file/d/0B9fk...SG8/edit?pli=1

Please check.

With Thanks.
 
Old 03-10-2014, 06:06 PM   #176
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
# 175 .
Quote:
3) sudo dpkg -i gpsr-keliu-ns-2.34-ubuntu10_i386.deb
4) sudo dpkg -i gpsr-hls-2.33-ubuntu10_i386.deb
.
----(Is it mandatory ? As I need only GPSR!)
No. It's your own decision if you want to install the packages.
Both are GPRS. But different. Read the GPSR threads ! !
The packages can be installed if your own builds are failing.


Quote:
Please clarify the reasons and give the procedures.
When you have multiple files by name 'ns' it is convenient to use different names:
You can only have one file by name ns in /usr/local/bin/.
The 'ns' from a GPRS-hls patched ns2 can use a name example like ns-hls.
The 'ns' from a GPSR-KeLiu patched ns2 , example ns-keliu, or whatever you like.
Procedure to make a copy of a file : You will find out.

* Got your file "ns-2.33.tar.gz" from https://docs.google.com/file/d/0B9fk...SG8/edit?pli=1
Thank you. Will have a look at it. Later.

-
 
Old 03-11-2014, 01:05 AM   #177
esthersangeetha
LQ Newbie
 
Registered: Mar 2014
Posts: 10

Rep: Reputation: Disabled
can anyone help me to do project in vanet? i am doing project against hole generation attack..
 
Old 03-11-2014, 04:58 AM   #178
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
# 177, @esthersangeetha. http://www.linuxquestions.org/questi...blackholeaodv/

Please read 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. .... "

* This thread is about GPSR only. You will have to start a new thread →
http://www.linuxquestions.org/questi...ux-software-2/ → New Thread

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

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
# 175 .
No. It's your own decision if you want to install the packages.
Both are GPRS. But different. Read the GPSR threads ! !
The packages can be installed if your own builds are failing.
-
I have a already running 2.33 in 12.04. but it is failing with "core dumping".
After applying the hls-patch,will the patch replaces the compiled gpsr.cc, gpsr.h files, with working new ones.
The patch I uploaded and linked to you, contains gpsr.cc,gpsr.h,etc modified based on actors(Sinks).

If yes, what about the node id's referred by these newly modified files.
Then please provide a working wireless-gpsr.tcl, the test scenario, and connection patern script in accordance with hls-patch to run the above.

i.e in short the necessary changes with respect to patch, to get a working gpsr.

Please suggest.
Thanking You.
 
Old 03-13-2014, 06:50 AM   #180
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
# 179 .

Don't know what you are doing, or why.
The "hls" and "KeLiu" are two different setups that can't be mixed.
( Not easily at least.)

The file wireless-gpsr.tcl will only work with "KeLiu", not "hls".

If you want both kinds of simulations, then build two different ns-2.xx :
Two times ns-allinone-2.33, or : one ns-allinone-2.33 and an ns-allinone-2.34.
*** You can have as many versions as you want, installed at the same time.
But do never add any *PATH text to .bashrc : Never required.
( Setting a path for ns2 in .bashrc is something that was used in the remote past,
when you used the University computer : No write permissions to /usr/local/ .)

-
 
  


Closed Thread

Tags
gdb, gpsr, gpsr-hls, gpsr-keliu, xgraph#195


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
patch for working leach protocol in ns2.34 fedora rajcek Linux - Wireless Networking 4 02-04-2013 06:59 AM
LXer: Tutorial: Border Gateway Protocol, The Routing Protocol of the Internet LXer Syndicated Linux News 0 11-13-2008 05:11 AM
free routing protocol in fedora wahaha Linux - Networking 2 10-26-2006 01:16 AM
RIP(Routing Information protocol) cranium2004 Linux - Networking 2 05-01-2005 06:08 AM
Routing Protocol karunesh Linux - Networking 3 09-04-2002 04:24 AM

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

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