Het wordt tijd om mijn Ziggo smartcard (Irdeto) uit mn Humax te halen en deze te gaan inzetten in mn E2-STB met OpenPLi.
STB is een UNO4KSE, welke 1 upper cam slot heeft en 1 lower card reader.
Als ik het goed begrijp moet ik daarvoor
- de Ziggo smartcard overzetten naar de lower card reader van mn E2-STB
- de OScam-plugin installeren
OScam = Open-Source cam; zie https://wiki.openpli.org/Softcam/OSCam
Installatie OScam werd al gevraagd bij de OpenPLi-installatie/flash
of kan later gedaan worden in [menu];Applicaties;downloaden plugins;extensions;Softcams
- OScam configureren door de oscam-config-files te editen in /etc/tuxbox/config/oscam/
- Configfile-1: oscam.server; http://<ip_box>:8081/files.html?file=oscam.server
In deze reader-config vind de OScam-server info om de kaarten te vinden.
- Configfile-2: oscam.user ; http://<ip_box>:8081/files.html?file=oscam.user
In deze user-config staan de gebruikers welke een connectie naar de OScam-serverhebben.
- Configfile-3: oscam.conf ; http://<ip_box>:8081/files.html?file=oscam.conf
In deze globale config-file
- De Oscam-status kan ik zien:
- Oscamstatus-1: [menu],applicaties,OScamStatus,
- Oscamstatus-2: via http://<ip_box>:8081/
- De Oscam-logfile kan ik zien:
- Oscamlog-1: http://<ip_box>:8081/logpoll.html?lastid=start
1) In file oscam.server doe ik een paragraaf toevoegen met de regels:
# File oscam.server ; updated 2022-08-12
[reader]
label = lower_card_reader
description = Lower slot
protocol = internal
device = /dev/sci0
caid = 0604
rsakey = 3C..............................................6A
boxkey = 1122334455667788
ecmwhitelist = 0604:44,4C
detect = cd
mhz = 450
cardmhz = 600
group= 1
emmcache = 1,3,15,0
auprovid = 000604
2) De file oscam.user wijzig ik in:
# File oscam.user ; updated 2022-08-12
[account]
user = dvbapiau
au = 1
group= 1
3) De file oscam.conf edit ik naar:
# File oscam.conf ; updated 2022-08-12
[global]
disablelog = 1
logfile = /tmp/oscam.log
pidfile = /tmp/oscam.pid
unlockparental = 1
nice = -10
maxlogsize = 100
waitforcards = 0
preferlocalcards = 2
dropdups = 0
usrfile = /tmp/user.log
cwlogdir = /var/log/
emmlogdir = /var/log/
lb_mode = 0
[cs378x]
port = 12005
[webif]
httpport = 8081
httpallowed = 10.0.0.0-10.255.255.255,172.16.0.0-172.31.255.255,192.168.0.0-192.168.255.255,127.0.0.1
[dvbapi]
enabled = 1
pmt_mode = 6
au = 1
user = dvbapiau
boxtype = dreambox
Nadat ik in een OScam-config-file iets gewijzigd heb, dan doe ik OScam herstarten via:
[menu];Instellingen;Softcam;Sofcam Instellingen;Herstart de softcam.
OScam test ik
- of via
[menu];Instellingen;Softcam;Sofcam Instellingen;[blauw]Informatie
- optie "Toon de verbonden readers"=> lower_card_reader geeft aan "ERROR"
- optie "Logfile"
- of via OpenWebIf
- Live Log (na opstarten OScam-server).
- of via testen of ik een gecodeerd TV-channel (bv BBC First) kan ontvangen.
Live log geeft:
2022/08/13 03:56:32 00000000 s (main) Host name = vuuno4kse
2022/08/13 03:56:32 00000000 s (main) Release = 4.1.20-1.9
2022/08/13 03:56:32 00000000 s (main) Version = #1 SMP Thu May 5 03:49:30 UTC 2022
2022/08/13 03:56:32 00000000 s (main) Machine = armv7l
2022/08/13 03:56:32 00000000 s (main) Stb model = dm8000
2022/08/13 03:56:32 00000000 s (main) Stb vumodel = vuuno4kse
2022/08/13 03:56:32 00000000 s (main) Stb boxtype = vuuno4kse
2022/08/13 03:56:32 00000000 s (main) creating pidfile /tmp/oscam.pid with pid 23099
2022/08/13 03:56:32 00000000 s (config) userdb reloaded: 2 accounts loaded, 0 expired, 0 disabled
2022/08/13 03:56:32 00000000 s (main) signal handling initialized
2022/08/13 03:56:32 00000000 s (config) 10 provid's loaded
2022/08/13 03:56:32 00000000 s (config) 164 service-id's loaded in 1 ms
2022/08/13 03:56:32 00000000 s (net) cs378x: initialized (fd=4, port=12005)
2022/08/13 03:56:32 00000000 s (reader) lower_card_reader [internal] creating thread for device /dev/sci0
2022/08/13 03:56:32 00000000 s (emmcache) loaded 0 emmcache records from /etc/tuxbox/config/oscam/oscam.emmcache in 0 ms
2022/08/13 03:56:32 00000000 s (emmcache) loaded 0 emmstat records from /etc/tuxbox/config/oscam/oscam.emmstat in 0 ms
2022/08/13 03:56:32 00000000 s (gbox) local gbox failed init
2022/08/13 03:56:32 58AC31DF c (client) plain dvbapi-client granted (dvbapiau, au=auto (11 reader))
2022/08/13 03:56:32 58AC31DF c (dvbapi) dvbapi channelcache loaded from /etc/tuxbox/config/oscam/oscam.ccache
2022/08/13 03:56:32 58AC31DF c (dvbapi) Detected /dev/dvb/adapter0/demux0 Api: 0, userconfig boxtype: 1 maximum number of filters is 64 (oscam limit is 64)
2022/08/13 03:56:32 58AC31DF c (dvbapi) Detected /dev/dvb/adapter0/ca0 device, total available descramblers: 16
2022/08/13 03:56:32 58AC31DF c (dvbapi) PMT mode 6: Connecting to enigma CA PMT listen socket...
2022/08/13 03:56:32 58AC31DF c (dvbapi) PMT mode 6: Successfully connected to CA PMT server (fd 7)
2022/08/13 03:56:32 2CE8E16B r (reader) lower_card_reader [internal] Reader initialized (device=/dev/sci0, detect=cd, pll max=27.00 MHz, wanted mhz=4.50 MHz)
2022/08/13 03:56:32 2CE8E16B r (reader) lower_card_reader [internal] Reader sci internal, detected box type: vuuno4kse
2022/08/13 03:56:32 4597F50E h (webif) webif: decompressed 170781 bytes back into 424120 bytes
2022/08/13 03:56:32 4597F50E h (webif) HTTP Server running. ip=:: port=8081
2022/08/13 03:56:32 2CE8E16B r (reader) lower_card_reader [internal] card detected
2022/08/13 03:56:33 58AC31DF c (dvbapi) Demuxer 0 found 0 ECM pids and 8 STREAM pids in CA PMT
2022/08/13 03:56:33 2CE8E16B r (reader) lower_card_reader [internal] ATR: 00 00
2022/08/13 03:56:33 2CE8E16B r (reader) lower_card_reader [internal] ERROR: Could not read reader->convention
2022/08/13 03:56:33 2CE8E16B r (reader) lower_card_reader [internal] Error activating card.
2022/08/13 03:56:33 2CE8E16B r (reader) lower_card_reader [internal] ATR: 00 00
2022/08/13 03:56:33 2CE8E16B r (reader) lower_card_reader [internal] ERROR: Could not read reader->convention
2022/08/13 03:56:33 2CE8E16B r (reader) lower_card_reader [internal] Error activating card.
2022/08/13 03:56:34 2CE8E16B r (reader) lower_card_reader [internal] ATR: 00 00
2022/08/13 03:56:34 2CE8E16B r (reader) lower_card_reader [internal] ERROR: Could not read reader->convention
2022/08/13 03:56:34 2CE8E16B r (reader) lower_card_reader [internal] Error activating card.
2022/08/13 03:56:35 2CE8E16B r (reader) lower_card_reader [internal] THIS WAS A FAILED START ATTEMPT No 1 out of max allotted of 1
2022/08/13 03:56:35 2CE8E16B r (reader) lower_card_reader [internal] card initializing error
Ik kan mijn gecodeerde TV-channel dus nog niet bekijken.
Iemand een suggestie wat ik in mijn config-files kan verbeteren ?
Edited by Tech, 13 August 2022 - 07:25.
Het is niet zo verstandig een RSA key te posten....