[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[altq 1039] Re: Newbie Help! ALTQ



Have you got 'options ALTQ_HFSC' etc. in the kernel config ?

I really am not sure about NetBSD, but on OpenBSD 'options ALTQ' only enables
CBQ and RED - the other systems need to be explicitly defined.

rgds,
--
Peter Galbavy
Knowtion Ltd.
----- Original Message -----
From: "Tom" <tom@acedsl.com>
To: <altq@csl.sony.co.jp>
Sent: Wednesday, September 05, 2001 5:11 AM
Subject: [altq 1038] Newbie Help! ALTQ


Hey Guys.

I'm new to this list so i'd like to say hello to everbody :)

Ok, i have a problem, i'm using OpenBSD 2.9-current and ALT-Q build into the
kernel.
And i'm trying to limit bandwidth to one of my local IP's and from what i've
read its
possible with ALT-Q.

So then i went out and started reading the FAQ, and trying out different things,
but none
was working, i tried hfsc, cbq, priq and i was getting errors like this:

Sep  4 20:58:27 wincrash altqd[109]: HFSC open: Operation not supported by
device
Sep  4 20:58:27 wincrash altqd[109]: syscall error: can't add hfsc on interface
'xl0': Operation not supported by device
Sep  4 20:58:27 wincrash altqd[109]: Error in /etc/altq.conf, line 1
Sep  4 20:58:27 wincrash altqd[109]: config failed. exiting...

And this is my altq.conf file:

interface xl0 bandwidth 100M hfsc

class hfsc xl0 def_class root pshare 10 default

class hfsc xl0 cmu root pshare 45 grate 15M
class hfsc xl0 pitt root pshare 45 grate 15M

class hfsc xl0 cmu_other cmu pshare 20 grate 10K
        filter xl0 cmu_other 0 0 <some.ip> netmask 0xffffff80 0 0

At first, i had a LinkSys NIC (dc0) in it, but from the supported Devices from
OpenBSD
i didn't see LinkSys there, so i installed a brand new "3Com 3c905C 100Base-TX"
on "xl0"
and i'm still getting the same error as on the LinkSys device, even tho i've
seen 3Com as the
supported device.

Now i'm asking or begging you guys for help.  Thanks You!

Tom D.