HOW TO CONFIGURE OSCAM – DM500S

Version 1.0

I HAVE CONFIGURED THE FOLLOWING USING OPEN PLI ENIGMA 1 IMAGE ON A DM500S – THESE SETTINGS SHOULD ALSO WORK ON ANY ENIGMA 2 IMAGES – BUT THIS HAS NOT BEEN TESTED

Use Notepad++ to edit files, don’t use Windows Notepad. This document will explain how to use the Open Source Conditional Access Module (OSCam) as a server to you read your Sly white card and MGCamd as the softcam. Install OSCAM and MGCAMD on the DM500S OSCAM CONFIGURATION All OSCAM configuration files are located in /var/tuxbox/config folder. The three important files are oscam.conf oscam.server oscam.user The oscam.conf is as follows [global] logfile = /tmp/oscam.log nice = -1 preferlocalcards =1 saveinithistory =1 resolvegethostbyname =1 [monitor] port =0 nocrypt = aulow = 30 hideclient_to = 15 monlevel =3 appendchaninfo =0 [newcamd] port key allowed keepalive mgclient [webif] httpport httphelplang httpuser httppwd httprefresh httpallowed httphideidleclients httpreadonly httpsavefullcfg

= 34000@0963:000000 = 0102030405060708091011121314 = =1 =0

= 3001 = en = admin = admin = 10 = 192.168.1.1-192.168.1.255 =1 =0 =0

In this section we have used the [newcamd] as the client protocol, the port we want to use for the server (34000) and the card type we want this port to service (0963 – NDS white card as used by Sly Digital UK).

You can use the web interface to add more user accounts or modify the oscam. The [caid ]is the card we are to read (0963 – NDS white card as used by Sly Digital UK). The [Device=/dev/sci0] related to the first card slot in the DM500S. password.255 to connect.2 boxid = xxxxxxxx blockemm-u = 0 blockemm-s = 0 blockemm-g = 1 blockemm-unknown = 1 caid = 0963 In this section we specific the details of the card we wish to share.server file – it will detect it automatically. therefore we do not allow external clients to connect.server file is as follows [reader] label = slot1 enable = 1 Protocol = internal Detect = CD Device = /dev/sci0 group = 1 EMMCache = 1. [account] user pwd group uniq monlevel au caid cccmaxhops cccreshare [account] user pwd group = xxx = xxx =1 =1 =0 =1 = 0963 = -1 = -10 = zzz = zzz =1 .3.168. the above example allows client with an IP address 192. port to access the webinterface. Modify this section to reflect the subnet on your local area network.user file and add accounts as required. The oscam.The [webif] is the section we define the web interface configuration. The [boxid] is entered here – please note latest releases of OSCam do not require the box key to be included in the oscam. who is the only user allowed to send EMM from the client. The oscam.user file is as follows [account] user pwd group uniq monlevel au caid cccmaxhops cccreshare = xxxxx = xxxxx =1 =1 =0 =1 = 0963 = -1 = -10 This is where all users accounts are created.1. [au] set this to 1 for only one user.-192. The httpallowed section is what clients we want to connect. We set such options as username.1.1.168. For following oscam.user file has 3 accounts setup.

