Date: Sun, 14 Nov 2004 09:01:00 -0500 (EST) From: Robert Viau <rviau75@rogers.com> To: yongari@kt-is.co.kr Cc: freebsd-pf@freebsd.org Subject: Re: pfctl: DIOCGIFSPEED: Invalid argument Message-ID: <20041114140100.68479.qmail@web88005.mail.re2.yahoo.com> In-Reply-To: <20041113035433.GA2853@kt-is.co.kr>
next in thread | previous in thread | raw e-mail | index | archive | help
pflog0 shows up when you build with "device pflog". I just built with options pf, so there is a /dev/pf, and everything was working but altq. The reason altq wasn't working is because despite the man page implying you can do it the way I did, it actually has to be "altq on [interface] priq ...", not just "altq priq ...". It might work the other way with CBQ, I'm not sure. Thanks, Rob Pyun YongHyeon <yongari@kt-is.co.kr> wrote: On Fri, Nov 12, 2004 at 08:21:06AM -0500, Robert Viau wrote: > Having some trouble with altq, here is all the > information that should be required: > > su-2.05b# uname -a > FreeBSD 5.3-RELEASE FreeBSD > 5.3-RELEASE #5: Thu Nov 11 16:23:28 EST 2004 > :/usr/obj/usr/src/sys/BEASTKERN i386 > > su-2.05b# grep queue /etc/pf.conf | grep -v ^# > altq priq queue { interactive, www } > queue interactive priority 15 > queue www priority 14 > > su-2.05b# pfctl -n -f /etc/pf.conf > pfctl: DIOCGIFSPEED: Invalid argument > su-2.05b# > > I can't figure out for the life of me what the problem > is. I'm not using the queues at all yet (commented > all that out to troubleshoot) so it doesn't look like > it's due to an unsupported interface type or anything, > but just in case, here are the interfaces on the box: > > su-2.05b# ifconfig -l > ath0 bge0 bge1 em0 lo0 tun0 lo1 > This may be stupid question. Did you compiled in pf or load pf module? ifconfig(8) didn't show pflog0 interface which should be listed if pf was available. > > Any thoughts? > -- Regards, Pyun YongHyeon http://www.kr.freebsd.org/~yongari | yongari@freebsd.org --------------------------------- Post your free ad now! Yahoo! Canada Personals
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041114140100.68479.qmail>