Une combinaison simple DBox2-Linux-Server

Getestet mit OSCam “1.00 build #3149” und “1.00-unstable_svn build #4185”

Intro

Nachfolgendes Beispiel beschreibt eine einfache Grundkonfiguration für drei Abos (Karten). Als Client dient eine DBox2 und als Server ein PC mit Linux Debian 6. Der Client greift per “camd35”-Protokoll auf den Server zu.

Server und Client

oscam.services

Details: oscam.services

WarningS.png Achtung:

  • Diese Datei zählt zu den wichtigen OSCam-Konfigurationsdateien! Sei nicht faul und pflege oscam.services richtig, dann wirst Du auch mit schnellen Umschaltzeiten belohnt. Dies bedeutet, dass Du dort nur “srvid” einträgst, die Deine Karte auch öffnet. Ändert sich Dein Abo, dann musst Du auch oscam.services anpassen.
  • Denke auch daran die “Kaufsendungen” einzutragen, wie z.B. “Sky Select”.
[mm_sky] # SKY: Complete
caid=1702
provid=000000
srvid=0008,0009,000A,000B,000C,000D,000E,000F,0010,0011,0013,0014,0015,0016,0017,0018,0019,001A,001B,001C,001D,0022,0024,0029,002A,002B,0032,0034,0035,003C,003D,003E,003F,0041,0042,0043,0044,0075,007A,007B,007C,007E,007F,0080,0081,0082,0083,0084,0096,0097,0098,0099,009A,009B,009C,00A8,00DD,00DE,00DF,00FB,00FC,00FD,00FE,0105,0106,0107,0108,010F,0110,0111,0119,011A,011B,0123,0124,0125,012D,012E,012F,0137,0138,0139,0141,0142,0143,014B,014C,014D,0156,0159,0160,0163,016B,016D,0175,0201,0203,0204,0206,07FF,2EFE,3331,3331,3394,4461,4462,6FF1,7009,700A

[mm_hd] # HD+
caid=1830
provid=000000,003411,008011
srvid=277E,EF10,EF11,EF14,EF15,EF74,EF75,EF76,EF77
# 277E Testsender, z.B. fuer AU geeignet, denn dieser Sender wird in SD ausgestrahlt

[sa_sky] # SKY: Welt, Film, Erotik, Select, Radio
caid=1702
provid=000000
srvid=000E,000D,000C,0034,00A8,001B,002A,0024,0032,001D,0016,0022,001C,001A,0013,0206,0018,0015,000A,000B,002B,0009,0008,0014,0029,0019,0203,0011,00FB,0105,010F,0119,0123,012D,0137,0141,014B,00FE,0108,0099,009A,009C,0096,0098,0097,009B

Server

oscam.conf

Details: oscam.conf

[global]
# Prozess
nice                        = -10
pidfile                     = /tmp/oscam.pid
# Logging
logfile                     = /tmp/oscam.log
disablelog                  = 0
maxlogsize                  = 256
usrfile                     = /tmp/oscam_user.log
disableuserfile             = 0
usrfileflag                 = 1
# Timeouts - bei Problemen die "*timeout"-Zeilen entfernen oder Werte anpassen!
clienttimeout               = 2000
fallbacktimeout             = 1000
serialreadertimeout         = 800
# Sonstiges
clientdyndns                = 0
unlockparental              = 1
saveinithistory             = 1

[monitor]
port                        = 15990
nocrypt                     = 127.0.0.1,192.168.0.0-192.168.0.255 # "Du kommst hier nit rein"
aulow                       = 30
hideclient_to               = 0
monlevel                    = 4
appendchaninfo              = 0

[camd35]
port                        = 15991

[webif]
httpport                    = 16000
httprefresh                 = 0
httpallowed                 = 127.0.0.1,192.168.0.0-192.168.0.255 # "Du kommst hier nit rein"
httphideidleclients         = 0
httpreadonly                = 0

oscam.server

Details: oscam.server

[reader]
label               = mm_sky
enable              = 1
protocol            = mouse
device              = /dev/smargo1
detect              = cd
mhz                 = 600
cardmhz             = 600
emmcache            = 1,3,2
services            = mm_sky
group               = 1

[reader]
label               = mm_hd
enable              = 1
protocol            = mouse
device              = /dev/smargo3
detect              = cd
mhz                 = 368
cardmhz             = 368
emmcache            = 1,3,2
services            = mm_hd
rsakey              = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
boxkey              = YYYYYYYYYYYYYYYY
group               = 2

[reader]
label               = sa_sky
enable              = 1
protocol            = mouse
device              = /dev/smargo2
detect              = cd
mhz                 = 600
cardmhz             = 600
emmcache            = 1,3,2
services            = sa_sky
group               = 3

oscam.user

Details: oscam.user

[account]
user            = monitor
pwd             = password
monlevel        = 4
group           = 1,2,3

[account]
user            = dbox2
pwd             = password
monlevel        = 0
au              = 1
services        = mm_sky,sa_sky
cccmaxhops      = 5
cccreshare      = 3
group           = 1,3 # eine DBox2 kann kein HD, deshalb keine Gruppe 2

[account]
user            = dm800_1
pwd             = password
monlevel        = 0
au              = 1
services        = mm_sky,mm_hd,sa_sky
cccmaxhops      = 5
cccreshare      = 3
group           = 1,2,3

Client

oscam.conf

Details: oscam.conf

[global]
# Prozess
nice                        = -10
pidfile                     = /tmp/oscam.pid
# Logging
logfile                     = /dev/null
disablelog                  = 1
maxlogsize                  = 16
usrfile                     = /dev/null
disableuserfile             = 1
usrfileflag                 = 0
# Sonstiges
unlockparental              = 1

[dvbapi]
enabled                     = 1
au                          = 1
boxtype                     = dbox2 # dbox2|dreambox|dm7000|duckbox|ufs910|ipbox|ipbox-pmt. Default dreambox.
user                        = local

[webif]
httpport                    = 16000
httprefresh                 = 0
httpallowed                 = 127.0.0.1,192.168.0.0-192.168.0.255 # "Du kommst hier nit rein"
httphideidleclients         = 0
httpreadonly                = 0

oscam.server

Details: oscam.server

[reader]
label               = sky
enable              = 1
protocol            = camd35
device              = "OSCAM-SERVER-IP",15991
account             = dbox2,password
services            = mm_sky,sa_sky
group               = 1
# falls Du noch eine CCcam ansprechen möchtest...
[reader]
label               = cccam
enable              = 1
protocol            = cccam
device              = "CCCAM-SERVER-IP","CCCAM-SERVER-PORT"
account             = dbox2,password
cccversion          = 2.0.11
cccmaxhops          = 5
ccckeepalive        = 1
audisabled          = 1
services            = !mm_sky,!sa_sky # wenn Du Deine Services nicht pflegst, solltest Du diese Zeile entfernen ;)
group               = 2

oscam.user

Details: oscam.user

[account]
user                = local
pwd                 = local
monlevel            = 0
au                  = 1
cccmaxhops          = 5
cccreshare          = 3
group               = 1,2