WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] DomU and vpnc

To: "Andrew McGregor" <andy@xxxxxxxx>, "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] DomU and vpnc
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Mon, 18 Dec 2006 17:53:13 +0100
Delivery-date: Mon, 18 Dec 2006 08:53:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4586C45F.6080806@xxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AccixATmsZbYPyS4RMaNFLe3SensMgAALuTA
Thread-topic: [Xen-users] DomU and vpnc
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Andrew McGregor
> Sent: 18 December 2006 16:40
> To: xen-users
> Subject: [Xen-users] DomU and vpnc
> 
> Hi there,
> 
> Should vpnc work on a DomU?  Or does it require direct access to some 
> device it can't see?

Check .../linux-<ver>-xen/.config for "CONFIG_TUN y" - it's there in the
default config, so it should work. 

The source in .../linux-<ver>-xen/drivers/net/tun.c doesn't appear to
access any hardware (nor did I expect it to - it's a "software level"
device). But I didn't spend many minutes looking at it, so I could have
it wrong. 

--
Mats
> 
> Thanks,
> 
> Andy
> 
> 
> xen-domu:~# vpnc
> Enter IPSec gateway address: HOST
> Enter IPSec ID for HOST: USERNAME
> Enter IPSec secret for USERNAME@HOST:
> Enter username for HOST: USER
> Enter password for USER@HOST:
> vpnc: can't open /dev/net/tun, check that it is either device char 10 
> 200 or (with DevFS) a symlink to ../misc/net/tun (not 
> misc/net/tun): No 
> such device
> vpnc: can't initialise tunnel interface: No such device
> 
> 
> ls -l /dev/net/tun
> crw-r----- 1 root root 10, 200 Dec 18 16:13 /dev/net/tun
> 
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>