[SOLVED] smb_userdata

Here for general support for E series TVs, request and problem solve area.

miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

Re: smb_userdata

Post by miazza »

zdzi wrote:the only way I can recreate the error message you got is if I also use the mount command with -o guest or with no -o parameter.

Did you try mounting with any username and password? My old Nas didn't need a password and would accept anything.
What happens if you try:

mount -o user=a,password=a -t cifs //<your server ip>/<your servername> /dtv/usb/sda/smb
Hei zdzi we are making progresses:

Code: Select all

root@(none) phpsysinfo $ mount -o user=a,password=a -t cifs //192.168.1.5/PUBLIC /dtv/usb/sda/smb
mount: block device //192.168.1.5/PUBLIC is write-protected, mounting read-only
mount: cannot mount block device //192.168.1.5/PUBLIC read-only
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
zdzi
Posts: 46
Joined: Sat Aug 06, 2011 3:18 pm

Re: smb_userdata

Post by zdzi »

yes, I got that error when I tried using the wrong user/name password for my share - ie. access not allowed. Looks like your NAS won't accept anything but wants null usernames/passes.

Did you try the mount command suggested by fluffi444?
miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

Re: smb_userdata

Post by miazza »

YES. Same result:

Code: Select all

root@(none) phpsysinfo $ mount -o user=,password= -t cifs //192.168.1.5/PUBLIC /dtv/usb/sda/smb
mount: block device //192.168.1.5/PUBLIC is write-protected, mounting read-only
mount: cannot mount block device //192.168.1.5/PUBLIC read-only
This is getting me nervous. This is a very old NAS but I can access its SMB share from WIN XP, WIN7, LINUX , XBMC on XBOX1, Android 4.01 and 4.2.2... but not from SmartTV :evil:
Last edited by miazza on Mon May 06, 2013 11:43 pm, edited 2 times in total.
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
zdzi
Posts: 46
Joined: Sat Aug 06, 2011 3:18 pm

Re: smb_userdata

Post by zdzi »

are you able to create another share with a username and pass and try and manually mount it.
If that works could definitely point to your null username/passes.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: smb_userdata

Post by juusso »

do

Code: Select all

dmesg | tail
right after your samba mount command. There should be some debug info...
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

Re: smb_userdata

Post by miazza »

juuso wrote:do

Code: Select all

dmesg | tail
right after your samba mount command. There should be some debug info...

Code: Select all

root@(none) phpsysinfo $ dmesg | tail
Function entered at [<c00c89b0>] from [<c00c8b20>]
 r8:00000001 r7:c1779980 r6:caeeb000 r5:c1779f80 r4:bf74f2d0
Function entered at [<c00c8ae4>] from [<c00e0304>]
 r8:00000001 r7:caeeb000 r6:00000000 r5:c1779980 r4:00000060
r3:caeeb000
Function entered at [<c00dfd40>] from [<c00e0424>]
Function entered at [<c00e0398>] from [<c0028840>]
 r7:00000015 r6:be899cd8 r5:be899c8c r4:0001ec88
CIFS VFS: cifs_mount failed w/return code = -13
##### send signal from USER, SIG : 15, httpd(1542)->php-cgi(1613) sys_kill
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

Re: smb_userdata

Post by miazza »

I think the issue has something to do with security.
On Win7 I needed to change the security policy to have the NAS mounted.
I tried to mount SMB on a Kubuntu VM and the share ask for username and password.

Obviously I cannot access it because there is no user name nor password set un my share.

Still studying

Found a trik on kubuntu:

to access SMB I need to set:
user name = Kubuntu login user name
password = (empty or password set for the share)
This perfectly works on kubuntu.

Now what is the username of the SmartTV ?
Last edited by miazza on Tue May 07, 2013 12:01 am, edited 1 time in total.
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
zdzi
Posts: 46
Joined: Sat Aug 06, 2011 3:18 pm

Re: smb_userdata

Post by zdzi »

If you google that cifs error code 13 then some people solved it either by using the username to be the same as the share name -o user=PUBLIC,password= or another had to pass a WRKGROUP in the mount command. Good luck trying to find the reason but if you can't do a manual mount I can't see you succeeding using the auto script.
miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

Re: smb_userdata

Post by miazza »

zdzi wrote:If you google that cifs error code 13 then some people solved it either by using the username to be the same as the share name -o user=PUBLIC,password= or another had to pass a WRKGROUP in the mount command. Good luck trying to find the reason but if you can't do a manual mount I can't see you succeeding using the auto script.
I discovered something similar but look message above.
user is user of the running machine. This works in kubuntu and in Win7.
I wander what is the user name of our TV.

Code: Select all

root@(none) phpsysinfo $ cat /etc/passwd
root::0:0:Root,,,:/:/bin/sh
If I try with user root :

Code: Select all

mount -o user=root,password= -t cifs //192.168.1.5/PUBLIC /dtv/usb/sda/smb
the TV block and need to unplug from the wall.
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
User avatar
fluffi444
SamyGO Project Donor
Posts: 569
Joined: Fri Apr 05, 2013 9:55 pm
Location: Germany

Re: smb_userdata

Post by fluffi444 »

I dont know if that will help but one Problem here was that I tried to mount a child of the shared folder directly.
This gave me this block device error message...

Please make sure you mount into exactly share folder but not child of the share folder. Meaning that:
- you have WIN or NAS shared folder \\<SERVER IP>\shared
- you want to access \\<SERVER IP>\shared\movies
- you only can mount //<SERVER IP>/shared but not //<SERVER IP>/shared/movies

But I think your folder //192.168.1.5/PUBLIC IS the correct shared one...
TV: UE40ES7000 @ UE40ES8090 - T-ECPDEUC-2022.0 // SamyGO
CI+: Unicam EVO 4 with HD+ (HD02) @ Pacific 4.60
NET: Samba: PC

Post Reply

Return to “[E] Support”