You are not logged in.
I'm trying to set up a shared filesystem with Windows XP using qemu's virtiofs or samba service (or any other option to send files to the guest system) but have been unable to figure out any method which works on Windows XP due to age making the protocols it uses deprecated for security.
Does anyone have experience here and if so what the best solution is?
SOLUTION:
While I couldn't figure out the samba server I realised I can just put the files I need into an iso and it satisfies the use conditions (sending files to a guest machine without the need to get them back and has the added benefit of maintaining limited access of guest to host increasing security).
Process was as follows:
1. Install cdrtools.
2. Run:
mkisofs -o shared.iso sharedData/
where sharedData is whatever directory to send to the guest machine.
3. Add "-monitor stdio" somewhere to the qemu start script (following syntax as needed).
4. Once in the guest system run
change <drive, for me it's ide1-cd0> shared.iso
After just access the disc drive from the guest system as normal and copy files.
Last edited by PFleur (Yesterday 17:47:06)
Offline
You need to set these extra settings in smb.conf
server min protocol = NT1
lanman auth = yes
ntlm auth = yes
After adding this you should be able to connect to samba server from Windows XP using the usual smb.conf
Just make sure you don't expose the samba server to any public network.
Offline
By usual smb.conf do you mean the file in:
/etc/samba/smb.conf
or the file generated in:
/tmb/qemu-smb.<string>/smb.conf
?
Offline
The smb server you are connecting to from Windows, if you're running smb server locally and running Windows XP in a guest VM, that should be
/etc/samba/smb.conf
I'm not familiar how qemu's smb works, if that's the server you are connecting to from Windows XP then it would be
/tmb/qemu-smb.<string>/smb.conf
Anyway, see https://wiki.archlinux.org/title/Samba about configuring the smb server, and then add those 3 lines to the config once you have a working server up.
Last edited by karabaja4 (Yesterday 09:14:29)
Offline
"shared with XP" already makes all my alarm bells ring loud - but if required: go for FTP
Offline