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.
Hi to all,
I need to invoke one package namely "Size aware scheduling" in advanced version of NS2.34.
In net they have given steps for installing it in older version NS2.18b.
i have attached url for that package download. I followed the same steps as they said in note but couldnt install it NS2.34.
Can anyone help me in this...1st url shows how the package work. second url shows from where the package should be downloaded and how to install it and all.
I need help in this.. Please somebody can help me..
Hi to all,
I need to invoke one package namely "Size aware scheduling" in advanced version of NS2.34.
In net they have given steps for installing it in older version NS2.18b.
i have attached url for that package download. I followed the same steps as they said in note but couldnt install it NS2.34.
Can anyone help me in this...1st url shows how the package work. second url shows from where the package should be downloaded and how to install it and all.
I need help in this.. Please somebody can help me..
How do you expect anyone to help you? You don't provide details. What version/distro of Linux? And all you say is "but couldnt install it". How about providing the error(s) you got, and how you got them?
If there are steps that you found, follow them. If you're stuck somewhere, tell us where.
The Makefile.in is for ns2.18b. All the code is for ns2.18b.
Don't expect it to be usable in ns-2.34. Unless you rewrite at least the Makefile.in.
Suggest : Install CentOS 3.9 on an old computer.
CentOS 3.9 is the only OS, that can build 'ns-allinone-2.18b'
( Except for some very old : Redhat 7.x etc.)
( CentOS 3.9 was supported until October 2010, now it's obsolete.)
Hi,
I downloaded size aware package and I have edited following files as per their instruction
classifier-hash.cc/h, classifier-port.cc/h, myred.cc/h, myrio.cc/h, PIred.cc/h,dualPIred.cc/h.
# TCP (tcp.cc/tcp.h
# Queue Monitor (queue-monitor.cc/h)
# TCL scripts (ns-default.tcl, ns-lib.tcl)
# Web Traffic Profile (webtraf.cc/h/tcl)
and created object files in "makefile.in" till this step all are went fine.
after that...
1.in that package there should be a file named dup.conf-size. This is the configuration file for dup operation, a convenient tool created by Haobo Yu. Put it under your home directory and name it as .dup.conf-size (don't forget the dot in front of dup).
2 Change the fields in the configuration file if you put the package under different directories. $SRCDIR is the directory where you put the original ns package, and the first entry in %MYSRCDIR is where you put the source code of the size-aware package.
3. Create a duplicated ns directory as follows:
*
# /foo/bar/size/bin/dup size size-ns sizeaware
4. Now you should have a directory called size-ns, which looks almost identical to /foo/bar/ns/, but with all related files being updated.
5. Compile this new package and name the executable size-ns.
till step 2 i have done correctly after that step 3-5 i couldnt understand what to do..
can any one clearly explain me step 3-5. they ahve given one bin folder also which contain file. what should i do with that file.
i have done accordingly and compile that package. but still getting error. the error is
NS:
[code omitted because of length]
: invalid command name "Classifier/Hash/SizeAware 128"
while executing
"Classifier/Hash/SizeAware set SLR_ 2.0"
my classifier-hash.cc file code
...
...
static class SizeAwareClassifierClass : public TclClass {
public:
SizeAwareClassifierClass() : TclClass("Classifier/Hash/SizeAware") {}
TclObject* create(int, const char*const*) {
return new SizeAwareClassifier();
}
} class_hash_sizeaware_classifier;
my tcl code...
..
....
set cls [new Classifier/Hash/SizeAware]
$cls set default_ -1
$cls set flowlen_thr_ 5
$cls set refresh_intv_ 2
$cls set dynamic_update_ 0
set n(0) [node_with_classifier $cls]
i have done accordingly and compile that package. but still getting error. the error is
NS:
[code omitted because of length]
: invalid command name "Classifier/Hash/SizeAware 128"
while executing
"Classifier/Hash/SizeAware set SLR_ 2.0"
my classifier-hash.cc file code
...
...
static class SizeAwareClassifierClass : public TclClass {
public:
SizeAwareClassifierClass() : TclClass("Classifier/Hash/SizeAware") {}
TclObject* create(int, const char*const*) {
return new SizeAwareClassifier();
}
} class_hash_sizeaware_classifier;
my tcl code...
..
....
set cls [new Classifier/Hash/SizeAware]
$cls set default_ -1
$cls set flowlen_thr_ 5
$cls set refresh_intv_ 2
$cls set dynamic_update_ 0
set n(0) [node_with_classifier $cls]
I need to invoke one package namely "Size aware scheduling" is thr any advance version of this package for NS2.34.if not can u pls tell me how i make it compatible with ns 2.34 version
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.