<stdin>:59: invalid type conversion (expected size in bytes instead of rate) near ")" line 59: $monika = class ( rate 8kbps, ceil 240kbps, burst 6kBps ) { sfq ( perturb 10sec ); }; any ideas? -- Sincerely, Artūras ''arturaz'' Šlajus You can find me at: irc.freenode.org: nick arturaz irc.data.lt: nick arturaz ICQ: 157929934 Jabber: arturaz@akl.lt _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Artūras Šlajus wrote:> $monika = class ( rate 8kbps, ceil 240kbps, burst 6kBps ) { sfq ( > perturb 10sec ); };Oh, you need to use kB kb or whatever... :/ -- Sincerely, Artūras ''arturaz'' Šlajus You can find me at: irc.freenode.org: nick arturaz irc.data.lt: nick arturaz ICQ: 157929934 Jabber: arturaz@akl.lt _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Arturaz, To me, the error is clearly reported and identified, but perhaps you overlooked it. : <stdin>:59: invalid type conversion \ : (expected size in bytes instead of rate) near ")" ^^^^^^^^^^^^^^^^^^^^^ : line 59: : $monika = class ( rate 8kbps, ceil 240kbps, burst 6kBps ) : { sfq ( perturb 10sec ); }; Try this instead: $monika = class ( rate 8kbps, ceil 240kbps, burst 6kB ) { sfq ( perturb 10sec ); }; burst is a bucket size in bits (b) or bytes (B). -Martin -- Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Arturaz, : > $monika = class ( rate 8kbps, ceil 240kbps, burst 6kBps ) { sfq ( : > perturb 10sec ); }; : Oh, you need to use kB kb or whatever... :/ Yes. People on this list will be quite happy to help you in a variety of ways. Please do us all a courtesy of reading the error messages and making an effort to read the docs [0] and the LARTC FAQ [1] before sending a message to the list. Thank you, -Martin [0] http://linux-ip.net/gl/tcng/ [1] http://www.docum.org/stef.coene/qos/faq/cache/ -- Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/