To do this is easy, no problem , the problem is because my tv are showing me all shared folders, because this I have a big delay.
by default script mount a share folder in /dtv/usb/sdj
To do this is easy, no problem , the problem is because my tv are showing me all shared folders, because this I have a big delay.
this is the problem! all folders are there, the big problem is PS3 folder.
Code: Select all
root@tv:/dtv/usb/sdj/midias/192.168.1.2 # ls -l
total 0
drwxrwxrwx 1 root 0 0 May 11 2016 torrent
drwxrwxrwx 3 root 0 0 Nov 28 2016 PS3
drwxrwxrwx 1 root 0 0 Feb 10 2017 midias
no, in root folder 192.168.1.2/PS3 or 192.168.1.2/torrent or 192.168.1.2/midias are in total 3 folders. movies are on 192.168.1.2/torrent/movies
Code: Select all
[global]
wins support = no
unix charset = UTF-8
dos charset = UTF-8
display charset = UTF-8
security = share
# set workgroup, own share etc...
include = /mtd_rwarea/smb.conf
workgroup = Workgroup
netbios name = samsung
server string = Leandro
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
guest account = root
guest ok = yes
guest only = yes
null passwords = yes
smb passwd file = /dtv/pp
[Samsung TV]
comment = USB Drives on TV
path = /dtv/usb
public = yes
writable = yes
Code: Select all
mkdir /dtv/usb/sdj/movies
/bin/busybox mount -o user=guest,password=none -t cifs //192.168.1.2/movies /dtv/usb/sdj/movies
perfect.. worked!!! but where can I change in script to do this automatic?juusso wrote: ↑Sat Feb 18, 2017 7:52 pm Perhaps solution of your problem is easy by modifying existing script, but to get rid of testing and reporting tons of logs, you can try this:
1. Create /torrents/movies as single samba share "movies" on server`s GUI, be sure your new share is accessible as \\192.168.1.2\movies
2. Then try this from TV`s console:Code: Select all
mkdir /dtv/usb/sdj/movies /bin/busybox mount -o user=guest,password=none -t cifs //192.168.1.2/movies /dtv/usb/sdj/movies