Mounting cifs (windows) share on TV

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

User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Mounting cifs (windows) share on TV

Post by erdem_ua »

Hi Grajen,
Welcome to our project.
I changed your wiki rights as an editor.
You can make any changes you want.
I think It's better to fill this page out.
Regards,
Erdem
User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Mounting cifs (windows) share on TV

Post by erdem_ua »

It looks all good.
Thanks. :)
User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Mounting cifs (windows) share on TV

Post by erdem_ua »

twinsen01 wrote:Hello

Someone can tell me how to automatic mount at start up a cifs share (or nfs). If i launch form terminal, mount command is working fine... but if i include command in a start up script... it's not working.
Then TV is open, it doesn't load every tool it needs immediately.
You can create your script at rw area and can run it with '&' from rc.local script.
I advice you wait some seconds ( sleep 30 ) after loading cifs module and samba mount location.
Also you can look whats goes wrong form serial link (req exlink cable)
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Mounting cifs (windows) share on TV

Post by arris69 »

twinsen01 wrote:i strayed but with no success.

You cand find below my log from serial console then my tv is booting
...

and my scripts

Code: Select all

cat rc.local 
#!/bin/sh
sleep 20 # Allow USB-stick to settle
USB="/dtv/usb/sda1" # Your USB mount-point
if [ -f $USB/usb.sh ];then
        . $USB/usb.sh # USB-File detected. Source and run this instead
else
        . /mtd_rwarea/mtd_rwarea.sh&  # Source and run "normal startup script"
        . /mtd_rwarea/mo.sh&
fi
....

if i run mo.sh from console it's working very well.
hi,
can you pls. try to replace the dots to source.

Code: Select all

 . $USB/usb.sh
to

Code: Select all

 source $USB/usb.sh
for /mtd_rwarea/mtd_rwarea.sh and /mtd_rwarea/mo.sh too.

arris

Post Reply

Return to “[B] Firmware”