On Tuesday 12 August 2003 18.49, [EMAIL PROTECTED] wrote:
> I am looking at some documentation on installing and configuring
> WCCP for use with squid.  However those docs are for RedHat Linux
> v7.1 with a 2.4.9 kernel and squid 2.4.STABLE2.  I am running
> RedHat Linux 9 with a 2.4.20 kernel and squid 2.5.STABLE3.

The ip_wccp module linked from the Squid FAQ works with any Linux-2.4 
release.

> I need to get WCCP running and seem to have problems getting my
> fingers around the concept.  I have seen a couple different docs
> for older versions of Linux, one says I have to have wccp AND gre
> installed, one just calls for gre.

You can only have one installed at a time.

You can select if you want to use the WCCP-specific ip_wccp module, or 
a patched gre module with support for WCCP added.

> I am following the docs for the previously mentioned install but I
> can't seem to compile the wccp module.

What have you tried, and what error do you get.


A almost fail-safe method of building the ip_wccp module is to

1. Build and install your own kernel. Take note what the gcc lines 
typically look like while running "make modules".

2. Reboot into this new kernel to verify that it works fine before 
continuing.

3. Compile the ip_wccp module using a command line which looks a lot 
like the line noted in step '1' above, but specifying the ip_wccp.c 
module instead of the other module which the line was for.

3. Install the resulting ip_wccp.o module in 
/lib/modules/<kernelversion>/net/

4. Run "depmod -a".

5. Run "modprobe ip_wccp" to load the ip_wccp module.

Regards
Henrik


-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org

If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, [EMAIL PROTECTED]

Reply via email to