LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 02-21-2013, 08:07 AM   #1
farfattou
Member
 
Registered: Oct 2011
Posts: 64

Rep: Reputation: Disabled
GPSR routing protocol on ns2.34


hi,
I'm just simulating the GPSR patch for ns-2.34.
I find some intersting results:
1)for this patch, there is no localisation service used
2) the most important, the protocol doesn't consider the mobility of nodes:
I simulate 2 nodes X(10,1,0) and Y(270, 1, 0) with transmission range 250m
I mouved the Y to the range of X but Y still don't receive data sent from X
so can any one tell me what to do because I need to make simulation with mobile nodes
thkx
 
Old 02-21-2013, 11:26 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,521

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Some info : Google .. gpsr mobility ns2 ..
https://www.google.com/webhp?hl=all#...r+mobility+ns2
From what I read (I may be wrong) there's no "mobility" in the the current gpsr code.
( Though you have ns-2.33/tcl/mobility/gpsr.tcl ).
But mobility methods are mentioned in some of the hits.


Google .. gpsr mobility ns3 .. : Code is available for ns-3
https://bitbucket.org/lalithsuresh/n...f9fdb/examples
$ hg clone https://bitbucket.org/lalithsuresh/ns-3-gpsr (1): 79.6 MB.

http://code.google.com/p/ns3-gpsr/so...d1c06213957d4d
$ hg clone https://code.google.com/p/ns3-gpsr/ (2): 92.8 MB
( May be this one is just the latest version : They look quite identical.)

-

Last edited by knudfl; 02-21-2013 at 11:27 AM.
 
Old 02-21-2013, 03:11 PM   #3
farfattou
Member
 
Registered: Oct 2011
Posts: 64

Original Poster
Rep: Reputation: Disabled
hi knudfl,
thkx for your reply but regarding to other posts (#17) at this link
http://www.linuxquestions.org/questi...526/page2.html
we mentioned that it's possible to get the mobility of nodes in nam file besides when we create nodes we suggest "mobile nodes":

for {set i 0} {$i < $opt(nn) } {incr i} {
gpsr-create-mobile-node $i
}

So,I presume that GPSR support the mobility of nodes but when I simulate it with "wireless-gpsr.tcl" and one "setdest" command at the scenario file, it doesn't work (as I mentioned earlier)

any suggestions
 
Old 02-21-2013, 03:55 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,521

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
# 3 :

I have tried the suggestion in the referred post # 17, but it didn't work.
And : I am not a coder, and have no solution.
 
Old 02-22-2013, 02:58 AM   #5
farfattou
Member
 
Registered: Oct 2011
Posts: 64

Original Poster
Rep: Reputation: Disabled
ok knudfl
I'm very grateful for everything
 
  


Reply


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 5 07-10-2014 07:30 PM
How to patch GPSR routing protocol to ns-2.34 nimacasino Linux - Software 287 06-10-2014 12:27 PM


All times are GMT -5. The time now is 11:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration