You are not logged in.

#1 2014-02-05 04:57:42

lykwydchykyn
Member
Registered: 2013-07-11
Posts: 91

[solved]libvirt /dev/net/tun error

I had set up virtualization several weeks ago using libvirt and virt-manager on my system, but when I tried to use it the other day the clients won't launch.  I get this error:

Feb  4 22:39:51 it-alanmlap libvirtd[29964]: Unable to open /dev/net/tun, is tun module loaded?: No such device

/dev/net/tun exists, and has permissions 666.

I tried the procedure outlined here:
http://wiki.libvirt.org/page/Guest_won% … terface%29

But it did not have any effect on the problem.

My VM's are just using NAT networking, but the error persists no matter what I set the networking to.

I'm stumped, any suggestions?

Last edited by lykwydchykyn (2014-02-07 17:38:32)

Offline

#2 2014-02-05 05:06:57

lykwydchykyn
Member
Registered: 2013-07-11
Posts: 91

Re: [solved]libvirt /dev/net/tun error

Well I'll be jiggered; I rebooted and it works.  I suspend the system a lot, I'm guessing it just messes up the networking when I suspend/unsuspend a few times.

Offline

#3 2014-02-05 05:43:10

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [solved]libvirt /dev/net/tun error

Please mark your thread as [Solved] if you have found a solution.

Offline

#4 2014-02-05 09:39:09

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: [solved]libvirt /dev/net/tun error

When you update the kernel, you need to reboot. You updated the kernel without rebooting.

Offline

#5 2014-02-07 17:38:03

lykwydchykyn
Member
Registered: 2013-07-11
Posts: 91

Re: [solved]libvirt /dev/net/tun error

brain0 wrote:

When you update the kernel, you need to reboot. You updated the kernel without rebooting.

Well, maybe; that's one of the first things I checked, but it looked like I was running the latest kernel.  Who knows?  I wish Arch would leave the version in the kernel filename.  Anyway, I'm pretty sure uname and pacman were reporting the same version.  Maybe a minor update?

I guess it's solved...

Last edited by lykwydchykyn (2014-02-07 17:39:32)

Offline

#6 2014-02-07 17:39:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved]libvirt /dev/net/tun error

lykwydchykyn wrote:
brain0 wrote:

When you update the kernel, you need to reboot. You updated the kernel without rebooting.

Well, maybe; that's one of the first things I checked, but it looked like I was running the latest kernel.

How exactly did you check? Were

pacman -Q linux

and

uname -r

the same?

Offline

Board footer

Powered by FluxBB