[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] Defining a bridge
From: |
Jerry Stuckle |
Subject: |
Re: [Qemu-arm] Defining a bridge |
Date: |
Mon, 24 Oct 2016 21:09:52 -0400 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
Anyone have an idea on this?
On 10/21/2016 3:45 PM, Jerry Stuckle wrote:
> Hi, all,
>
> To start out, I am a programmer, not a Linux administrator. So please
> be gentle with me - I'm in over my head here. :)
>
>
> To start, my setup is: Windows 7 as the base OS with two nics, wired and
> wireless (only one active at a time). Under this I have Oracle Virtual
> Machine running Ubuntu 4.4.0-38-generic (latest stable release). I have
> set up a bridge in Ubuntu's Network Manager as described on
> http://ask.xmodulo.com/configure-linux-bridge-network-manager-ubuntu.html.
> The bridge is defined as "bridge0" and works correctly in Ubuntu.
>
> I start QEMU under Ubuntu with:
>
> qemu-system-arm -m 1024M \
> -sd /export/armhf.qcow2 \
> -M vexpress-a9 \
> -cpu cortex-a9 \
> -kernel /export/boot/vmlinuz \
> -initrd /export/boot/initrd.img \
> -append "root=/dev/mmcblk0p2" \
> -device virtio-net-device,netdev=net0 \
> -netdev
> bridge,br=bridge0,id=net0,helper=/usr/lib/qemu/qemu-bridge-helper
>
> Guest system is Debian 3.2.0-4-vexpress, again the latest stable
> version. I get a SLIRP connection just fine when I don't specify the
> -device and -netdev parameters. The "lshw" shows the driver to be
> smsc911x, but I don't know how to relate that to which NIC is being
> emulated (it at least works).
>
> When I do specify the -device and -netdev parameters, I get no network.
> The log shows nothing unusual other than no network device is found.
>
> Are there any known problems with a setup like this? If not, does
> anyone have an idea as to what I am doing wrong? I appreciate any and
> all suggestions.
>
> Jerry
>