I have been using Qemu on my Debian machine running Windows XP for some years including being able to access a directory on the Debian system using Samba from Qemu.
Qemu was updated in the recent past and the networking/Samba side of things stopped working. Well, actually, the command line I had been using to start Qemu was no longer accepted and Qemu wouldn't start until I removed the networking bit.
I have been struggling to get it going again ever since. I can get Qemu to run but I can't get the networking/samba side to work.
My original Qemu command was:
/usr/bin/qemu -boot c -m 256 -hda '/usr/local/storage/qemu/win-xp2.img' - cdrom '/usr/local/storage/qemu/mm.iso' -hdb '/usr/local/storage/qemu/win- xp3.img' -net nic,model=rtl8139 -net user,vlan=0 -smb Linux -redir tcp:9100::9100 -soundhw sb16 -localtime -usb -usbdevice host:067b:2303 - usbdevice host:04b8:0005
The current Qemu command is:
/usr/bin/qemu -boot c -m 256 -hda '/usr/local/storage/qemu/win-xp2.img' -cdrom '/usr/local/storage/qemu/mm.iso' -hdb '/usr/local/storage/qemu/win- xp3.img' -netdev type=user,id=mynet0,smb=Linux_m,smbserver=10.0.2.4
Qemu starts but I get no access to the network. I get the following message:
'An error occurred while connecting L: to \10.0.0.2\linux'
Not particularly helpful. I also see sometimes 'The network cannot be reached'.
I'm sure I used to have an entry of some sort in the Windows Hosts file but the entry is not there now and I don't remember what it was.
Searching on the internet has not provided any useful information.
Can anyone offer any help please?