Subject: Re: altq
To: Wolfgang S. Rupprecht <>
From: Herb Peyerl <>
List: current-users
Date: 12/06/2003 17:52:36 (Wolfgang S. Rupprecht)  wrote:
 > I'm trying to fire up altqd in current but having no luck.  When I
 > copied the HTML cbq filter example from altq.conf to /etc/ and ran it,
 > I got a diagnostic that tlp0 doesn't support something.
 > /etc/altq.conf:
 >     interface tlp0 bandwidth 256k cbq
 >     class cbq tlp0 root_class NULL priority 0 pbandwidth 100
 >     class cbq tlp0 def_class root_class borrow pbandwidth 95 default
 >     class cbq tlp0 tcp_class def_class borrow pbandwidth  40
 >             filter tlp0 tcp_class 0 0 0 0 6
 >     class cbq tlp0 csl_class tcp_class pbandwidth  10   red
 >             filter tlp0 csl_class 0 0 netmask 0xffffffff 80 6
 >     CBQ open: Operation not supported by device
 >     syscall error: can't add cbq on interface 'tlp0': Operation not supported by device
 >     Error in /etc/altq.conf, line 1.  config failed.
 > What am I doing wrong???

Make sure your kernel has the relevant options.

options               ALTQ
options ALTQ_DEBUG
options ALTQ_NOPCC
options ALTQ_PRIQ
options ALTQ_CDNR
options ALTQ_HFSC
options ALTQ_LOCAL
options ALTQ_RIO
options ALTQ_BLUE
options ALTQ_RED
options ALTQ_FIFOQ
options ALTQ_WFQ
options ALTQ_CBQ