FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 11-06-2011, 06:18 PM
Sthu Deus
 
Default KVM networking.

Good time of the day.


I try to run KVM network w/o under normal user w/ the following result:

/usr/bin/kvm -localtime -m 256 -no-reboot
-cdrom ./debian-6.0.2.1-amd64-netinst/debian-6.0.2.1-amd64-netinst.iso
-boot d -hda ./da -net nic -net tap,ifname=tap0,script=no

kvm: -net tap,ifname=tap0,script=no: could not configure /dev/net/tun
(tap0): Operation not permitted

kvm: -net tap,ifname=tap0,script=no:
Device 'tap' could not be initialized

the user has write permission for /dev/kvm and has these permissions in
sudoers file though it seems it is not used (as it asks not for sudo
password):

user ALL = /sbin/ifconfig *, /sbin/ifup br0, /sbin/ifdown
br0, /sbin/ip *, /sbin/brctl *, /sbin/tunctl *

So, what's wrong w/ my setup?


Thanks for Your time.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4eb6dd81.1478cc0a.2f0e.69b1@mx.google.com">http://lists.debian.org/4eb6dd81.1478cc0a.2f0e.69b1@mx.google.com
 
Old 11-06-2011, 07:32 PM
Walter Hurry
 
Default KVM networking.

On Mon, 07 Nov 2011 02:18:08 +0700, Sthu Deus wrote:

> Good time of the day.
>
>
> I try to run KVM network w/o under normal user w/ the following result:
>
> /usr/bin/kvm -localtime -m 256 -no-reboot -cdrom
> ./debian-6.0.2.1-amd64-netinst/debian-6.0.2.1-amd64-netinst.iso -boot d
> -hda ./da -net nic -net tap,ifname=tap0,script=no
>
> kvm: -net tap,ifname=tap0,script=no: could not configure /dev/net/tun
> (tap0): Operation not permitted
>
> kvm: -net tap,ifname=tap0,script=no:
> Device 'tap' could not be initialized
>
> the user has write permission for /dev/kvm and has these permissions in
> sudoers file though it seems it is not used (as it asks not for sudo
> password):
>
> user ALL = /sbin/ifconfig *, /sbin/ifup br0, /sbin/ifdown br0,
> /sbin/ip *, /sbin/brctl *, /sbin/tunctl *
>
> So, what's wrong w/ my setup?

$ cd w
bash: cd: w: No such file or directory
cd /w
bash: cd: /w: No such file or directory

I am baffled by your mention of "w/". Can you amplify please?



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: j96qsa$i9v$1@dough.gmane.org">http://lists.debian.org/j96qsa$i9v$1@dough.gmane.org
 

Thread Tools




All times are GMT. The time now is 05:11 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org