With a little side of applesauce...

Monday, February 5, 2007

Cisco vpnclient - Ubuntu Feisty - kernel 2.6.20 - Patching quick reference

Here are all three changes that I needed to make for:
Cisco Systems VPN Client Version 4.8.00 (0490)

to get it to work on Ubuntu Feisty (kernel 2.6.20):

$ cd /path/to/vpnclient
$ for f in interceptor.c; do \
> sed -i "s?skb_checksum_help(skb,0)?skb_checksum_help(skb)?" $f ; done
$ for f in $(grep -r -l CHECKSUM_HW *); do \
> sed -i "s?CHECKSUM_HW?CHECKSUM_COMPLETE?"; done | grep CHECKSUM
$ for f in $(grep -r -l config.h *); do \
> sed -i "s?linux/config.h?linux/autoconf.h?" $f ; done



1 comment:

Jason said...

Forgot the $f variable in there:

for f in $(grep -r -l CHECKSUM_HW *); do \
sed -i "s?CHECKSUM_HW?CHECKSUM_COMPLETE?" $f; done | grep CHECKSUM


Elsewhere others said to use CHECKSUM_PARTIAL:
http://www.archlinux.org/pipermail/arch/2006-December/012955.html

It still doesn't resolve this for me:
/opt/download/vpnclient/interceptor.c: In function ‘recv_ip_packet_handler’:
/opt/download/vpnclient/interceptor.c:557: error: too many arguments to function ‘skb_checksum_help’