Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hello.
After issuing
vpnclient connect somewhere
the system freezes completely.
Cannot login from another host on the network, ping fails, ...
I have to push the reset button.
I had similar problem with you.
I cannot compile a new module for this new kernel but in 2.6.8.1.
Just some guess, the kernel may change the way to support vpn?
I had same symptoms using vpnclient with kernel 2.6.10.
I made following change (line 607 and 732 - delete character '&') in vpnclient's code:
$ diff vpnclient/interceptor.c vpnclient.1/interceptor.c
607c607
< if (skb_checksum_help(&skb,1))
---
> if (skb_checksum_help(skb,1))
732c732
< if (skb_checksum_help(&skb,0))
---
> if (skb_checksum_help(skb,0))
After that - no warning messages during installation and vpn works without problems.
I just followed warning messages which I got during installation/compilation.
Oops!
I did the above way, but I got the same error.
URGH~ any idea?
Quote:
Making module
make -C /lib/modules/2.6.10-kaon/build SUBDIRS=/home/tsun/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.10'
CC [M] /home/tsun/vpnclient/linuxcniapi.o
CC [M] /home/tsun/vpnclient/frag.o
CC [M] /home/tsun/vpnclient/IPSecDrvOS_linux.o
CC [M] /home/tsun/vpnclient/interceptor.o
/home/tsun/vpnclient/interceptor.c: In function `add_netdev':
/home/tsun/vpnclient/interceptor.c:59: sorry, unimplemented: inlining failed in call to 'supported_device': function body not available
/home/tsun/vpnclient/interceptor.c:245: sorry, unimplemented: called from here
make[2]: *** [/home/tsun/vpnclient/interceptor.o] Error 1
make[1]: *** [_module_/home/tsun/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.10'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
umm, try setting real path to kernel sources, like /usr/src/linux-2.6.10
AFAIK it uses more than just headerfiles from sources but i can be wrong in this point.
Originally posted by kaon Oops!
I did the above way, but I got the same error.
URGH~ any idea?
I found that the problem is due to supported_device() being declared, but not defined before it is used. This may be a gcc 3.4-ism or something. I moved the definition of supported_device to be before add_netdev() and it builds with no issues.
Where did you make this change to get this working. I am running fc3 2.6.9-1.724. I need to get this client running for work. Thanks. I'm a bit of a newbie so a little hand holding would be appreciated.
Originally posted by ringersoll1869 Where did you make this change to get this working. I am running fc3 2.6.9-1.724. I need to get this client running for work. Thanks. I'm a bit of a newbie so a little hand holding would be appreciated.
and apply it with 'patch -p0 < patch.txt' when you are in the vpnclient directory. All that is being done is modifying interceptor.c by moving the supported_device() function definition before the add_netdev() call. I was able to build it today against FC3s new 724 kernel. If copy/paste on the patch doesn't take, I can email it to you direct.
So then i untar the vpn client
apply patch
specify kernel source in installatoin as
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/
and try to install, i get a mess of errors the ends of which look like
Code:
{standard input}:3325: Error: symbol `lock' is already defined
{standard input}:3361: Error: symbol `security' is already defined
{standard input}:3427: Error: symbol `data' is already defined
{standard input}:3935: Error: symbol `saved_state' is already defined
{standard input}:3971: Error: symbol `release' is already defined
{standard input}:4071: Error: symbol `destructor' is already defined
{standard input}:4077: Error: symbol `open' is already defined
{standard input}:4095: Error: symbol `poll' is already defined
{standard input}:4239: Error: symbol `data' is already defined
{standard input}:4251: Error: symbol `security' is already defined
{standard input}:4712: Error: symbol `u' is already defined
{standard input}:4964: Error: symbol `index' is already defined
{standard input}:4976: Error: symbol `private' is already defined
{standard input}:5071: Error: symbol `lock' is already defined
{standard input}:5263: Error: symbol `child' is already defined
{standard input}:5347: Error: symbol `output' is already defined
{standard input}:5359: Error: symbol `ops' is already defined
{standard input}:5705: Error: symbol `stats' is already defined
{standard input}:5905: Error: symbol `lock' is already defined
{standard input}:6196: Error: symbol `id' is already defined
{standard input}:6244: Error: symbol `protocol' is already defined
make[2]: *** [/home/jfung/download/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/home/jfung/download/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.