Page 1 of 2
Re: LE40C550 not hacked - how to arrive at CIFS/SMB mounts
Posted: Thu Sep 01, 2011 2:25 pm
by juusso
1. Yes.
2. Yes... if you have CIFS, compilled for your platform...
3. Yes.
Re: LE40C550 not hacked - how to arrive at CIFS/SMB mounts
Posted: Thu Sep 01, 2011 3:23 pm
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.
Re: LE40C550 not hacked - how to arrive at CIFS/SMB mounts
Posted: Mon Apr 02, 2012 1:55 pm
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.
Re: LE40C550 not hacked - how to arrive at CIFS/SMB mounts
Posted: Mon Apr 02, 2012 2:36 pm
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.
Re: LE40C550 not hacked - how to arrive at CIFS/SMB mounts
Posted: Mon Apr 02, 2012 2:43 pm
by dan67
Ok, thank you.
and file "cifs.ko" copy to root dir of USB?
Another files from samygo extension is no needed?
Re: LE40C550 not hacked - how to arrive at CIFS/SMB mounts
Posted: Mon Apr 02, 2012 2:46 pm
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?
Re: LE40C550 not hacked - how to arrive at CIFS/SMB mounts
Posted: Mon Apr 02, 2012 3:00 pm
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.
maybe later.