![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
First Cup of Ubuntu
![]() Join Date: Oct 2006
Beans: 3
|
Running KVM without root privileges
Hi .
I'm trying to run KVM on Feitsy, 64 bit Intel with the "-net nic -net tap" switches so I can use it in bridged network mode. It refuses and I have to run it sudo which for security concerns I don't want to do. The error message is : "warning: could not configure /dev/net/tun: no virtual network emulation Could not initialize device 'tap'' I have googled everywhere on the net todo with debian/ubuntu and thes messages and have tried every trick in the book: I have even changed udev settings so that the permissions on /dev/net/tun are ok for non-root users. Nothing helps. regards, Eugene |
|
|
|
|
|
#2 | ||||
|
First Cup of Ubuntu
![]() Join Date: Oct 2006
Beans: 3
|
Re: Running KVM without root privileges
Ok - I found a solution on Ubuntu Feisty:
Based on this link the problem with Linux 2.6.18 and up is the CAP_NET_ADMIN capability associated with persistent tap interfaces. Using tunctl to bring up a tap interface in a wrapper script for kvm: 1) apt-get install bridge-utils uml-utilities 2) The /etc/network/interfaces file: Quote:
Quote:
Quote:
Quote:
Eugene Coetzee |
||||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|