Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: sixgunz on June 10, 2015, 12:08:22 PM
-
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.
-
Is it a Linux Samba or Windows share?
-
Hi sixgunz
Maybe it doesn't like the $ sign. What happens with:
mount.cifs //192.168.0.1/e\$ /mnt/shared1 -o user=*******,pass=*****,dom=*****,sec=ntlm
or:
mount.cifs "//192.168.0.1/e$" /mnt/shared1 -o user=*******,pass=*****,dom=*****,sec=ntlm
-
You can't mount hidden Windows shares (ending with $), only regular shares. For example my Windows machines shares:
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
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
sudo mount.cifs -o username=xxxxx,password=xxxxx //192.168.0.100/Users /1
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.
-
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.
-
Glenn
I'm using piCore-6.1beta1 it is worth to try. I can connect to both WIN7 and Samba shares. Also tried mounting WIN7 shares using a CentOS-7.1 box, result is exactly the same as in piCore.
-
Hi guys. Have installed 6.1 beta and all is working fine now apart from persistency setting. Were automatically set to install on second partition but 6.1 defaults to cloud mode installing modules in top alongside the loop folders....
Sent from my SM-N9005 using Tapatalk