Hello,
I'm running current on thinkxpad x60s.

I've installed qemu and I'm running windows xp in qemu.

Unfortunately ethernet does not work. No network interface
is detected in windows xp.

Currently I start the virtual machine like this:
qemu -net tap xp.hd -m 768 -localtime

While starting qemu I get an error:
Initializing tun0..
brconfig: bridge0: trunk0: No such file or directory

Do I have to setup a trunk device for this to work?

My ethernet card is "em0". 
How do I have to customize the qemu-ifup script to be
able to use the "-net tap" option.

Here is the default: /etc/qemu-ifup
---start qemu-ifup----
#! /bin/sh

ETHER=trunk0
BRIDGE=bridge0

if test `id -u` -ne 0; then
        SUDO=sudo
fi

echo "Initializing $1.."

# Set the tun device into layer2 mode
$SUDO ifconfig $1 link0 up

# Set up our bridge
$SUDO ifconfig $BRIDGE create
$SUDO brconfig $BRIDGE add $ETHER up
$SUDO brconfig $BRIDGE add $1 up
---stop qemu-ifup----

Thank you very much for helping!
Didier

Reply via email to