I'm hitting a brick wall and would appreciate some fresh eyes on this.
Ubuntu 12.04 LTS, Omnikey 3021, TBS6984 DVB-S2, Oscam r9584, CCcam 2.1.3. Backend all in one server, no external clients except in-house mythtv frontend.
For a long time i struggled to get Oscam and CCcam running until I stumbled across thatfellow's brilliant tutorial Tutorial - Ubuntu Server 11.10, 12.xx, 13.04 x32/x64 - Auto Oscam/CCcam 2.1.3 Install.
Now things seem to be running, but no encryption or returns to the client seem to take place and no channel decrypted. Card working fine on set top box. What am I missing?
******@TV-server:~$ sudo cccam_2.1.3 -dv
[sudo] password for ******:
03:00:10.094 CCcam: ======================================================================
03:00:10.094 CCcam: starting CCcam 2.1.3 compiled on Nov 14 2009@00:47:12
03:00:10.094 CCcam: ======================================================================
03:00:10.094 CCcam: online using nodeId **********************
03:00:10.095 CCcam: create 1 cam device(s)
03:00:10.111 CCcam: added 1427 keys from /var/keys/SoftCam.Key
03:00:10.112 CCcam: added 435 keys from /var/keys/AutoRoll.Key
03:00:10.112 CCcam: static cw not found or bad
03:00:10.127 CCcam: parsed 6646 entries from /var/etc/CCcam.prio
03:00:10.130 CCcam: added 1274 provider names from /var/etc/CCcam.providers
03:00:10.267 CCcam: added 6646 channel names from /var/etc/CCcam.channelinfo
03:00:10.267 CCcam: server started on port 12000
03:00:10.268 CCcam: newcamd server 127.0.0.1:10000 user: cccam0
03:00:10.271 CCcam: newcamd caid 0b00 providers 1 userid: 0
03:00:10.271 CCcam: newcamd card serial: ********
03:00:10.271 CCcam: newcamd prov 00 000000 ***********
CCcam server status page:
Current time 03:39:24
NodeID: ********************
Uptime: 00d 00:49:22
Connected clients: 0
Active clients: 0
Total handled client ecm's: 0
Total handled client emm's: 0
Peak load (max queued requests per workerthread):
Live log:
2014/11/16 02:49:52 1446CA0 r Omnikey [conax] ready for requests
2014/11/16 02:49:52 0 s init for all local cards done
2014/11/16 02:49:52 0 s anti cascading disabled
2014/11/16 02:50:02 1479D90 c client connected to 10000 port
2014/11/16 02:50:02 1479D90 c encrypted newcamd:10000-client 127.0.0.1 granted (cccam0, au=on (1 reader))
2014/11/16 02:50:02 1479D90 c user cccam0 authenticated successfully (CCcam)
2014/11/16 02:50:02 1479D90 c AU enabled for user cccam0 on reader Omnikey
2014/11/16 02:50:18 147BBF0 c client connected to 10000 port
2014/11/16 02:50:18 147BBF0 c encrypted newcamd:10000-client 127.0.0.1 granted (cccam0, au=on (1 reader))
2014/11/16 02:50:18 147BBF0 c user cccam0 authenticated successfully (CCcam)
2014/11/16 02:50:18 147BBF0 c AU enabled for user cccam0 on reader Omnikey
2014/11/16 03:00:10 147DA50 c client connected to 10000 port
2014/11/16 03:00:10 147DA50 c encrypted newcamd:10000-client 127.0.0.1 granted (cccam0, au=on (1 reader))
2014/11/16 03:00:10 147DA50 c user cccam0 authenticated successfully (CCcam)
2014/11/16 03:00:10 147DA50 c AU enabled for user cccam0 on reader Omnikey
2014/11/16 03:00:26 147DA50 c cccam0 disconnected from 127.0.0.1
******@TV-server:~$ pcsc_scan
PC/SC device scanner
V 1.4.18 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.7.4
Using reader plug'n play mechanism
Scanning present readers...
0: OMNIKEY CardMan (076B:3021) 3021 00 00
Sun Nov 16
Reader 0: OMNIKEY CardMan (076B:3021) 3021 00 00
Card state: Card inserted, Exclusive Mode,
ATR: YY YY YY YY YY YY YY
ATR: YY YY YY YY YY YY YY
+ TS = 3B --> Direct Convention
+ T0 = 24, Y(1): 0010, K: 4 (historical bytes)
TB(1) = 00 --> VPP is not electrically connected
+ Historical bytes: YY YY YY YY
Category indicator byte: 30 (proprietary format)
Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
YY YY YY YY YY YY YY
ComHem Digital-TV smartcard (YYYYYYY)
TNK Telewizja Na Kartę (Poland) - Conditional access system : Conax (YYYYYY)
http://telewizjanakarte.pl/
******@TV-server:~$ szap-s2 -a 1 -p -H -M 2 -S 1 -O 0 -r -n 18
reading channels from file '/home/tom/.szap/channels.conf'
zapping to 18 'TVXXXXXX HD':
delivery DVB-S2, modulation QPSK
sat 0, frequency 10778 MHz V, symbolrate 25000000, coderate auto, rolloff auto
mis -1, vpid 0x0431, apid 0x0bfb, sid 0x1007
using '/dev/dvb/adapter1/frontend0' and '/dev/dvb/adapter1/demux0'
status 1f | signal 74% | snr 72% | ber 0 | unc 0 | FE_HAS_LOCK
status 1f | signal 74% | snr 72% | ber 0 | unc 0 | FE_HAS_LOCK
******@TV-server:~$ mplayer dvb://'TVXXXXXX'
MPlayer svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing dvb://TVXXXXXX.
dvb_tune Freq: 10809000
TS file format detected.
oscam.conf:
[global]
logfile = stdout;/var/cccamlog/oscam.log
nice = -1
preferlocalcards = 1
[cache]
[newcamd]
port = 10000@0B00:000000
key = 0102030405060708091011121314
keepalive = 1
[webif]
httpport = 8888
httpuser = ******
httppwd = ******
httprefresh = 15
httpshowmeminfo = 1
httpshowuserinfo = 1
httpshowecminfo = 1
httpshowloadinfo = 1
httpallowed = 127.0.0.1,192.168.0.0-192.168.254.254
oscam.server:
[reader]
label = Omnikey
description = Canal Digital
protocol = pcsc
device = 0
caid = 0B00
detect = cd
ident = 0B00:000000
group = 1
emmcache = 1,3,2
blockemm-unknown = 1
blockemm-g = 1
oscam.user:
[account]
user = cccam0
pwd = ******
caid = 0B00
au = Omnikey
group = 1
ident = 0B00:000000
CCcam.cfg:
SERVER LISTEN PORT : 12000
ALLOW TELNETINFO: yes
ALLOW WEBINFO: yes
WEBINFO USERNAME :******
WEBINFO PASSWORD :******
TELNETINFO USERNAME :******
TELNETINFO PASSWORD :******
TELNETINFO LISTEN PORT : 16000
WEBINFO LISTEN PORT : 16001
ZAP OSD TIME :0
OSD USERNAME :******
OSD PASSWORD :******
OSD PORT :80
SHOW TIMING : yes
DEBUG : no
NEWCAMD CONF : no
SHOW EXTENEDED CLIENT INFO : yes
MINI OSD : no
CHANNELINFO FILE : /var/etc/CCcam.channelinfo
PROVIDERINFO FILE : /var/etc/CCcam.providers
CAID PRIO FILE : /var/etc/CCcam.prio
LOG WARNINGS : /tmp/warnings.txt
SOFTKEY FILE : /var/keys/SoftCam.Key
AUTOROLL FILE : /var/keys/AutoRoll.Key
#STATIC CW FILE : /var/keys/constant.cw
#BOXKEY:
#SMARTCARD CLOCK FREQUENCY: /dev/sci0 6800000
DVB API: -1
N: 127.0.0.1 10000 cccam0 ****** 01 02 03 04 05 06 07 08 09 10 11 12 13 14 1