LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-02-2012, 07:18 AM   #16
deVacto
LQ Newbie
 
Registered: Aug 2012
Posts: 19

Rep: Reputation: Disabled

#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.
 
Old 10-02-2012, 11:08 AM   #17
deVacto
LQ Newbie
 
Registered: Aug 2012
Posts: 19

Rep: Reputation: Disabled
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 ?
 
Old 10-02-2012, 12:30 PM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
# 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

.
 
Old 10-02-2012, 03:53 PM   #19
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
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

.
 
Old 10-02-2012, 08:36 PM   #20
deVacto
LQ Newbie
 
Registered: Aug 2012
Posts: 19

Rep: Reputation: Disabled
#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?
 
Old 10-03-2012, 12:09 AM   #21
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
# 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.
 
Old 10-03-2012, 05:34 AM   #22
deVacto
LQ Newbie
 
Registered: Aug 2012
Posts: 19

Rep: Reputation: Disabled
#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?
 
Old 10-03-2012, 06:27 AM   #23
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
# 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.
 
Old 10-04-2012, 12:26 AM   #24
deVacto
LQ Newbie
 
Registered: Aug 2012
Posts: 19

Rep: Reputation: Disabled
#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.
 
Old 02-06-2013, 09:43 AM   #25
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Rep: Reputation: Disabled
Did you find the solution to post 14, I am having pretty much the same problem
 
  


Reply

Tags
bsfq, wfq, wfq-ns2


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
wfq reta Programming 13 03-16-2010 02:58 PM
Needing the source code implementing WFQ rickie Linux - Networking 1 07-29-2002 10:06 AM


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