Page 6 of 10
Re: Problems mounting Samba shares UE32F5300!
Posted: Thu May 01, 2014 12:02 pm
by zoelechat
No news? I suppose problem is solved
Just had a look at F series samba script, something seems strange and I wonder if problem of shares not being mounted on startup couldn't be here:
Code: Select all
#M_POINT="$DEST_DIR/$1/$(echo -n $i | sed -e "s/\//_/g")" #disabled by levi
M_POINT="$DEST_DIR/$1/$(basename $i)" #enabled by levi
If I compare to E behavior, "basename" command can't be used as such on startup as it is not pure bash, it should be called at least with busybox for it to work.
When script is launched via webif, busybox is loaded so it could explain why it works at this point.
I wonder why this part of script has been modified, it wasn't needed to...
Re: Problems mounting Samba shares UE32F5300!
Posted: Thu May 01, 2014 6:23 pm
by brunogts77
zoelechat wrote:No news? I suppose problem is solved
Just had a look at F series samba script, something seems strange and I wonder if problem of shares not being mounted on startup couldn't be here:
Code: Select all
#M_POINT="$DEST_DIR/$1/$(echo -n $i | sed -e "s/\//_/g")" #disabled by levi
M_POINT="$DEST_DIR/$1/$(basename $i)" #enabled by levi
If I compare to E behavior, "basename" command can't be used as such on startup as it is not pure bash, it should be called at least with busybox for it to work.
When script is launched via webif, busybox is loaded so it could explain why it works at this point.
I wonder why this part of script has been modified, it wasn't needed to...
Hi. The problem it?s not solved.

Re: Problems mounting Samba shares UE32F5300!
Posted: Thu May 01, 2014 6:27 pm
by zoelechat
What's the state of things now? You can access your shares, but only if you launch script via webif, that's it?
Re: Problems mounting Samba shares UE32F5300!
Posted: Thu May 01, 2014 6:32 pm
by brunogts77
zoelechat wrote:What's the state of things now? You can access your shares, but only if you launch script via webif, that's it?
Just like that.

Re: Problems mounting Samba shares UE32F5300!
Posted: Thu May 01, 2014 6:40 pm
by zoelechat
Ok so you can try that:
Find the 2 lines I've pasted above in samba script, uncomment the first line (remove leading #), and comment the 2nd one (add leading #). Like this:
Code: Select all
M_POINT="$DEST_DIR/$1/$(echo -n $i | sed -e "s/\//_/g")" #disabled by levi
#M_POINT="$DEST_DIR/$1/$(basename $i)" #enabled by levi
(then overwrite script through FTP and reboot TV, of course

)
Re: Problems mounting Samba shares UE32F5300!
Posted: Thu May 01, 2014 6:56 pm
by brunogts77
Ok, but nothing!
Re: Problems mounting Samba shares UE32F5300!
Posted: Thu May 01, 2014 6:59 pm
by zoelechat
Sh*t
Before launching script through webif, could you give output of (if there's any):
Re: Problems mounting Samba shares UE32F5300!
Posted: Thu May 01, 2014 7:05 pm
by brunogts77
Ok To give you the output, what command? Sorry my ignorance!
Re: Problems mounting Samba shares UE32F5300!
Posted: Thu May 01, 2014 7:06 pm
by sectroyer
this command:

Re: Problems mounting Samba shares UE32F5300!
Posted: Thu May 01, 2014 7:08 pm
by zoelechat
Copy/paste whole line if you're not sure

edit: through Telnet, of course!