If you, like I, suffer from inexplicable hiccups or even freezes using CCcam 2.2.1. and CCcam 2.3.0. crashes immediately connecting to the CCcam server, try OScam.
Perhaps you tried the OScam client in the past but you discarded it because it didn't start decoding the channel you wanted to record, like I did. You may want to try this workaround for oscam-1.20-unstable_svn-r0 (svn8631). I use it on an AZBox Elite HD.
The idea is to restart OScam when the recording starts. You do this by checking /etc/enigma2/timers.xml every minute.
Therefore you create a script /home/root/bin/kickoscam with this content:
#!/bin/sh
LOG=/tmp/kickoscam.log
if grep "<timer begin=\"$(date +%s | cut -c-9).* disabled=\"0\" " /etc/enigma2/timers.xml >> $LOG; then
date >> $LOG
date +%s >> $LOG
if ls -l /etc/init.d/softcam | grep softcam.oscam > /dev/null; then
echo "timer starting. restart oscam..." >> $LOG
/etc/init.d/softcam restart >> $LOG 2>&1
else
echo "timer starting. softcam is not oscam. skip..." >> $LOG
fi
echo >> $LOG
fi
To execute this script every minute you create /etc/cron/root with:
* * * * * /home/root/bin/kickoscam
and a startup script /etc/init.d/cron with:
#!/bin/sh
case "$1" in
start)
crond -c /var/spool/cron
;;
stop)
kill $(cat /var/run/crond.pid)
rm /var/run/crond.pid
;;
restart|reload)
$0 stop
sleep 1
$0 start
;;
*)
echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0
Give it the right permissions with chmod 755 /etc/init.d/cron and create these links in rc?.d:
rc0.d/K50cron rc2.d/S50cron rc4.d/S50cron rc6.d/K50cron
rc1.d/K50cron rc3.d/S50cron rc5.d/S50cron
Reboot and enjoy. In /tmp/kickoscam.log timestamps of when OScam was kicked. Also the responsible timer will appear.
#1
Posted 23 November 2015 - 17:24
AZBox Elite HD - 1TB USB HDD - OpenRSI3.0
4 port DiSEqC switch: 19.2E - 23.5E - 28.2E
Re: Workaround OScam #2
Posted 24 November 2015 - 08:06
Sorry if I'm wrong and you have a special case, but it seems to me that if you all this time that you spend to create such a workaround would have spent to study oscam settings, then you would be able to configure oscam correctly, and any oscam restart you do not need.
Edited by Taapat, 24 November 2015 - 08:07.
Re: Workaround OScam #3
Posted 24 November 2015 - 10:59
Azbox is not supported by OpenPLi and OScam is working fine once properly configured on a good STB. Moreover you a refering to a very old version of OScam please use an up-to-date one.
NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.
Wanna help with OpenPLi Translation? Please read our Wiki Information for translators
Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)
AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
Re: Workaround OScam #4
Posted 24 November 2015 - 18:19
@Taapat: I did study the settings, I tried them all, nothing worked. Most probably because of the old version of OScam. See below.
@Pr2: There is a version of OpenPli3.0 for AZBox called OpenRSI. As development has been frozen users can't update OScam to a more recent version. For them this workaround may be interesting.
AZBox is definitely not perfect but I never had to replace anything in its hardware. I read about caps in the power supply of the ET-9000?!
AZBox is now obsolete. That's why this workaround may be valuable to die hard users.
AZBox Elite HD - 1TB USB HDD - OpenRSI3.0
4 port DiSEqC switch: 19.2E - 23.5E - 28.2E
Re: Workaround OScam #5
Posted 24 November 2015 - 18:55
That is not an OpenPLi image, it is based on OpenPLi as far as I know.
I think latest oscam is avaiable for that box
DVBS Tuner (satfinder only) || GI Avatar 2 2xDVBS2 (spark162_SH4) ||Vu+ Zero || Vu+ Duo2 4xDVBS2 1TB HD || OpenATV 6.0
0,6m+(0.8m)+0,9m+1,2m Multi feed @13ºE, 19.2ºE, 28.3ºE, 30W
Samsung 32" HDTV || 2.1 Trust Tytan
Win 10 x64 || FX8350 || 8GB RAM || MSI Gaming GTX970 || ASUS VP278H 27" || Trust Tytan 2.1 || Logitech G29
Raspberry PI 3 Model B || Samsung S22c300 21.5"
TPLINK WR1043NDv2 running LEDE || OpenVPN >=< LAN|| Lt26i Custom Android
Re: Workaround OScam #6
Posted 24 November 2015 - 19:05
LOL because the feed is down you cannot update OScam.
Start reading a little bit around and you will learn how to manually update your OScam version. It is not complicated.
NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.
Wanna help with OpenPLi Translation? Please read our Wiki Information for translators
Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)
AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
Re: Workaround OScam #7
Posted 24 November 2015 - 19:16
One would expect the files for mips-azbox in http://download.osca...tory=1.20_TRUNK
to work, but they don't.
AZBox Elite HD - 1TB USB HDD - OpenRSI3.0
4 port DiSEqC switch: 19.2E - 23.5E - 28.2E
Re: Workaround OScam #8
Posted 24 November 2015 - 20:11
Why?
You should extract oscam from those gz archives, and replace the old oscam file with that one.
You need to stop oscam > locate oscam in box > Filezilla FTP (binary transfer) > send - replace file> start oscam on stb
That's close to what I do to update oscam on my stbs.
DVBS Tuner (satfinder only) || GI Avatar 2 2xDVBS2 (spark162_SH4) ||Vu+ Zero || Vu+ Duo2 4xDVBS2 1TB HD || OpenATV 6.0
0,6m+(0.8m)+0,9m+1,2m Multi feed @13ºE, 19.2ºE, 28.3ºE, 30W
Samsung 32" HDTV || 2.1 Trust Tytan
Win 10 x64 || FX8350 || 8GB RAM || MSI Gaming GTX970 || ASUS VP278H 27" || Trust Tytan 2.1 || Logitech G29
Raspberry PI 3 Model B || Samsung S22c300 21.5"
TPLINK WR1043NDv2 running LEDE || OpenVPN >=< LAN|| Lt26i Custom Android
Re: Workaround OScam #9
Posted 24 November 2015 - 21:24
I transfer the file by scp, that shouldn't make any difference. But then:
root@azbox:/var/volatile/tmp# ./oscam
-sh: ./oscam: not found
I checked the file types using the linux file command (version 5.09).
Not working oscam svn11172:
file oscam
oscam: ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked (uses shared libs), stripped
Working oscam svn8631:
file oscam
oscam1: ELF 32-bit LSB executable, MIPS, MIPS32 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, with unknown capability 0xf41 = 0x756e6700, with unknown capability 0x70100 = 0x1040000, stripped
Interesting huh? Perhaps they compile for the newer AZBox ME. Mine is older AZBox HD.
AZBox Elite HD - 1TB USB HDD - OpenRSI3.0
4 port DiSEqC switch: 19.2E - 23.5E - 28.2E
Re: Workaround OScam #10
Posted 24 November 2015 - 23:42
chmod 755 oscam
and be careful that in between some parameters have changed (exemple switching from seconds to milliseconds)... so restart with a clean setup otherwise you will get into troubles.
Edited by Pr2, 24 November 2015 - 23:47.
NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.
Wanna help with OpenPLi Translation? Please read our Wiki Information for translators
Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)
AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
Re: Workaround OScam #11
Re: Workaround OScam #12
Re: Workaround OScam #13
Posted 25 November 2015 - 17:13
root@azbox:/var/volatile/tmp# ls -l
-rwxr-xr-x 1 root root 1591656 Nov 24 12:32 oscam
root@azbox:/var/volatile/tmp# ./oscam
-sh: ./oscam: not found
Any suggestions? My theory is that it's compiled for the AZBox ME processor (SIGMA SMP 8655 AD @ 667 MHz + 333 MHz), not for the AZBox HD which has a SIGMA processor SMP 8634 LF @ 300 MHz.
AZBox Elite HD - 1TB USB HDD - OpenRSI3.0
4 port DiSEqC switch: 19.2E - 23.5E - 28.2E
Re: Workaround OScam #14
Re: Workaround OScam #15
Posted 25 November 2015 - 18:41
That is almost certainly the cause of this error.
OTOH it might be that /tmp restricts files to be non-executable, but I doubt that.
Edited by Erik Slagter, 25 November 2015 - 18:42.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: Workaround OScam #16
Re: Workaround OScam #17
Re: Workaround OScam #18
Posted 28 November 2015 - 01:22
Thanks everybody for your input. I was quite satisfied with my workaround but because you insisted I did too and I found out that there are OScams compiled for the AZBox HD architecture on http://download.oscam.cc but not where you expect them.
So don't try mips-azbox but go to:
Home / 1.20_TRUNK / mips-tuxbox-oe1.6 and download oscam-svn11178-mips-tuxbox-webif-Distribution.tar.gz
or go to:
Home / 1.20_TRUNK / mips-tuxbox-oe2.0 and download oscam-svn11178-mips-tuxbox-oe2.0-webif-Distribution.tar.gz
Don't ask me why but both work on the AZBox HD. For more information try the oscam forum as suggested by Jerom.
Edited by guiri, 28 November 2015 - 01:22.
AZBox Elite HD - 1TB USB HDD - OpenRSI3.0
4 port DiSEqC switch: 19.2E - 23.5E - 28.2E
Also tagged with one or more of these keywords: AZBox, OScam, cron
OScamCAK7 i.c.m. Oranje CDS kaartStarted by mimisiku, 17 Mar 2024 oscam, canal digitaal |
|
|||
No entitlements - box restart requiredStarted by Robinson, 3 Jan 2024 HD51, oscam, nagra |
|
|||
hd+ funktioneret nichtStarted by JeppeG, 29 Sep 2022 Vu+, hd+, oscam, openpli |
|
|||
CD kaart kan nog maar twee zenders tegelijk decoderenStarted by zeeteefje, 22 Aug 2022 canalDigitaal, oscam |
|
|||
Canal Digital Schotel en oscam probleem met VU+ Uno 4K SEStarted by troopy, 13 Aug 2022 oscam, Canal digital, OpenPli8.2 |
|
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users