Hi there, Should vpnc work on a DomU? Or does it require direct access to some device it can''t see? 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@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Dec 18, 2006 at 04:39:59PM +0000, Andrew McGregor wrote:> Should vpnc work on a DomU? Or does it require direct access to some > device it can''t see?I can''t think why this wouldn''t work. The error message is a little unclear, but you do have the tun kernel module available, right?>From memory, vpnc shouldn''t really require anything special at thekernel/hardware layer apart from the tun module. Cheers, Dominic.> 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@lists.xensource.com > http://lists.xensource.com/xen-users-- Dominic Hargreaves | http://www.larted.org.uk/~dom/ PGP key 5178E2A5 from the.earth.li (keyserver,web,email) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] 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@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> but you do have the tun kernel module available, right?doh :) I''m mixing Etch with the xen kernel from unstable and forgot to scp the modules to the DomU... Thanks for the replies. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users