Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

CIFS mount problems
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
CIFS mount problems
29th Oct, 2013, 08:51 AM
Post: #1
Darkguy Offline
Registered
Posts: 36
Joined: Oct 2013
Reputation: 0
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)
  smbd version 3.6.6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2013/10/28 23:07:43.405712,  0] printing/print_cups.c:110(cups_connect)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2013/10/28 23:07:43.408496,  0] printing/print_cups.c:487(cups_async_callback)
  failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL

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!
Find all posts by this user
Quote this message in a reply
30th Oct, 2013, 03:41 AM
Post: #2
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
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.
Find all posts by this user
Quote this message in a reply
30th Oct, 2013, 08:02 PM
Post: #3
Darkguy Offline
Registered
Posts: 36
Joined: Oct 2013
Reputation: 0
RE: CIFS mount problems
Well, the mount works from within XBMC, just not from the mount command in the underlying shell.
Find all posts by this user
Quote this message in a reply
31st Oct, 2013, 01:07 PM
Post: #4
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
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
cd /tmp
wget http://xbian.brantje.com/devel/others/xbian-package-kernel1.3-6.deb
dpkg -i xbian-package-kernel1.3-6.deb

you can revert to previous one with
Code:
sudo -i
apt-get install --reinstall xbian-package-kernel=1.3-5.5

(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
Find all posts by this user
Quote this message in a reply
2nd Nov, 2013, 05:45 PM
Post: #5
Darkguy Offline
Registered
Posts: 36
Joined: Oct 2013
Reputation: 0
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).
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 02:42 AM Powered By MyBB, © 2002-2025 MyBB Group.