Hi!
I think I could do with a bit of advice to get the configuration right. I have a Viasat (093E) viewer card which I would like to read with the Linux-based IPBox 200s set-top box. Thus, my primary goal is to let Oscam read the card and dvbapi decrypt it (I do not have any other cams installed).
My actions
First, I flashed the Evolution 2.7 image which seems to be quite a good option. Then I downloaded Oscam For Evolution Image and installed it. For some reason it does not start Oscam automatically and I had to run the binary in /var/bin. This was a bit weird but it's not the biggest problem now. I carefully followed this and this tutorial to make the configuration files, copied them over to /var/tuxbox/config and manually ran the Oscam binary file located in /var/bin.
Here are the two main configurations which I tried: the first one is my modification of the VIASAT 093E IPK configuration and the second one is basically the OScam Quick Tutorial configuration. Neither of them works though. I also tried these two original configurations without any tweaks (other than caid and ident) and they did not work for me. I suspect that these configurations may not be compatible with the Oscam version that I have (build 2601), or there is a configuration error, or both. :D
Configuration One
#Log
***********************************
* www.satkeynet.com *
* Evolution 2.7 *
* *
* Software version 2.7 13.01.2011 *
* *
***********************************
welcome on your ipbox! - Kernel 2.6.17-mutant200s (22:05:00).
ipbox login: root
Password:
BusyBox v1.01 (2011.01.06-18:53+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ > cd var/bin
/var/bin > ./oscam_r2601
Warning: keyword 'keepalive' in global section not recognized
-------------------------------------------------------------------------------
>> OSCam << cardserver started at Tue Jan 17 22:05:11 2012
-------------------------------------------------------------------------------
2012/01/17 22:05:11 196 s version=0.99.4svn, build #2601, system=powerpc-tuxbox-linux, nice=-1
2012/01/17 22:05:11 196 s max. clients=29, client max. idle=120 sec
2012/01/17 22:05:11 196 s max. logsize=1000 Kb
2012/01/17 22:05:11 196 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=120 ms
2012/01/17 22:05:11 196 s shared memory initialized (size=493158, fd=3)
2012/01/17 22:05:11 196 s auth size=4764
2012/01/17 22:05:11 196 s Cannot open file "/var/tuxbox/config/oscam.services" (errno=2)
2012/01/17 22:05:11 196 s userdb reloaded: 0 accounts freed, 1 accounts loaded, 0 expired, 0 disabled
2012/01/17 22:05:11 196 s signal handling initialized (type=sysv)
2012/01/17 22:05:11 196 s can't open file "/var/tuxbox/config/oscam.srvid" (err=2), no service-id's loaded
2012/01/17 22:05:11 196 s can't open file "/var/tuxbox/config/oscam.provid" (err=2), no provids's loaded
2012/01/17 22:05:11 196 s monitor: disabled
2012/01/17 22:05:11 196 s camd 3.3x: disabled
2012/01/17 22:05:11 196 s camd 3.5x: disabled
2012/01/17 22:05:11 196 s cs378x: disabled
2012/01/17 22:05:11 196 s newcamd: disabled
2012/01/17 22:05:11 196 s cccam: disabled
2012/01/17 22:05:11 196 s radegast: disabled
2012/01/17 22:05:11 196 s logger started (pid=197)
2012/01/17 22:05:11 196 s resolver thread started
2012/01/17 22:05:11 196 s http started (pid=199)
2012/01/17 22:05:11 196 s reader started (pid=200, device=/dev/sci0)
2012/01/17 22:05:11 196 s waiting for local card init
2012/01/17 22:05:11 199 h HTTP Server listening on port 8888
2012/01/17 22:05:11 200 r02 card detected
2012/01/17 22:05:13 200 r02 ATR: 3F 7D 11 25 02 41 B0 03 69 FF 4A 50 F0 80 00 56 54 03
2012/01/17 22:05:14 200 r02 Maximum frequency for this card is formally 5 Mhz, clocking it to 5.00 Mhz
2012/01/17 22:05:15 200 r02 [videoguard2-reader] type: VideoGuard Viasat new (093E)
2012/01/17 22:05:15 200 r02 [videoguard2-reader] ins36: too short answer
2012/01/17 22:05:15 200 r02 [videoguard2-reader] no boxID available
2012/01/17 22:05:15 200 r02 card system not supported
2012/01/17 22:05:15 200 r02 Normal mode failed, reverting to Deprecated Mode
2012/01/17 22:05:17 200 r02 ATR: 3F 7D 11 25 02 41 B0 03 69 FF 4A 50 F0 80 00 56 54 03
2012/01/17 22:05:18 200 r02 Maximum frequency for this card is formally 5 Mhz, clocking it to 5.00 Mhz
2012/01/17 22:05:19 200 r02 [videoguard2-reader] type: VideoGuard Viasat new (093E)
2012/01/17 22:05:19 200 r02 [videoguard2-reader] ins36: too short answer
2012/01/17 22:05:19 200 r02 [videoguard2-reader] no boxID available
2012/01/17 22:05:19 200 r02 card system not supported
2012/01/17 22:05:19 200 r02 card initializing error
2012/01/17 22:05:19 196 s init for all local cards done
2012/01/17 22:05:19 196 s anti cascading disabled
2012/01/17 22:05:19 196 s dvbapi: initialized (pid=201)
2012/01/17 22:05:19 201 c01 plain dvbapi-client 127.0.0.1 granted (linuxsatsupport, au=viasat)
2012/01/17 22:05:19 201 c01 dvbapi: found pmt file /tmp/pmt.tmp
2012/01/17 22:05:19 201 c01 dvbapi: new program number: 1B8A (0000:1B8A unknown)
2012/01/17 22:05:27 201 c01 dvbapi: new program number: 18EC (090F:18EC unknown)
2012/01/17 22:05:28 201 c01 linuxsatsupport (090F&000000/18EC/84:25DF): rejected caid (123 ms) - 090F:18EC unknown
2012/01/17 22:05:28 201 c01 linuxsatsupport (093E&000000/18EC/88:3615): not found (1 ms) - 093E:18EC unknown
2012/01/17 22:05:36 201 c01 linuxsatsupport (090F&000000/18EC/84:047E): rejected caid (121 ms) - 090F:18EC unknown
2012/01/17 22:05:36 201 c01 linuxsatsupport (093E&000000/18EC/88:6A5E): not found (1 ms) - 093E:18EC unknown
2012/01/17 22:05:46 201 c01 linuxsatsupport (090F&000000/18EC/84:F139): rejected caid (123 ms) - 090F:18EC unknown
2012/01/17 22:05:46 201 c01 linuxsatsupport (093E&000000/18EC/88:0E52): not found (1 ms) - 093E:18EC unknown
2012/01/17 22:05:46 201 c01 dvbapi: can't decode channel
2012/01/17 22:05:49 201 c01 dvbapi: new program number: 0B9A (090F:0B9A unknown)
2012/01/17 22:05:50 201 c01 linuxsatsupport (090F&000000/0B9A/84:8657): rejected caid (121 ms) - 090F:0B9A unknown
2012/01/17 22:05:50 201 c01 linuxsatsupport (093E&000000/0B9A/88:D7C5): not found (1 ms) - 093E:0B9A unknown
2012/01/17 22:05:53 201 c01 linuxsatsupport (090F&000000/0B9A/84:0C66): rejected caid (124 ms) - 090F:0B9A unknown
2012/01/17 22:05:53 201 c01 linuxsatsupport (093E&000000/0B9A/88:2271): not found (0 ms) - 093E:0B9A unknown
2012/01/17 22:06:03 201 c01 linuxsatsupport (090F&000000/0B9A/84:A9C4): rejected caid (121 ms) - 090F:0B9A unknown
2012/01/17 22:06:03 201 c01 linuxsatsupport (093E&000000/0B9A/88:DD9F): not found (1 ms) - 093E:0B9A unknown
2012/01/17 22:06:03 201 c01 dvbapi: can't decode channel
Display More
#oscam.conf
[global]
nice = -1
clienttimeout = 5000
fallbacktimeout = 2500
clientmaxidle = 120
cachedelay = 120
bindwait = 120
resolvedelay = 30
serialreadertimeout = 1500
maxlogsize = 1000
waitforcards = 1
preferlocalcards = 1
saveinithistory = 1
keepalive = 1
[dvbapi]
enabled = 1
user = linuxsatsupport
boxtype = dreambox
au = 1
pmt_mode = 0
[webif]
httpport = 8888
httpuser = user
httppwd = pass
httprefresh = 5
httphideidleclients = 0
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255
[monitor]
appendchaninfo = 1
#oscam.server
[reader]
label = VIASAT
protocol = internal
detect = cd
device = /dev/sci0
caid = 093E
ident = 093E:000000
EMMCache = 1,1,0
group = 1
#oscam.user
[account]
user = linuxsatsupport
group = 1
caid = 093E
ident = 093E:000000
au = VIASAT
monlevel = 0
#oscam.dvbapi
#
# dvbapi configuration
#
# format:
#
# priority:
# P: CAID[:][provider ID][:][service ID][:][ECM PID] [continue]
#
# ignore:
# I: CAID[:][provider ID][:][service ID][:][ECM PID]
#
# wait:
# D: CAID[:][provider ID][:][service ID][:][ECM PID] delay
#
# map:
# M: CAID[:][provider ID][:][service ID][:][ECM PID] target CAID[:][target provider ID]
#
# lenght:
# L: CAID[:][provider ID][:][service ID][:][ECM PID] length
#
P: 093E:000000 # prioritise CAID 0100 with provider 123456
#P: :000000 # prioritise ECM with provider ID 1234 on
# on any CAID and service
#P: 0100 # prioritise CAID 0200
#P: 0300::9ABC # prioritise CAID 0300 on service 9ABC only
#M: 0400 0500:123456 # map CAID 0400 to provider ID 123456 with
# CAID 0500
#D: 0600 200 # wait 200 ms before writing CW for CAID 0600
#I: :654321 # ignore provider ID 654321 for every CAID and
# service
#I: 0 # ignore every CAID that was not handled before
#L: 0700 8e # ECM length for CAID 0700 to 8e (hexadecimal)
Display More
Configuration Two
#Log
***********************************
* www.satkeynet.com *
* Evolution 2.7 *
* *
* Software version 2.7 13.01.2011 *
* *
***********************************
welcome on your ipbox! - Kernel 2.6.17-mutant200s (02:00:32).
ipbox login: root
Password:
BusyBox v1.01 (2011.01.06-18:53+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ > cd var/bin
/var/bin > ./oscam_r2601
Warning: keyword 'request_mode' in dvbapi section not recognized
Warning: keyword 'maxlogsize' in webif section not recognized
-------------------------------------------------------------------------------
>> OSCam << cardserver started at Thu Jan 1 02:00:45 1970
-------------------------------------------------------------------------------
1970/01/01 2:00:45 145 s version=0.99.4svn, build #2601, system=powerpc-tuxbox-linux, nice=-1
1970/01/01 2:00:45 145 s max. clients=29, client max. idle=120 sec
1970/01/01 2:00:45 145 s max. logsize=unlimited
1970/01/01 2:00:45 145 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=120 ms
1970/01/01 2:00:45 145 s shared memory initialized (size=493158, fd=3)
1970/01/01 2:00:45 145 s auth size=4764
1970/01/01 2:00:45 145 s Cannot open file "/var/tuxbox/config/oscam.services" (errno=2)
1970/01/01 2:00:45 145 s userdb reloaded: 0 accounts freed, 1 accounts loaded, 0 expired, 0 disabled
1970/01/01 2:00:45 145 s signal handling initialized (type=sysv)
1970/01/01 2:00:45 145 s can't open file "/var/tuxbox/config/oscam.srvid" (err=2), no service-id's loaded
1970/01/01 2:00:45 145 s can't open file "/var/tuxbox/config/oscam.provid" (err=2), no provids's loaded
1970/01/01 2:00:45 145 s monitor: disabled
1970/01/01 2:00:45 145 s camd 3.3x: disabled
1970/01/01 2:00:45 145 s camd 3.5x: disabled
1970/01/01 2:00:45 145 s cs378x: disabled
1970/01/01 2:00:45 145 s newcamd: initialized (fd=7, port=34000, crypted)
1970/01/01 2:00:45 145 s CAID: 0500
1970/01/01 2:00:45 145 s provid #0: 023800
1970/01/01 2:00:45 145 s cccam: disabled
1970/01/01 2:00:45 145 s radegast: disabled
1970/01/01 2:00:45 145 s logger started (pid=146)
1970/01/01 2:00:45 145 s resolver thread started
1970/01/01 2:00:45 145 s http started (pid=148)
1970/01/01 2:00:45 145 s reader started (pid=149, device=/dev/sci0)
1970/01/01 2:00:45 145 s waiting for local card init
1970/01/01 2:00:45 148 h HTTP Server listening on port 8888
1970/01/01 2:00:45 149 r02 card detected
1970/01/01 2:00:47 149 r02 ATR: 3F 7D 11 25 02 41 B0 03 69 FF 4A 50 F0 80 00 56 54 03
1970/01/01 2:00:48 149 r02 Maximum frequency for this card is formally 5 Mhz, clocking it to 5.00 Mhz
1970/01/01 2:00:49 149 r02 [videoguard2-reader] type: VideoGuard Viasat new (093E)
1970/01/01 2:00:49 149 r02 [videoguard2-reader] ins36: too short answer
1970/01/01 2:00:49 149 r02 [videoguard2-reader] no boxID available
1970/01/01 2:00:49 149 r02 card system not supported
1970/01/01 2:00:49 149 r02 Normal mode failed, reverting to Deprecated Mode
1970/01/01 2:00:51 149 r02 ATR: 3F 7D 11 25 02 41 B0 03 69 FF 4A 50 F0 80 00 56 54 03
1970/01/01 2:00:52 149 r02 Maximum frequency for this card is formally 5 Mhz, clocking it to 5.00 Mhz
1970/01/01 2:00:53 149 r02 [videoguard2-reader] type: VideoGuard Viasat new (093E)
1970/01/01 2:00:53 149 r02 [videoguard2-reader] ins36: too short answer
1970/01/01 2:00:53 149 r02 [videoguard2-reader] no boxID available
1970/01/01 2:00:53 149 r02 card system not supported
1970/01/01 2:00:53 149 r02 card initializing error
1970/01/01 2:00:54 145 s init for all local cards done
1970/01/01 2:00:54 145 s anti cascading disabled
1970/01/01 2:00:54 145 s dvbapi: initialized (pid=150)
1970/01/01 2:00:54 150 c01 plain dvbapi-client 127.0.0.1 granted (anonymous, au=0)
1970/01/01 2:01:08 150 c01 dvbapi: found pmt file /tmp/pmt.tmp
1970/01/01 2:01:08 150 c01 dvbapi: new program number: 18EC (0000:18EC unknown)
2012/01/17 22:11:52 150 c01 dvbapi: new program number: 1B8A (090F:1B8A unknown)
2012/01/17 22:11:52 150 c01 anonymous (090F&000000/1B8A/84:B3D5): rejected group (125 ms)
2012/01/17 22:11:52 150 c01 anonymous (093E&000000/1B8A/84:9339): not found (1 ms)
2012/01/17 22:11:58 150 c01 anonymous (090F&000000/1B8A/84:CBCD): rejected group (122 ms)
2012/01/17 22:11:58 150 c01 anonymous (093E&000000/1B8A/84:C6FC): not found (1 ms)
2012/01/17 22:12:08 150 c01 anonymous (090F&000000/1B8A/84:4E6C): rejected group (122 ms)
2012/01/17 22:12:08 150 c01 anonymous (093E&000000/1B8A/84:1CA4): not found (1 ms)
2012/01/17 22:12:08 150 c01 dvbapi: can't decode channel
2012/01/17 22:12:21 150 c01 dvbapi: new program number: 0B9A (090F:0B9A unknown)
2012/01/17 22:12:21 150 c01 anonymous (090F&000000/0B9A/84:FEA8): rejected group (121 ms)
2012/01/17 22:12:21 150 c01 anonymous (093E&000000/0B9A/88:8E33): not found (1 ms)
2012/01/17 22:12:23 150 c01 anonymous (090F&000000/0B9A/84:7CF7): rejected group (120 ms)
2012/01/17 22:12:24 150 c01 anonymous (093E&000000/0B9A/88:DDD8): not found (1 ms)
2012/01/17 22:12:33 150 c01 anonymous (090F&000000/0B9A/84:2633): rejected group (121 ms)
2012/01/17 22:12:34 150 c01 anonymous (093E&000000/0B9A/88:CB8A): not found (1 ms)
2012/01/17 22:12:34 150 c01 dvbapi: can't decode channel
Display More
#oscam.conf
[global]
nice = -1
WaitForCards = 1
ClientTimeout = 5
CacheDelay = 120
saveinithistory = 1
PreferLocalCards = 1
[dvbapi]
enabled = 1
au = 1
boxtype = dreambox
user = local
request_mode = 0
[newcamd]
Key = 0102030405060708091011121314
Port = 34000@0500:023800
[webif]
httpport = 8888
httpuser = user
httppwd = pass
httprefresh = 5
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255
# logging
#pidfile = /var/run/oscam.pid
#logfile = /var/log/oscam.log
#usrfile = /var/log/oscamuser.log
#cwlogdir = /var/log/cw.log
maxlogsize = 1000
#oscam.server
[reader]
label = VIASAT
Protocol = internal
detect = CD
device = /dev/sci0
Group = 1
EMMCache = 1,3,2
caid = 093E
ident = 093E:000000
#oscam.user
[account]
user = user
pwd = pass
group = 1
au = VIASAT
#oscam.dvbapi
#I tried both with and without this file (as in the tutorial) with no luck.
Display More
I also tried boxtype = ipbox and boxtype = ipbox-pmt settings.
I would be very grateful for your hints and feedback. Thanks!