LE40C550 not hacked - how to arrive at CIFS/SMB mounts

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

User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: LE40C550 not hacked - how to arrive at CIFS/SMB mounts

Post by juusso »

1. Yes.
2. Yes... if you have CIFS, compilled for your platform...
3. Yes.
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
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: LE40C550 not hacked - how to arrive at CIFS/SMB mounts

Post by juusso »

If you root your TV over Hotel mode, then you be able to run either Samygo All extensions or manually load required drivers.
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
dan67

Re: LE40C550 not hacked - how to arrive at CIFS/SMB mounts

Post by dan67 »

Hello,
after hack tv with USB hack, I want samba/cifs connect to server.
What must I do?

I have USB stick with run.sh.
I need cifs.ko (samygo ext. for my TV)
I put cifs.ko in root dir on USB? (or whole samygoext dir from zip?)
Create dir Media on USB (for mount)
Next I make modification of run.sh

Code: Select all

    #!/bin/sh
    #Load cifs.ko module
    insmod /mtd_rwarea/cifs.ko

    #Mount cifs shares (check if something is mounted already)
    if [ `mount | grep -c /dtv/usb/sda1/Media` == 0 ]; then
         mount -o user=user1,password=pw123 -t cifs //192.168.0.2/videos /dtv/usb/sda1/Media

After plugin USB stick, run.sh mount my NAS share.

Is this good?
I have only basic linux experience.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: LE40C550 not hacked - how to arrive at CIFS/SMB mounts

Post by juusso »

make some sleep after insmod (sleep 10) because your next command fails if module is not loaded.
Also notice the folder Media on USB stick must exist. Try next:

Code: Select all

#!/bin/sh
#Load cifs.ko module
insmod /mtd_rwarea/cifs.ko
sleep 10
        
#Mount cifs shares (check if something is mounted already)
if [ ! -d /dtv/usb/sda1/Media ]; then
mkdir /dtv/usb/sda1/Media
else
echo "mount dir exists!"
fi

if [ `mount | grep -c /dtv/usb/sda1/Media` == 0 ]; then
/bin/mount -o user=user1,password=pw123 -t cifs //192.168.0.2/videos /dtv/usb/sda1/Media
else
echo "already mounted"
fi
EDIT: Sure, your cifs.ko you have to copy to /mtd_rwarea/ as written in your script already.
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
dan67

Re: LE40C550 not hacked - how to arrive at CIFS/SMB mounts

Post by dan67 »

Ok, thank you.

and file "cifs.ko" copy to root dir of USB?
Another files from samygo extension is no needed?
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: LE40C550 not hacked - how to arrive at CIFS/SMB mounts

Post by juusso »

But the easiest way is just use SamyGO Extensions on USB script with vusb.init and samba.init enabled. All other scripts can be dissabled. Why do you put on pants over head?
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
dan67

Re: LE40C550 not hacked - how to arrive at CIFS/SMB mounts

Post by dan67 »

juuso wrote:But the easiest way is just use SamyGO Extensions on USB script with vusb.init and samba.init enabled. All other scripts can be dissabled. Why do you put on pants over head?
because rcSGO is toooo long and I not understands it.
insmod and mount is for me simple way.
:D

maybe later.

Post Reply

Return to “[C] Support”