Hi,

I am new to OpenBSD. I followed ftp://ftp.sangoma.com/OpenBSD/current_wanpipe/WanpipeInstallationOpenBSD.pdf to install the sangoma wanpipe driver on OpenBSD 4.0, during the Setup script, I did not get step 4:

"Set Driver global variables? (Y|N)" - Set global driver's variables such as ENABLE/DISABLE ALTA....The SETUP SCRIPT WILL ASK THESE FEATURES ONLY IF IT ENABLES IN YOUR KERNEL.

I looked into the wanpipe Setup script, found the relevant ALTQ portion:

---------
        # Check if kernel support ALTQ
        altq_opt=`grep "^[[:space:]]*options[[:space:]][[:space:]]*ALTQ" 
$KCONFIG`
        if [ "$OSYSTEM" = "FreeBSD" ]; then
...........snip........
        elif [ "$OSYSTEM" = "OpenBSD" ]; then
                if [ -z "$altq_opt" ]; then
                        altq_opt=`grep 
"^[[:space:]]*option[[:space:]][[:space:]]*ALTQ"
                                    $SYSDIR/$GENERIC_OPENBSD_KERNEL_CONF`
                fi
        fi
        if [ -n "$altq_opt" ]; then
                echo "ALTQ=" >> ${WANPIPE_MAKEFILEIN}
        else
                echo "#ALTQ=" >> ${WANPIPE_MAKEFILEIN}
        fi
 ---------------

and I ran grep -r "^[[:space:]]*option[[:space:]][[:space:]]*ALTQ" /usr/src/sys/*, I get:

conf/GENERIC:option             ALTQ            # ALTQ base

I also checked the /usr/src/sys/arch/i386/conf/GENERIC:

machine         i386
include         "../../../conf/GENERIC"

I assume that ALTQ is already supported by the OpenBSD i386 GENERIC kernel, am I correct? If so, why the Sangoma Setup script skipped the step 4 for ALTQ global varible setting? Does it mean I can't do packets shapping on the Sangoma wanpipe T1 card?

Thanks in advance!

Ming Li
http://bl0g.blogdns.com

Reply via email to