I added "-net nic,model=pcnet -net user" to allows networking to work (based on:
https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/freedos-in-qemu-no-internet-connection-4175638386/
)
to allows access to the network (which it is said does not work on real
hardware for now)
So that the line I now use is:
qemu-system-i386 -cpu 486 -name FreeDOS -machine
pc-i440fx-4.2,accel=kvm,usb=off,dump-guest-core=off -enable-kvm -m 64
-overcommit mem-lock=off -no-user-config -nodefaults -rtc
base=utc,driftfix=slew -no-hpet -boot menu=on,strict=on -sandbox
on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny -msg
timestamp=on -drive format=raw,file=fdt2208.img,format=raw -cdrom T2208LIVE.iso
-audiodev pa,id=mysnd -device sb16,audiodev=mysnd -device adlib,audiodev=mysnd
-machine pcspk-audiodev=mysnd -vga cirrus -display sdl -usbdevice mouse -net
nic,model=pcnet -net user
make sure to adjust: fdt2208.img and T2208LIVE.iso to what you have.
Note:
model=e1000 or e1000e: DHCP did not got an address
model=tulip, DHCP no address
model=rtl8139, results in:
QEMU Network detected
0 Match found
1 Match found
Bad command or filenname "rtspkt.com".
Network is unreachable/unavailable.
I guess I will check for an issue about this last one... and add one if I don't
find one.
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel