RE: [leaf-user] QOS setup under Bering 1.2
Joey for your reference, this is how the wondershaper installs the root qdisc # install root HTB, point default traffic to 1:20: tc qdisc add dev $DEV root handle 1: htb default 20 HTH Erich At 22:30 16.12.2003 -0600, Joey Officer wrote: ... firewall: -root- # tc qdisc add dev eth0 root handle 1: htb RTNETLINK answers: Invalid argument So I still think that it may be an issue with something else that I am loading, or with the specific packages that I am working with. Its possible I grabbed the wrong files at some point. Since you are currently using the QoS-htb from within Bering, would you be willing to send me your qos-htb.lrp file, as well as the tc.lrp. I could modify you htb.init for my environment and test that as well. THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78alloc_id371op=click leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
RE: [leaf-user] QOS setup under Bering 1.2
I agree that I may have something that is bunk, which I have conceeded that may require my replacing my boot image, and then just reconfiguring it. Fortunately, for the most part it is a stock install. I'll try that this weekend, and hope for the best. Hopefully it has been just a matter of something fowled up in the distro that I got. joey -Original Message- From: S Mohan [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 12:28 AM To: 'Joey Officer' Subject: RE: [leaf-user] QOS setup under Bering 1.2 You would get this error if tc does not support htb. I know the RTNETLINK messages do not tell us why the error appears. We need kernel to be patched (which I know has been done), tc with htb support ( a while ago we had versions in repository floating with and without htb support) and htb.init modified for ash instead of bash ( where {} had to be changed to [] or vice versa - memeory is weak) Warm regards Mohan On Wednesday, December 17, 2003 10:01 AM Joey Officer wrote: : Thanks for the correction, but based on the documentation for the QoS : under Bering, I should be able to type the initial command, and get : some response. Instead I only get the error. I have defined the : modules, as noted here: : : firewall: -root- : # lsmod : Module PagesUsed by : sch_tbf 2176 0 (unused) : sch_sfq 3168 0 (unused) : sch_red 2136 0 (unused) : sch_prio2144 0 (unused) : sch_ingress 1276 0 (unused) : sch_htb12032 0 (unused) : sch_gred4288 0 (unused) : sch_dsmark 3608 0 (unused) : sch_csz 3436 0 (unused) : sch_cbq11608 0 (unused) : cls_u32 4256 0 (unused) : cls_tcindex 3812 0 (unused) : cls_rsvp6 4096 0 (unused) : cls_rsvp3968 0 (unused) : cls_route 3876 0 (unused) : cls_fw 2108 0 (unused) : ip_nat_irc 2176 0 (unused) : ip_nat_ftp 2784 0 (unused) : ip_conntrack_irc2880 1 : ip_conntrack_ftp3648 1 : 8211 63896 0 (unused) : epic10011960 2 : mii 2092 0 [epic100] : ide-probe-mod 8476 0 : ide-disk9304 0 : ide-mod63076 0 [ide-probe-mod ide-disk] : : and the output from the line that you supplied is the following: : : firewall: -root- : # tc qdisc add dev eth0 root handle 1: htb : RTNETLINK answers: Invalid argument : : So I still think that it may be an issue with something else that I : am loading, or with the specific packages that I am working with. : Its possible I grabbed the wrong files at some point. Since you are : currently using the QoS-htb from within Bering, would you be willing : to send me your qos-htb.lrp file, as well as the tc.lrp. I could : modify you htb.init for my environment and test that as well. : : Thanks all thus far, I think that with enough minds melting on the : same subject, we can identify my problem. : : Regards, : : Joey : : -Original Message- : From: [EMAIL PROTECTED] : [mailto:[EMAIL PROTECTED] Behalf Of Mariano : Drzazga : Sent: Tuesday, December 16, 2003 1:06 PM : To: [EMAIL PROTECTED] : Subject: RE: [leaf-user] QOS setup under Bering 1.2 : : : Joey : : : I'm using HTB with Bering 2.0 without problems. : I don't use wondershaper neither htb.init scripts since I use my own : made scripts with tc tool. : : Reading in your first mail, you've wrote : : : # tc qdisc add dev eth0 root : : but I think the correct sentece should be : : : # tc qdisc add dev eth0 root handle 1: htb : : Also, remember to copy the apropiate modules to /lib/modules and load : them. : : Regards, : : Mariano : : -Mensaje original- : De: [EMAIL PROTECTED] : [mailto:[EMAIL PROTECTED] En nombre de Joey : Officer Enviado el: Martes, 16 de Diciembre de 2003 04:28 : Para: Leaf User List : Asunto: RE: [leaf-user] QOS setup under Bering 1.2 : : : Been doing some reading, and I found a couple of interesting bits. : : What appears to be a somewhat current HTB home page, with a fair : amount of : documentation: : http://luxik.cdi.cz/~devik/qos/htb/htbfaq.htm : : Additionally, from the FAQ: : : RTNETLINK answers: Invalid argument and tc parameters are correct : : Probably you use tc tool not suited for HTB in kernel. Reread main : HTB page section Downloads. : : The above is the same problem that is plagueing atleast some of us, : myself included. Which leads me back to there possibly being a : problem with the way either the kernel or tc applications have been : compiled. A question to be asked now, is ANYONE currently using the : htb.init scripts, based on the Bering documentation for tc/qos-htb? : If so, please speak up, and atleast count as testimony, otherwise I : believe we need to take a closer look at the QoS package, and quite : possibly the TC
RE: [leaf-user] QOS setup under Bering 1.2
I tried the below modifying the entry to point directly to eth0 and received the following: firewall: -root- # tc qdisc add dev eth0 root handle 1: htb default 20 RTNETLINK answers: Invalid argument I received an email off list that references a potential problem the with tc.lrp package that I may have gotten. I am going to rebuild my installation this weekend, and perhaps find that I have a bunk build. Thanks for all the assistance thus far, I'm sure I'll be writing this weekend, with more questions. Warmest regards, Joey -Original Message- From: Erich Titl [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 1:32 AM To: Joey Officer; [EMAIL PROTECTED] Subject: RE: [leaf-user] QOS setup under Bering 1.2 Joey for your reference, this is how the wondershaper installs the root qdisc # install root HTB, point default traffic to 1:20: tc qdisc add dev $DEV root handle 1: htb default 20 HTH Erich At 22:30 16.12.2003 -0600, Joey Officer wrote: ... firewall: -root- # tc qdisc add dev eth0 root handle 1: htb RTNETLINK answers: Invalid argument So I still think that it may be an issue with something else that I am loading, or with the specific packages that I am working with. Its possible I grabbed the wrong files at some point. Since you are currently using the QoS-htb from within Bering, would you be willing to send me your qos-htb.lrp file, as well as the tc.lrp. I could modify you htb.init for my environment and test that as well. THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78alloc_id371op=click leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
RE: [leaf-user] QOS setup under Bering 1.2
Been doing some reading, and I found a couple of interesting bits. What appears to be a somewhat current HTB home page, with a fair amount of documentation: http://luxik.cdi.cz/~devik/qos/htb/htbfaq.htm Additionally, from the FAQ: RTNETLINK answers: Invalid argument and tc parameters are correct Probably you use tc tool not suited for HTB in kernel. Reread main HTB page section Downloads. The above is the same problem that is plagueing atleast some of us, myself included. Which leads me back to there possibly being a problem with the way either the kernel or tc applications have been compiled. A question to be asked now, is ANYONE currently using the htb.init scripts, based on the Bering documentation for tc/qos-htb? If so, please speak up, and atleast count as testimony, otherwise I believe we need to take a closer look at the QoS package, and quite possibly the TC package. I am willing to continue to test this, if others are willing to work with me. Joey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joey Officer Sent: Monday, December 15, 2003 9:31 PM To: Leaf User List Subject: RE: [leaf-user] QOS setup under Bering 1.2 -Original Message- From: S Mohan [mailto:[EMAIL PROTECTED] Sent: Saturday, November 15, 2003 3:37 AM To: 'Joey Officer' Subject: RE: [leaf-user] QOS setup under Bering 1.2 I think the package is broken. Can Juan/Jacques let us know which the right package is? Apart from this, the standard qos-htb menu entry points to /sbin/htb-init instead of the file which is indicated by the manual. Can the package maintainers check this out please? Warm regards Mohan On Friday, November 14, 2003 8:35 AM Joey Officer wrote: : I've read over the docs for the Bering user guide, and have been : stuck at a single spot: : : firewall: -root- : # tc qdisc add dev eth0 root : RTNETLINK answers: Invalid argument : : I have noticed that when I go into LRCFG, that the qos-htb package is : not listed. Is there anyway to confirm that the packages are being : loaded properly? Or, is there a better place to start looking for the : culprit? : : The ultimate goal here is to allow my VoIP phone to have priority : over all other traffic, if there is a better way, please advise. : : Joey : : : : --- : This SF.Net email sponsored by: ApacheCon 2003, : 16-19 November in Las Vegas. Learn firsthand the latest developments : in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! : http://www.apachecon.com/ : : leaf-user mailing list: [EMAIL PROTECTED] : https://lists.sourceforge.net/lists/listinfo/leaf-user : SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
RE: [leaf-user] QOS setup under Bering 1.2
Joey I am using tc only (not qos-htb) with the wondershaper as documented on the shorewall site. To start with, it failed too with IIRC similar problems. I finally had to dig into the wondershaper code and found ash arithmetic problems settting up the tc commands. So I believe it is not tc causing the problems. HTH Erich At 01:28 16.12.2003 -0600, Joey Officer wrote: Been doing some reading, and I found a couple of interesting bits. What appears to be a somewhat current HTB home page, with a fair amount of documentation: http://luxik.cdi.cz/~devik/qos/htb/htbfaq.htm Additionally, from the FAQ: RTNETLINK answers: Invalid argument and tc parameters are correct THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78alloc_id371op=click leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
RE: [leaf-user] QOS setup under Bering 1.2
Erich Thanks for the input. I had read a thread or two discussing Wondershaper, although admittedly, I haven't looked at it yet. I think that if this continues to fail, I may dive into that project instead. You mentioned that you made some arthmetic changes to the wondershaper code, I am assuming that this was for the default values that are computed?, if so would you be willing to share your modifications, on list, so that others might benefit as well? Again, thanks for the reply, and I look forward to your comments. Regards, joey -Original Message- From: Erich Titl [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 1:46 AM To: Joey Officer; Leaf User List Subject: RE: [leaf-user] QOS setup under Bering 1.2 Joey I am using tc only (not qos-htb) with the wondershaper as documented on the shorewall site. To start with, it failed too with IIRC similar problems. I finally had to dig into the wondershaper code and found ash arithmetic problems settting up the tc commands. So I believe it is not tc causing the problems. HTH Erich At 01:28 16.12.2003 -0600, Joey Officer wrote: Been doing some reading, and I found a couple of interesting bits. What appears to be a somewhat current HTB home page, with a fair amount of documentation: http://luxik.cdi.cz/~devik/qos/htb/htbfaq.htm Additionally, from the FAQ: RTNETLINK answers: Invalid argument and tc parameters are correct THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78alloc_id371op=click leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
RE: [leaf-user] QOS setup under Bering 1.2
Joey : I'm using HTB with Bering 2.0 without problems. I don't use wondershaper neither htb.init scripts since I use my own made scripts with tc tool. Reading in your first mail, you've wrote : # tc qdisc add dev eth0 root but I think the correct sentece should be : # tc qdisc add dev eth0 root handle 1: htb Also, remember to copy the apropiate modules to /lib/modules and load them. Regards, Mariano -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Joey Officer Enviado el: Martes, 16 de Diciembre de 2003 04:28 Para: Leaf User List Asunto: RE: [leaf-user] QOS setup under Bering 1.2 Been doing some reading, and I found a couple of interesting bits. What appears to be a somewhat current HTB home page, with a fair amount of documentation: http://luxik.cdi.cz/~devik/qos/htb/htbfaq.htm Additionally, from the FAQ: RTNETLINK answers: Invalid argument and tc parameters are correct Probably you use tc tool not suited for HTB in kernel. Reread main HTB page section Downloads. The above is the same problem that is plagueing atleast some of us, myself included. Which leads me back to there possibly being a problem with the way either the kernel or tc applications have been compiled. A question to be asked now, is ANYONE currently using the htb.init scripts, based on the Bering documentation for tc/qos-htb? If so, please speak up, and atleast count as testimony, otherwise I believe we need to take a closer look at the QoS package, and quite possibly the TC package. I am willing to continue to test this, if others are willing to work with me. Joey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joey Officer Sent: Monday, December 15, 2003 9:31 PM To: Leaf User List Subject: RE: [leaf-user] QOS setup under Bering 1.2 -Original Message- From: S Mohan [mailto:[EMAIL PROTECTED] Sent: Saturday, November 15, 2003 3:37 AM To: 'Joey Officer' Subject: RE: [leaf-user] QOS setup under Bering 1.2 I think the package is broken. Can Juan/Jacques let us know which the right package is? Apart from this, the standard qos-htb menu entry points to /sbin/htb-init instead of the file which is indicated by the manual. Can the package maintainers check this out please? Warm regards Mohan On Friday, November 14, 2003 8:35 AM Joey Officer wrote: : I've read over the docs for the Bering user guide, and have been : stuck at a single spot: : : firewall: -root- : # tc qdisc add dev eth0 root : RTNETLINK answers: Invalid argument : : I have noticed that when I go into LRCFG, that the qos-htb package is : not listed. Is there anyway to confirm that the packages are being : loaded properly? Or, is there a better place to start looking for the : culprit? : : The ultimate goal here is to allow my VoIP phone to have priority : over all other traffic, if there is a better way, please advise. : : Joey : : : : --- : This SF.Net email sponsored by: ApacheCon 2003, : 16-19 November in Las Vegas. Learn firsthand the latest developments : in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! : http://www.apachecon.com/ : : leaf-user mailing list: [EMAIL PROTECTED] : https://lists.sourceforge.net/lists/listinfo/leaf-user : SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click leaf-user mailing list: [EMAIL
RE: [leaf-user] QOS setup under Bering 1.2
Thanks for the correction, but based on the documentation for the QoS under Bering, I should be able to type the initial command, and get some response. Instead I only get the error. I have defined the modules, as noted here: firewall: -root- # lsmod Module PagesUsed by sch_tbf 2176 0 (unused) sch_sfq 3168 0 (unused) sch_red 2136 0 (unused) sch_prio2144 0 (unused) sch_ingress 1276 0 (unused) sch_htb12032 0 (unused) sch_gred4288 0 (unused) sch_dsmark 3608 0 (unused) sch_csz 3436 0 (unused) sch_cbq11608 0 (unused) cls_u32 4256 0 (unused) cls_tcindex 3812 0 (unused) cls_rsvp6 4096 0 (unused) cls_rsvp3968 0 (unused) cls_route 3876 0 (unused) cls_fw 2108 0 (unused) ip_nat_irc 2176 0 (unused) ip_nat_ftp 2784 0 (unused) ip_conntrack_irc2880 1 ip_conntrack_ftp3648 1 8211 63896 0 (unused) epic10011960 2 mii 2092 0 [epic100] ide-probe-mod 8476 0 ide-disk9304 0 ide-mod63076 0 [ide-probe-mod ide-disk] and the output from the line that you supplied is the following: firewall: -root- # tc qdisc add dev eth0 root handle 1: htb RTNETLINK answers: Invalid argument So I still think that it may be an issue with something else that I am loading, or with the specific packages that I am working with. Its possible I grabbed the wrong files at some point. Since you are currently using the QoS-htb from within Bering, would you be willing to send me your qos-htb.lrp file, as well as the tc.lrp. I could modify you htb.init for my environment and test that as well. Thanks all thus far, I think that with enough minds melting on the same subject, we can identify my problem. Regards, Joey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mariano Drzazga Sent: Tuesday, December 16, 2003 1:06 PM To: [EMAIL PROTECTED] Subject: RE: [leaf-user] QOS setup under Bering 1.2 Joey : I'm using HTB with Bering 2.0 without problems. I don't use wondershaper neither htb.init scripts since I use my own made scripts with tc tool. Reading in your first mail, you've wrote : # tc qdisc add dev eth0 root but I think the correct sentece should be : # tc qdisc add dev eth0 root handle 1: htb Also, remember to copy the apropiate modules to /lib/modules and load them. Regards, Mariano -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Joey Officer Enviado el: Martes, 16 de Diciembre de 2003 04:28 Para: Leaf User List Asunto: RE: [leaf-user] QOS setup under Bering 1.2 Been doing some reading, and I found a couple of interesting bits. What appears to be a somewhat current HTB home page, with a fair amount of documentation: http://luxik.cdi.cz/~devik/qos/htb/htbfaq.htm Additionally, from the FAQ: RTNETLINK answers: Invalid argument and tc parameters are correct Probably you use tc tool not suited for HTB in kernel. Reread main HTB page section Downloads. The above is the same problem that is plagueing atleast some of us, myself included. Which leads me back to there possibly being a problem with the way either the kernel or tc applications have been compiled. A question to be asked now, is ANYONE currently using the htb.init scripts, based on the Bering documentation for tc/qos-htb? If so, please speak up, and atleast count as testimony, otherwise I believe we need to take a closer look at the QoS package, and quite possibly the TC package. I am willing to continue to test this, if others are willing to work with me. Joey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joey Officer Sent: Monday, December 15, 2003 9:31 PM To: Leaf User List Subject: RE: [leaf-user] QOS setup under Bering 1.2 -Original Message- From: S Mohan [mailto:[EMAIL PROTECTED] Sent: Saturday, November 15, 2003 3:37 AM To: 'Joey Officer' Subject: RE: [leaf-user] QOS setup under Bering 1.2 I think the package is broken. Can Juan/Jacques let us know which the right package is? Apart from this, the standard qos-htb menu entry points to /sbin/htb-init instead of the file which is indicated by the manual. Can the package maintainers check this out please? Warm regards Mohan On Friday, November 14, 2003 8:35 AM Joey Officer wrote: : I've read over the docs for the Bering user guide, and have been : stuck at a single spot: : : firewall: -root- : # tc qdisc add dev eth0 root : RTNETLINK answers: Invalid argument : : I have noticed that when I go into LRCFG, that the qos-htb package is : not listed. Is there anyway to confirm that the packages are being : loaded properly? Or, is there a better place
RE: [leaf-user] QOS setup under Bering 1.2
-Original Message- From: S Mohan [mailto:[EMAIL PROTECTED] Sent: Saturday, November 15, 2003 3:37 AM To: 'Joey Officer' Subject: RE: [leaf-user] QOS setup under Bering 1.2 I think the package is broken. Can Juan/Jacques let us know which the right package is? Apart from this, the standard qos-htb menu entry points to /sbin/htb-init instead of the file which is indicated by the manual. Can the package maintainers check this out please? Warm regards Mohan On Friday, November 14, 2003 8:35 AM Joey Officer wrote: : I've read over the docs for the Bering user guide, and have been : stuck at a single spot: : : firewall: -root- : # tc qdisc add dev eth0 root : RTNETLINK answers: Invalid argument : : I have noticed that when I go into LRCFG, that the qos-htb package is : not listed. Is there anyway to confirm that the packages are being : loaded properly? Or, is there a better place to start looking for the : culprit? : : The ultimate goal here is to allow my VoIP phone to have priority : over all other traffic, if there is a better way, please advise. : : Joey : : : : --- : This SF.Net email sponsored by: ApacheCon 2003, : 16-19 November in Las Vegas. Learn firsthand the latest developments : in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! : http://www.apachecon.com/ : : leaf-user mailing list: [EMAIL PROTECTED] : https://lists.sourceforge.net/lists/listinfo/leaf-user : SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] QOS setup under Bering 1.2
I reviewed the documentation from the Bering list, and I found one flaw in using QOS with VoIP (or atleast Vonage). Vonage apparently uses UDP ports instead of TCP. The ports needed are as follows: 69 5060-5063 10,000 - 20,000 Does QOS allow for UDP port usage, and additionally, does it allow for port ranges (like the 1 - 2)? - Original Message - From: Mike Schurman [EMAIL PROTECTED] To: Joey Officer [EMAIL PROTECTED] Sent: Thursday, November 13, 2003 9:46 PM Subject: Re: [leaf-user] QOS setup under Bering 1.2 Joey, You might try this qos-htb.lrp I got it from Mohan at one point and had some luck - I included some related messages/email. Ultimately I took a slightly different approach and mixed the Wonder Shaper in with this and eliminated Shorewall altogether. If you've been digging into QOS like I did at that time you probably came acrossed it already. My box was a qos-htb-bridge only - I simulated giving Voip priority successfully. I suggest you get the latest lrp from the devel site. I'm attaching the lrp I've (please rename .tar.gz as .lrp when you save). Change default from 30 to 40 in the script. I got this lrp for review from Jaime - the maintainer of that lrp. was part of Mohan's message. Regards, Mike old stuff below x Can you try to download a fresh lrp and check this out? I've used upto Bering 1.1. I'm yet to try 1.2. However, whatever I've documented in 1.1 works well. Normally the menu options are stored in /var/lib/lrpkg directory and each package has 4 files. Check if qos-htb files are available. If not, I guess there is something wrong with the package. I suggest you get the latest lrp from the devel site. I'm attaching the lrp I've (please rename .tar.gz as .lrp when you save). Change default from 30 to 40 in the script. I got this lrp for review from Jaime - the maintainer of that lrp. Mohan -Original Message- From: Mike Schurman [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 7:09 AM To: [EMAIL PROTECTED] Cc: mike Subject: Re: qos-htb Mohan, I did as you suggested, but to no avail. lrpkg -l does show the qos-htb 08.3 and tc ss010824 tc from iproute2 and others. lrpkg -i /mnt/qos-htb will indicate installation of the package too, but again the results are the same: Invoke lrcfg - packages - qos-htb. I do not see qos-htb as an option. I do have the files in /etc/sysconfig/htb. tc -s qdisc shows no list by default, but I can add qdisc's manually. I'm using Bering 1.1. I seemed to have bridge problems with 1.2. I'm at a loss to figure out this one unless the qos-htb.lrp is some how at fault. Regards, Mike - Original Message - From: Mike Schurman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 11:16 AM Subject: RE: qos-htb Hello Mohan, Than you for the very prompt response. I do have both tc.lrp and qos-htb.lrp in the syslinux.cfg. htb.init is found and Bering displays the (QOS Started) message. I'll try the suggested measures when I am at home again. Very appreciatively, Mike -Original Message- From: S. Mohan [SMTP:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 10:10 To: Mike Schurman Subject: Re: qos-htb Check using lrpkg -l if qos-htb is installed. If it is, then these options would appear. For boot time loading, qos-htb.lrp must be declared in the syslinux.cfg file. lrpkg -i qos-htb and then invoke lrpkg to see if these options appear. Once this goes thro', declare it in syslinux.cfg. Please make sure tc.lrp is also loaded else you would get errors. Mail me with more details if you require more help. Regards Mohan Dear Sir, I am trying to use htb under Bering. I have run into a snag, that is after the system loads all packeages and I log in, when I proceed to follow this step: 21.6. Step 4: Configure qos-htb Invoke lrcfg - packages - qos-htb. I do not see qos-htb as an option. Can you be of assistance in this matter? Thank you for your response. Sincerely, Mike Schurman [EMAIL PROTECTED] - Original Message - From: David Heaps [EMAIL PROTECTED] To: 'Tom Eastep' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, July 05, 2003 4:38 PM Subject: RE: [leaf-user] QOS problems (RTNETLINK answers: Invalid argument) This one. http://leaf.sourceforge.net/devel/jnilo/buhtb-qos.html I'm having another issue now. It's not too major, but the qos-htb package isn't showing in the package configuration menu. It's installed, as it shows in the backup menu. So could anyone point me to the config file that that package uses? -Original Message- From: Tom Eastep [mailto:[EMAIL PROTECTED] Sent: Saturday, July 05, 2003 2:25