Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
QEMU tap bridge: "failed to drop privileges"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kai.scorpio
n00b
n00b


Joined: 01 Sep 2011
Posts: 46

PostPosted: Tue Jul 30, 2013 9:01 pm    Post subject: QEMU tap bridge: "failed to drop privileges" Reply with quote

I would like to connect my virtual machine to the local network using tap networking (it is a test copy of a web server). How do I set this up? I tried the guide here: http://wiki.qemu.org/Features/HelperNetworking but am getting the error message:

Code:

kai@kai-laptop gcbc_server %  ./vm.sh
failed to drop privileges
failed to launch bridge helper
qemu-system-x86_64: -netdev bridge,id=hn0: Device 'bridge' could not be initialized


vm.sh:
Code:

#!/bin/sh
#       -net nic -net user,hostname=gcbc \
exec qemu-kvm \
        -cpu host \
        -drive file=debian_vm.img,if=virtio \
        -netdev bridge,id=hn0 -device virtio-net-pci,netdev=hn0,id=nic1 \
        -m 512M \
        -monitor stdio \
        -name "GCBC Debian" \
        -vga std \
        $@


Any suggestions?

Alternatively, if somebody could link a guide through how to manually set up tap so I don't use the helper script that would also work - at the moment I've found various ways of doing it and I don't know which is recommended for gentoo and up to date.

Thanks :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum