LinuxQuestions.org
Help answer threads with 0 replies.
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 12-04-2011, 10:42 AM   #16
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 15,097

Rep: Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879

Post # 15, @ssohrab2003.

Which links did you find ? ?
 
Old 12-07-2011, 05:10 PM   #17
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 15,097

Rep: Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879
# 15, @ssohrab2003

Aqua-sim_ns230.no-test.tar.bz2 can be downloaded from
https://docs.google.com/open?id=0B7S...I2MjJmMWRkNGQ2

It is the patched ns-2.30 with the tcl/test directory omitted.
Not the complete ns-allinone-2.30. So unpacking goes this way :
1) tar xvf ns-allinone-2.30.tar.gz
2) cd ns-allinone-2.30/ && tar xvf Aqua-sim_ns230.no-test.tar.bz2

Tested with 'export CC=gcc34 CXX=g++34 && ./install'
Result : OK, no errors appeared.

..
 
Old 12-12-2011, 12:16 AM   #18
ssohrab2003
LQ Newbie
 
Registered: Jul 2011
Posts: 5

Rep: Reputation: Disabled
thank you for your reply , I have installed it successfully ,
but I couldn't use aqua3d ,because whenever I load a .nam file in it , the console shows "aqua3d running...."
but it doesn't execute . However , I could execute it by clicking on it ,when I load a .nam file it close ???
why this is happen? I have also install wxwidget freeglut gtk in their last version.
 
Old 01-07-2012, 03:35 PM   #19
ssohrab2003
LQ Newbie
 
Registered: Jul 2011
Posts: 5

Rep: Reputation: Disabled
hi,
why in the tr file of VBF-Example-6 we have not a send column ,
but in VBF-example-5 send and receive is shown ?

how can I fix this error
 
Old 09-16-2012, 02:36 AM   #20
Archanajayakumar
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Rep: Reputation: Disabled
can you please mail me DSR.CC file for underwater. Thanks in advance.My mail id is jaykayarchu@gmail.com
 
Old 01-25-2013, 07:18 AM   #21
maryam.pk
LQ Newbie
 
Registered: Nov 2012
Location: malaysia
Posts: 24

Rep: Reputation: Disabled
Smile hello Dear Afsaneh,

can you solve the error for VBF & DBR source code? because I have the same problem
 
Old 01-26-2013, 03:45 AM   #22
uwsn2012
LQ Newbie
 
Registered: May 2012
Posts: 8

Rep: Reputation: Disabled
Lightbulb

Quote:
Originally Posted by ssohrab2003 View Post
hi,
why in the tr file of VBF-Example-6 we have not a send column ,
but in VBF-example-5 send and receive is shown ?

how can I fix this error
I have the same question... plz can you help me understand this problem ??
 
Old 04-09-2013, 06:59 PM   #23
aDarkSun
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Rep: Reputation: 0
Hi,

anybody completed to write code for Depth based routing(DBR)? If yes, would you plz share the code.

It would be very helpful for me if i can find the code.

Thank you
 
Old 04-10-2013, 03:01 AM   #24
uwsn2012
LQ Newbie
 
Registered: May 2012
Posts: 8

Rep: Reputation: Disabled
Quote:
Originally Posted by aDarkSun View Post
Hi,

anybody completed to write code for Depth based routing(DBR)? If yes, would you plz share the code.

It would be very helpful for me if i can find the code.

Thank you
Hi,
you mean tcl script of dbr protocol ??
 
Old 04-10-2013, 04:21 AM   #25
aDarkSun
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by uwsn2012 View Post
Hi,
you mean tcl script of dbr protocol ??
Yes. But i think some c++ code also need to change. am i right? So, if the c++ code also need to change then would you please share those.

Thank you
 
Old 04-10-2013, 06:43 AM   #26
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 15,097

Rep: Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879
We once got one suggestion for a "dbr.tcl", post #9 here
http://www.linuxquestions.org/questi...ocol-890215/#9
( The DBR tcl script starts at line 335.)

The code must be modified to work. ( Causes 'Segmentation fault'.)
-
Attached Files
File Type: txt DBR1.tcl.bz2.txt (2.5 KB, 51 views)
 
