CIFS mount problems
|
29th Oct, 2013, 08:51 AM
Post: #1
|
|||
|
|||
CIFS mount problems
Hey,
I'm currently using Beta2 with the 3.10.12 Kernel and have a problem mounting CIFS shares from a Windows 7 machine on my network from the shell. The same mount works fine from within XBMC. Terminal sudo mount -t cifs //192.168.0.1/MyShare /media/myshare -o username=MyUser,password=MyPass results in: Terminal Unable to find suitable address. I did create /media/MyShare before; also, once the command fails, the /media/MyShare folder also is gone and has to be re-created. I also tried adding ,sec=ntlm to the -o parameter, since I read on the RaspBMC forums that there was an issue with NTLMv2 and the 3.10 Kernel. Also, /var/log/samba/log.smbd features these lines: Code: [2013/10/28 23:07:43, 0] smbd/server.c:1053(main) I've read that "Unable to find suitable address." actually might be a problem with the Samba server, not the client and might have to do with CUPS not able to start, so maybe these messages and being unable to mount CIFS shares might be related? Also on a side note, I used vpnc to connect to a Cisco VPN and mounted a share on the remote network using the same command, and it worked like a charm - so maybe the problem involves mounting shares on Windows 7 and some sort of NTLM security/handshake issue? Would be great if somebody solved this and knows of a solution! |
|||
30th Oct, 2013, 03:41 AM
Post: #2
|
|||
|
|||
RE: CIFS mount problems
I do remember a problem with permissions causing a problem with Windows 7 and XBMC, it may not be the answer but it is worth checking.
Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
30th Oct, 2013, 08:02 PM
Post: #3
|
|||
|
|||
RE: CIFS mount problems
Well, the mount works from within XBMC, just not from the mount command in the underlying shell.
|
|||
31st Oct, 2013, 01:07 PM
Post: #4
|
|||
|
|||
RE: CIFS mount problems
@Darkguy
I'm able to mount cifs from windows 7 (no homegroup) as : Code: mount -t cifs \\\\IVKA57WW\\Users\\username /mnt/tmp/ -o username=username,nounix,sec=ntlm,ip=192.168.1.106 if it doesn't work (nounix is only difference to your tries), can you install this kernel (http://xbian.brantje.com/devel/others/xbian-package-kernel1.3-6.deb) and try again? Code: sudo -i you can revert to previous one with Code: sudo -i (this assumes you have Beta2 installed) Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
2nd Nov, 2013, 05:45 PM
Post: #5
|
|||
|
|||
AW: CIFS mount problems
Thanks, it works now! Also, I probably was being an idiot all along and think I might have been using the wrong IP during mount (for some reason mixed it up with one the laptop used to have years ago).
|
|||
« Next Oldest | Next Newest »
|