I’m running openhabian on an RaspberryPi 3. Now I’d like to access the path /usr/share/openhab2 from my Windows Notebook via Samba. I already found out that I have to change the Custom Share Definition in smb.conf in oder to access that path. The problem is when I open the config file with sudo nano /etc/samba.smb.conf and edit it I can not save the changes because nothing happens when I press ‘Y’ to confirm. Does anybody have an idea how to solve this problem?
cd /etc/samba
sudo nano smb.conf
In nano Ctrl+X to close and Save
Then press Y to confirm
Thanks for your reply but if I press ‘Y’ nothing happens only pressing ‘N’ works but that dicards my changes
Are you editing on Windows or on the Raspi? It sounds to me as if you are doing it on the Raspi via SSH, although I do NOT see why it is not saving this way.
I’m editing it on th Raspi directly
That happens to me as well sometimes. I do not know why but disconnecting and redoing it all from the start solved it. Probably I did hit a false button putting nano into another input-mode.