qemu networking help with windows98

John Nielsen john at jnielsen.net
Sun Oct 29 18:32:38 UTC 2006

On Sunday 29 October 2006 12:06, Stephen J. Roznowski wrote:
> [I've searched for the answers, but have come up empty....]
> I'm running FreeBSD 6.2-PRERELEASE and Qemu 0.8.2_2.
> I've gotten Windows 98 running inside of the emulator, but I'm having
> trouble getting the network to work.
> Basically, I'm interested in setting it up so that my Windows98 system
> can get to the Internet via my FreeBSD system.
> Can anyone provide me some simple step-by-step directions, or point me
> to a web page that has them???

Here are the scripts I use:


OPTS="-m 80 -net nic -net 
tap,script=/usr/scratch/qemu/${VMGUEST}-ifup.sh -local
time -vnc 2 -monitor stdio -usb -usbdevice tablet"
CDOPTS="-cdrom /usr/ftproot/RescueCD/rescue.iso -boot d"

case $1 in
                qemu ${OPTS} ${CDOPTS} ${DEVICE}
                qemu ${OPTS} ${DEVICE}

if [ -r /var/run/qemuif.${VMGUEST} ] ; then
        ifconfig bridge0 deletem `cat /var/run/qemuif.${VMGUEST}`
        rm /var/run/qemuif.${VMGUEST}

ifconfig ${1}
ifconfig bridge0 addm ${1}
echo ${1} > /var/run/qemuif.win98

###rc.conf snippet###
ifconfig_xl0="inet internal.network.address/24"
ifconfig_bridge0="up addm xl0"

I can provide more commentary on any or all of the above if needed; just 


More information about the freebsd-questions mailing list