Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
To create a proper executable 'ns235-gpsr-keliu' you will have to start from scratch in a new folder:
tar xvf ns-allinone-2.35_gcc482.tar.gz , etc. etc.
Thank you very much for reply.
I hope you are well.
I have tested with package gpsr-keliu-ns-2.34-ubuntu10_i386.deb 'but no results. The gpsr protocol appears in the trace.tr file with GPSR-HLS but not with Keliu (always undefined ...).
It seems to me that the format of the file trace is generic for gpsr. So how to calculate the parameters of the PDR, delay, ... in the file awk.
pleaaaase,if you have an example of the AWK file that calculates QoS parameters (PDR, delay, jitter, ....) to see if my file trace.tr it works and gives results.
I have installed CentOS6.7 -i386 and I exactly follow the instructions related to install & patch gpsr-hls
when I'm going to simulate 'ns2.35/tcl/mobility/gpsr.tcl' I get this ..
[samer@centos6 mobility]$ ns235-gpsr-hls-el6 gpsr.tcl
missing close-brace: possible unbalanced brace in comment
while executing
"proc gpsr-create-mobile-node { id args } {
global ns ns_ chan prop topo tracefd opt node_
set ns_ [Simulator instance]
# ->
#if {..."
(file "gpsr.tcl" line 129)
[samer@centos6 mobility]$
thanks knudfl .. but I'm very confused.
first of all, how could I simulate GPSR protocol not an example?
secondly, are these examples using gpsr.h and gpsr.cc?
thirdly, where and which files could I make some modifications on it to enhance GPSR?
finaly, how could I show results to make comparison?
I know it's take time to answer but I'm new in ns2. So could you please guide me?
where and which files could I make some modifications on it to enhance GPSR
I know no examples of modifications to GPSR-hls. And you are probably the first one to ask about this.
Quote:
how could I show results to make comparison
Comparison between GPSR-hls and GPSR-hls-modified ?
You can have as many ns-allinone-2.xx as you want, installed at the same time.
Easy to have multiple "ns-name" :
/usr/local/bin/{ns235-gpsr-hls-el6, ns234-hls-modified}, etc. etc.
See ns2-INFO.txt
Note : You cannot build ns-2.35 + GPSR-hls with a 64bits OS. ns-2.34 must be used.
I know no examples of modifications to GPSR-hls. And you are probably the first one to ask about this.
Dear knudfl
sorry, but I'm asking about how can I simulate the original GPSR and modify its code (not GPSR-hls)
GPSR-hls focus on increasing packet delivery ratio (decrease data loss)
I've some ideas and I want to implement it on original GPSR to reduce overhead without using HLS .. is it possible ??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.