openSUSE Forums > Network/Internet » OpenSUSE 11 and Cisco VPNClient

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read

Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 21-Jun-2008, 14:29
rugger_2's Avatar
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 10
rugger_2 hasn't been rated much yet
Default OpenSUSE 11 and Cisco VPNClient

I just moved back to OpenSUSE and I am having one problem at this point and that is getting the vpnclient to work. I am able to connect using vpnc but it doesn't appear to disable local lan access as the cisco client does so I am limited on accessing my companies resources unless I know the IP address.

I have followed the steps required when I was using 10.3 but I am unable to get it to work on this version.

Has anyone gotten this to work on 11 and can you post a how-to? I'd appreciate it.
Reply With Quote
  #2 (permalink)  
Old 23-Jun-2008, 20:17
rugger_2's Avatar
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 10
rugger_2 hasn't been rated much yet
Default Re: OpenSUSE 11 and Cisco VPNClient

Has anyone gotten this to work on 2.6.25.5-1.1-pae? I assume there is a new .diff somewhere? I really need to get this working. Vpnc is less than ideal at this point.

I'm able to work around the name resolution issue but it is kind of annoying.

I would really appreciate the help.
Reply With Quote
  #3 (permalink)  
Old 23-Jun-2008, 21:48
rugger_2's Avatar
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 10
rugger_2 hasn't been rated much yet
Default Re: OpenSUSE 11 and Cisco VPNClient

Well, it looks like I've got it working now. For anyone else who runs into this, here is what I ended up doing.

I had to download a newer version of vpnclient which I found here.

[www.tuxx-home.at] - Website of Alexander Griesser | New Cisco VPN Client 4.8.01.0640-k9 compiles on 2.6.22 out of the box!

I had vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz and the new version was vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz.

After downloading the new version I had to apply the 2.4 patch from

http://projects.tuxx-home.at/ciscovp....24-final.diff

Ares:/opt/vpnclient # patch < ./vpnclient-linux-2.6.24-final.diff
patching file GenDefs.h
patching file interceptor.c
Ares:/opt/vpnclient #

This was by far the cleanest output I've gotten. After this the install went perfectly.
Reply With Quote
  #4 (permalink)  
Old 25-Jun-2008, 00:27
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 3
cologsx hasn't been rated much yet
Default Re: OpenSUSE 11 and Cisco VPNClient

I did exactly what you did but I'm still unable to install.

uname -r
2.6.25.5-1.1-default

Making module
make -C /lib/modules/2.6.25.5-1.1-default/build SUBDIRS=/tmp/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default/. modules
/usr/src/linux-2.6.25.5-1.1/scripts/Makefile.build:46: *** CFLAGS was changed in "/tmp/vpnclient/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[3]: *** [_module_/tmp/vpnclient] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".

Any thoughts?
Reply With Quote
  #5 (permalink)  
Old 25-Jun-2008, 06:35
cygnuslodge's Avatar
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 30
cygnuslodge hasn't been rated much yet
Default Re: OpenSUSE 11 and Cisco VPNClient

I use kvpnc to connect to my work. Highly customisable for a range of connections. Works great. Available from main repo's in YaST (10.3) or direct from kvpnc homepage.
__________________
"Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety." -- Benjamin Franklin
Reply With Quote
  #6 (permalink)  
Old 25-Jun-2008, 22:01
rugger_2's Avatar
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 10
rugger_2 hasn't been rated much yet
Default Re: OpenSUSE 11 and Cisco VPNClient

You can try editing /tmp/vpnclient/Makefile and replacing CFLAGS entry with EXTRA_CFLAGS to see if that gets you anywhere. With the version of vpnclient you are installing there should be little patching done and an easier install. Are you sure you have all the prereq's installed?
Reply With Quote
  #7 (permalink)  
Old 26-Jun-2008, 12:26
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 3
cologsx hasn't been rated much yet
Default Re: OpenSUSE 11 and Cisco VPNClient

Quote:
Originally Posted by rugger_2 View Post
You can try editing /tmp/vpnclient/Makefile and replacing CFLAGS entry with EXTRA_CFLAGS to see if that gets you anywhere. With the version of vpnclient you are installing there should be little patching done and an easier install. Are you sure you have all the prereq's installed?
Tried replacing CFLAGS with EXTRA_CFLAGS and here is the result:

