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 2 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 27-Jun-2008, 03:27
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 1
coldsystem hasn't been rated much yet
Default OpenSUSE 11 and Cisco VPNClient solved

i got the same probleme . i have installed the kernel-source package and sure gcc-g++ gcc make .
have downlaoded the last patch-diff
# patch < ../vpnclient-linux-2.6.24-final.diff
patching file GenDefs.h
...
....
then
# ./vpn_install
Cisco Systems VPN Client Version 4.8.01 (0640) Linux Installer
Copyright 1998-2006 Cisco Systems, Inc. All Rights Reserved.
Is the above correct [ y ]

Shutting down /opt/cisco-vpnclient/bin/vpnclient: Done
Stopped : /etc/init.d/vpnclient_init (VPN init script)
Making module
make -C /lib/modules/2.6.25.5-1.1-default/build SUBDIRS=/home/mohamed/Documents/
vpnclient modules
make[1] : Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/i386/default'
make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/i386/defau
lt/. modules
Building modules, stage 2.
MODPOST 1 modules
WARNING : could not find /home/mohamed/Documents/vpnclient/.libdriver.so.cmd for
/home/mohamed/Documents/vpnclient/libdriver.so
make[ 1 ] : Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/i386/default'
Copying module to directory "/lib/modules/2.6.25.5-1.1-default/CiscoVPN".
Already have group 'bin'

Creating start/stop script "/etc/init.d/vpnclient_init".
/etc/init.d/vpnclient_init
insserv: warning : script 'S01vpnclient_init' missing LSB tags and overrides
insserv: warning : script 'vpnclient_init' missing LSB tags and overrides
vpnclient_init 0 : off 1 : off 2 : off 3 : off 4 : off 5 : off 6 : off
Enabling start/stop script for run level 3,4 and 5.
insserv: warning: script 'vpnclient_init' missing LSB tags and overrides
vpnclient_init 0ff 1: off 2: off 3: on 4: off 5: on 6: off

Installing license.txt (VPN Client license) in "/opt/cisco-vpnclient/":
/opt/cisco-vpnclient/license.txt

Installing bundled user profiles in "/etc/opt/cisco-vpnclient/Profiles/":
* Replaced Profiles: sample

Copying binaries to directory "/opt/cisco-vpnclient/bin".
Adding symlinks to "/usr/local/bin".
/opt/cisco-vpnclient/bin/vpnclient
/opt/cisco-vpnclient/bin/cisco_cert_mgr
/opt/cisco-vpnclient/bin/ipseclog
Copying setuid binaries to directory "/opt/cisco-vpnclient/bin".
/opt/cisco-vpnclient/bin/cvpnd
Copying libraries to directory "/opt/cisco-vpnclient/lib".
/opt/cisco-vpnclient/lib/libvpnapi.so
Copying header files to directory "/opt/cisco-vpnclient/include".
/opt/cisco-vpnclient/include/vpnapi.h

Setting permissions.
/opt/cisco-vpnclient/bin/cvpnd (setuid root)
/opt/cisco-vpnclient (group bin readable)
/etc/opt/cisco-vpnclient (permissions not changed)
* You may wish to change these permissions to restrict access to root.
* You must run "/etc/init.d/vpnclient_init start" before using the client.
* This script will be run AUTOMATICALLY every time you reboot your computer.

# vpnclient connect vpn
Cisco Systems VPN Client Version 4.8.01 (0640)
Copyright (C) 1998-2007 Cisco Systems, Inc. All Rights Reserved.
Client Type(s): Linux
Running on: Linux 2.6.25.5-1.1-default #1 SMP 2008-06-07 01:55:22 +0200 i686
Config file directory: /etc/opt/cisco-vpnclient



everything is working FIne
Reply With Quote
  #12 (permalink)  
Old 02-Jul-2008, 08:19
Puzzled Penguin
 
Join Date: Jul 2008
Posts: 1
jmatusiak hasn't been rated much yet
Default Re: OpenSUSE 11 and Cisco VPNClient

I have Cisco Systems VPN Client Version 4.8.01 (0640) - module compiled after patching vpnclient-linux-2.6.24-final.diff
kernel: 2.6.25.5-1.1-pae
I've a problem with connection. Client negotiate a connection, take a IP adress from server

Code:
Cisco Systems VPN Client Version 4.8.01 (0640)
Copyright (C) 1998-2007 Cisco Systems, Inc. All Rights Reserved.
Client Type(s): Linux
Running on: Linux 2.6.25.5-1.1-pae #1 SMP 2008-06-07 01:55:22 +0200 i686
Config file directory: /etc/opt/cisco-vpnclient

Enter a group password: 
Initializing the VPN connection.
Contacting the gateway at 85.#.#.#
User Authentication for test2...

The server has requested the following information to complete the user authentication:

Username [pooh]: 
Password []: 
Authenticating user.
Negotiating security policies.
Securing communication channel.

Your VPN connection is secure.

VPN tunnel information.
Client address: 172.#.#.#
Server address: 85.#.#.#
Encryption: 168-bit 3-DES
Authentication: HMAC-SHA
IP Compression: None
NAT passthrough is inactive
Local LAN Access is disabled
...everything looks great but any communication with any host is possible. I try ping host on server side but nothing back
Any idea whats wrong ?
Reply With Quote
  #13 (permalink)  
Old 30-Jul-2008, 10:56
Puzzled Penguin
 
Join Date: Jul 2008
Posts: 11
jogeedaklown hasn't been rated much yet
Default Re: OpenSUSE 11 and Cisco VPNClient

Here's how I got the client to work on my machine.

Get the patch from http://projects.tuxx-home.at/ciscovp....24-final.diff

Get this patch from http://projects.tuxx-home.at/ciscovp...f_offset.patch

