[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] No /dev/net/tun in dom0

On Sunday 11 February 2007, Morten Christensen wrote:
> I have a dom0 with Debian Etch, created with Xen-tools, that I  want to
> use as a OpenVPN-server.

dom0? or is it domU?

> I cannot start the openvpn-deamon, it cannot open the TUN/TAP dev
> /dev/net/tun

obvious things first: have you loaded the 'tun' kernel module?

> The dom0 does not have a directory /dev/net and if I create it, it is
> away after the next reboot.

on most distros these days, /dev is usually a tmpfs filesystem; 
non-persistant.  all device files are created by udev

> Can I get a staying  /dev/net/tun in the dom0 ?

i have this on /etc/udev/rules.d/20-names.rules:

KERNEL=="tun",                          NAME="net/%k",MODE=0666

if everything is in place, /dev/net/tun should be created as soon as you load 
the tun module.


Attachment: pgpWds1IobpnT.pgp
Description: PGP signature

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.