Usually copy/paste works best in these cases.
As to Windows sharing, if you haven't made any custom shares on your box, I have a similar fix for you:
wget https://raw.githubusercontent.com/OpenPLi/openpli-oe-core/rc/meta-openpli/recipes-connectivity/samba/samba/smb.conf -O /etc/samba/smb.confnote, again, O and not zero!
After this fix you need to restart the box.
I will try it when I have time. Work calls, sadly.