[SOLVED] Qemu with host networking space.

Hello, I'm trying to lunch Qemu with host networking, so the VM's can talk to each other, what I did so far is creating the following bridges ( Actually virt-manager did that for me ):
br0, virbr0 -> virbr0-nic ( the interface )
and have the following network interfaces:
br0, lo, virbr0, wlp1s0
What I think I'm missing is something on the code... I'm lunching with:
qemu-system-x86 -kernel kernel -cpu host -m 2024 -hda image.image
I did review the following manuals
https://wiki.archlinux.org/index.php/QE … networking
https://wiki.archlinux.org/index.php/Network_bridge
I'm missing the right command, thanks.
Last edited by abdullah (2015-02-06 18:00:11)

abdullah wrote:
Well, still trying, here is the code that I'm using right now:
./start.sh
#!/bin/bash
bridge=br0
tap=$(sudo tunctl -u $(whoami) -b)
sudo ip link set $tap up
sleep 1s
sudo brctl addif $bridge $tap
qemu-system ..... etc \
-net nic,vlan0,model=virtio,macaddr=00:16:35:AF:94:4B \
-net nic,vlan=0,ifname=$tap,script=no,downscript=no
sudo brctl delif $bridge $tap
sudo ip link set $tap down
sudo tunctl -d $tap
which the reff was in https://activedoc.opensuse.org/book/ope … h-qemu-kvm
any help please?
Sorry if I am late to the party... but here's how I do this with bridged networking.
Let's assume that I have 2 guests, an ArchLinux and Window 7. These are the start scripts:
: cat start-arch.sh
#!/bin/bash
vm_dir="/export/scratch/VMs"
scripts_dir="${vm_dir}/scripts"
. ${scripts_dir}/macaddr-gen.sh
# Generate a random MAC address
gen_macaddr mac
# Start the emulator
qemu-system-x86_64 -enable-kvm -smp 2 \
-net bridge,br=br0 -net nic,macaddr=${mac},model=virtio \
-drive file="${vm_dir}/arch-x86_64-1",if=virtio -nographic
: cat start-win7.sh
#!/bin/bash
vm_dir="/export/scratch/VMs"
scripts_dir="${vm_dir}/scripts"
. ${scripts_dir}/macaddr-gen.sh
# Generate a random MAC address
gen_macaddr mac
# Start the emulator
qemu-system-x86_64 -enable-kvm -m 3G -smp 2 \
-net bridge,br=br0 -net nic,macaddr=${mac},model=virtio \
-drive file="${vm_dir}/win7-x86_64-1",if=virtio \
-usbdevice tablet -vga qxl -spice port=5930,disable-ticketing
: cat macaddr-gen.sh
#!/bin/bash
# Generate a random MAC address
gen_macaddr() {
local str i macaddr _mac=$1
str=$(cat /dev/random | tr -cd '[:xdigit:]' | head -c 12 | \
tr '[:upper:]' '[:lower:]')
i=0
macaddr=""
while [ $i -lt 6 ]; do
macaddr=${macaddr}${str:0:2}":"
str=${str:2}
let i=i+1
done
eval $_mac=\${macaddr%:}
: cat /etc/qemu/bridge.conf
allow br0
Note, that the MAC addresses of virtualized NICs in the VMs must be different. If you now do
: ./start-arch.sh &
: ./start-win7.sh
Assuming that you have already set up  a bridge br0, qemu will create several tap? interfaces and insert them into that bridge (using the qemu-bridge-helper suid binary), and you'll have a virtual LAN rooted at br0.
EDIT: Added a slightly faster random MAC generator and comments.
Last edited by Leonid.I (2015-02-09 20:13:50)

Similar Messages

  • [SOLVED] Qemu and host-only networking

    Hi,
    I want to setup qemu with one Windows 7 guest. This guest should be able to connect to the hosts samba and postgres server, except external networks such the internet. I've read the archlinux qemu wiki page and it seems i need to use a bridge and a tap device to accomplish this. So far i've did as root:
    brctl addbr br0
    ip tuntap add dev tap0 mode tap user me
    ip link set tap0 up
    brctl addif br0 tap0
    'brctl show' gives
    bridge name bridge id STP enabled interfaces
    br0 8000.16cad3ab6bda no tap0
    When i start the vm as a user i get
    qemu-system-x86_64 -enable-kvm -m 1024 -vga std -device e1000,netdev=tap0,mac=DE:AD:BE:EF:96:32 -netdev tap,id=tap0,script=no,downscript=no hdd1.qcow2
    qemu-system-x86_64: -netdev tap,id=tap0: could not configure /dev/net/tun: Operation not permitted
    qemu-system-x86_64: -netdev tap,id=tap0: Device 'tap' could not be initialized
    Ok. Need to handle some permission issues. If i launch the above command as root, the VM (Windows 7) starts, but i don't have any connection to the host (Windows 7 complains about an unindentified network).
    With the example scripts 'qemu-ifup', 'qemu-ifdown', the ip forwarding and the sudo configuration as described in the QEMU - ArchWiki - Creating bridge manually section, Windows 7 can indeed connect to the host, but also to the internet, what i simply don't want. The reason might sound silly, but everytime a Windows guest tries to connect to the internet, thus trying to obtain an ip from the dhcp server, the host completely looses its connection to the router. It seems my network hardware doesn't like this.
    Anyway, i think i'm only missing one little thing. I would appreciate any help.
    Last edited by ulixes (2014-06-09 20:51:52)

    Thank you for this, I've tried lots of docs&tutorial, finnaly got this and success.
    ulixes wrote:
    Ok, found a solution. It's surprisingly simple. I've discarded the libvirt way, because the official archlinux virt-manager package is pretty unusable and configuring a working vlan for libvirt seems pretty complicated. I still couldn't get a working network device on the guest side.
    For completeness, here is what i've done. I use a tap and a bridge device and dnsmasq. I did not activate ipv4 forwarding like mentioned in the wiki! The following steps need to be done as root.
    First i've created the bridge, set an ip address and started it
    brctl addbr br0
    ip addr add 192.168.179.1/24 broadcast 192.168.179.255 dev br0
    ip link set br0 up
    The subnet should differ from any other device. In my case the only other device eth0 has the ip 192.168.178.xxx.
    Next i've created the tap device for use by qemu respectively the guest
    ip tuntap add dev tap0 mode tap
    ip link set tap0 up promisc on
    I don't know if 'promics' is really necessary, but there's no need to assign an ip to the tap device.
    Now i've connected the tap device to the bridge
    brctl addif br0 tap0
    Until now this was approximately my first try. I've tried to use static ip on the guest side, but had no succeess. The important point was to run dnsmasq on the bridge
    dnsmasq --interface=br0 --bind-interfaces --dhcp-range=192.168.179.10,192.168.179.254
    In effect, i finally got working ip on the guest network devices (this may take some seconds). Pinging the host succeded and neither of my guests (SliTaz Linux, Windows 7) were able to connect to external networks, thus the internet.
    I've started the guests with
    qemu-system-x86_64 -enable-kvm -m 1024 -netdev tap,id=t0,ifname=tap0,script=no,downscript=no -device e1000,netdev=t0,id=nic0 <imagefile>
    In my case, i had to omit the automated exection of scripts. This way i was also able to execute the above qemu command as an ordinary user.
    Just to finalize this description for samba:
    By adding 'br0' to 'interfaces' in smb.conf, guests were able to connect to the host samba service as usual.

  • When Will Microsoft Fix The Problem With Hosted Networking on a Surface Pro 3?

    Surface Pro 3 512GB
    Windows 8.1 with all patches.
    The following is from this thread:
    http://answers.microsoft.com/en-us/windows/forum/windows8_1-networking/netsh-wlan-start-hostednetwork-not-working-on/f414cea9-c110-483c-a3a2-840a4ce317e2?rtAction=1423330004507
    A Microsoft member said it would be better to raise it in technet.
    netsh wlan set hostednetwork mode=allow ssid=test key=12345678
    The hosted network mode has been set to allow.
    The SSID of the hosted network has been successfully changed.
    The user key passphrase of the hosted network has been successfully changed.
    netsh wlan start hostednetwork
    The hosted network couldn't be started.
    A device attached to the system is not functioning
    One of the comments in the thread said:
    "I have the same issue on a Surface pro 3.
    It is related to the fact that they removed VAP support from the wifi driver."
    Now a new wifi driver was included with the latest firmware update (01/15/2015) but it did not fix the problem.
    I
    Please note this is a Surface Pro 3 problem as it works on a Surface Pro 2 running Windows 8.1.
    This problem has been reported to Microsoft by me and I was told "the developers are working on it."  That was six months ago.  I see posts going back a year saying the problem was reported to Microsoft Support.
    When will this be fixed?

    On Sat, 7 Feb 2015 18:06:38 +0000, saberman_Plus_1 wrote:
    >This problem has been reported to Microsoft by me and I was told "the developers are working on it."  That was six months ago.  I see posts going back a year saying the problem was reported to Microsoft Support.
    Do you have a case number? From
    http://answers.microsoft.com/en-us/surface/forum/surfpro2-surfnetwork/how-do-i-get-the-wireless-hosted-network-feature/03657fe5-b8c1-48c5-940a-ae3e13ffe25f
    you've had a couple of contacts with support.
    If you provide case numbers, it would be helpful in escalating further. And more
    specifically, it might help someone from Microsoft determine IF the issue has
    been escalated. While Microsoft has been doing work on the wifi driver for
    nearly the entire time since the SP3 was released, there is no information
    anywhere as to whether this bug is known or not.
    As you also know, I sent it in to the"right" people inside Microsoft and as you
    also know, I did not get a response. (I'm an end user just like you even though
    I'm a Community Moderator on the Surface Forum in Communities).
    -- Barb Bowman

  • Problem with hosted network

    when i try to start a hosted network without a internet connection this message appears
    the hosted network couldn't be started.
    the wireless local area network interface is powered down and doesn't support the requested operation.
    hosted network work without internet connection like to share files,play games etc...?
    as long as i know i have used it once without internet connection
    window 8.1

    Hi,
    Please make sure you have the latest WIFI driver installed in your computer.
    Meanwhile, please refer to this guide to check your operation:
    http://fasttechbuzz.com/creating-wifi-hotspot-network-in-windows-88-1-using-command-prompt/
    Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Karen Hu
    TechNet Community Support

  • [Solved] No sound from VM (Windows 7) on qemu with virt-manager

    I posted this in Newbie corner,
    https://bbs.archlinux.org/viewtopic.php?id=176131
    but let me re-post here becase it is about sound matter.
    I have installed Windows 7 (64bit) on qemu with virt-manager.
    It seems that audio works fine inside the guest os, but I can hear no sound.
    [Guest]
    Guest os: Windows 7 (64 bit)
    Sound driver: ich6
    Console: Spice (VNC doesn't work.)
    [Host]
    linux 3.12.8-1 (base)
    qemu 1.7.0-1
    virt-manager 0.10.0-4
    libvirt 1.2.1-1
    According to
    https://bbs.archlinux.org/viewtopic.php?id=157604
    I did as follow before launch the VM, but it doesn't solve the problem.
    export QEMU_AUDIO_DRV=alsa
    What shoud I check and do?
    Followings are some additional information:
    * If I put the same command above
    % /usr/sbin/qemu-system-x86_64 -name win7qemu002...
    It produces error.
    char device redirected to /dev/pts/4 (label charserial0)
    Could not access KVM kernel module: Permission denied
    failed to initialize KVM: Permission denied
    * According to the someone's discussion,
    I added my user to kvm group
    % sudo gpasswd -a taro kvm
    or edited /etc/libvirt/qemu.conf, but they don't fix this errors.
    % sudo vi /etc/libvirt/qemu.conf
    - #user = "root"
    + user = "taro"
    * Everytime I launch the virt-manager,
    a dialog "Authentication" pops-up and asks
    for my user password (not root password).
    % ps aux | grep kvm                                                     [~]
    root       252  0.0  0.0      0     0 ?        S<   02:25   0:00 [kvm-irqfd-clea
    n]
    nobody   10199 63.0 27.0 1613768 1070088 ?     Sl   11:31   0:34 /usr/sbin/qemu-system-x86_64 -name win7qemu002 -S -machine pc-i440fx-1.7,accel=kvm,usb=off -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 00b5056b-9055-aa4f-d7a6-aef72cc8edd4 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/win7qemu002.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime -no-shutdown -boot menu=off,strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 -drive file=/mnt/win/win7qemu002,if=none,id=drive-ide0-0-0,format=raw -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=22,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=08:00:27:8f:ff:84,bus=pci.0,addr=0x7,bootindex=1 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -device usb-tablet,id=input0 -spice port=5900,addr=127.0.0.1,disable-ticketing,seamless-migration=on -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,bus=pci.0,addr=0x2 -device intel-hda,id=sound0,bus=pci.0,addr=0x3 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
    root     10201  0.0  0.0      0     0 ?        S    11:31   0:00 [kvm-pit/10199]
    taro     10340  0.0  0.0  10668  1060 pts/2    S+   11:32   0:00 grep kvm
    Last edited by taro (2014-02-15 12:36:43)

    Self reply.
    Finally, I got to hear sound from windows 7 as guest OS.
    I gave up to use virt-manager and launches OS image by command line
    like follows.
    % export QEMU_AUDIO_DRV=alsa
    % qemu-system-x86_64 /mnt/win/win7qemu002 -cpu kvm64,+nx -enable-kvm -m 1536 -soundhw hda -usb
    Then, sounds works good.
    # However, the quality is bad because of heavy CPU load.
    Virt-manager may make things complex..
    Sorry for the duplicated post.
    https://bbs.archlinux.org/viewtopic.php?pid=1373935
    Last edited by taro (2014-02-15 12:36:19)

  • VDI 3.0 with Patch2 - Virtual Box 2.0.10 - Host Networking

    Hi Guys,
    I have got following setup at a customer site:
    Solaris 10 U7 : Sun VDI 3 Server
    NIC0 - 192.168.100.xx network - sun vdi3.0 All-in-one configuration is installed here
    NIC1 - 192.168.34.xx network - windows xp template is bound to this NIC (bridged)
    NIC2 - 10.10.11.xx network - windows 7 template is bound to this NIC (bridged)
    When I boot those template on VBox manually - I do get correct ip from correct NIC.
    I have checked the .xml config files for xp and template which does point to NIC1 & NIC2 respectively.
    However, when I upload them to VDI and start cloning..the clones come out on 192.168.100.xx network.
    Logically - they should have come out on the same network as their respective templates - which is not happening.
    I know this feature is there with VDI 3.1 EA - however, this is a production system so cannot really use it !!
    Is it even possible with VDI 3.0 to have different pools on different network? Virtual Box 2.0.10 limitation?
    Regards,
    Hardik

    Hi Hardik,
    Wai is correct, VDI 3.0 allows you to specify a single NIC for each VirtualBox host in a Desktop Provider, navigate to:
    Desktop Providers -> YourVBoxDesktopProvider -> Host -> Host Details (Click VirtualBox host hyperlink)
    This page provides a drop-down with each plumbed NIC on this particular host. By default the first NIC is selected. Navigate to each VirtualBox host in your Desktop Provider and ensure you have selected the correct NIC and click [Save].
    Now enable Host Networking in your Pool -> Settings.
    All desktops registered/started from this point forward will use the specified NICs. Any Desktops already registered/running on a VirtualBox host will need to be either Shutdown or Powered-Off via the VDI UI and restarted.
    Can you confirm that you have followed these steps? I have a similar setup working with various NICs for Host Networking.
    If these steps still don't work, what does 'ifconfig -a' executed on your VirtulaBox host show? When you launch the VirtualBox UI and navigate to the networking section of a virtual machines settings, what Host Interfaces are listed there?
    -Christian

  • Firefox is not campatible with F5 Networks Host Plugin and I need it to run a remote website

    Firefox is not compatible with F5 Networks Host Plugin and I need it to run a remote website

    Do these hotfixes help you? http://support.f5.com/kb/en-us/solutions/public/12000/700/sol12757.html

  • Lacie network space 2 not working with 10.7

    After installing OSX 10.7 I can not connect to my Lacie network space 2 anymore. Only guest account
    seem to work.
    The above described problem also make Time machine unusable.

    Apple uses afp as connection protocol and it changed in lion,
    Nas builders still need bring update but they blame if you call their support line
    It seems that apple deleted DHCAST128 in Osx lion 10.7
    Because they say it's nit secure enough,
    Seems that most nas systems use this.
    This is how to put it back: ( disables time machine function on nas )
    Open Terminal
    sudo chmod o+w /Library/Preferences
    defaults write /Library/Preferences/com.a​pple.AppleShareClient afp_host_prefs_version -int 1
    reboot your Mac
    Connect to the nas so it can make a profil
    Open Terminal
    sudo defaults write /Library/Preferences/com.a​pple.AppleShareClient afp_disabled_uams -array “Cleartxt Passwrd” “MS2.0″ “2-Way Randnum exchange”
    sudo chmod o-w /Library/Preferences
    Reboot you Mac again
    Now it should work
    To turn it off again: ( default on lion)
    Open terminal
    sudo defaults write /Library/Preferences/com.a​pple.AppleShareClient afp_disabled_uams -array-add “DHCAST128″

  • VM Guests coming up with No Network after rebooting.

    Howdy,
    We have a random problem in that when we reboot our VM guests, they sometimes come back with no network connectivity at all.  We cannot ping them or remote into them.  When I access them from the console, the Network icon shows the warning symbol
    and says: "No Internet Access".
    If I check an ipconfig, it shows a 169 address even though we set static IPs on all our servers.
    All I have to do to fix it is Disable and Enable the network adapter from within Windows and then everything goes back to normal.
    VM Hosts are running 2012 and Guests are mostly running 2012 R2 if that matters.
    Anyone have any idea what would cause this to happen?
    Thanks!

    Hi Kelemvor33,
    Did you configure this VM a VLAN option use any advanced NIC option on Hyper-V host or VM, please install the latest update with your Hyper-V host and this vm then monitor this
    issue again, from your current description it seems like the known issue and you can install the following KB to solve it.
    A restarted virtual machine loses connectivity after you set the "Private VLAN (PVLAN) networks" option in a Windows Server 2012 R2 environment
    http://support.microsoft.com/kb/2982439
    I’m glad to be of help to you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • QEMU/KVM bridge networking howto

    Hello all,
    I had a dialog here:  https://bbs.archlinux.org/viewtopic.php?id=145177  but I inadvertently hijacked the OP thread, for that I deeply apologize and decided to start my own thread.
    I've been struggling with getting my bridge networking working with QEMU/KVM.  I would love to get my KVM Windows 7 install working with bridge network so I can access my internal lan, but so far I am out of luck.  When I follow the Wiki's I completely hose my network settings and can't get online with my Arch host.
    I've followed the wiki's here:
    https://wiki.archlinux.org/index.php/QE … al_network
    should I be using this wiki instead:
    https://wiki.archlinux.org/index.php/KV … Networking
    I'm kinda confused on how to approach this since there are separate wikis for QEMU and KVM.
    I have a couple of confusing questions, that I hope someone can answer, or lead me in a direction to help me find a solution.  Free internet beer for helping. 
    From a vanilla install of Arch, if I would like to run Windows 7 64-bit in a VM, should I use QEMU or KVM?  I did get the windows 7 up and running, not sure how, but it's not on my internet LAN, the VM can only access the internet.
    Can someone help me out step by step or pointing me in a direction that can help get a bridge network set up between my host, which will need a static IP address, and my VM, which I would prefer to have another static IP address on my network.
    I've tried using virtualbox but the performance was slower than using QEMU/KVM.
    BTW, what's the difference between QEMU and KVM?  I'm confused by that as well.  I would even be willing to write up a "beginners guide" if I can get help getting mine set up.
    any help is greatly appreciated.
    --nixIT

    I do things manually on my system so, for two VM:
    ip tuntap add dev tap0 mode tap user djgera
    ip tuntap add dev tap1 mode tap user djgera
    brctl addbr br0
    brctl setfd br0 0.0
    brctl addif br0 eth0
    brctl addif br0 tap0
    brctl addif br0 tap1
    ip link set dev br0 up
    ip link set dev tap0 up
    ip link set dev tap1 up
    ip addr del 192.168.0.77/24 dev eth0
    ip addr add 192.168.0.77/24 broadcast + dev br0
    ip route add default via 192.168.0.1
    then each qemu-kvm instance that I lauch add:
    -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:00 -netdev type=tap,id=net0,ifname=tap0,script=no,downscript=no
    -device virtio-net-pci,netdev=net1,mac=52:54:00:12:34:01 -netdev type=tap,id=net1,ifname=tap1,script=no,downscript=no

  • No sound from VM (Windows 7) on qemu with virt-manager

    I have installed Windows 7 (64bit) on qemu with virt-manager.
    It seems that audio works fine inside the guest os, but I can hear no sound.
    [Guest]
    Guest os: Windows 7 (64 bit)
    Sound driver: ich6
    Console: Spice (VNC doesn't work.)
    [Host]
    linux 3.12.8-1 (base)
    qemu 1.7.0-1
    virt-manager 0.10.0-4
    libvirt 1.2.1-1
    According to
    https://bbs.archlinux.org/viewtopic.php?id=157604
    I did as follow before launch the VM, but it doesn't solve the problem.
    export QEMU_AUDIO_DRV=alsa
    What shoud I check and do?
    For additional information,
    % ps aux | grep kvm                                                     [~]
    root       252  0.0  0.0      0     0 ?        S<   02:25   0:00 [kvm-irqfd-clea
    n]
    nobody   10199 63.0 27.0 1613768 1070088 ?     Sl   11:31   0:34 /usr/sbin/qemu-system-x86_64 -name win7qemu002 -S -machine pc-i440fx-1.7,accel=kvm,usb=off -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 00b5056b-9055-aa4f-d7a6-aef72cc8edd4 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/win7qemu002.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime -no-shutdown -boot menu=off,strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 -drive file=/mnt/win/win7qemu002,if=none,id=drive-ide0-0-0,format=raw -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=22,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=08:00:27:8f:ff:84,bus=pci.0,addr=0x7,bootindex=1 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -device usb-tablet,id=input0 -spice port=5900,addr=127.0.0.1,disable-ticketing,seamless-migration=on -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,bus=pci.0,addr=0x2 -device intel-hda,id=sound0,bus=pci.0,addr=0x3 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
    root     10201  0.0  0.0      0     0 ?        S    11:31   0:00 [kvm-pit/10199]
    taro     10340  0.0  0.0  10668  1060 pts/2    S+   11:32   0:00 grep kvm
    * If I put the same command above
    % /usr/sbin/qemu-system-x86_64 -name win7qemu002...
    It produces error.
    char device redirected to /dev/pts/4 (label charserial0)
    Could not access KVM kernel module: Permission denied
    failed to initialize KVM: Permission denied
    * According to the someone's discussion,
    I added my user to kvm group
    % sudo gpasswd -a taro kvm
    or edited /etc/libvirt/qemu.conf, but they don't fix this errors.
    % sudo vi /etc/libvirt/qemu.conf
    - #user = "root"
    + user = "taro"
    * Everytime I launch the virt-manager,
    a dialog "Authentication" pops-up and asks
    for my user password (not root password).
    best regards.
    Last edited by taro (2014-06-29 02:54:25)

    I'm having the same issue.  Not running Windows though... I have a minimal Ubuntu 14.04 as the guest (Arch as the host.)  Been trying everything I can think of but I can't get any sound in virt-manager.  Like you said, the sound seems to play OK in the guest, it's recognizing the card, volume is turned up but no sound.  It has to be an issue with my host configuration but I'm not sure what.  I can get sound to play in the same guest if I launch qemu directly and use ac97.  Something's gotta just be misconfigured with virt-manager/libvirt/Spice.  I thought a permissions issue at first since by default it runs as the "nobody" user but I even tried the foolish thing of setting /etc/libvirt/qemu.conf so qemu runs as root... still no go.  I'd really like to use virt-manager for the nice GUI, presistant settings, and extra features like Spice and the QXL driver that enables KMS on the guest.

  • WRT54G configuration for internet access using Lacie Network Space Max

    Please HELP!!!!
    I have tried for the past 2 weeks trying to configure my router WRT54G so it allows me to access the Lacie over the internet without luck. I have followed every instructions from Lacie and every other FAQs and help on the internet, still no luck. I have spent numerous days with Lacie tech support and they could not figure it out - why my router would not allow me access over the internet. I am hoping that the big guns here can help me.
    I have a number of laptops connected wirelessly to my local network and every laptop can access the Lacie NAS hardwired to one of the ports on my router. My entire system works wonderful locally.
    The Lacie has been assigned a static IP of 192.168.1.199
    My local network has a starting IP of 192.168.1.150 and ends at 192.168.1.199
    My router's IP is 192.168.1.99
    I have assigned port forwarding for my Lacie (192.168.1.199) for ports
    20, 21, 25, 80, and 443.
    I have tried other setups but no help. Please help!!!
    Happy New Year!!!
    Solved!
    Go to Solution.

    Scrooge... thanks!
    My NAS has ftp enabled. Access to the network is excellent throughout my local network. Every PC, wirelessly, can access everything on the NAS without any problem. Even when using the web browser using the IP or the dyndns.org assigned to the NAS. (I signed up for a free dynDNS)
    The NAS can be accessed throughout the local network using explorer (under the network directory) and also by mapping the drive. The NAS can also be access using the web browser by either through its assigned IP (192.168.1.199) or by using the NAS's dyndns.org web address (web access requires login since it accesses the Network Space Max web page) - both by http and/or by ftp
    My problem is accessing it through the internet outside my local network, i.e. from my work place or any other place away from home. The ability to access my data away from home is what I really wanted to be able to do.
    "Open the setup page of the router and go to Status tab. Note down the Internet IP address.
    Open the Internet browser and in the address bar type http://Internet_IP_address:21 or ftp://Internet_IP_address .
    See if that works for ftp server."
    Using the router's IP address for both format, http and ftp - I am not getting connected, even in my local network. Using NAS's static IP 192.168.1.199, I am able to access only using the ftp format. http://192.168.1.199:21 does not take me anywhere, but without the :21 takes me to the login page.
    Again, thanks for all  your help.... I am lost and I need your HELP!
    v/r,
    abelts

  • HT4528 My apps store will not go online with verizon network, but on wifi it works. I am on an iphone 4, verizon.  I tried to do a complete, backup and restore on the phone 1 day before i noticed this problem,  The backup finished the RESTORE would fail c

    My apps store will not go online with verizon network, but on wifi it works. I am on an iphone 4, verizon.  I tried to do a complete, backup and restore on the phone 1 day before i noticed this problem,  The backup finished but the RESTORE would fail I had an error, could not access Apple server ( some server name I cant remember).
    I have plenty of space available on the iphone,
    8gb free,
    ios version- 6.1.3 ( 10B329)
    carrier - Verizon 14.0
    Modem Firmware - 3.0.04
    Can someone help.
    I tried doing my backup restore on the same computer as I once did a year ago. and THis time I cant do the restore on the iphone.
    computer osx is 10.5.8
    itunes version 10.
    I do not wish to go to ios 7 at this time.

    Settings > General > Reset > Reset Network Settings.
    Basic troubleshooting is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.
    If the issue continues, contact the carrier to troubleshoot the network connectivity issues.

  • Switching airport cards to solve 10.5.2 network issue

    Ever since 10.5.2, i can no longer get online on various routers. my friend who has also updated can get on these same networks that i can't.
    i have a macbook w/ the following airport card: AirPort Extreme (0x168C, 0x87)
    Firmware Version: 1.2.2
    Wireless Channel: 6
    he has a macbook pro w/ the following airport card: Airport Extreme (0x168C,0x86)
    Firmware 1.3.2
    Wireless Ch. 6
    i am wondering if it would be possible to change my airport card to the one my friend has - or will it not be compatible with my macbook. does anyone know?
    i am hoping this will solve my problem after 10.5.2
    today apple care basically responded to the issue with "blah blah blah 3rd party blah blah blah compatibility blah blah blah" and pretty much said they weren't working on a fix for this as it was not an issue with 10.5.2.
    they said i could go back to 10.5.1 (which i already have) - problem is, besides their screw up with the networking - they also did a lot of other fixes that i would like to have since i spent the money on leopard and should be able to do the upgrades w/out losing things like network capability.
    i hoping swapping the airport card will fix it.

    yes, switching back to 10.5.1 did solve my problem. not really a solution though is it... not if you would like to have the benefit of all the other fixes that came with 10.5.2.
    as far as someone having a solution - i've been following these threads for awhile now and most "solutions" involve making changes to the router. this is not a solution since not all routers that people use w/ a laptop are accessible. i would think that most of us use routers in a variety of locations other than our homes ranging from work to coffee shops to hotels etc.
    i don't think coffee shops and hotels are going to allow you to go in and play with their networking system.
    as far as i see the only fix is for able to change whatever they did - but seeing as they won't even admit to creating the problem, i am not holding my breath for a solution from them.
    i am more and more disappointed with apple. sure, they are coming out with some amazing technology, but as they do their customer service is slipping away as well as the quality of their craftsmanship and attention to detail. i for one wish that apple would slow down a bit on the "toys & gadgets" and get back to paying more attention to their basic items - ie computers. i mean, really, did we really need "the thinnest notebook ever"? i'm not sure i really understand the point, especially when they haven't solved all the glitches with their products that are already out there.

  • ASA 5505 Site-to-Site VPN with multiple networks

    Hi,
    I have 2 Cisco ASAs 5505 in the different places with a created connection Site-to-Site VPN. It’s working fine in the networks where they are (10.1.1.0/24 and 10.2.1.0/24 respectively).
    Additionally to the ASA1 are connected two subnets: 10.1.2.0/24 and 10.1.3.0/24 and the ASA2 is connected to one subnet: 10.2.2.0/24
    A problem is when I’m trying to get to a host in the subnet behind the ASA2 from the subnet behind the ASA1  and vice versa.
    Any help would be greatly appreciated.

    It's all about the crypto ACL. You have to combine all networks behind ASA1 with all networks behind ASA2. You can use object-groups for that to handle it. What's the config of your crypto ACL?
    Sent from Cisco Technical Support iPad App

Maybe you are looking for

  • Transfering Gifts from one iTunes account to another

    I recently received a gift card from Continental airlines for 5 free songs. Due to a mental error on my part - I uploaded the certificate to the wrong iTunes account. (I created a secondary account by mistake) Is there anyway to move those songs to m

  • HT1349 My Ipod wont open any of my apps, help!

    So when i tried to use my ipod today, it wouldnt open mostly all of my apps. It would open a few. I connected it to my sisters computer yesterday to charge, but she has an Iphone with an Itunes account on her computer, and it gave me all of her apps.

  • When will I get my iphone 4?

    I placed a reservation at my local apple store (Green hills, Nashville, TN) on Monday. It's Thursday, still no notification. How long are people waiting this week? Are people getting them at all? Would I be served faster by paying in advance, if that

  • Past events are being altered automatically

    For some reason my calendar has started to delete the contents of some past events.  All events are in one iCloud calendar.  I can't work out whether they were created on the iPad, iPhone or iMac in terms of synching. I need these to research comment

  • Calendar object gone!

    We have just applied some hot fixes to an application that runs Crystal reports XI. Now the calendar object no longer appears when running a parameter report based on the date. Any ideas most welcome urgently