Tiny Core Base > Raspberry Pi
PiCore 6 Release SSH (3.12.36-piCore+ kernel) Mount CIFS share not working
sixgunz:
Hi Everyone.
Have successfully installed PiCore 6 Release SSH on my Model A+ with Wifi and samba fileserver.
However, I cannot seem to use CIFS shares.
I have cifs-utils loaded
I have tried filesystems-3.12.36-piCore+.tcz
I have tried filesystems-3.18.10-piCore+.tcz
I have tried filesystems-3.18.6-piCore+.tcz
I have tried filesystems-3.18.9-piCore+.tcz
Closest I have come is loading filesystems-3.12.36-piCore+.tcz, which throws error in dmesg:
[ 3526.845055] CIFS VFS: mdfour: Crypto md4 allocation error -2
[ 3526.845088] CIFS VFS: Error -2 during NTLM authentication
[ 3526.845125] CIFS VFS: Send error in SessSetup = -2
[ 3526.845579] CIFS VFS: cifs_mount failed w/return code = -2
Command I'm using is:
mount.cifs //192.168.0.1/e$ /mnt/shared1 -o user=*******,pass=*****,dom=*****,sec=ntlm
I've also tried various sec= settings
but nothing works.....?
Help!
Cheers,
Glenn.
bmarkus:
Is it a Linux Samba or Windows share?
Rich:
Hi sixgunz
Maybe it doesn't like the $ sign. What happens with:
--- Code: ---mount.cifs //192.168.0.1/e\$ /mnt/shared1 -o user=*******,pass=*****,dom=*****,sec=ntlm
--- End code ---
or:
--- Code: ---mount.cifs "//192.168.0.1/e$" /mnt/shared1 -o user=*******,pass=*****,dom=*****,sec=ntlm
--- End code ---
bmarkus:
You can't mount hidden Windows shares (ending with $), only regular shares. For example my Windows machines shares:
--- Code: ---Domain=[WIN7DESKTOP] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1]
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk TA!vfelA1gyelet
C Disk
C$ Disk AlapA©rtelmezett megosztA!s
D$ Disk AlapA©rtelmezett megosztA!s
F$ Disk AlapA©rtelmezett megosztA!s
IPC$ IPC TA!voli IPC
Users Disk
--- End code ---
Only C and Users are mountable, which are enabled manually. Open Windows Explorer and go to network to check mountable shares.
Command to mount Users dir to /1 is
--- Code: ---sudo mount.cifs -o username=xxxxx,password=xxxxx //192.168.0.100/Users /1
--- End code ---
Works with RPi2 and a standalone WIN7 desktop PC. Mount command may be different in a more compex Win environment with different authentication than simple login/password. But it is not TC specific.
sixgunz:
Hi Béla and Rich!
Thank you both very much for your replies!
Rich - have tried your solution of adding the slash, but that has no effect - still the same error.
Béla - The share is a windows share. I have tried also mounting to a visible share, but again, still same error
Funny thing is I am also using tinycore on a virtual x86 machine through virtualbox and that has no problems in accessing the very same hidden shares.....?
The tcz I am using for that is "filesystems-3.16.6-tinycore.tcz" with the latest tinycore x86
I noted in another forum that there were some extra modules needed to make cifs work:
http://forum.tinycorelinux.net/index.php?topic=16151.0
Are they included in the final 6.0 release of picore?
I have done an lsmod and the cifs module is loaded but not the mentioned others....?
Cheers,
Glenn.
Navigation
[0] Message Index
[#] Next page
Go to full version