VU+ SOLO BH 2.X.X Cifs

Matrix10

Administrator
For info

I think it's a problem of the system you use
and not cifs in box image.
I use CIFS for years first with WIN XP and now with MYBookLive network HDD.
Works very well .
I do not have these problems.
 

verbal_666

Vu+ User
I think it's a problem of the system you use
and not cifs in box image.
With my Windows 7 cifs server (netbios), i always had this problem when i went from ABCOM IPBOX to VU+ stbs... whenever i disconnect W7 (standby, shutdown, network offline), Enigma2 goes crazy and i need to restart it. I can test it by a simple ls /media/net (telnet shell hangs, no reponse!) and also launching Mediaplayer (hangs with spinner rotating). With the little script i use no more problems like this.

ps. the same cif share, from a Linux machine or other Windows or devices (tablets, phones) is perfect. Only VU+ enigma2 stbs have this strange behaviour.......
 

Juan gaudiano

Vu+ Newbie
With my Windows 7 cifs server (netbios), i always had this problem when i went from ABCOM IPBOX to VU+ stbs... whenever i disconnect W7 (standby, shutdown, network offline), Enigma2 goes crazy and i need to restart it. I can test it by a simple ls /media/net (telnet shell hangs, no reponse!) and also launching Mediaplayer (hangs with spinner rotating). With the little script i use no more problems like this.

ps. the same cif share, from a Linux machine or other Windows or devices (tablets, phones) is perfect. Only VU+ enigma2 stbs have this strange behaviour.......

Hi verbal,

The script shoul be copied as it is, or the x should be replaced by 15?
 

verbal_666

Vu+ User
Can you please help me, i have copied all the info from your instructions but my decoder still hangs with the spinner rotating
Maybe you have another problem.
Post http://www.vuplus-community.net/board/threads/vu-solo-bh-2-x-x-cifs.12966/#post-154622 has all information, if you have my same problem with cif (not reprise from standby). You have to copy char per char in script / cron files.
Please describe where you cif resides (windows?linux?nas?) and WHEN problems comes out? Always? When you disconnect the cif server (windows/linux/nas) or break network signal?

If you did it all, you have this files,

root@vuzero:~# ls -l /usr/script/reprise_cifs.sh
-rwxr-xr-x 1 root root 255 Dec 26 15:50 /usr/script/reprise_cifs.sh

root@vuzero:~# ls -l /etc/bhcron/
-rw------- 1 root root 42 Dec 20 11:16 bh.cron
-rw------- 1 root root 42 Dec 20 11:16 root

root@vuzero:~# cat /etc/bhcron/*
*/15 * * * * /usr/script/reprise_cifs.sh
*/15 * * * * /usr/script/reprise_cifs.sh

Hoping you can solve.
 

Juan gaudiano

Vu+ Newbie
Maybe you have another problem.
Post http://www.vuplus-community.net/board/threads/vu-solo-bh-2-x-x-cifs.12966/#post-154622 has all information, if you have my same problem with cif (not reprise from standby). You have to copy char per char in script / cron files.
Please describe where you cif resides (windows?linux?nas?) and WHEN problems comes out? Always? When you disconnect the cif server (windows/linux/nas) or break network signal?

My cif resides in W7, problems comes if i start the mediaplayer in stb, after a while of being on. If start the mediaplayer just as the stb is turned on, there is no problem. If i start it after a while the disc keeps hanging eventhough the pc is on with the cifs.
 

verbal_666

Vu+ User
My cif resides in W7, problems comes if i start the mediaplayer in stb, after a while of being on. If start the mediaplayer just as the stb is turned on, there is no problem. If i start it after a while the disc keeps hanging eventhough the pc is on with the cifs.
Problem identical to mine. Follow the posts and you should resolve.
 

Juan gaudiano

Vu+ Newbie
Problem identical to mine. Follow the posts and you should resolve.

I currently have root@vusolo/usr/script/reprise_cifs.sh

#!/bin/sh
#DESCRIPTION=Reprise CIFS connection after X minutes from shell (by Verbal 2013)
#mylog=/hdd/log/${0##*/}.log
mylog=/dev/null
echo $(date) >>$mylog
time ls /media/net 1>>$mylog 2>>$mylog
echo ------------------------------------------- >>$mylog

And

ftp://root@vusolo/etc/bhcron

ftp://root@vusolo/etc/bhcron/bh.cron
*/15 * * * * /usr/scripts/reprise_cifs.sh
ftp://root@vusolo/etc/bhcron/root
*/15 * * * * /usr/scripts/reprise_cifs.sh

And it keeps hanging, I think I have everything as you indicated me
 

Juan gaudiano

Vu+ Newbie
I currently have root@vusolo/usr/script/reprise_cifs.sh

#!/bin/sh
#DESCRIPTION=Reprise CIFS connection after X minutes from shell (by Verbal 2013)
#mylog=/hdd/log/${0##*/}.log
mylog=/dev/null
echo $(date) >>$mylog
time ls /media/net 1>>$mylog 2>>$mylog
echo ------------------------------------------- >>$mylog

And

ftp://root@vusolo/etc/bhcron

ftp://root@vusolo/etc/bhcron/bh.cron
*/15 * * * * /usr/scripts/reprise_cifs.sh
ftp://root@vusolo/etc/bhcron/root
*/15 * * * * /usr/scripts/reprise_cifs.sh

And it keeps hanging, I think I have everything as you indicated me

Pehaps hdd should be changed in the script?
 

verbal_666

Vu+ User
I currently have root@vusolo/usr/script/reprise_cifs.sh
Is script eXecutable (rwx)? Do

ls -l /usr/script/reprise_cifs.sh
-rwxr-xr-x 1 root root 255 Dec 26 15:50 /usr/script/reprise_cifs.sh


And do a
chmod 755 /usr/script/reprise_cifs.sh

Now launch it and see if you have errors or not,
/usr/script/reprise_cifs.sh

You should return to shell prompt without errors.


ftp://root@vusolo/etc/bhcron/bh.cron
*/15 * * * * /usr/scripts/reprise_cifs.sh
ftp://root@vusolo/etc/bhcron/root
*/15 * * * * /usr/scripts/reprise_cifs.sh
/usr/scripts is wrong.
/usr/script is right.
 

Juan gaudiano

Vu+ Newbie
Is script eXecutable (rwx)? Do

ls -l /usr/script/reprise_cifs.sh
-rwxr-xr-x 1 root root 255 Dec 26 15:50 /usr/script/reprise_cifs.sh


And do a
chmod 755 /usr/script/reprise_cifs.sh

Now launch it and see if you have errors or not,
/usr/script/reprise_cifs.sh

You should return to shell prompt without errors.



/usr/scripts is wrong.
/usr/script is right.


Thank you very much verbal for your time and patience, I think is finally working properly.
 

Juan gaudiano

Vu+ Newbie
Very well!!!!!!!!! Hoping you have solved the problem.. as i did for me ;-)
Hi verbal
I'm having the same problem again don' t know what else to do, i even reinstalled bh An did the same scripts but is not working. Can you help me please?

I will really appreciate it

Does bhcron files need to be 755?
 
Top