PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : qemu, kein netz mehr :-(



Triob
19.11.04, 07:43
Wenn ich mein qemu starte kommt diese Fehlermeldung:


warning: could not open /dev/net/tun: no virtual network emulation
Could not configure '/dev/rtc' to have a 1024 Hz timer. This is not a fatal
error, but for better emulation accuracy either use a 2.6 host Linux kernel or
type 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' as root.
QEMU 0.6.0 monitor - type 'help' for more information


In meiner /etc/qemu-ifup steht das hier:


#!/bin/sh -v
#
# Inside the qemu VM, the following commands are required:
#
# ifconfig eth0 172.20.0.2
# route add default gw 172.20.0.1
#
intf=$1
eth0_ipaddr=192.168.0.1

sudo sh << EOT
ifconfig $intf 172.20.0.1
echo 1 > /proc/sys/net/ipv4/ip_forward

## Masquerading
iptables -t nat -F POSTROUTING
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
EOT


Das Problem habe ich seit ich unter Debian Sarge "udev" installiert habe. Das device /dev/net/tun wird aber erstellt.

Jemand eine Idee?