LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 04-02-2015, 07:28 AM   #16
purohit_kaml
LQ Newbie
 
Registered: Dec 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
Attachment kcp20.tcl.txt


Thanks for your reply

I am attaching the file.

Thanks and regards.
Attached Files
File Type: txt kcp20.tcl.txt (138.6 KB, 34 views)
 
Old 04-02-2015, 07:37 AM   #17
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
Repeat :

Please edit post #14 (and #12) to use 'Code Tags' around the "error output".




-

Last edited by knudfl; 04-02-2015 at 10:12 AM.
 
2 members found this post helpful.
Old 04-02-2015, 10:02 AM   #18
purohit_kaml
LQ Newbie
 
Registered: Dec 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
Attachment kcp20.tcl.txt

Thnks for your replay

but I am unable to understand what actually you are asking.

Thanks and regards.
Attached Files
File Type: txt kcp20.tcl.txt (138.6 KB, 25 views)

Last edited by purohit_kaml; 04-02-2015 at 10:12 AM.
 
Old 04-02-2015, 10:08 AM   #19
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by purohit_kaml View Post
Thanks for your replay Please find the attachment. Thanks and regards.
This is the same thing you posted before, and you are still ignoring what you were asked to do. Go back and edit post #14, please.
 
Old 04-02-2015, 11:12 AM   #20
purohit_kaml
LQ Newbie
 
Registered: Dec 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
I had edited post #14 (and #12) using 'Code Tags' around the "error output"
 
Old 04-02-2015, 11:23 AM   #21
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
Re #16.

Your file `kcp20.tcl' works fairly OK with GPSR-hls :
$ ns235-gpsr-hls kcp20.tcl
..... but stops with :
Error!!
str2addr:Address 1082703872 outside range of address field length 1073741824

...... So you will have to reduce the complexity.


If you want to create files.tcl for GPSR-KeLiu, please read the examples
https://drive.google.com/file/d/0B7S...ew?usp=sharing
>>> GPSR-KeLiu-examples_01.2015.tar.gz


-

Last edited by knudfl; 04-04-2015 at 11:24 AM.
 
1 members found this post helpful.
Old 04-02-2015, 11:16 PM   #22
purohit_kaml
LQ Newbie
 
Registered: Dec 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
Thanks a lot
It is working with #21

GPSR-KeLiu, please read the examples
https://drive.google.com/file/d/0B7S...ew?usp=sharing
>>> GPSR-KeLiu-examples_01.2015.tar.gz

Regards
 
Old 04-04-2015, 09:15 AM   #23
shyjuu
Member
 
Registered: Mar 2015
Posts: 47

Rep: Reputation: Disabled
Quote:
Originally Posted by purohit_kaml View Post
Thanks a lot
It is working with #21

GPSR-KeLiu, please read the examples
https://drive.google.com/file/d/0B7S...ew?usp=sharing
>>> GPSR-KeLiu-examples_01.2015.tar.gz

Regards
how you solved that error of

Code:
(_o14 cmd line 1)
    invoked from within
"_o14 cmd addr"
    invoked from within
"catch "$self cmd $args" ret"
    invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
 
Old 04-06-2015, 07:06 AM   #24
purohit_kaml
LQ Newbie
 
Registered: Dec 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
Just properly patch the file.

then execute:
$make clean
$./configure
$make
 
Old 04-06-2015, 07:09 AM   #25
purohit_kaml
LQ Newbie
 
Registered: Dec 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
Why this error comes:

Error!!
str2addr:Address 1082703872 outside range of address field length 1073741824
 
Old 05-04-2015, 09:11 PM   #26
Intanms
LQ Newbie
 
Registered: May 2015
Posts: 4

Rep: Reputation: Disabled
hi there..
i am using ns2 2.35 in ubuntu. i want use GPSR in my final project and i've successfully add patch GPSR-hls in my ns2.
but, when I simulate GPSR-hls example, there are no data packets sent between nodes. I've checked using awk, and the value of throughput, packet loss, and pdr all worth 0. What should I do?
thank for your help.
 
Old 05-05-2015, 07:01 AM   #27
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
Post #26, @Intanms : Welcome to LQ.
Quote:
when I simulate GPSR-hls example
There is no example by name "GPSR-hls example". Please be specific.

And read this ...
. http://www.linuxquestions.org/linux/...Ask_a_Question
. http://www.catb.org/~esr/faqs/smart-questions.html

All examples : gpsr-hls-examples-03.15.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

GPSR-hls works best with ns-2.33. With ns-2.34, ns-2.34 : Reduced results or errors.
You can easily try out the ns-2.33 version : gpsr-hls-2.33-ubuntu10_i386.deb (4.5MB)
https://drive.google.com/file/d/0B7S...ew?usp=sharing
The package provides /usr/local/bin/ns-hls ,
.. and you can run all examples with : $ ns-hls file.tcl

Latest INFO https://groups.google.com/forum/?fro...rs/aR60WcG4G2c
All INFO, gpsr-hls :
. https://groups.google.com/forum/?fro...gpsr|sort:date
. http://www.linuxquestions.org/questions/tags/gpsr/
. http://network-simulator-ns-2.7690.n...gpsr&sort=date


-
 
Old 05-05-2015, 07:12 PM   #28
Intanms
LQ Newbie
 
Registered: May 2015
Posts: 4

Rep: Reputation: Disabled
thanks for your reply knudfl
then, how i can use gpsr-hls-2.33-ubuntu10_i386.deb in my ns2.35?
how to install it?
 
Old 05-05-2015, 10:23 PM   #29
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
Re #28.
Quote:
how I can use gpsr-hls-2.33-ubuntu10_i386.deb in my ns2.35
You don't use "ns-2.33" in `ns-2.35' !


'gpsr-hls-2.33-ubuntu10_i386.deb' : Click the downloaded package to install.
Like any other downloaded Ubuntu package.

'gpsr-hls-2.33-ubuntu10_i386.deb' has nothing to do with ns-2.35 .
Is the executable 'ns-hls' from "ns-2.33 + gpsr-hls".

Just type 'ns-hls ssoumayaa-0.tcl' , etc. etc. simulation example.
And read the example https://groups.google.com/forum/?fro...rs/aR60WcG4G2c
... where the ns233 executable 'ns-hls' is used.


-
 
Old 05-05-2015, 11:04 PM   #30
Intanms
LQ Newbie
 
Registered: May 2015
Posts: 4

Rep: Reputation: Disabled
Thank you mr knudfl.
i will try it.
thanks
 
  


Reply

Tags
gpsr, gpsr235, ns2



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
GPSR patch for ns2.35 ubantu12.04 sants Linux - Software 16 08-20-2014 07:17 AM
patch GPSR in NS2.34 Mednabil Linux - Wireless Networking 2 12-23-2013 06:24 PM
Dear Friend I need some help regarding the patch of gpsr with ns2.35 anantram Linux - Software 1 09-16-2013 02:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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