NFS on LE32b651t3wxxu

Here is information about customize your B series firmware..:!:This forum is NOT FOR USER questions or problems but DEVELOPER.
Post Reply

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

Re: NFS on LE32b651t3wxxu

Post by juusso »

unclebob wrote: The wiki asks me to create the SamyGO.sh file, which have done, but im thinking i need to put something where it says:
#Your lines here!
So the question is, what do i put in to get my NFS share visible or what else do i put in here???
You have to create mount.sh:

Code: Select all

vi /mtd_rwarea/mount.sh
Here is an example NFS mounts file i use:

Code: Select all

#!/bin/sh

#====================================================================
# connection data
#====================================================================

NFS="/dtv/usb/sda1"
IP="192.168.1.200:/mnt/disk1"
SHARE1="Cinema"
SHARE2="Downloads"
SHARE3="Music"
SHARE4="Photo"

#====================================================================
# append sda1 notification to log file:
#====================================================================
echo "[sda1]
Vendor : NfsMount
Product : File-Stor Gadget
Serial : Q80VQLFH
Devpath : 8
Lun : 0
MountDir : /dtv/usb/sda1
FileSystem : vfat
" >> /dtv/usb/log
#====================================================================
#Create Folder for VUSB-Mountpoints
#====================================================================
if [ `mount | grep -c $NFS` == 0 ]; then
     mkdir -p $NFS
fi
#====================================================================
# Mounting the shares
#====================================================================
if [ `mount | grep -c $NFS/$SHARE1` == 0 ]; then
    echo "Mounting NFS Shares"
    mkdir -p $NFS/$SHARE1
    mount -o nolock $IP/$SHARE1 $NFS/$SHARE1 -t nfs
else
   echo "NFS Shares already Mounted"
fi

if [ `mount | grep -c $NFS/$SHARE2` == 0 ]; then
    echo "Mounting NFS Shares"
    mkdir -p $NFS/$SHARE2
    mount -o nolock $IP/$SHARE2 $NFS/$SHARE2 -t nfs
else
    echo "NFS Shares already Mounted"
fi

if [ `mount | grep -c $NFS/$SHARE3` == 0 ]; then
    echo "Mounting NFS Shares"
    mkdir -p $NFS/$SHARE3
    mount -o nolock $IP/$SHARE3 $NFS/$SHARE3 -t nfs
else
    echo "NFS Shares already Mounted"
fi

if [ `mount | grep -c $NFS/$SHARE4` == 0 ]; then
    echo "Mounting NFS Shares"
    mkdir -p $NFS/$SHARE4
    mount -o nolock $IP/$SHARE4 $NFS/$SHARE4 -t nfs
else
    echo "NFS Shares already Mounted"
fi

exit
Set permissions:

Code: Select all

chmod 755 /mtd_rwarea/mount.sh
and write the path to this file after #Your lines here!.
E.g

Code: Select all

#Your lines here!
/mtd_rwarea/mount.sh&
For CIFS mounts you can use example from wiki, or here is my script:

Code: Select all

#!/bin/sh

# Enable CIFS sharing
insmod /mtd_rwarea/modules/cifs.ko
sleep 10

#====================================================================
# connection data
#====================================================================
CIFS="/dtv/usb/sda1"
IP="//192.168.1.200"
USER="YOUR WINDOWS USERNAME"
PASSWORD="YOUR WINDOWS PASSOWRD"
SHARE1="Cinema"
SHARE2="Downloads"
SHARE3="Music"
SHARE4="Photo"

#====================================================================
# append sda1 notification to log file:
#====================================================================
echo "[sda1]
Vendor : NfsMount
Product : File-Stor Gadget
Serial : Q80VQLFH
Devpath : 8
Lun : 0
MountDir : /dtv/usb/sda1
FileSystem : vfat
" >> /dtv/usb/log
   
#====================================================================
#Create Folder for VUSB-Mountpoints
#====================================================================
      if [ `mount | grep -c $CIFS` == 0 ]; then
        mkdir -p $CIFS
      fi
   
#====================================================================
# Mounting the shares
#====================================================================
      if [ `mount | grep -c $CIFS/$SHARE1` == 0 ]; then
        echo "Mounting Windows Shares"
       mkdir -p $CIFS/$SHARE1
        mount -o user=$USER,password=$PASSWORD -t cifs $IP/$SHARE1 $CIFS/$SHARE1      
       else
       echo "Windows Shares already Mounted"
      fi

      if [ `mount | grep -c $CIFS/$SHARE2` == 0 ]; then
        echo "Mounting Windows Shares"
       mkdir -p $CIFS/$SHARE2
        mount -o user=$USER,password=$PASSWORD -t cifs $IP/$SHARE2 $CIFS/$SHARE2      
       else
       echo "Windows Shares already Mounted"
      fi
   
      if [ `mount | grep -c $CIFS/$SHARE3` == 0 ]; then
        echo "Mounting Windows Shares"
       mkdir -p $CIFS/$SHARE3
        mount -o user=$USER,password=$PASSWORD -t cifs $IP/$SHARE3 $CIFS/$SHARE3      
       else
       echo "Windows Shares already Mounted"
      fi   
   
      if [ `mount | grep -c $CIFS/$SHARE4` == 0 ]; then
        echo "Mounting Windows Shares"
       mkdir -p $CIFS/$SHARE4
        mount -o user=$USER,password=$PASSWORD -t cifs $IP/$SHARE4 $CIFS/$SHARE4      
       else
       echo "Windows Shares already Mounted"
      fi   
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: NFS on LE32b651t3wxxu

Post by juusso »

You don`t have to use windows notepad/wordpad/winwork for editing scripts. This is the reason why your SamyGO.sh isn`t executed also. You can leave sda1 as is.
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: NFS on LE32b651t3wxxu

Post by juusso »

Yes, I have virtual
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
rinaldinicri
Posts: 27
Joined: Tue Oct 04, 2011 12:12 am

Re: NFS on LE32b651t3wxxu

Post by rinaldinicri »

Same problem here.
I can't get media player to see Virtual Mount.
I need to have a memory stick plugged in.
(LE40B650T2P with T-CHL7DUEC2006.0 patched)

Any way to do it?
Thanks
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: NFS on LE32b651t3wxxu

Post by juusso »

Why don't you use Samygo all Extensions?


Rinaldi, your fw is T-CHLCIPDEUC ...
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
rinaldinicri
Posts: 27
Joined: Tue Oct 04, 2011 12:12 am

Re: NFS on LE32b651t3wxxu

Post by rinaldinicri »

Yes, sorry my fw is T-CHLCIPDEUC ...

I wasn't aware of Samygo all Extensions!
I just followed the wiki for B series...>> fw patch with advanced mode + SamyGo.sh and mount.sh adaptation to get telnetd and NFS on virtual USB.

If I try now to follow this way is there some problem related the already patched fw?

Thanks

Post Reply

Return to “[B] Firmware”