You are not logged in.
I installed samba then I used the following command:
qemu-system-x86_64 -drive file=Windows.img,format=qcow2,if=virtio -nic user,id=nic0,smb=/home/aarav/DownloadsAfter starting up the VM, I opened file explorer and went to the path (CTRL+L)
\\192.168.2.100 (linux ip)\qemu. The windows troubleshooter said:
The device or resource (192.168.2.100) is not setup to accept connections on port "The File and printer sharing (SMB)"How can I have a shared folder between my windows 10 guest and linux host?
Last edited by to_you_bannana (2024-01-26 20:01:19)
Offline
...and makes it accessible to the guest at a different IP address (10.0.2.4 by default).
Please edit your original post and remove the irrelevant cry for help. Everyone who posts here wants help and shouting for it won't make it happen any quicker.
Offline
Arch Wiki qemu page wrote:...and makes it accessible to the guest at a different IP address (10.0.2.4 by default).
Please edit your original post and remove the irrelevant cry for help. Everyone who posts here wants help and shouting for it won't make it happen any quicker.
Same error regardless
Offline
Do you run the qemu instance as your normal user, so it has access to the theorethical path?
Last edited by V1del (2023-02-04 15:40:13)
Offline
Do you run the qemu instance as your normal user, so it has access to the theorethical path?
Yes
Offline
Offline
Watch the smb handshake with wireshark (if possible - not sure about that qemu 'user nic' implementation) and lookup the smb server logs (might need qemu's smb.conf to be modified for debugging/increased verbosity).
sys2064
Offline
The problem is Windows Network Discovery doesn't come enabled by default. Dumb design decision imho. Just need to enable it. Had this problem myself.
Offline
I used the normal samba server standalone without the smb option, seems to work now. Thanks
Offline