qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] eth0 not found in guest OS (QEMU 6.0)


From: Junfeng Yang
Subject: [Qemu-devel] eth0 not found in guest OS (QEMU 6.0)
Date: Wed, 20 Oct 2004 16:50:03 -0700 (PDT)

Hi,

I'm trying to run QEMU with the provided linux.img but when the guest OS
was brought up I saw complains like:
SIOCSIFADDR: No such device
eth0: unknown interface: No such device

The disk image and QEMU scripts I'm using is downloaded from
http://fabrice.bellard.free.fr/qemu/linux-test-0.5.1.tar.gz

I'm using TUN/TAP for virtual networking.
"ls /dev/net/tun -l" on the host OS shows:
crw-rw-rw-  1 root root 10, 200 2004-10-10 14:54 /dev/net/tun

"lsmod | grep tun" on the host OS shows
tun                     4416   3

"cat /etc/qemu-ifup" on the host OS shows:
#!/bin/sh
sudo /sbin/ifconfig $1 172.20.0.1

"ifconfig -a" on the guest OS shows:
dummy0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          BROADCAST NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0 is not listed.  Do you guys know what's going on?

Thanks,
-Junfeng





reply via email to

[Prev in Thread] Current Thread [Next in Thread]