Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
10-02-2012, 07:18 AM
|
#16
|
LQ Newbie
Registered: Aug 2012
Posts: 19
Rep: 
|
#15
slackware 13.37
i686
in /usr/local/bin/ i only have 1 ns, but now i rename it ns233
i have folder backup ns233 after patch latest event, can i start install from there
Last edited by deVacto; 10-02-2012 at 11:09 AM.
|
|
|
10-02-2012, 11:08 AM
|
#17
|
LQ Newbie
Registered: Aug 2012
Posts: 19
Rep: 
|
i have 2 file ns in ns-2.33
first ns and ns233
first time, i copy ns file to /usr/local/bin wether i rename it or not i got error like my post before
and second time i copy ns233 to /usr/local/bin i rename it or not my ns worked as usual
is it my ns installed properly? and how to call wfq in code in folder /ns233/wfq ?
|
|
|
10-02-2012, 12:30 PM
|
#18
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 17
One of the files from the package "final.tgz" works, when wfq.cc only is added:
ns ex_wfd.tcl
The result is shown in xgraph.
Xgraph install http://www.linuxquestions.org/questi...34-a-862233/#2
.
|
|
|
10-02-2012, 03:53 PM
|
#19
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Note : gcc34-g++34-3.4.6 cannot compile ns-2.33.
A g++ version 4.1.2 seems to be the best choice.
Packages, Slackware 13.37 : 1) lte-ns-2.33-S1337.i486.txz , 2.9 MB
https://docs.google.com/open?id=0B7S...jlxelBRMVZ5XzA
.. providing /usr/local/bin/ ns-orig ns-lte
.. where ns-orig is the unpatched version.
2) wfq-ns-2.33-S1337.i486.txz, 2.5 MB, patched with bsfq.cc, drr.cc, wfq.cc
https://docs.google.com/open?id=0B7S...2J5ZlhYNW13STA
.. providing /usr/local/bin/ns-wfq
.
|
|
|
10-02-2012, 08:36 PM
|
#20
|
LQ Newbie
Registered: Aug 2012
Posts: 19
Rep: 
|
#18
can you give me detail tutorial how to use final.tgz, where to put it final.tgz and #8 etc
and my post #17 is it my ns already installed? i`m use ns233 not ns from ns233 folder?
|
|
|
10-03-2012, 12:09 AM
|
#21
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 20
"final.tgz" : The link is in post #8. Uncompressed it is a folder "final/".
Can be located anywhere in /home/deVacto/.
The package contains src/ : The three files bsfq.cc, drr.cc, wfq.cc.
And examples/ : Use the tcl files with $ ns-wfq file.tcl ,
.. and find out, if you get a result.
According to post #14, the combined lte / wfq binary cannot work.
Please try out the binary packages listed in post #19.
They will have no conflicts with your current installs :
"lte-ns-2.33" : /usr/local/lte/ns-allinone/lib/, /usr/local/lte/ns-allinone/bin/tclsh8.4.
"wfq-ns-2.33" : /usr/local/wfq/ns-allinone/lib/, /usr/local/wfq/ns-allinone/bin/tclsh8.4.
And the executable : /usr/local/bin/
Installs with : # installpkg <package-name>.txz
.
Last edited by knudfl; 10-03-2012 at 03:12 AM.
|
|
|
10-03-2012, 05:34 AM
|
#22
|
LQ Newbie
Registered: Aug 2012
Posts: 19
Rep: 
|
#21
after i extract final.gz i got 1 file executeable final, so what do i do next? sorry i got confused
after i package those two file lte and wfq, is that mean i dont need follow your post in #6 and #8? cause it got ns?
|
|
|
10-03-2012, 06:27 AM
|
#23
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 22
There is no executable by name 'final' that can be used to anything ?
The package "final" is mostly examples.
** How to use the src/ files : See posts #6, #8.
And the files cannot be used in an lte patched ns-2.33.
And :
You don't have to build anything, just install the Slackware packages, #19.
.... And use the provided commands :
$ ns-wfq ex1.tcl : xgraph will open, and show the result.
$ ns-wfq ex_wfd.tcl : xgraph ...
$ ns-lte eyana.tcl : nam opens.
$ ns-lte lte.tcl ; $ nam out.nam
.
Last edited by knudfl; 10-03-2012 at 06:28 AM.
|
|
|
10-04-2012, 12:26 AM
|
#24
|
LQ Newbie
Registered: Aug 2012
Posts: 19
Rep: 
|
#23
tq again knudfl, sorry i got the wrong final package
i`ll try again install it, and what do you mean "the files cannot be used in an lte patched ns-2.33" does that mean the code is not compatible with lte?
and, the package those for is... if i got you can say lte.tcl and i got ns-wfq which is it already have wfq code i just execute like ns-wfq lte.tcl and it run?? is it simple like this??
so you say there is 2 way to use wfq, first patch it to makefile.in and second use the package you gave? and i can say the second way it more simple, cause it doesnt need ./isntall?
can i ask oot from this topic? i see in ns-default.tcl (tcl/lib) it got parameter like drr one, i can add something like wfq but after ./install or it must be do before it?
tq again
Last edited by deVacto; 10-04-2012 at 12:28 AM.
|
|
|
02-06-2013, 09:43 AM
|
#25
|
Member
Registered: Jan 2013
Posts: 54
Rep: 
|
Did you find the solution to post 14, I am having pretty much the same problem
|
|
|
All times are GMT -5. The time now is 06:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|