Uwe Dippel <udip...@uniten.edu.my> wrote: > Trying to install a virtual OpenBSD on OpenBSD 4.6 on amd64, I did: > > # env ETHER=em0 qemu -net nic,model=rtl8139 -net tap -m 32 -monitor stdio > -no-fd-bootchk -hda virtual.img \ > -cdrom cd46.iso -boot d > > as described in > http://www.openbsd.org/cgi-bin/cvsweb/ports/emulators/qemu/files/README.OpenBSD?rev=1.5;content-type=text%2Fx-cvsweb-markup > It does start the install, everything, but I can't seem to get any > network connection. dhcp times out. I restarted, and tried the usual qemu > 10.0.2.0/24 as fixed addresses (and given in that site); but no fun. > Restarted again and set some addresses of the network in which the host > runs, 192.168.1.0/24. At least, I could ping the (real) gateway of the > host, and even an outside server holding the installation files. Strange > enough, though, the ftp to get the .tgz closes immediately with some > 'connection refused', though I can ping it from the guest-to-be > installed, as well as ftp to it from the host. > I used qemu on Knoppix before, and it always offered dhcp out of the box.
Try disabling mpbios. That fixed a couple of problems for me, though I don't remember exactly what they were: http://scie.nti.st/2009/10/4/running-openbsd-4-5-in-kvm-on-ubuntu-linux-9-04 Stefan Krah