Trying to set samba , get info from this post :
viewtopic.php?f=63&t=6778
My shares are on windows 7 pc
user for the shares is "
galaction" password is "
qwe" .
ip of the server is
192.168.12.234
i can get to the shares from any other linux , windows , android device .
but when i enter virtual usb from my tv , there is folder "
192.168.12.234" in it is folders called "
D G E" and folders are empty .
my smb_userdata is :
USER="galaction" #or your login name
PASSWD="qwe" #password
SERVER="192.168.12.234" #IP of your samba server
SHARES="D E G" #your network shares, divided with space
this is what i get from log :
+ . /dtv/SGO.env
+ SYSROOT=/mnt
+ MOUNT_PATH=/dtv/usb/sdc
+ export USER_FIRMWARE=MST14
+ export KMOD_VER=0134
+ export MOD_DIR=/mnt/lib/modules/3.8.13
+ export LD_LIBRARY_PATH=/mnt/usr/lib/:/tmp/bin:/dtv/bin:/lib
+ export MC_DATADIR=/mnt/mc
+ export TERMINFO=/mnt/etc/terminfo
+ export TERM=xterm-color
+ export TMPDIR=/dtv
+ export HOME=/mtd_rwcommon
+ export SMB_CONF_PATH=/mnt/etc/samba/smb.conf
+ LOGFILE=/mnt/samygo.log
+ LD_LIBRARY_PATH=/mnt/opt/privateer/lib:/mnt/opt/privateer/usr/lib:/mnt/lib:/mnt/usr/lib:/mnt/usr/lib/:/tmp/bin:/dtv/bin:/lib
+ PATH=/mnt/opt/privateer/sbin:/mnt/opt/privateer/bin:/mnt/opt/privateer/usr/bin:/mnt/opt/privateer/usr/sbin:/mnt/sbin:/mnt/bin:/mnt/usr/bin:/mnt/usr/sbin:/tmp/bin:/dtv/bin:/usr/sbin:/usr/bin:/bin:/sbin:/etc/Scripts:/util
+ export ENV=/dtv/.ashrc
+ export FRAMEBUFFER=/dev/sam/fb0
+ export DISTROOT=/mnt/opt/privateer
+ export LIBSO_DIR=/mnt/opt/privateer/usr/libso
+ export TERM=linux
+ export LS_OPTIONS=--color=auto
+ USER=Guest
+ PASSWD=
+ PERM=rw
+ DEST_DIR=/dtv/usb/sdc/smb
+ SERVER=
+ SHARES=
+ FR_NAME=Samba Server
+ M_OPTS=rw,uid=1010,gid=1010,user=Guest,password=,iocharset=utf8,noserverino
+ NO_PASSWORD_OPTS=rw,sec=ntlm,user=,uid=1010,gid=1010,password=,iocharset=utf8,noserverino
+ [ -e /mtd_rwarea/smb_userdata ]
+ source /mtd_rwarea/smb_userdata
+ USER=galaction
+ PASSWD=qwe
+ SERVER=192.168.12.234
+ SHARES=D E G
+ SERVERS=Don't set me!!
+ echo
+ echo +++++++++++++++++ SAMBA ++++++++++++++++
+ echo
+ insmod /mnt/lib/modules/3.8.13/kernel/fs/cifs/cifs.ko
insmod: can't insert '/mnt/lib/modules/3.8.13/kernel/fs/cifs/cifs.ko': File exists
+ dmesg
+ tail
+ sync
+ sleep 2
+ mkdir -p /dtv/usb/sdc/smb
+ get_servers
+ [ -z 192.168.12.234 ]
+ SERVERS=192.168.12.234
+ get_shares
+ [ -z D E G ]
+ echo -n Fixed Server:
Fixed Server: + echo 192.168.12.234
192.168.12.234
+ S_MOUNTS=D E G
+ [ -n D E G ]
+ do_mount 192.168.12.234
+ echo -n D
+ sed -e s/SGOspace/ /g
+ i=D
+ basename D
+ M_POINT=/dtv/usb/sdc/smb/192.168.12.234/D
+ mkdir -p /dtv/usb/sdc/smb/192.168.12.234/D
+ cat+ grep -c /dtv/usb/sdc/smb/192.168.12.234/D
/proc/mounts
+ [ 0 -lt 1 ]
+ echo Trying to mount WITH password!
Trying to mount WITH password!
+ /mnt/bin/busybox mount -o rw,uid=1010,gid=1010,user=Guest,password=,iocharset=utf8,noserverino -t cifs //192.168.12.234/D /dtv/usb/sdc/smb/192.168.12.234/D
mount: mounting //192.168.12.234/D on /dtv/usb/sdc/smb/192.168.12.234/D failed: Permission denied
+ cat /proc/mounts
+ grep -c /dtv/usb/sdc/smb/192.168.12.234/D
+ [ 0 -lt 1 ]
+ echo Trying to mount WITHOUT password!
Trying to mount WITHOUT password!
+ /mnt/bin/busybox2 mount -o rw,sec=ntlm,user=,uid=1010,gid=1010,password=,iocharset=utf8,noserverino -t cifs //192.168.12.234/D /dtv/usb/sdc/smb/192.168.12.234/D
mount: mounting //192.168.12.234/D on /dtv/usb/sdc/smb/192.168.12.234/D failed: Permission denied
+ echo -n+ sed -e s/SGOspace/ /g
E
+ i=E
+ basename E
+ M_POINT=/dtv/usb/sdc/smb/192.168.12.234/E
+ mkdir -p /dtv/usb/sdc/smb/192.168.12.234/E
+ cat /proc/mounts+ grep -c /dtv/usb/sdc/smb/192.168.12.234/E
+ [ 0 -lt 1 ]
+ echo Trying to mount WITH password!
Trying to mount WITH password!
+ /mnt/bin/busybox mount -o rw,uid=1010,gid=1010,user=Guest,password=,iocharset=utf8,noserverino -t cifs //192.168.12.234/E /dtv/usb/sdc/smb/192.168.12.234/E
mount: mounting //192.168.12.234/E on /dtv/usb/sdc/smb/192.168.12.234/E failed: Permission denied
+ cat /proc/mounts
+ grep -c /dtv/usb/sdc/smb/192.168.12.234/E
+ [ 0 -lt 1 ]
+ echo Trying to mount WITHOUT password!
Trying to mount WITHOUT password!
+ /mnt/bin/busybox2 mount -o rw,sec=ntlm,user=,uid=1010,gid=1010,password=,iocharset=utf8,noserverino -t cifs //192.168.12.234/E /dtv/usb/sdc/smb/192.168.12.234/E
mount: mounting //192.168.12.234/E on /dtv/usb/sdc/smb/192.168.12.234/E failed: Permission denied
+ echo+ sed -n G
-e s/SGOspace/ /g
+ i=G
+ basename G
+ M_POINT=/dtv/usb/sdc/smb/192.168.12.234/G
+ mkdir -p /dtv/usb/sdc/smb/192.168.12.234/G
+ cat /proc/mounts
+ grep -c /dtv/usb/sdc/smb/192.168.12.234/G
+ [ 0 -lt 1 ]
+ echo Trying to mount WITH password!
Trying to mount WITH password!
+ /mnt/bin/busybox mount -o rw,uid=1010,gid=1010,user=Guest,password=,iocharset=utf8,noserverino -t cifs //192.168.12.234/G /dtv/usb/sdc/smb/192.168.12.234/G
mount: mounting //192.168.12.234/G on /dtv/usb/sdc/smb/192.168.12.234/G failed: Permission denied
+ cat+ /proc/mounts
grep -c /dtv/usb/sdc/smb/192.168.12.234/G
+ [ 0 -lt 1 ]
+ echo Trying to mount WITHOUT password!
Trying to mount WITHOUT password!
+ /mnt/bin/busybox2 mount -o rw,sec=ntlm,user=,uid=1010,gid=1010,password=,iocharset=utf8,noserverino -t cifs //192.168.12.234/G /dtv/usb/sdc/smb/192.168.12.234/G
mount: mounting //192.168.12.234/G on /dtv/usb/sdc/smb/192.168.12.234/G failed: Permission denied
so from what i see is there it try to mount them with user Guest and no password instead galaction and qwe , why is that ?
if i turn off password protection sharing in windows they share properly but that is not working for me .
I edit :04_04_samba.init
##### CHANGE MEEEEE !!!!! ######
USER="galaction" #"CHANGE_MEEEEE" #user and password have to be st to SOMETHING

PASSWD="qwe" #"CHANGE_MEEEEE"
PERM="rw" # can be ro or rw
##### CHANGE MEEEEE END ######
and yet again get :
+ /mnt/bin/busybox mount -o rw,uid=1010,gid=1010,user=galaction,password=qwe,iocharset=utf8,noserverino -t cifs //192.168.12.234/G /dtv/usb/sdc/smb/192.168.12.234/G failed: Permission denied