[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Setting up tun/tap network doesn't work
From: |
Alexander Skwar |
Subject: |
[Qemu-devel] Setting up tun/tap network doesn't work |
Date: |
Fri, 14 Oct 2005 23:14:29 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.6 (X11/20050809) |
Hello.
I'm trying to get qemu 0.7.2 on Gentoo Linux to work with tun/tap
network - but fail to do so :/
I compiled the kernel (2.6.13-suspend2-r4) with tun/tap support
and copied the "qemu-ifup" script from linux-test-0.5.1 to
my /etc directory. I loaded the "tun" module.
address@hidden ~/var/qemu $ ls -la /dev/net/tun
crw-rw---- 1 root root 10, 200 14. Okt 22:56 /dev/net/tun
When I start qemu (as root) with:
sudo qemu -nographic -hda linux.img -kernel bzImage-2.4.21 -append
"console=ttyS0 root=/dev/hda sb=0x220,5,1,5 ide2=noprobe ide3=noprobe
ide4=noprobe
ide5=noprobe"
I get as the first line of output:
Connected to host network interface: tun0
and later on:
QEMU Linux test distribution (based on Redhat 9)
Type 'exit' to halt the system
SIOCSIFADDR: No such device
eth0: unknown interface: No such device
sh-2.05b# ifconfig
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)
Thus, network isn't setup properly inside the qemu "guest".
Rather obviously, I seem to be missing something. But what
is it? Also, the documentation isn't that clear, as far as
the network part is concerned... Also, I'm sorry to bother
you on the devel list, but the "plain users" forum is down :(
Thanks a lot for any help you can provide,
Alexander Skwar
- [Qemu-devel] Setting up tun/tap network doesn't work,
Alexander Skwar <=