Untar the source code

cd vpnclient

patch < ../vpnclient-linux-2.6.24-final.diff
patch < ../cisco_skbuff_offset.patch

You have an output that might look this. But it look like it patched ok.

patching file GenDefs.h
patching file interceptor.c
Hunk #6 succeeded at 955 (offset 20 lines).
Hunk #7 succeeded at 997 (offset 20 lines).

Since I have a 64 bit system, I have to change this line in the Makefile around line number 15.

CFLAGS += -mcmodel=kernel -mno-red-zone -to-
EXTRA_CFLAGS += -mcmodel=kernel -mno-red-zone

Then run the vpn_install.

Hope that helps!

Jose
Reply With Quote
  #14 (permalink)  
Old 02-Jan-2009, 23:29
Puzzled Penguin
 
Join Date: Jan 2009
Posts: 1
ajschlemmer hasn't been rated much yet
Smile Re: OpenSUSE 11 and Cisco VPNClient

Following Jose's instructions for the Cisco VPN client in applying several patches, I was able to get the client working in OpenSUSE 11.0.

Thanks
Reply With Quote
  #15 (permalink)  
Old 06-Jan-2009, 18:18
Puzzled Penguin
 
Join Date: Jan 2009
Posts: 2
GENDER hasn't been rated much yet
Default Re: OpenSUSE 11 and Cisco VPNClient

Unfortunately in my case it is not working. Maybe you can have an Idea what else I should check to solve that problem.

Installation:



Code:
I try to connect:

--------------------
vpnclient connect UK
Cisco Systems VPN Client Version 4.8.01 (0640)
Copyright (C) 1998-2007 Cisco Systems, Inc. All Rights Reserved.
Client Type(s): Linux
Running on: Linux 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64
Config file directory: /etc/opt/cisco-vpnclient

Initializing the VPN connection.
Contacting the gateway at 193.32.3.51
Contacting the gateway at 193.32.3.53 (balancing)
User Authentication for UK...

Enter Username and Password.

Username [name]:
Password []:
Authenticating user.
Negotiating security policies.
Securing communication channel.

Your VPN connection is secure.

VPN tunnel information.
Client address: 141.144.136.60
Server address: 193.32.3.53
Encryption: 168-bit 3-DES
Authentication: HMAC-SHA
IP Compression: None
NAT passthrough is inactive
Local LAN Access is disabled
... but I do not get an connection

Code:
vpnclient stat
Cisco Systems VPN Client Version 4.8.01 (0640)
Copyright (C) 1998-2007 Cisco Systems, Inc. All Rights Reserved.
Client Type(s): Linux
Running on: Linux 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64
Config file directory: /etc/opt/cisco-vpnclient

VPN tunnel information.
Connection Entry: UK
Client address: 141.144.136.60
Server address: 193.32.3.53
Encryption: 168-bit 3-DES
Authentication: HMAC-SHA
IP Compression: None
NAT passthrough is inactive
Local LAN Access is disabled

VPN traffic summary.
Time connected: 0 day(s), 00:00.14
Bytes in: 0
Bytes out: 0
Packets encrypted: 0
Packets decrypted: 0
Packets bypassed: 24
Packets discarded: 0

Configured routes.
Secured    Network Destination   Netmask
           0.0.0.0               0.0.0.0
any Ideas?

Gideon
Reply With Quote
  #16 (permalink)  
Old 06-Jan-2009, 18:21
Puzzled Penguin
 
Join Date: Jan 2009
Posts: 2
GENDER hasn't been rated much yet
Default Re: OpenSUSE 11 and Cisco VPNClient

Sorry I forgot:

I use a SuSE 11.1 on a 64Bit System:

I use an special package for the installation that is doing all the patching automatically. I can not see an error at the installation.
Reply With Quote
  #17 (permalink)  
Old 24-Jun-2009, 17:38
bjritz's Avatar
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 5
bjritz hasn't been rated much yet
Default Re: OpenSUSE 11 and Cisco VPNClient

Although, I'm on 11.1, I would think it would be the same for 11.

I installed everything "kvpnc" in Yast.
The only way I can open the kvpnc program is to do it from Gnome Terminal as su/supwd then kvpnc. This will open the gui cisco client where I entered my .pcf file and setup the connection there.

Works like a champ.
Reply With Quote
  #18 (permalink)  
Old 24-Jun-2009, 17:40
bjritz's Avatar
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 5
bjritz hasn't been rated much yet
Default Re: OpenSUSE 11 and Cisco VPNClient

Does anyone know why gnomesu or sudo don't work with kvpnc on Gnome?
Reply With Quote
  #19 (permalink)  
Old 28-Jun-2009, 16:09
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 8
back_to_suse hasn't been rated much yet
Smile Re: OpenSUSE 11 and Cisco VPNClient

I had never ending probs with the Cisco client under 10.3.

Eventually, I switched to using kvpnc and it worked perfectly ever since.

I'd highly recommend vpnc or kvpnc in preference to Cisoc's broken client.

I'm just hoping now that when I eventually get my 11.1 64 bit networking problems over, vpnc/kvpnc will still work
Reply With Quote
  #20 (permalink)  
Old 29-Jun-2009, 11:11
cjcox's Avatar
Parent Penguin
 
Join Date: Jun 2008
Location: Frisco, TX
Posts: 777
cjcox hasn't been rated much yet
Default Re: OpenSUSE 11 and Cisco VPNClient

On Sun, 2009-06-28 at 21:16 +0000, back to suse wrote:
....
> I'm just hoping now that when I eventually get my 11.1 64 bit
> networking problems over, vpnc/kvpnc will still work


It'll work... I use it everywhere (32bit and 64bit)
I just use vpnc though.


Reply With Quote
Reply
Page 2 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.0 RC2