Old 04-10-2013, 07:25 AM   #27
aDarkSun
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
We once got one suggestion for a "dbr.tcl", post #9 here
http://www.linuxquestions.org/questi...ocol-890215/#9
( The DBR tcl script starts at line 335.)

The code must be modified to work. ( Causes 'Segmentation fault'.)
-
Thanks for your help.

Would you please help me by giving a small hints for the following issues:

[Note: I am a beginner of aquasim and plz forgive me if I ask very basic question. plz give me a hint and i will try to do my best to solve myself]

1. the DBR routing menas the dbr.tcl file or I have to write some other code (like other c++ code) for this?
2. If I need to modify the DBR routing then how do i modify that. a little hint may be very helpful for me to start modification of that.

Thank you

Last edited by aDarkSun; 04-10-2013 at 07:48 AM.
 
Old 04-10-2013, 07:47 AM   #28
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 15,097

Rep: Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879Reputation: 2879
# 27.
Quote:
1. the DBR routing menas the dbr.tcl file or I have to write some other code
(like other c++ code) for this ?
I have no idea.


Quote:
2. If I need to modify the DBR routing then how do i modify that.
A little hint may be very helpful for me to start modification of that.
From the short look I have had on the text : There are no obvious errors.
So you will have to experiment.
Or learn tcl coding / the special ns2 commands.

-
 
Old 05-03-2013, 08:08 AM   #29
maryam.pk
LQ Newbie
 
Registered: Nov 2012
Location: malaysia
Posts: 24

Rep: Reputation: Disabled
Question

Hi knudfl

I need to specify two nodes as sink on the surface water could you help me? how should I set a node as a sink(destination) in ns-2?
best regards
 
Old 05-03-2013, 12:02 PM   #30
maryam.pk
LQ Newbie
 
Registered: Nov 2012
Location: malaysia
Posts: 24

Rep: Reputation: Disabled
Dear all,

I am at ns studies , but I don't understand the following
code:

Agent::delay_bind_init_all()
{
delay_bind_init_one("agent_addr_");
delay_bind_init_one("agent_port_");
delay_bind_init_one("dst_addr_");
delay_bind_init_one("dst_port_");
delay_bind_init_one("fid_");
delay_bind_init_one("prio_");
delay_bind_init_one("flags_");
delay_bind_init_one("ttl_");
delay_bind_init_one("class_");
Connector::delay_bind_init_all();
}

int
Agent::delay_bind_dispatch(const char *varName, const char *localName, TclObject *tracer)
{
if (delay_bind(varName, localName, "agent_addr_", (int*)&(here_.addr_), tracer)) return TCL_OK;
if (delay_bind(varName, localName, "agent_port_", (int*)&(here_.port_), tracer)) return TCL_OK;
if (delay_bind(varName, localName, "dst_addr_", (int*)&(dst_.addr_), tracer)) return TCL_OK;
if (delay_bind(varName, localName, "dst_port_", (int*)&(dst_.port_), tracer)) return TCL_OK;
if (delay_bind(varName, localName, "fid_", (int*)&fid_, tracer)) return TCL_OK;
if (delay_bind(varName, localName, "prio_", (int*)&prio_, tracer)) return TCL_OK;
if (delay_bind(varName, localName, "flags_", (int*)&flags_, tracer)) return TCL_OK;
if (delay_bind(varName, localName, "ttl_", &defttl_, tracer)) return TCL_OK;
if (delay_bind(varName, localName, "class_", (int*)&fid_, tracer)) return TCL_OK;
return Connector::delay_bind_dispatch(varName, localName, tracer);
}

Could you please explain me the function.
 
  


Reply

Tags
aquasim, dbr, ns2, vbf


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
codes for leach protocol in ns2 shaddrack yaw nusenu Linux - Newbie 4 09-14-2014 10:16 AM
installing a new protocol in ns2.34 MounaRM Linux - Networking 1 11-26-2010 07:45 AM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 01:44 AM
weight throwing protocol using ns2 code,diffusion based protocol using ns2 code rajrupa Linux - Networking 1 05-27-2010 03:39 AM
sim messenger (msn protocol) shows every1 as offile. qwijibow Linux - Software 0 03-02-2004 10:53 AM


All times are GMT -5. The time now is 04:00 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration