Hallo,
ich habe meinen alten "Raspberry PI Modell B Rev 2.0, 512MB" aus dem Schrank hervorgeholt um diesen für Testzwecke als Cardserver zu nutzen. Wenn alles reibungslos funktioniert soll das Ganze auf meinen RaspberryPi3 auf dem Pi-Hole läuft, hinzugefügt werden. Ein "Easymouse 2 USB Premium" Kartenleser ist angeschlossen. Es werden zwei Clients bei mir im Haus versorgt, es sind zwei VU+ Recveiver, auf diesen läuft OScam 1.20 rev: 11377 (update).
Ich bin Kunde bei Kabel Deutschland bzw. Vodafone und Sky. Ich habe eine G09 Smartcard.
Ich habe bereits "Raspbian Jessie Lite" zum laufen gebracht und eingerichtet. IPC ist installiert und OScam (oscam-1.20-unstable_svn-r11384) konfiguriert. Auf beiden TV-Receivern werden die KDG und Sky Kanäle inkl. HD hell.
Es bestehen zur Zeit also keine Probleme, glaube ich zumindestens...
Da ich in diesem Bereich (Raspberry Pi, Linux und OScam) neu eingestigen bin, würde ich euch gern über die OScam Konfigurationsdaten mal rüberschaun lassen. Da gibt es bestimmt noch etwas zu optimieren...
Was sagt z.B. der folgende Eintrag aus dem Logfile aus?
2017/04/26 14:03:06 00000000 s (stat) loadbalancer: could not open /tmp/.oscam/stat for reading (errno=2 No such file or directory)
und was hat es mit dem Datum "valid to" auf sich, was passiert danach ?
was ist mit au ???
und hier die config-Dateien von einem TV-Receiver (VU+)
ich habe meinen alten "Raspberry PI Modell B Rev 2.0, 512MB" aus dem Schrank hervorgeholt um diesen für Testzwecke als Cardserver zu nutzen. Wenn alles reibungslos funktioniert soll das Ganze auf meinen RaspberryPi3 auf dem Pi-Hole läuft, hinzugefügt werden. Ein "Easymouse 2 USB Premium" Kartenleser ist angeschlossen. Es werden zwei Clients bei mir im Haus versorgt, es sind zwei VU+ Recveiver, auf diesen läuft OScam 1.20 rev: 11377 (update).
Ich bin Kunde bei Kabel Deutschland bzw. Vodafone und Sky. Ich habe eine G09 Smartcard.
Ich habe bereits "Raspbian Jessie Lite" zum laufen gebracht und eingerichtet. IPC ist installiert und OScam (oscam-1.20-unstable_svn-r11384) konfiguriert. Auf beiden TV-Receivern werden die KDG und Sky Kanäle inkl. HD hell.
Es bestehen zur Zeit also keine Probleme, glaube ich zumindestens...
Da ich in diesem Bereich (Raspberry Pi, Linux und OScam) neu eingestigen bin, würde ich euch gern über die OScam Konfigurationsdaten mal rüberschaun lassen. Da gibt es bestimmt noch etwas zu optimieren...
[global]
logfile = /var/log/ipc/OScam.log
clienttimeout = 15000
fallbacktimeout = 4900
clientmaxidle = 60
bindwait = 20
netprio = 1
nice = -1
maxlogsize = 500
preferlocalcards = 1
lb_auto_betatunnel_mode = 6
suppresscmd08 = 0
[cache]
max_time = 18
[cs378x]
port = 10000
[webif]
httpport = 16002
httpuser = ******
httppwd = ******
httprefresh = 15
httpallowed = 127.0.0.1,192.168.178.0-192.168.178.255
logfile = /var/log/ipc/OScam.log
clienttimeout = 15000
fallbacktimeout = 4900
clientmaxidle = 60
bindwait = 20
netprio = 1
nice = -1
maxlogsize = 500
preferlocalcards = 1
lb_auto_betatunnel_mode = 6
suppresscmd08 = 0
[cache]
max_time = 18
[cs378x]
port = 10000
[webif]
httpport = 16002
httpuser = ******
httppwd = ******
httprefresh = 15
httpallowed = 127.0.0.1,192.168.178.0-192.168.178.255
[account]
user = user1
pwd = ****
caid = 09C7
suppresscmd08 = 0
keepalive = 1
au = 1
betatunnel = 1834.FFFF:1722
group = 1
[account]
user = user2
pwd = ****
caid = 09C7
suppresscmd08 = 0
keepalive = 1
au = 1
betatunnel = 1834.FFFF:1722
group = 1
user = user1
pwd = ****
caid = 09C7
suppresscmd08 = 0
keepalive = 1
au = 1
betatunnel = 1834.FFFF:1722
group = 1
[account]
user = user2
pwd = ****
caid = 09C7
suppresscmd08 = 0
keepalive = 1
au = 1
betatunnel = 1834.FFFF:1722
group = 1
[reader]
label = G09
protocol = mouse
device = /dev/ttyUSB0
boxid = 12345678
caid = 09C7
ins7e11 = 15
detect = cd
mhz = 357
cardmhz = 357
group = 1
emmcache = 1,3,2
blockemm-unknown = 1
ndsversion = 2
ecmwhitelist = 09C7:5D,5E,5F,60,61,62,63,64,78,79,96
enable = 1
label = G09
protocol = mouse
device = /dev/ttyUSB0
boxid = 12345678
caid = 09C7
ins7e11 = 15
detect = cd
mhz = 357
cardmhz = 357
group = 1
emmcache = 1,3,2
blockemm-unknown = 1
ndsversion = 2
ecmwhitelist = 09C7:5D,5E,5F,60,61,62,63,64,78,79,96
enable = 1
- 2017/04/26 14:03:06 00000000 s (main) Release = 4.4.50+
- 2017/04/26 14:03:06 00000000 s (main) Version = #970 Mon Feb 20 19:12:50 GMT 2017
- 2017/04/26 14:03:06 00000000 s (main) Machine = armv6l
- 2017/04/26 14:03:06 00000000 s (main) creating pidfile /tmp/.oscam/oscam.pid with pid 27613
- 2017/04/26 14:03:06 00000000 s (config) userdb reloaded: 2 accounts loaded, 0 expired, 0 disabled
- 2017/04/26 14:03:06 00000000 s (main) signal handling initialized
- 2017/04/26 14:03:06 00000000 s (net) cs378x: initialized (fd=5, port=10000, prio=1 [ SO_PRIORITY IP_TOS ])
- 2017/04/26 14:03:06 00000000 s (reader) G09 [mouse] creating thread for device /dev/ttyUSB0
- 2017/04/26 14:03:06 00000000 s (stat) loadbalancer: could not open /tmp/.oscam/stat for reading (errno=2 No such file or directory)
- 2017/04/26 14:03:06 00000000 s (main) waiting for local card init
- 2017/04/26 14:03:06 7B0D55D5 h (webif) webif: decompressed 182761 bytes back into 433032 bytes
- 2017/04/26 14:03:06 7B0D55D5 h (webif) HTTP Server running. ip=0.0.0.0 port=16002
- 2017/04/26 14:03:06 443B957E r (reader) G09 [mouse] Buffers readed 0 bytes total time_us 75226
- 2017/04/26 14:03:06 443B957E r (reader) G09 [mouse] Flush readed byte Nr 1 value 03 time_us 3030
- 2017/04/26 14:03:06 443B957E r (reader) G09 [mouse] Flush readed byte Nr 2 value 40 time_us 1380
- 2017/04/26 14:03:06 443B957E r (reader) G09 [mouse] Flush readed byte Nr 3 value 57 time_us 19824
- 2017/04/26 14:03:06 443B957E r (reader) G09 [mouse] Flush readed byte Nr 4 value 5b time_us 1278
- 2017/04/26 14:03:06 443B957E r (reader) G09 [mouse] Flush readed byte Nr 5 value bf time_us 1237
- 2017/04/26 14:03:06 443B957E r (reader) G09 [mouse] Flush readed byte Nr 6 value f5 time_us 1338
- 2017/04/26 14:03:06 443B957E r (reader) G09 [mouse] Flush readed byte Nr 7 value ff time_us 2689
- 2017/04/26 14:03:06 443B957E r (reader) G09 [mouse] Flush readed byte Nr 8 value 3f time_us 1072
- 2017/04/26 14:03:06 443B957E r (reader) G09 [mouse] Flush readed byte Nr 9 value 33 time_us 1112
- 2017/04/26 14:03:06 443B957E r (reader) G09 [mouse] Flush readed byte Nr 10 value f2 time_us 995
- 2017/04/26 14:03:06 443B957E r (reader) G09 [mouse] Flush readed byte Nr 11 value 57 time_us 1025
- 2017/04/26 14:03:06 443B957E r (reader) G09 [mouse] Flush readed byte Nr 12 value 69 time_us 1143
- 2017/04/26 14:03:07 443B957E r (reader) G09 [mouse] Flush readed byte Nr 13 value 00 time_us 2486
- 2017/04/26 14:03:07 443B957E r (reader) G09 [mouse] Flush readed byte Nr 14 value ad time_us 1067
- 2017/04/26 14:03:07 443B957E r (reader) G09 [mouse] Flush readed byte Nr 15 value f5 time_us 1107
- 2017/04/26 14:03:07 443B957E r (reader) G09 [mouse] Flush readed byte Nr 16 value f0 time_us 1069
- 2017/04/26 14:03:07 443B957E r (reader) G09 [mouse] Flush readed byte Nr 17 value fe time_us 1115
- 2017/04/26 14:03:07 443B957E r (reader) G09 [mouse] Flush readed byte Nr 18 value 3f time_us 1081
- 2017/04/26 14:03:07 443B957E r (reader) G09 [mouse] Flush readed byte Nr 19 value 2d time_us 2459
- 2017/04/26 14:03:07 443B957E r (reader) G09 [mouse] Flush readed byte Nr 20 value cd time_us 1071
- 2017/04/26 14:03:07 443B957E r (reader) G09 [mouse] Flush readed byte Nr 21 value 3f time_us 1112
- 2017/04/26 14:03:07 443B957E r (reader) G09 [mouse] Buffers readed 21 bytes total time_us 130196
- 2017/04/26 14:03:07 443B957E r (reader) G09 [mouse] Reader initialized (device=/dev/ttyUSB0, detect=cd, mhz=357, cardmhz=357)
- 2017/04/26 14:03:07 443B957E r (reader) G09 [mouse] card detected
- 2017/04/26 14:03:07 443B957E r (reader) G09 [mouse] Buffers readed 0 bytes total time_us 75236
- 2017/04/26 14:03:09 443B957E r (reader) G09 [mouse] ATR: *****************
- 2017/04/26 14:03:09 443B957E r (reader) G09 [mouse] Init card protocol T0, FI=1, F=372, D=16, N=2
- 2017/04/26 14:03:09 443B957E r (reader) G09 [mouse] Setting baudrate to 153600 bps
- 2017/04/26 14:03:09 443B957E r (reader) G09 [mouse] Calculated work ETU is 6.51 us reader mhz = 357
- 2017/04/26 14:03:09 443B957E r (reader) G09 [mouse] Buffers readed 0 bytes total time_us 75242
- 2017/04/26 14:03:09 443B957E r (reader) G09 [mouse] ATR Fsmax is 5 MHz, clocking card to wanted user cardspeed off 3.57 MHz (specified in reader->mhz)
- 2017/04/26 14:03:10 443B957E r (reader) G09 [mouse] Card type: KLPV
- 2017/04/26 14:03:10 443B957E r (reader) G09 [mouse] Rom version: 10LM
- 2017/04/26 14:03:10 443B957E r (reader) G09 [mouse] Credit available on card: 0 euro
- 2017/04/26 14:03:10 443B957E r (reader) G09 [mouse] FuseByte: 25
- 2017/04/26 14:03:10 443B957E r (reader) G09 [mouse] Region Code: DEU00001
- 2017/04/26 14:03:10 443B957E r (reader) G09 [mouse] Country Code: DEU
- 2017/04/26 14:03:10 443B957E r (reader) G09 [mouse] Pincode read: ****
- 2017/04/26 14:03:10 443B957E r (reader) G09 [mouse] PCB settings: FF FF FF FF
- 2017/04/26 14:03:10 443B957E r (reader) G09 [mouse] type: VideoGuard Kabel Deutschland G02/G09 (09C7), caid: 09C7
- 2017/04/26 14:03:10 443B957E r (reader) G09 [mouse] serial: ########, BoxID: ########, baseyear: 2004
- 2017/04/26 14:03:10 443B957E r (reader) G09 [mouse] ready for requests
- 2017/04/26 14:03:10 443B957E r (reader) G09 [mouse] found card system videoguard2
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max alloted of 1
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] card detected
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] type: VideoGuard Kabel Deutschland G02/G09 (09C7)
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] ------------------------------------------------------------------
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |- class -|-- tier --|----- valid to ------|--- package name ----|
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] +---------+----------+---------------------+---------------------+
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 00 ---|-- **** --| 2017/07/07-01:00:00 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 00 ---|-- **** --| 2017/07/07-01:00:00 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 00 ---|-- **** --| 2017/07/07-01:00:00 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 00 ---|-- **** --| 2017/07/07-01:00:00 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 00 ---|-- **** --| 2017/07/07-01:00:00 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 00 ---|-- **** --| 2017/07/07-01:00:00 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 00 ---|-- **** --| 2017/07/07-01:00:00 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 00 ---|-- **** --| 2017/07/07-01:00:00 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 00 ---|-- **** --| 2017/07/07-01:00:00 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 00 ---|-- **** --| 2017/07/07-01:00:00 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 00 ---|-- **** --| 2017/07/07-01:00:00 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 00 ---|-- **** --| 2017/07/07-01:00:00 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 00 ---|-- **** --| 2017/07/07-01:00:00 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 00 ---|-- **** --| 2017/07/07-01:00:00 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 00 ---|-- **** --| 2017/07/07-01:00:00 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 01 ---|-- **** --| 2017/07/20-01:00:02 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 01 ---|-- **** --| 2017/07/20-01:00:02 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 01 ---|-- **** --| 2017/07/20-01:00:02 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] |-- 01 ---|-- **** --| 2017/07/20-01:00:02 |
- 2017/04/26 14:03:10 443B957E r (reader) G09 [videoguard2] ------------------------------------------------------from-ins70--
- 2017/04/26 14:03:11 00000000 s (main) init for all local cards done
- 2017/04/26 14:03:11 00000000 s (emmcache) loaded 1359 emmcache records from /tmp/.oscam/oscam.emmcache in 50 ms
- 2017/04/26 14:03:11 00000000 s (emmcache) loaded 1359 emmstat records from /tmp/.oscam/oscam.emmstat in 39 ms
- 2017/04/26 14:03:11 00000000 s (anticasc) anti cascading disabled
- 2017/04/26 14:03:11 56F38D3B c (client) encrypted cs378x-client 192.168.***** granted (user2, au=auto (1 reader))
- 2017/04/26 14:03:11 5076C4D7 c (client) encrypted cs378x-client 192.168.***** granted (user1, au=auto (1 reader))
- 2017/04/26 14:03:11 5076C4D7 c (camd35) user1 emm-request sent (reader=G09, caid=09C7, auprovid=000000)
- 2017/04/26 14:03:11 5076C4D7 c (ecm) user1 (09C7@000000/0262/CF73/61:6620D1C8C6B29D80DC4C500ADC42ABD7:0F06000000000002: found (66 ms) by G09
- 2017/04/26 14:03:12 443B957E r (reader) G09 [videoguard2] user1 emmtype=global, len=36 (hex: 0x24), cnt=1: written (41 ms)
- 2017/04/26 14:03:13 443B957E r (reader) G09 [videoguard2] user2 emmtype=global, len=36 (hex: 0x24), cnt=2: written (19 ms)
- 2017/04/26 14:03:15 56F38D3B c (camd35) user2 emm-request sent (reader=G09, caid=09C7, auprovid=000000)
- 2017/04/26 14:03:15 56F38D3B c (ecm) user2 (09C7@000000/0694/0074/96:2AF002DAD0336DB1607851344D5077BF:0F06000000000002: found (70 ms) by G09
- 2017/04/26 14:03:16 5076C4D7 c (ecm) user1 (09C7@000000/0262/CF73/61:994DF5CE2A1B1BB92C4A93856104AFB9:0F06000000000002: found (57 ms) by G09
- 2017/04/26 14:03:22 443B957E r (reader) G09 [videoguard2] user1 emmtype=global, len=36 (hex: 0x24), cnt=1: written (49 ms)
- 2017/04/26 14:03:23 443B957E r (reader) G09 [videoguard2] user2 emmtype=global, len=36 (hex: 0x24), cnt=2: written (18 ms)
- 2017/04/26 14:03:25 56F38D3B c (ecm) user2 (09C7@000000/0694/0074/96:F71E7505DF2994B6D970A3EC26592952:0F06000000000002: found (70 ms) by G09
- 2017/04/26 14:03:26 5076C4D7 c (ecm) user1 (09C7@000000/0262/CF73/61:4EB19B5CA24504626326DEDF830B583D:0F06000000000002: found (58 ms) by G09
- 2017/04/26 14:03:33 443B957E r (reader) G09 [videoguard2] user1 emmtype=global, len=36 (hex: 0x24), cnt=1: written (25 ms)
- 2017/04/26 14:03:34 443B957E r (reader) G09 [videoguard2] user2 emmtype=global, len=36 (hex: 0x24), cnt=2: written (30 ms)
- 2017/04/26 14:03:35 56F38D3B c (ecm) user2 (09C7@000000/0694/0074/968288BEC2A44CD9A597570A6D2B72B8B:0F06000000000002: found (71 ms) by G09
- 2017/04/26 14:03:36 5076C4D7 c (ecm) user1 (09C7@000000/0262/CF73/611FD679F5528BF496AEB359F52481101:0F06000000000002: found (57 ms) by G09
Was sagt z.B. der folgende Eintrag aus dem Logfile aus?
2017/04/26 14:03:06 00000000 s (stat) loadbalancer: could not open /tmp/.oscam/stat for reading (errno=2 No such file or directory)
und was hat es mit dem Datum "valid to" auf sich, was passiert danach ?
was ist mit au ???
und hier die config-Dateien von einem TV-Receiver (VU+)
[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
[dvbapi]
enabled = 1
au = 1
user = dvbapi_local
boxtype = dreambox
[webif]
httpport = 83
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255,10.0.0.0-10.255.255,::1
httposcamlabel = Oscam WebInterface
[cs378x]
port = 37800
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
[dvbapi]
enabled = 1
au = 1
user = dvbapi_local
boxtype = dreambox
[webif]
httpport = 83
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255,10.0.0.0-10.255.255,::1
httposcamlabel = Oscam WebInterface
[cs378x]
port = 37800
[account]
user = dvbapi_local
au = 1
group = 1
user = dvbapi_local
au = 1
group = 1
[reader]
label = cs378x_remote
protocol = cs378x
device = 192.168.***.***,10000
user = user1
password = ****
keepalive = 1
reconnecttimeout = 60
group = 1
label = cs378x_remote
protocol = cs378x
device = 192.168.***.***,10000
user = user1
password = ****
keepalive = 1
reconnecttimeout = 60
group = 1
Zuletzt bearbeitet: