Mounting specific/known CIFS shares on C Series

Support for C series TVs that all user could ask. Please do not ask a questions at other forums.
Post Reply

zdzi
Posts: 46
Joined: Sat Aug 06, 2011 3:18 pm

Mounting specific/known CIFS shares on C Series

Post by zdzi »

Hi everyone,

I hope there is someone here who can help.

I have just used the Internet@TV hack on my C Series LE40650 Samsung TV.
I have enabled Samba share searching by editing the samba init file.
When I go to media player I get both upnp and smb folders in the SamGo Virt. USB.
The time to get the Samba folder and then the shares is another thing!

However I have 2 devices on my network that do not broadcast their shares, or at least the Samsung TV doesn't find them - although it can find my laptop share fine.
The devices are a PlayON HD ( //IPAddress/hdd1) and a normal NAS (//IPAddress/volume_1)

How and where (because I guess the samba stuff needs initialising first?) can I get these shares to be added so that the Samsung can see them.
Preferably also keeping the laptop share.

I'm no unix guy but if the instructions are clear then I can usually follow.

In case more info is needed then happy to provide it.

Thanks in advance
zdzi
Posts: 46
Joined: Sat Aug 06, 2011 3:18 pm

Re: Mounting specific/known CIFS shares on C Series

Post by zdzi »

ok so I have SSHed and I can manual mount all the shares to directories on the attached USB drive (dtv/usb/sda).
I saw another post and added the mount commands to the run.sh including sleep 120.
But this did not work.
I guess I will need to add more time -> trial and error.
This solution will be better since the attached USB is first in the mediaplayer devices and is the default device.

Still, this doesn't solve the original problem of having the shares in the smb directory of the SamyGo virtual USB.
And if possible I'd like to know if and how to do that.

PS. instead of some sleep statement is there no way to check for something that would allow the mount commands to succeed?
zdzi
Posts: 46
Joined: Sat Aug 06, 2011 3:18 pm

Re: Mounting specific/known CIFS shares on C Series

Post by zdzi »

ok so sleep 300 was perfect.

All that remains is the original problem though the end result has been got.

Still, this doesn't solve the original problem of having the shares in the smb directory of the SamyGo virtual USB.
And if possible I'd like to know if and how to do that.
zdzi
Posts: 46
Joined: Sat Aug 06, 2011 3:18 pm

Re: Mounting specific/known CIFS shares on C Series

Post by zdzi »

66 views and no answer/help?
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Mounting specific/known CIFS shares on C Series

Post by juusso »

Yah, i sad about that too :x
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
User avatar
fluffi444
SamyGO Project Donor
Posts: 569
Joined: Fri Apr 05, 2013 9:55 pm
Location: Germany

Re: Mounting specific/known CIFS shares on C Series

Post by fluffi444 »

I know this is an very old topic but it helped me to find a solution to mount the PLAYON HD shares to Virual USB:

Solution is here:
viewtopic.php?f=53&t=5817&start=40#p42393
TV: UE40ES7000 @ UE40ES8090 - T-ECPDEUC-2022.0 // SamyGO
CI+: Unicam EVO 4 with HD+ (HD02) @ Pacific 4.60
NET: Samba: PC
zdzi
Posts: 46
Joined: Sat Aug 06, 2011 3:18 pm

Re: Mounting specific/known CIFS shares on C Series

Post by zdzi »

hah! Problems with my E series and working through solutions made me revisit this one.

First, manually mounting via ssh worked also for Playon without any smb.conf changes (maybe it's there but I didn't put it if it is).
2nd, the playon is not being used but is attached to a guest series A Samsung TV in case it ever needs to be used as a samba client serving to the TV.

So I figured out how to get specific shares mounting - put specific mount commands in the 'case start' section of samba.init does the trick well enough.
Don't even need get shares, get server. Just insmod cifs.ko, mkdir, and mount. This also allows any combination of usernames and password for a variety of shares, not that every share must have the same username/pass combination.
This is so easy and must be obvious to experienced people but there were no answers posted. Not sure why this is not mentioned in any posts as suggestions. Must be a reason I guess, just not apparent to me. Oh well...

Now the C series original problem is solved time to look back at the E series :)
User avatar
beatfreak
SamyGO Project Donor
Posts: 597
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

Re: Mounting specific/known CIFS shares on C Series

Post by beatfreak »

in ...samba....init script you only have to set the
USER
PASSWD
SERVER
SHARES
variables before do_mount() section begins, better do it this was as there is more error and timing handling...
otherwise its like as if you bring your car to a car painter and then you take a brush and paint you car by self...
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS // >> decommissioned due to tuner death
//UE46F8090 @ T-FXPDEUC 1136 // rooted by new Widget // root starting with empty usb drive
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.
zdzi
Posts: 46
Joined: Sat Aug 06, 2011 3:18 pm

Re: Mounting specific/known CIFS shares on C Series

Post by zdzi »

Well if I have only 1 or 2 shares then it's actually like doing a minor repair paint job and not needing the full garage service. And this way I can control that it does exactly what I want.

But sure, if people have many servers, shares, that change regularly let them use the script to find them automatically.

Post Reply

Return to “[C] Support”