(SOlVED) Problems mounting Samba shares UE32F5300!

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

User avatar
brunogts77
Posts: 772
Joined: Sat Feb 18, 2012 8:34 pm

Re: Problems mounting Samba shares UE32F5300!

Post by brunogts77 »

Ok i have news!! I have turned on "04_04_fusesmb.init" and the shares are successfully mounted!

FUSESMB fille:

Code: Select all

#!/bin/sh
#
#	Copyright 1996-2010, ZsoltTech.Com
#       by Ser Lev Arris <arris@ZsoltTech.Com>
#
#       donated for the SamyGo Project
#       http://samygo.sourceforge.net/
#
#       Version: SamyGO svn $Id: 04_04_fusesmb.init 1089 2010-11-05 18:55:01Z arris $
#

. /dtv/SGO.env
# sleep 9
##### CHANGE MEEEEE !!!!! ######
USER="sysadmin"
PASSWD="123456789"
##### CHANGE MEEEEE END ######

[ -e /mtd_rwarea/smb_userdata ] && source /mtd_rwarea/smb_userdata

[ -z $USER ] && exit 1
[ -z $PASSWD ] && exit 1

DEST_DIR=$MOUNT_PATH/fusesmb

FR_NAME="NG Windows Server"

do_mount()
{
        mkdir -p $DEST_DIR
        mkdir $HOME/.smb
	if [ ! -f $HOME/.smb/smb.conf ] ; then
		[ -f $SMB_CONF_PATH ] && cp -a $SMB_CONF_PATH $HOME/.smb/smb.conf
	fi
                $(echo -e "[global]\nusername=$USER\npassword=$PASSWD\n;showhiddenshares=true\n\
timeout = 10\ninterval = 10" > $HOME/.smb/fusesmb.conf)
        chmod 600 $HOME/.smb/fusesmb.conf
        cd $HOME
        touch $HOME/fusesmb.cache
        fusesmb $DEST_DIR
        fusesmb.cache
        sleep 3
#                $(echo -e "[sdh]\nVendor : SmbFsMount\nProduct : $FR_NAME\n\
#Serial : Q80VQLFI\nDevpath : 9\nLun : 0\nMountDir : $DEST_DIR\nFileSystem : vfat\n" >> /dtv/usb/log)
        cd -
}

case $1 in
	start)
	# fuse has own script
	# insmod $SYSROOT/lib/modules/fuse.ko
	lsmod | grep fuse
	if [ "$?" -eq "0" ] ; then
		do_mount
	else
		echo "Fuse must 1st started, not me!" 1>&2
	fi
        ;;
        stop)
        # may can fail if device access the mount from content library
        # attention: djmount use fuse too, difference is vfat on or fuse on
        # in output of mount
        # for i in $(cat /proc/mounts | grep cifs | cut -d " " -f2) ; do
        for i in $(cat /proc/mounts | grep fuse | grep -v vfat | sed 's/^\(.*\) \(.*\) fuse .*/\2/') ; do
		i="$(echo -n $i | sed -r 's/\\040/ /g')"
                $SYSROOT/bin/busybox umount "$i"
        done
        ;;
        status)
        ;;
        *)
        echo "Usage: $0 {start|stop}" 1>&2
        exit 0
        ;;
esac
UE40JU6000 T-MST12DEUC_1119]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: Problems mounting Samba shares UE32F5300!

Post by zoelechat »

Well done. Happy to see something different than "not work boo" ;)
I do NOT receive any PM. Please use forum.
User avatar
brunogts77
Posts: 772
Joined: Sat Feb 18, 2012 8:34 pm

Re: Problems mounting Samba shares UE32F5300!

Post by brunogts77 »

Still have problems!!! All are mounted but media player can?t play nothing!!
UE40JU6000 T-MST12DEUC_1119]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: Problems mounting Samba shares UE32F5300!

Post by zoelechat »

:mrgreen:
I do NOT receive any PM. Please use forum.
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: Problems mounting Samba shares UE32F5300!

Post by sectroyer »

brunogts77 wrote:Still have problems!!! All are mounted but media player can?t play nothing!!
The most probable problem is wrong SMB permissions :) Maybe some winshit guru will be able to help ;)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
User avatar
brunogts77
Posts: 772
Joined: Sat Feb 18, 2012 8:34 pm

Re: Problems mounting Samba shares UE32F5300!

Post by brunogts77 »

Anny ideas?
UE40JU6000 T-MST12DEUC_1119]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: Problems mounting Samba shares UE32F5300!

Post by sectroyer »

brunogts77 wrote:Anny ideas?
Post the result of:

Code: Select all

ls -l /dtv/usb/sda/smb/192.168.1.5/Users
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
User avatar
brunogts77
Posts: 772
Joined: Sat Feb 18, 2012 8:34 pm

Re: Problems mounting Samba shares UE32F5300!

Post by brunogts77 »

Code: Select all

VDLinux#> VDLinux#> ls -l /dtv/usb/sda/smb/192.168.1.5/Users

VDLinux#> ls: /dtv/usb/sda/smb/192.168.1.5/Users: No such file or directory

UE40JU6000 T-MST12DEUC_1119]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: Problems mounting Samba shares UE32F5300!

Post by sectroyer »

brunogts77 wrote:

Code: Select all

VDLinux#> VDLinux#> ls -l /dtv/usb/sda/smb/192.168.1.5/Users

VDLinux#> ls: /dtv/usb/sda/smb/192.168.1.5/Users: No such file or directory

Change sda to your virtual disk :)
This will give you the list:

Code: Select all

ls /dtv/usb/
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
User avatar
brunogts77
Posts: 772
Joined: Sat Feb 18, 2012 8:34 pm

Re: Problems mounting Samba shares UE32F5300!

Post by brunogts77 »

My virtualusb is :

Code: Select all

VDLinux#> ls /dtv/usb/
sda     usblog
UE40JU6000 T-MST12DEUC_1119]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]

Post Reply

Return to “[F] Support”