Hi, I’m planning to get a NAS in the near future. To test some of its benefits out first I connected an old HDD to my AVM Fritz Box router and enabled the NAS feature.
Whenever I try to connect to it from my Vero 4k+ via smb, I get the error message “Operation not permitted”.
I tried everything I can think of in the settings but it just doesn’t work. I can access the NAS without problems on a windows laptop and a Fire TV stick.
minimal protocol SMB2
max protocol SMB3
but I tried minimal SMB1 or even none as well.
I tried to add a source by using
add Shared Network (I don’t know the exact English term used in Kodi)
Server: 192.168.178.1 (which is the router)
Share: fritz.box (in my case)
User and Password (created in the router and work fine on the fire TV)
After confirming, I get the error message.
I tried different setting with the name of the NAS as well but as it works on other devices I don’t think that is the problem.
Is there anything I could try differently? I tried to do this for several hours the other day.
It would be awful to buy a NAS and then get the same error so I want to solve it upfront
When you are connect run smbclient -U <your username> -L 192.168.178.1 you then should be asked for your password and please share the output afterwards.
If you get smbclient: command not found run sudo apt-get install smbclient first.
Hi, I’m still not very skilled in this command thing but I sure try my best.
Which username do u mean? My Vero one or the username I set up for the NAS access? I tried both though.
I had to install the smbclient first although I installed it before on the MyOSMC menu
Before beeing asked for the password I get a message:
Not enough '' characters in service
Usage: smbclient [-?EgqBVNkPeC] [-?|–help] [–usage] [-R|–name-resolve=NAME-RESOLVE-ORDER] [-M|–message=HOST]
[-I|–ip-address=IP] [-E|–stderr] [-L|–list=HOST] [-m|–max-protocol=LEVEL] [-T|–tar=<c|x>IXFvgbNan]
[-D|–directory=DIR] [-c|–command=STRING] [-b|–send-buffer=BYTES] [-t|–timeout=SECONDS]
[-p|–port=PORT] [-g|–grepable] [-q|–quiet] [-B|–browse] [-d|–debuglevel=DEBUGLEVEL]
[-s|–configfile=CONFIGFILE] [-l|–log-basename=LOGFILEBASE] [-V|–version] [–option=name=value]
[-O|–socket-options=SOCKETOPTIONS] [-n|–netbiosname=NETBIOSNAME] [-W|–workgroup=WORKGROUP]
[-i|–scope=SCOPE] [-U|–user=USERNAME] [-N|–no-pass] [-k|–kerberos] [-A|–authentication-file=FILE]
[-S|–signing=on|off|required] [-P|–machine-pass] [-e|–encrypt] [-C|–use-ccache] [–pw-nt-hash]
After the password I still get:
-bash: (password) : command not found
Ok, looks fine. Not sure why adding the source in Kodi doesn’t work. You could enable debug logging try again and then upload the logs for us to check.
But for a long term solution (which also would make a switch to your future NAS easier) maybe you can take a look at using kernel mounts with autofs
hm that is a bit weird. The other one I used was also a user that is allowed to access the NAS.
But I will not complain. Sometimes it seems nothings works better than some kind of reset. I would have tried that earlier probably if I knew something like that existed (and how to do it).
Again thanks a lot for your help.