Page 1 of 3

Re: Mounting cifs (windows) share on TV

Posted: Sat Oct 10, 2009 1:58 am
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

Re: Mounting cifs (windows) share on TV

Posted: Sat Oct 10, 2009 12:31 pm
by erdem_ua
It looks all good.
Thanks. :)

Re: Mounting cifs (windows) share on TV

Posted: Tue Oct 20, 2009 8:40 pm
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)

Re: Mounting cifs (windows) share on TV

Posted: Wed Oct 21, 2009 8:02 pm
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