ignore/priority) # 00 files in /var/keys # 01 files in /tmp T: { 00 } # network mode. autoroll. Modify the newcamd.168. Once oscam configuration is complete. emm pids always processed for soft-au and shared cards # 02 auto. # EMM messages # 00 don't show any EMMs (default) # 01 show only valid EMMs # 02 show valid and bad EMMs with complete data display M: { 01 } # ECM messages # 00 don't show anything about ecm # 01 normal mode. decoded ecm and cw # 02 verbose mode.1.1. default setting # 02 update all keys (used for valid PMK checking) # 04 enable TPS au # + tps SID.7. emm started only if channel cant be decoded # 03 process emm pids for network cards update only A: { 01 } # key update (sum 01 or 02 with 04) # 01 update only new keys. then oscam is ready as a server and waiting for clients to connect.7 34000 xxx xxx 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan oscam2 The mg_cfg file is located in/var/keys has the configuration for MGCamd client.uniq monlevel caid cccmaxhops cccreshare [account] user pwd disabled group uniq monlevel caid cccmaxhops cccreshare =1 =0 = 0963 = -1 = -10 = yyy = yyy =1 =1 =1 =0 = 0963 = -1 = -10 As you can see. The following is an example of the newcamd. MGCAMD CONFIGURARION We will use MGCamd as a client. no emm pids processed # 01 enable. show pids processed. use summ for several clients # 00 no network (default) # 01 newcamd netclient # 02 radegast netclient # 04 camd3 netclient .list file connect to an internal oscam server on IP address 192. with username and password of xxx CWS_KEEPALIVE = 300 CWS_INCOMING_PORT = 21000 CWS= 192. connect to the web interface via your favourite browser and check the debug information on the main page. show valid and bad ECMs with data C: { 01 } # AU # 00 disable.list file located in /var/keys. If no errors were detected. which pmt pid contains au pid U: { 01 } 0x12c0 # config files folder (softcam. port 34000.168. we only allow one user account to au by setting the option to 1 for a single user account and 0 for the other user accounts.

before it eat all your hdd # + IP udp-port log-file-name #L: { 03 } 172. camd3 (default) # 01 camd3.Key if file changed R: { 00 } # debug. newcamd.Key on channel change # 04 reread SoftCam. camd3.16. summ of: # 00 off # 01 network udp log # 02 log to console # 04 file. same syntax as restore.list at exit. sec Q: { 600 } # network shares priority # 00 gbox. seconds # every cache entry takes 28 bytes. E: { 15 } # cache option. # to not hammer cards while timeshifting or playing crypted recordings. use summ for several options # 00 disable # 01 retry every new ecm # 02 try to connect to offline shares every Q: seconds # 04 try to detect and fast reconnect to lost (and not used atm) server # + XX messages number and YY seconds to reconnect # mg will reconnect to server. but not replace/cache) # 02 reread SoftCam. if no answer to last XX ecm/keepalive or # if no answer for last ecm or keepalive sent for YY seconds # set to 0 to disable N: { 07 } 5 30 # network ecm timeout in seconds K: { 05 } # newcamd dead routes connect retry. cache not cleared until restart H: { 07 } # reread files. do not resend the same emm twice.# 08 gbox netclient G: { 01 } # network retry. newcamd. so 24h cache will take *only* 240-400kb of memory. radegast. summ of: # 01 show emu ecm # 02 show network shares messages # 04 show decoding failed / fta # 08 show emm keys update # + web port to use for osd S: { 00 } 80 # Log option. summ of # 00 off (default) # 01 debug ecm # 02 debug emm # 04 debug network ecm # 08 debug network emm # 16 debug network login # 32 show mem/cpu stats every 1 min # 64 add timestamp to log messages . # for openbox/elanvision users with remote shares make sense to set it higher than default value.log L: { 00 } # keep ecm cache. summ of: # 00 Off (default) # 01 Ecm pids cache. gbox. store pids used to decode in /tmp/ca_cache. radegast P: { 00 } # on screen display type # 00 No OSD (default) # 01 neutrino # 02 enigma # 03 relook # + user password for http auth O: { 00 } admin newcs # on screen display Options. appended ! delete it by yourself. gbox # 02 newcamd.list # 02 Ecm data cache. radegast. summ of: # 00 No (default) # 01 reread config file on channel change (including priority and ignore.1 28007 /tmp/mgcamd.1. load at startup. remember CW for (E:) time # 04 Emm cache for network cards.

D: { 00 } # box type # 00 autodetect. change only if you think wrong type detected. Set the AU option (A:) to 1 just for one client. . # 01 dbox2 # 02 dreambox # 03 triple-dragon # 04 relook # 05 openbox B: { 00 } Only a single MGCamd client needs to be configured to update the EMM.