1 | oscam.server(5) oscam.server(5)
|
---|
2 |
|
---|
3 |
|
---|
4 |
|
---|
5 | NAME
|
---|
6 | oscam.server - reader configuration file for OSCam
|
---|
7 |
|
---|
8 | SYNOPSIS
|
---|
9 | The server configuration file for OSCam contains reader parameters. sections in oscam.server are recurring
|
---|
10 | (more than one reader possible). At least one [reader] section is required.
|
---|
11 |
|
---|
12 | DESCRIPTIONS
|
---|
13 | The [reader] section
|
---|
14 | device = <device|bus:device>|Serial:Reader serial|<ip|hostname>,<port>[,<lport>]|pcsc|<0|1>|constantcw
|
---|
15 | define local or remote reader
|
---|
16 |
|
---|
17 | device: device name
|
---|
18 | bus:device: bus name and device name of the Smartreader+
|
---|
19 | (get the names with lsusb 'Bus' and 'Device')
|
---|
20 | serial serial number of Smartreader+
|
---|
21 | (get the serial number while starting OSCam)
|
---|
22 | lport: remapping to local port
|
---|
23 | PCSC: number of PCSC reader, starting with 0
|
---|
24 | 0|1: for Coolstream HD-1 STB only: select reader 0 or
|
---|
25 | reader 1
|
---|
26 | constantcw: constant CW file name
|
---|
27 |
|
---|
28 | constant CW file format: CA (4 digits):ID (6 digits):SID (4 digits):PMT PID (4 digits):ECM PID (4 dig‐
|
---|
29 | its):key (16 Bytes seperated by spaces)
|
---|
30 |
|
---|
31 | example: 1234:123456:1234:1234:1234:00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
|
---|
32 |
|
---|
33 | enable = 0|1
|
---|
34 | 0 = deactivate reader, default=1
|
---|
35 |
|
---|
36 | key = DES key
|
---|
37 | key for newcamd remote reader encryption
|
---|
38 |
|
---|
39 | password = password
|
---|
40 | password for remote gbox reader
|
---|
41 |
|
---|
42 | premium = ???
|
---|
43 | for gbox reader
|
---|
44 |
|
---|
45 | account = user,password
|
---|
46 | user and password for remote reader
|
---|
47 |
|
---|
48 | pincode = pincode
|
---|
49 | pincode for Conax and Cryptoworks SCs
|
---|
50 |
|
---|
51 | services = [!]services[,[!]<services>]...
|
---|
52 | reader [de]assignment to service group, default=none
|
---|
53 |
|
---|
54 | inactivitytimeout = minutes
|
---|
55 | inactivity timeout for newcamd reader, default:none
|
---|
56 |
|
---|
57 | reconnecttimeout = minutes
|
---|
58 | TCP reconnect, if missing answers, default:none
|
---|
59 |
|
---|
60 | disableserverfilter = 0|1
|
---|
61 | 1 = ignore caid and ident settings of reader due faulty clients, default=0
|
---|
62 |
|
---|
63 | label = name
|
---|
64 | name for reader, required
|
---|
65 |
|
---|
66 | fallback = 0|1
|
---|
67 | 1 = define reader as fallback, standard and fallback reader must have the same group, default:0
|
---|
68 |
|
---|
69 | logport = 0|port
|
---|
70 | camd3 reader logport, camd3 UDP must be activated, only works if there's no camd3 cascading, 0=disabled,
|
---|
71 | default=0
|
---|
72 |
|
---|
73 | caid = CAID[&<mask>][,CAID[&<mask>]]...
|
---|
74 | define CAID for reader, some protocols only support one CAID, default:mask=FFFF
|
---|
75 |
|
---|
76 | example: CAID = 0100,0200&FFDF
|
---|
77 |
|
---|
78 | audisabled = 0|1
|
---|
79 | 1 = exclude reader from auto AU, default:0
|
---|
80 |
|
---|
81 | auprovid = provider ID
|
---|
82 | set provider ID to use the right reader for auto AU
|
---|
83 |
|
---|
84 | example: auprovid = 123456
|
---|
85 |
|
---|
86 | boxid = NDS box ID
|
---|
87 | NDS receiver box id
|
---|
88 |
|
---|
89 | aeskey = AES key
|
---|
90 | 16 byte AES key for Viaccess SCs
|
---|
91 |
|
---|
92 | aeskeys = CAID@ident:AES key #1[,AES key #2],...[;CAID@ident:AES key #2[,AES key #3],...]...
|
---|
93 | mutiple 16 byte AES keys for Viaccess SCs
|
---|
94 |
|
---|
95 | special AES keys:
|
---|
96 |
|
---|
97 | 00 = no AES key specified, do not return any CW
|
---|
98 | FF = no AES key specified, return CW received from the SC
|
---|
99 |
|
---|
100 | example:
|
---|
101 |
|
---|
102 | aeskeys = 0100@012345:000102030405060708090a0b0c0d0e0f;0200@543210:0,0,0f0e0d0c0b0a090807060504030201
|
---|
103 |
|
---|
104 | detect = CD|DSR|CTS|RING|NONE|gpio[1-7]
|
---|
105 | status detect of card (NONE = no detection), default:CD
|
---|
106 |
|
---|
107 | cardmhz = mhz
|
---|
108 | set standard SC frequency in units of 10 kHz, for Irdeto SC set to 600, refer to OVERCLOCKING, default:357
|
---|
109 |
|
---|
110 | mhz = frequency
|
---|
111 | set reader frequency in units of 10 kHz, if mhz > cardmhz you are in overclocking mode, refer to OVERCLOCK‐
|
---|
112 | ING, default:357
|
---|
113 |
|
---|
114 | deprecated = 0|1
|
---|
115 | Frist the SC will be initialized in normal mode. If it fails, the SC will be automatically reverted to dep‐
|
---|
116 | recated mode, so that the SC speed will not be changed and the communication will remain on normal ATR
|
---|
117 | speed of 9600 baud.
|
---|
118 |
|
---|
119 | 1 = use deprecated SC mode only, default:0
|
---|
120 |
|
---|
121 | protocol = reader protocol
|
---|
122 | reader protocol, required:
|
---|
123 | mouse
|
---|
124 | mp35
|
---|
125 | smartreader
|
---|
126 | internal
|
---|
127 | serial
|
---|
128 | camd35|cs357x
|
---|
129 | cs378x
|
---|
130 | gbox
|
---|
131 | newcamd|newcamd525
|
---|
132 | newcamd524
|
---|
133 | cccam
|
---|
134 | radegast
|
---|
135 | pcsc
|
---|
136 | constcw
|
---|
137 |
|
---|
138 | cccversion = <main version>.<version>.<sub version>
|
---|
139 | define CCcam version, default:none
|
---|
140 |
|
---|
141 | example: cccversion = 1.2.34
|
---|
142 |
|
---|
143 | cccmaxhops = hops
|
---|
144 | define CCcam maximum SC distance hops, default:10
|
---|
145 | 0 = local SCs only
|
---|
146 | 1 = local SCs and + 1 hop
|
---|
147 | 2 = local SCs and + 2 hops
|
---|
148 | and so on
|
---|
149 |
|
---|
150 | ident = <CAID>:<ident>[,ident]...[,<CAID>:<ident>[,ident]...]...
|
---|
151 | define CAID and ident for reader
|
---|
152 |
|
---|
153 | example: ident = 0100:123456,234567;0200:345678,456789
|
---|
154 |
|
---|
155 | provid = ID
|
---|
156 | define provider ID for reader
|
---|
157 |
|
---|
158 | class = [!]class[,[!]class]...
|
---|
159 | define class in hex for reader
|
---|
160 |
|
---|
161 | example: class = 01,02,!1b,!2b
|
---|
162 |
|
---|
163 | chid = CAID:ChID
|
---|
164 | define Irdeto ChID for reader
|
---|
165 |
|
---|
166 | example: chid = 0100:12
|
---|
167 |
|
---|
168 | showcls = quantity
|
---|
169 | number of classes subscriptions to show for Viaccess SCs, default=10
|
---|
170 |
|
---|
171 | maxqlen = size
|
---|
172 | size of request queue for reader, default:128
|
---|
173 |
|
---|
174 | group = groupname
|
---|
175 | reader assingment to group, required
|
---|
176 |
|
---|
177 | emmcache = usecache,rewrite,logging
|
---|
178 | set EMM cache of local reader:
|
---|
179 | usecache = 0|1 1 = enable EMM caching, default:0
|
---|
180 | rewrite = determines how often one and the same EMM is written
|
---|
181 | logging = EMM logging mask:
|
---|
182 | 0 = EMM logging disabled
|
---|
183 | 1 = logging EMM errors
|
---|
184 | 2 = logging written EMMs
|
---|
185 | 4 = logging skipped EMMs
|
---|
186 | 8 = logging blocked EMMs
|
---|
187 |
|
---|
188 | example: emmcache = 1,3,10
|
---|
189 | emmcache = 1,2,6
|
---|
190 |
|
---|
191 | types of caching: cache1 = ECM and CW in cache already
|
---|
192 | cache2 = ECM and checksum in the cache already
|
---|
193 |
|
---|
194 | ecmcache = 0|1
|
---|
195 | 1 = enable ECM caching, default:1
|
---|
196 |
|
---|
197 | blocknano = nano[,nano]...|all
|
---|
198 | list of EMM-nanos to block (in hex w/o 0x) or all EMM-nanos, only valid for physical readers, default:none
|
---|
199 |
|
---|
200 | example: blocknano = 45,93,7a,ff
|
---|
201 | blocknano = all
|
---|
202 |
|
---|
203 | blockemm-u = 0|1
|
---|
204 | 1 = block unique EMMs, default:0
|
---|
205 |
|
---|
206 | blockemm-s = 0|1
|
---|
207 | 1 = block shared EMMs, default:0
|
---|
208 |
|
---|
209 | blockemm-g = 0|1
|
---|
210 | 1 = block global EMMs, default:0
|
---|
211 |
|
---|
212 | blockemm-unknown = 0|1
|
---|
213 | 1 = block unknown types of EMMs, default:0
|
---|
214 |
|
---|
215 | savenano = nano[,nano]....|all
|
---|
216 | list of EMM-nanos to save (in hex w/o 0x) or all EMM-nanos, only valid for physical readers, default:none
|
---|
217 |
|
---|
218 | example: savenano = 45,93,7a,ff
|
---|
219 | savenano = all
|
---|
220 |
|
---|
221 | readnano = [path]filename
|
---|
222 | write file (usually a copy of a file saved by savenano) to your smartcard, if no path is specified, the
|
---|
223 | specified file is searched for in the configuration directory, only valid for physical readers,
|
---|
224 | default:none
|
---|
225 |
|
---|
226 | example: readnano = write.emm
|
---|
227 | readnano = /var/oscam/write.emm
|
---|
228 |
|
---|
229 | lb_weight = weight
|
---|
230 | the higher the value the higher the probability for reader selection, default:100
|
---|
231 |
|
---|
232 | It's an divider for the average responstime.
|
---|
233 |
|
---|
234 | force_irdeto = 0|1
|
---|
235 | 1 = force Irdeto SC mode even if RSA key is set for Irdeto tunnled Nagravion SC, default:0
|
---|
236 |
|
---|
237 | n3_rsakey|rsakey = RSA key
|
---|
238 | RSA key for Nagravision SCs / CAM key data for Irdeto SCs
|
---|
239 |
|
---|
240 | n3_boxkey|boxkey = box key
|
---|
241 | box key for Nagravision SCs / CAM key for Irdeto SCs
|
---|
242 |
|
---|
243 | tiger_rsakey = RSA key
|
---|
244 | RSA key for Tiger Nagravision SCs
|
---|
245 |
|
---|
246 | tiger_ideakey = IDEA key
|
---|
247 | IDEA key for Tiger Nagravision SCs
|
---|
248 |
|
---|
249 | cccdisableretryecm = 0|1
|
---|
250 | 0 = enables ECM retrying: When an ECM request is denied from an CCCam server, OSCam immediatelly sends a
|
---|
251 | new ECM request, 1= disables ECM retrying: When an ECM request is denied from an CCCam server, OSCam sends
|
---|
252 | no new ECM request, default:0
|
---|
253 |
|
---|
254 | cccdisableautoblock = 0|1
|
---|
255 | 0 = enables auto block: When an ECM request is send to an CCCam server, it tries the SC with the lowest
|
---|
256 | hop. If it is denied, the SID is blocked on this SC. When all SC are blocked, the CAID:PROV:SID information
|
---|
257 | is stored in a auto block list and is newer send again, 1= disabled auto block, default: 1
|
---|
258 |
|
---|
259 | cccforceresendecm = 0|1
|
---|
260 | 1 = activates ECM resending when fallback reader timeout occurs, default: 0
|
---|
261 |
|
---|
262 |
|
---|
263 | cccwantemu = 0|1
|
---|
264 | 1 = request to provide emu from CCCam server, too, default: 0
|
---|
265 |
|
---|
266 |
|
---|
267 |
|
---|
268 |
|
---|
269 |
|
---|
270 | OVERCLOCKING
|
---|
271 | · Dreambox and other internal readers
|
---|
272 |
|
---|
273 | For Dreambox and other internal readers the highest possible clockrate will be auto detected. The mhz
|
---|
274 | parameter lets you override the values chosen by OSCam, if it differs from 357 and 358, but usually you
|
---|
275 | will not set any value for mhz.
|
---|
276 |
|
---|
277 | For certain Dreamboxes (especially PPC clones) the default mhz parameter leads to slow ECM times and/or
|
---|
278 | "not found" ECMs. By setting mhz to values like 200, 300, 400, ... 1600 you can find a value that works for
|
---|
279 | your receiver and your card. The higher the mhz value, the slower the ECM time (strange enough).
|
---|
280 |
|
---|
281 | If you choose the value too low, your card is not recognized (no ATR or "card not supported"). If you
|
---|
282 | choose the value too high, you get slow ECM times. Our experience is that either no mhz line, or a line mhz
|
---|
283 | = 1000 works best.
|
---|
284 |
|
---|
285 | · Phoenix / Smartmouse reader
|
---|
286 |
|
---|
287 | Overclocking does not work with Windows and Mac OS X. Set mhz equivalent to the frequency of the reader.
|
---|
288 | OSCam can not set the frequency of the reader.
|
---|
289 |
|
---|
290 | · Smargo Smartreader+
|
---|
291 |
|
---|
292 | Set the reader frequency with the native Smargo Smartreader+ tool (srp_tools). Do not set mhz and cardmhz.
|
---|
293 |
|
---|
294 | OSCam tries to set the baudrate automatically. A standard serial port has limited baudrate settings, so SC
|
---|
295 | overclocking might not work. When using a serial reader the best way for overclocking is connecting it to a
|
---|
296 | FTDI based USB to serial port adapter.
|
---|
297 |
|
---|
298 | If overclocking does not work, verify the effective baudrate in the logfile. If it deviates too much from the
|
---|
299 | requested baudrate, the SC will not be recognized (no ATR) and the value for mhz should be adjusted again.
|
---|
300 | The higher the baudrate, the more accurate the effective baudrate can be.
|
---|
301 |
|
---|
302 | EXAMPLES
|
---|
303 | · serial mouse compatible reader
|
---|
304 |
|
---|
305 | [reader]
|
---|
306 | label = myserialmousereader
|
---|
307 | detect = cd
|
---|
308 | protocol = mouse
|
---|
309 | device = /dev/ttyS1
|
---|
310 | group = 1
|
---|
311 | caid = 0100
|
---|
312 | services = myservice,!thisservice
|
---|
313 |
|
---|
314 | · USB mouse compatible reader
|
---|
315 |
|
---|
316 | [reader]
|
---|
317 | label = myusbmousereader
|
---|
318 | detect = cd
|
---|
319 | protocol = mouse
|
---|
320 | device = /dev/ttyUSB0
|
---|
321 | aeskey = 0102030405060708090a0b0c0d0e0f10
|
---|
322 | group = 2
|
---|
323 | caid = 0200
|
---|
324 |
|
---|
325 | · camd 3.78x reader
|
---|
326 |
|
---|
327 | [reader]
|
---|
328 | label = mycamd378xreader
|
---|
329 | protocol = cs378x
|
---|
330 | device = 192.168.0.1,1234
|
---|
331 | account = user,password
|
---|
332 | group = 3
|
---|
333 |
|
---|
334 | · newcamd reader
|
---|
335 |
|
---|
336 | [reader]
|
---|
337 | label = mynewcamdreader
|
---|
338 | protocol = newcamd
|
---|
339 | key = 0102030405060708091011121314
|
---|
340 | device = 192.168.0.2,2345
|
---|
341 | account = user,password
|
---|
342 | group = 4
|
---|
343 |
|
---|
344 | · CCcam reader
|
---|
345 |
|
---|
346 | [reader]
|
---|
347 | label = mycccamreader
|
---|
348 | protocol = cccam
|
---|
349 | device = 192.168.0.3,3456
|
---|
350 | account = user,password
|
---|
351 | group = 5
|
---|
352 | caid = 0300,0400,0500
|
---|
353 | cccversion = 1.2.3
|
---|
354 | cccbuild = 4567
|
---|
355 |
|
---|
356 | · PCSC reader
|
---|
357 |
|
---|
358 | [reader]
|
---|
359 | label = mypcscreader
|
---|
360 | protocol = pcsc
|
---|
361 | device = 0
|
---|
362 | aeskey = 0102030405060708090a0b0c0d0e0f10
|
---|
363 | group = 6
|
---|
364 | caid = 0600
|
---|
365 |
|
---|
366 | · Smargo Smartreader+
|
---|
367 |
|
---|
368 | [reader]
|
---|
369 | label = mysmartreader
|
---|
370 | protocol = smartreader
|
---|
371 | device = 001:002
|
---|
372 | aeskey = 0102030405060708090a0b0c0d0e0f10
|
---|
373 | group = 7
|
---|
374 | caid = 0700
|
---|
375 |
|
---|
376 | · internal reader
|
---|
377 |
|
---|
378 | [reader]
|
---|
379 | label = myinternalreader
|
---|
380 | protocol = internal
|
---|
381 | device = /dev/sci0
|
---|
382 | group = 8
|
---|
383 | caid = 0800
|
---|
384 |
|
---|
385 | · constant CW
|
---|
386 | [reader]
|
---|
387 | label = myconstantcw
|
---|
388 | protocol = constcw
|
---|
389 | device = /var/keys/constant.cw
|
---|
390 | group = 9
|
---|
391 |
|
---|
392 | SEE ALSO
|
---|
393 | list_smargo(1), oscam(1), oscam.ac(5), oscam.cert(5), oscam.conf(5), oscam.guess(5), oscam.ird(5),
|
---|
394 | oscam.provid(5), oscam.services(5), oscam.srvid(5), oscam.user(5)
|
---|
395 |
|
---|
396 |
|
---|
397 |
|
---|
398 | oscam.server(5)
|
---|