Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Control » kerio vpn in ubuntu 11.04 x64
  •  
Zubrania

Messages: 6
Karma: 0
Send a private message to this user
I was trying to install kerio vpn client on x64 ubuntu, but unfortunately got an error

here is the output

sudo dpkg -i --force-architecture kerio-control-vpnclient-7.1.2-2333-linux.deb

dpkg: warning: overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
(Reading database ... 141893 files and directories currently installed.)
Preparing to replace kerio-control-vpnclient:i386 7.1.2.2333-1 (using kerio-control-vpnclient-7.1.2-2333-linux.deb) ...

Unpacking replacement kerio-control-vpnclient:i386 ...
dpkg: dependency problems prevent configuration of kerio-control-vpnclient:i386:
kerio-control-vpnclient:i386 depends on libc6 (>= 2.7-1).
kerio-control-vpnclient:i386 depends on libgcc1 (>= 1:4.1.1).
kerio-control-vpnclient:i386 depends on libstdc++6 (>= 4.1.1).
kerio-control-vpnclient:i386 depends on libuuid1 (>= 1.05).
kerio-control-vpnclient:i386 depends on zlib1g (>= 1:1.2.3.3.dfsg).
kerio-control-vpnclient:i386 depends on openssl.
kerio-control-vpnclient:i386 depends on procps.
dpkg: error processing kerio-control-vpnclient:i386 (--install):
dependency problems - leaving unconfigured
Processing triggers for ureadahead ...
Errors were encountered while processing:
kerio-control-vpnclient:i386


all required packeges are installed

Thanks for any help
  •  
Zubrania

Messages: 6
Karma: 0
Send a private message to this user
  •  
lsimons

Messages: 5
Karma: 0
Send a private message to this user
I'm receiving the same problem when trying to install as well. I checked via synaptic and it appears that the required packages are installed. Is there a way to configure it otherwise?
  •  
Zubrania

Messages: 6
Karma: 0
Send a private message to this user
I have found out the workaround here kerio-rus.ru slash forum slash showthread.php?t=3911

It's in russian but never the less it works

  •  
lsimons

Messages: 5
Karma: 0
Send a private message to this user
I couldn't get the previous link to resolve?

[Updated on: Fri, 17 June 2011 14:10]

  •  
Zubrania

Messages: 6
Karma: 0
Send a private message to this user
that's correct link
I didn't have 5 posts to attach URL

If anybody will need translation - let me know

[Updated on: Fri, 17 June 2011 14:17]

  •  
lsimons

Messages: 5
Karma: 0
Send a private message to this user
Translation would be much appreciated! Smile
  •  
Zubrania

Messages: 6
Karma: 0
Send a private message to this user
Translated from here


1) download this
2) install deb
3)Editing make file of the installedpackagein /usr/src/bla-bla-bla
After string
obj-m := kvnet.o

insert this
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)


after string
EXTRA_CFLAGS += -O -Wall -DMODULE -DWINNT=0 -DDBG=0 -D_LINUX


insert this
default:
$(MAKE) -C $(KDIR) M=$(PWD) modules


3.a Use this patch for new kernels. I need to use it for 2.6.38-8-generic

--- net_dev.c.orig 2009-06-08 18:10:45.000000000 +0400
+++ net_dev.c 2009-10-06 12:19:22.000000000 +0400
@@ -293,17 +293,21 @@
struct net_device_stats *stats = NULL;
struct vnet *vnet = vnet_dev();

+ static const struct net_device_ops dummy_netdev_ops = {
+ .ndo_open = net_dev_open,
+ .ndo_stop = net_dev_close,
+ .ndo_init = net_dev_init,
+ .ndo_do_ioctl = net_dev_ioctl,
+ .ndo_start_xmit = net_dev_send,
+ .ndo_get_stats = net_dev_get_stats,
+ };
+
TRACE(LOG_INFO, "%s: ==>", __FUNC__);

ether_setup(dev);

- dev->open = net_dev_open;
- dev->stop = net_dev_close;
- dev->init = net_dev_init;
+ dev->netdev_ops = &dummy_netdev_ops;
dev->destructor = net_dev_free;
- dev->hard_start_xmit = net_dev_send; 
- dev->do_ioctl = net_dev_ioctl;
- dev->get_stats = net_dev_get_stats; 
dev->hard_header_len = ETH_HLEN; /* 14 */
dev->addr_len = ETH_ALEN; /* 6 */
dev->mtu = 1446;




4) make
5) copy just build kvnet.ko to /lib/`uname -r`/kernel/net/kvnet/
6)depmod -a && modprobe kvnet
7)downloading this
Cool you can ether install it or get inside deb and copy it contents to appropriate dirs

9)creating /etc/kerio-kvc.conf

<config>
<connections>
<connection type="persistent">
<server>ip.addr</server>
<port>portnum</port>
<username>user</username>
<password>XOR:use.pass.sh.script</password>
<fingerprint>look.into.winroute.vpn.server.properties</fingerprint>
<active>1</active>
</connection>
</connections>
</config>


10) to get XORed password use this script

#!/bin/sh
echo "Type password and press ENTER for XOR output:"
read -s PASSWORD
 
for i in `echo -n "$PASSWORD" | od -t d1 -A n`; do XOR=$(printf "%s%02x" "$XOR" $((i ^ 85))); done
echo $XOR


11) Get fingerprint from vpn properties of the router
12)Enjoy


P.S Thanks a lot to Kerio for creating such a PITA for linux x64 users

P.S.P.S if anybody cares about copyrights please fix it for me. Cause I'm from a barbarian country where nobody cares about it

[Updated on: Fri, 17 June 2011 14:40]

  •  
lsimons

Messages: 5
Karma: 0
Send a private message to this user
Thanks Zubrania for taking the time to translate that. I'll try it out tonight when I have access to the remote PC.

+1 for Kerio making it a pain. I keep hearing that I should be able to install it via dpkg -i --force-all but that seems to fail. Yesterday I resorted to creating a 32-bit virtual machine to get VPN access. Works ok but is pretty inelegant.
Previous Topic: Control Box
Next Topic: Win2K3: VPN client doesn't add a route
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Wed Sep 20 11:24:27 CEST 2017

Total time taken to generate the page: 0.00512 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.