View Full Version : MultiCAS & cccam server auto-login
Every time when I reboot box MultiCAS never login into server. Azbox HD 3501 & latest MultiCAS 1.60. I need go to Plugins every time and start it manually. After some time when server connection lost it goes all the same way and it's annoying a lot!!!! What can I do about this?
just noticed that when TCP connection to server is lost twice and is in the CLOSE_WAIT state MultiCAS wont open another connection. Hope this helps.
BTW... Is MultiCAS open source?
colla
08-10-2009, 10:08 PM
Nothing developed by "opensat" ist open source
Every time when I reboot box MultiCAS never login into server. Azbox HD 3501 & latest MultiCAS 1.60. I need go to Plugins every time and start it manually. After some time when server connection lost it goes all the same way and it's annoying a lot!!!! What can I do about this?
I have also the same problem.
In my case, it works if I switch to an fta channel and go back.
It is really annoying.
icedemon
09-10-2009, 04:52 PM
haha I have this problem too, means it can become impossible to record unattended.
I 've found a solution for this problem. At least it logins to the server itself now.
you have to edit /EMU/OpenXCAS/MultiCAS/openxcas.conf and add the line
wait =10sec
It seems that box was trying to start MultiCAS even before the ip interface was up.
also I'm trying to run this script that checking if Multicas running and connected to server. And if not it restarts it.. Running from cron
#!/bin/sh
PATH=/bin:/usr/bin
#12000 is your server port
date=`date`
IFRUN=`cat /EMU/OpenXCAS/module.seq | grep -i ^MultiCAS | wc -l `
if [ "$IFRUN" -eq 0 ]
then
ps | grep '\/EMU\/OpenXCAS\/MultiCAS\/emu_module' | grep -v grep | awk '{print $1}' | xargs kill -9
echo "Module is OFF"
exit
fi
CONN=`netstat -an | grep '12000.*ESTABLISHED' | wc -l`
if [ "$CONN" -eq 0 ]
then
ps | grep '\/EMU\/OpenXCAS\/MultiCAS\/emu_module' | grep -v grep | awk '{print $1}' | xargs kill -9
/EMU/OpenXCAS/MultiCAS/emu_module &
fi
also I'm trying to run this script that checking if Multicas running and connected to server. And if not it restarts it.. Running from cron
#!/bin/sh
PATH=/bin:/usr/bin
#12000 is your server port
CONN=`netstat -an | grep '12000.*ESTABLISHED' | wc -l`
if [ "$CONN" -eq 0 ]
then
ps | grep '\/EMU\/OpenXCAS\/MultiCAS\/emu_module' | grep -v grep | awk '{print $1}' | xargs kill -9
/EMU/OpenXCAS/MultiCAS/emu_module &
fi
Hi tx0, thank you very much for your hints.
Is this script now running in this form?
How can we add this to the box?
Thanks
rmt
Hi tx0, thank you very much for your hints.
Is this script now running in this form?
How can we add this to the box?
Thanks
rmt
you can install cron daemon and start it from there. actually it's an ugly hack.. but it works for me. will see how it's good or not.
MultiCAS-v1.60C-3 has still the same problem that it doesnt start automatically if I swich the device off for one day.
Today It showed the "scrambled" message and I had to restart MultiCAM over Plugins.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.