> Hi everybody,
> 
> > Download the entire package:
> >
>
http://www.squid-cache.org/WCCP-support/Linux/ip_wccp-1.6.tar.gz
> > It includes a Makefile that should allow you to
> build on kernel 2.6.X
> 
These steps work for Redhat Fedora Core which i use
without compiling the whole kernel .

1. install the kernel source that come with the distro

2. log as root and change to your
/usr/src/linux-`uname -r` directory

where `uname -r` stands for your kernel version

3. To be sure: go to your kernel source dir and do a
"make clean" + "make 
mrproper" -> this will clean all your custom
configuration files

4. copy the /boot/config-`uname -r` into
/usr/src/linux-`uname -r`/.config

5. open the /usr/src/linux-`name -r`/Makefile and
change the EXTRAVERSION to 
match your real kernel version (that's `uname -r`)

(before doing this my EXTRAVERSION was
2.6.5-1.358custom and I experienced 
problem loading the module with "Invalid module
format" since the kernel 
version is 2.6.5-1.358 and NOT 2.6.5-1.358custom)

6. then go to /usr/src/uname -r/net/ipv4 and 

add the following in Makefile 

obj-m += ip_wccp.o

7. make prepare

8. make SUBDIRS=net/ipv4 modules

-> here you'll get "ip_wccp.ko"

9. cp net/ipv4/ip_wccp.ko /lib/modules/`uname
-r`/kernel/net/ipv4/ip_wccp.ko

10. /sbin/depmod (to be sure)

11. /sbin/modprobe ip_wccp

Good Luck !!!!



                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

Reply via email to