Making module
make -C /lib/modules/2.6.25.5-1.1-default/build SUBDIRS=/home/sbell/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default/. modules
CC [M] /home/sbell/vpnclient/linuxcniapi.o
/home/sbell/vpnclient/linuxcniapi.c: In function ‘CniInjectReceive’:
/home/sbell/vpnclient/linuxcniapi.c:341: warning: cast from pointer to integer of different size
/home/sbell/vpnclient/linuxcniapi.c:342: warning: cast from pointer to integer of different size
/home/sbell/vpnclient/linuxcniapi.c: In function ‘CniInjectSend’:
/home/sbell/vpnclient/linuxcniapi.c:481: warning: cast from pointer to integer of different size
/home/sbell/vpnclient/linuxcniapi.c:482: warning: cast from pointer to integer of different size
/home/sbell/vpnclient/linuxcniapi.c:491: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/linuxcniapi.c:491: warning: cast from pointer to integer of different size
CC [M] /home/sbell/vpnclient/frag.o
/home/sbell/vpnclient/frag.c: In function ‘queue_fragment’:
/home/sbell/vpnclient/frag.c:50: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:50: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:50: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:50: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:52: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:52: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:52: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:52: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:70: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:70: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:70: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:70: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:73: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:73: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:73: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:73: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c: In function ‘have_all_fragments’:
/home/sbell/vpnclient/frag.c:126: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:126: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:126: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:126: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:134: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:134: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:134: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:134: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:141: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:141: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:141: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:141: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:142: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:146: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:146: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:146: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c:146: warning: cast to pointer from integer of different size
/home/sbell/vpnclient/frag.c: In function ‘need_reorder_frag’:
/home/sbell/vpnclient/frag.c:198: warning: cast to pointer from integer of different size
CC [M] /home/sbell/vpnclient/IPSecDrvOS_linux.o
CC [M] /home/sbell/vpnclient/interceptor.o
/home/sbell/vpnclient/interceptor.c: In function ‘recv_ip_packet_handler’:
/home/sbell/vpnclient/interceptor.c:655: warning: assignment makes integer from pointer without a cast
/home/sbell/vpnclient/interceptor.c:676: warning: passing argument 2 of ‘CniNewFragment’ makes pointer from integer without a cast
/home/sbell/vpnclient/interceptor.c: In function ‘do_cni_send’:
/home/sbell/vpnclient/interceptor.c:794: error: invalid operands to binary - (have ‘sk_buff_data_t’ and ‘unsigned char*’)
make[4]: *** [/home/sbell/vpnclient/interceptor.o] Error 1
make[3]: *** [_module_/home/sbell/vpnclient] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
Reply With Quote
  #8 (permalink)  
Old 26-Jun-2008, 12:32
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 3
cologsx hasn't been rated much yet
Default Re: OpenSUSE 11 and Cisco VPNClient

~ # rpm -qa *glibc* *kernel* *gcc*
libgcc43-4.3.1_20080507-6.1
glibc-devel-2.8-14.1
glibc-locale-32bit-2.8-14.1
glibc-locale-2.8-14.1
libgcc43-32bit-4.3.1_20080507-6.1
linux-kernel-headers-2.6.25-8.1
gcc-4.3-39.1
glibc-2.8-14.1
glibc-32bit-2.8-14.1
kernel-default-2.6.25.5-1.1
kernel-source-2.6.25.5-1.1
gcc43-4.3.1_20080507-6.1

Am I missing any other prereq's?
Reply With Quote
  #9 (permalink)  
Old 26-Jun-2008, 16:39
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 1
cyberslug hasn't been rated much yet
Default Re: OpenSUSE 11 and Cisco VPNClient

I am having the same VPN compile issues, i got around the extra_cflags thing by setting KBUILD_NOPEDANTIC. I will try this in conjunction with the diff and build above tonight, see if it works.
Reply With Quote
  #10 (permalink)  
Old 27-Jun-2008, 02:23
cjcox's Avatar
Parent Penguin
 
Join Date: Jun 2008
Location: Frisco, TX
Posts: 880
cjcox hasn't been rated much yet
Default Re: OpenSUSE 11 and Cisco VPNClient

cyberslug wrote:
> I am having the same VPN compile issues, i got around the extra_cflags
> thing by setting KBUILD_NOPEDANTIC. I will try this in conjunction with
> the diff and build above tonight, see if it works.
>
>


This may not work for all of you... but I use vpnc instead of
the Cisco client (because Cisco really has NO interest in
making their client work right). It all depends of course
upon your config, but if you can use vpnc, you'll find that
it's a whole lot more stable then Cisco's less-than-supported
VPN client.
Reply With Quote
Reply
Page 1 of 2 1 2

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.2