I'm running raspbian on an RPi2B and I'm trying to mount a network drive. I've tried the following:sudo mount -t cifs -o username=admin,password=passwd //192.168.1.1/root /mnt/myshareBut I keep getting permission denied error.I can access this share fine on my macbook pro with the same credentials so I don't understand what's going on.I have dashes (-) in my password so I tried enclosing it in quotes, escaping the dashes etc. but nothing worked.Any help would be appreciated!
Can't mount network drive - Permission denied
mount;raspbian;cifs
Well after a painful day or so of trying to figure this out, it turns out I needed to set sec=ntlm and now it works.