Page 6 of 44

Re: [Testing] Update2: E series widget -autostart w/o USB

Posted: Tue Apr 16, 2013 8:12 pm
by juusso
Remove widget from smarthub or delete it trough ftp (/mtd_rwcommon/widgets/user/SamyGO). That`s all.

Re: [Testing] Update2: E series widget -autostart w/o USB

Posted: Tue Apr 16, 2013 8:22 pm
by riodoro
hi juuso,

thanks for the hint with 03_03_djmount.init.
I'll give it a try.

You say, that samba client ist enabled by default.
Hmmm, my samba shares do not appear.

This is the part of the samba.conf of my dreambox:

[dm800]
comment = My Share
path = /mnt/hdd/movie
read only = yes
public = yes
guest ok = yes

But again, in my case it is not necessary. :D

Thank you for your great work.

Re: [Testing] Update2: E series widget -autostart w/o USB

Posted: Tue Apr 16, 2013 8:25 pm
by juusso
To get samba shares working, you need to have file /mtd_rwarea/smb_userdata. if file don`t exists, script exits.

Code: Select all

USER="your username"
PASSWD="your password"
Place this file trough ftp...

p.s. here is no special wiki page for E series, but you can inform you self on D series wiki or here - Components, Design and Structure.
Principles are same, may differ from series to series because of limitations and restrictions made by samsung.

p.p.s all enabled scripts are with ending .init and all disabled scripts are with ending .dis

Re: [Testing] Update2: E series widget -autostart w/o USB

Posted: Tue Apr 16, 2013 9:35 pm
by zeddan81
Hi.

I have tested on UE40ES5505 T-MST10PDEUC-1032.0. and its works.
but after restart root access being disabled.


EDIT: Rootaccess works. but i cant get sambashare works... :?
//Jimmy

Re: [Testing] Update2: E series widget -autostart w/o USB

Posted: Wed Apr 17, 2013 1:46 am
by vuhothang
juuso wrote: riodoro
Please disable trough ftp 03_03_djmount.init (rename to 03_03_djmount.init.dis) - this is upnp client and not needed if you use samba or nfs.
miazza wrote:at the end I cannot understand why the SMB is not enabled by default in Samygo...miazza
samba client is enabled by default as NFS client as well. And moreover, samba-server is enabled on TV too.

Hi juuso!

I will disable 03_03_djmount.init (rename 03_03_djmount.init via ftp), but if i have 2 or more NAS (i have plant to buy 2 NAS) the Samygo usb virtual will auto found these NAS or i much config IP SERVER SAMBA?

Thanks you Expansion, i need it very much!

Re: [Testing] Update2: E series widget -autostart w/o USB

Posted: Wed Apr 17, 2013 9:39 am
by Hoffy
Well done Riodoro.

I managed to get ftp access to my tv and found the file you specified. I found the spot and edited it to be the same as yours (changed to my environment).

Still, my Dreambox shares don't show up.

I've tried reading all the relative posts I can find and following the instructions but still no luck.

I have Skype installed, but the /mtd_rwcommon/moip/engines/Skype/ directory didn't exist. I created it, and placed the 2 downloaded files into it. That has now made the SamyGO widget auto start now.

I have disabled Watchdog and set the RS232 to debug.

I created the file /mtd_rwarea/smb_userdata.

The virtual drive is in my sources list, but there are no files found.

I am going to leave it on that page for a while and see if it populates.

Is there anything I have missed?

Cheers.

Re: [Testing] Update2: E series widget -autostart w/o USB

Posted: Wed Apr 17, 2013 11:18 am
by zoelechat
Is it possible to manually enumerate several fixed servers in 04_04_samba.init, instead of only one? (automatic search doesn't always work)

edit: ok, I didn't find how to separate IPs so I modified the code to execute getshares() as many times as i needed with different $SERVERS values ;)

Re: [Testing] Update2: E series widget -autostart w/o USB

Posted: Wed Apr 17, 2013 6:03 pm
by riodoro
@Hoffy: Dont want to hijack this thread.

Take a look here:
viewtopic.php?f=50&t=5807&p=41560#p41560

Re: [Testing] Update2: E series widget -autostart w/o USB

Posted: Wed Apr 17, 2013 6:13 pm
by juusso
zoelechat wrote:Is it possible to manually enumerate several fixed servers in 04_04_samba.init, instead of only one? (automatic search doesn't always work)
edit: ok, I didn't find how to separate IPs so I modified the code to execute getshares() as many times as i needed with different $SERVERS values ;)
Could you please share script with us? Maybe in separate thread (if many changes) or so? :)

Re: [Testing] Update2: E series widget -autostart w/o USB

Posted: Wed Apr 17, 2013 9:48 pm
by zoelechat
juuso wrote:Could you please share script with us? Maybe in separate thread (if many changes) or so? :)
When you get Samba share to work, which can be very VERY difficult, you have to edit 04_04_samba.init script. Here is an example for 3 different fixed servers:

At the beginning of the script, declare 2 more servers, eg.

Code: Select all

SERVER="192.168.0.10"
SERVER2="192.168.0.11"
SERVER3="192.168.0.12"
Near the end, find the lines

Code: Select all

      get_servers
      get_shares
and replace them by

Code: Select all

      # get_servers
      SERVERS=$SERVER
      get_shares
      SERVERS=$SERVER2
      get_shares
      SERVERS=$SERVER3     #repeat these 2 lines how many times you want
      get_shares           #server4, server5....
I know that's not clean code but that works! Maybe we could do a loop or something with N servers but it's hard with no debug as I'm not really used to script syntax and programming was a long time ago for me... :D