Спутниковый медиа бокс WeTek Play чудо иностранной техники которое я предлагаю доделать в плане открытия платных спутниковых телеканалов. Это станет возможно заменив штатный, или штатно установленный OSCam на новый OSCam версии svn r11342 emu r735.
Данная версия эмулятора Оскам эму 1.20 svn 11342 emu r735 скомпилирована под процессор Cortex a9 ARMv7 для использования на цифровых HD ресиверах WeTek Play с прошивкой Жұмбақ 2: Мнигма, OpenPli и др.
Unix басталу уақыты: 1484691982 Басталу уақыты: 18.01.2017 00:26:22 Нұсқа: oscam-1.20-HPB-r661-EMU-r375-735-r11342 Compiler: arm-linux-gnueabihf-libusb Box type: ала кету (жалпы) PID: 1683 TempDir: /tmp/.oscam GBox TempDir: /tmp/.oscam ConfigDir: /etc/tuxbox/config/oscam/ WebifPort: 8888 Веб-интерфейсті қолдау: иә LiveLog қолдауы: иә jQuery қолдау тәжірибесі: иә Сенсорлық интерфейсті қолдау: no SSL support: жоқ DVB API қолдауы: иә AZBOX қолдауы бар DVB API: жоқ MCA қолдауы бар DVB API: жоқ COOLAPI қолдауы бар DVB API: жоқ COOLAPI2 қолдауы бар DVB API: жоқ STAPI қолдауы бар DVB API: жоқ STAPI5 қолдауы бар DVB API: no DVB API read-sdt CHARSETS support: иә Ирдето болжайды: иә Каскадқа қарсы қолдау: иә Түзету режимі: иә Монитор: иә Жүктемені теңестіруді қолдау: иә Кэш алмасуды қолдау: иә CW Cycle Check қолдауы: иә СКД қолдауы: yes LED support: иә Нақты уақыттағы сағатпен сағатты түзету: иә IPv6 қолдауы: жоқ Эмуляторды қолдау: yes camd 3.3x: иә camd 3.5 UDP: иә camd 3.5 TCP: иә newcamd: иә CCcam: иә CCcam бөлісу: иә gbox: иә radegast: иә алдау: иә сериялық: иә тұрақты CW: иә Пандора: иә ghttp: иә Оқырман қолдауы: иә Награ: иә Ирдето: иә Конакс: иә Cryptoworks: шанышқылар құрғақ: иә Қол жеткізу: иә NDS Videoguard: иә DRE Crypt: иә ТОНФАНГ: иә Bulcrypt: иә Гриффин: иә DGCrypt: иә cardreader_phoenix: иә cardreader_internal_azbox: жоқ cardreader_internal_coolapi: жоқ cardreader_internal_coolapi2: жоқ cardreader_internal_sci: иә cardreader_sc8in1: иә cardreader_mp35: иә cardreader_smargo: иә cardreader_pcsc: no cardreader_smartreader: иә cardreader_db2com: иә cardreader_stapi: жоқ cardreader_stapi5: жоқ cardreader_stinger: yes cardreader_drecas: иә
К делу, прошивка Mnigma, при первоначальной настройке системы выбираем и устанавливаем эмулятор OSCam (без emu). Для замены эмулятора OSCam на более новый Оскам эму 1.20 svn 11342 EMU r735 требуется заменить бинарник (исполняемый bin файл) который можно безвозмездно скачать по ссылке :
bin.oscam-emu-r11342_735-arm-linux-gnueabihf.7z 690 КБ
Special features: =========== Pid-File control : without start-parameter "-Б" and with "pidfile=[blank]" in oscam.conf --> no Pid-File WebIf - Readers-/Users-Menu --> Disabled-/Enabled-Symbol changed WebIf - Status-Menu --> Skript-/Shutdown-Button "properties" individually programmable via CSS-File (LI.menu_script ... and/or LI.menu_shutdown ...) Webitфан - OSCamLogo with OSCamLabel (WebIf --> config --> webif --> OSCam Label) (Example: set it to Box-Name ...) Write channelcache and emmcache/emmstat: Enable/disable parameter over webif (not with usecache from parameter emmcache) - "Save channelcache" in Config/Dvbapi - "Write emmcache/emmstat to file" in Config/Logging Default for both: disabled All three files are written to config-dir If "emmlogdir" is defined, oscam.emmcache and oscam.emmstat are written to this defined dir. Provider-Picons on Status-Page: Important: For this feature you must activate the parameters "Poll (initial refresh)" and "Http show Picons". Also you must copy a picon (named IC_provider.tpl) to template-dir (parameter "Http tpl") or picons-dir (if defined - parameter "Path for picons") User specific loadbalancer parameters: User force always reopen: Webif -> Config -> Loadbalancer -> User force always reopen 0 - disabled (default) 1 - enabled or in oscam.user: [account] lb_force_reopen_user = 0 or 1 Only if count reached lb_min_ecmcount: Webif -> Config -> Loadbalancer -> only if count reached lb_min_ecmcount 0 - disabled (default) 1 - enabled or in oscam.user: [account] lb_force_reopen_user_lb_min = 0 or 1 General date format: dd.mm.yyyy Support tongfang version 3 NTIC2 Support ORF ICE Card with Caid 0650 (complete Austria-SAT with "Ирдето"-Mode) Webitфан - Special WebIf-Design included This version creates a virtual card reader, which is configured automatically. You may save the default reader configuration with the webif and then modify it to your own liking. SoftCam.Key: OSCam-EMU does not require, but will make use of "SoftCam.Key" if available. "SoftCam.Key" is searched in the oscam config folder (where oscam.conf is located) and also in "/var/keys". OSCam dvbapi config: ==================== If dvbapi is activated, the "delayer" option is forced to have a value of at least 60. This is to avoid freezes/crashes because of too fast ecm responses. New Parameter: ============== Process EMM from stream: Webif -> Config -> Stream Relay -> Process EMM from stream 0 - disabled (default) 1 - enabled or in oscam.conf: [streamrelay] stream_emm_enabled = 0 or 1 BISS/ConstCW config: ==================== Syntax for keys in SoftCam.Key: (key number can be '00' or '01') Ф <қызмет идентификаторы><ecm pid> <кілт нөмірі> <кілт> Example: қызмет идентификаторы: 2222 ecm pid: 1111 кілт: 0102030405060708 Ф 22221111 00 0102030405060708 Important: The correct ecm pid is only available when using oscam dvbapi. мысалы: Оскам (DVBAPI) <-> OSEmu oscam (DVBAPI) <-> Оскам <-> OSEmu When using another client like cccam, the ecm pid seen by OSEmu will always be '1FFF' For example: cccam <-> Оскам <-> OSEmu cccam <-> OSEmu In this case the above example key line needs to be changed to: F 22221FFF 00 0102030405060708 PowerVU config: =============== Keys in SoftCam.Key: П <groupid><srvid> <nb> <кілт> Where: groupid = any 4 hex digits of your choice for this group (leading zeros are optional) srvid = SID (қызмет идентификаторы) of channel in hex with leading zeros to make 4 hex digits. nb = key number (00/01) key = ecm key Example groupid=0x1, sid=0x1234, keys 00 and 01: П 00011234 00 11223344556677 П 011234 01 22334455667788 Example groupid=0x2, sid=0x34, keys 00 and 01: П 00020034 00 00112233445566 П 0020034 01 00223344556677 For channels with the same srvid the correct key will be detected automatically, but each key needs a unique groupid. P 009E0234 01 11223344556677 П 00040234 01 22334455667788 P 013E0234 01 33445566778899 WARNING - duplicate <groupid><srvid> are not allowed anymore - only the last instance will be used! AU keys: П <groupid> <UA> <кілт> example: P 009E 11223344 11223344556677 P 009E 44332211 22334455667788 П 0004 22334455 33445566778899 P 013E 00112233 00112233445566 Multiple UA keys are allowed for each group and each UA will update ALL ecm keys in the group. NOTE: in order to work, the ecm keys must be "seeded" in the file for each SID you want to update since the UA has no information about sids. So to add a key that is unknown, enter a dummy key to get updated, мысалы: П 00010004 00 00000000000000000 П 00010004 01 00000000000000000 Also note: Duplicate powervu keys are no longer allowed (unnecessary since duplicate SIDs should now have a unique group ID.) So, if there are any duplicates, only the last key in the file will be used. This also means that as new keys are found and appended to the file, they will automatically replace earlier keys. On compatible Dreambox STBs: 1) Disable the Stream Relay: Webif -> Config -> Stream Relay -> Mode 0 - disabled (default) 1 - enabled or in oscam.conf: [streamrelay] stream_relay_enabled = 0 2) Select the correct DVB-Api extended CW API: Webif -> Config -> DVB-Api -> API for extended CWs 0 - disabled (default) 1 - О.Е 2.2 2 - О.Е 2.0 or in oscam.conf: [DVBAPI] extended_cw_api = 2 On other devices the Stream Relay must be used: IMPORTANT: The stream relay needs a fast CPU. Not every STB is fast enough. If you cannot fix stuttering with the following guide, likely your CPU is too slow. For best performance, the "Include ECM in http streams" setting must be enabled. If your image supports it (OpenPLI, OpenATV), you can find it here: OpenWebif -> Settings -> Customize If the setting is not available, you may need to adjust the "ECM fix delay" setting in oscam webif (Config -> Stream Relay). Increase/Lower it until there is no stuttering. When using VU+ devices, make sure to use the latest drivers (June 2015), if you encounter any problems. Channel Config: 1. Go to the OpenWebif and click on the "Stream" button for the channel you want to add. 2. Download and save the .m3u file. 3. Open the .m3u file with a text edior and get the stream link. It looks like this: https://stb:8001/1:0:19:0123:3Еф:1:C00000:0:0:0: 4. Replace the port (8001) with the relay port (default: 17999) and the host name ("stb") with 127.0.0.1 https://127.0.0.1:17999/1:0:19:0123:3Еф:1:C00000:0:0:0: 5. Add the new stream link to your channel list (for example with DreamBoxEdit) IMPORTANT: Do NOT use the correct Transponder ID/Network ID/Namespace for the stream link. Use Transponder ID: "11", Network ID: "22" and Namespace: "33". Set Service Type to "1", and enter the correct Service ID for the channel. Note: When using DreamBoxEdit: А. Go to the list in the middle "Bouquet details". Б. Right click on a channel, select "IPTV and other streaming services", select "Add". Б. Select "DVB/TS". г. Chosse a name and use the new stream link as URL. Е е. Use the "қызмет идентификаторы" of the original channel. You can find it in the left list ("Services") Drecrypt config: ================ Keys from ee.bin files: Put "ee36.bin" and "ee56.bin" into the config folder (where SoftCam.Key is). Or: set a custom path for these files with the "extee36" and "extee56" reader settings. Keys in SoftCam.Key: Overcrypt keys (16 keys): г 0 <number> <кілт> example: г 0 0 1122334455667788 ... г 0 Ф 1122334455667788 AU keys: г <caid><provider> MK<key type><key index> <кілт> example: D 4AE1FF MKAA01 112233445566778899AABBCCDDEEFF0011223344556677889900AABBCCDDEEFF Tandberg config: =============== Keys in SoftCam.Key: T <entitlement> 01 <кілт> мысалы (entitlement = 1234): T 00001234 01 1122334455667788 leading zeros maybe be skipped. same key as above: T 1234 01 1122334455667788 AU keys: for old key set: T <key index (hex)> MK <кілт> 64 keys are needed: T 40 MK 1122334455667788 T 41 MK 1122334455667788 ... T 7F MK 1122334455667788 for new key set: T <key index (hex)> MK01 <кілт> 64 keys are needed: T 40 MK01 1122334455667788 T 41 MK01 1122334455667788 ... T 7F MK01 1122334455667788
Для OSCam имеют место два пути, путь к настройкам OSCam /etc/tuxbox/config/oscam/ и к самому исполняемому файлу /usr/bin/ который мы и заменим. И так что менять мы знаем на что мы имеем. Менять будем по фтп, логин root пароль любой, для этого я использую Total Commander
Файл /usr/bin/Оскам сперва переименовываем в любой другой, к примеру __oscam, потом вытянутый из скачанного архива файл oscam (который новый OSCam Emu 1.20 r11342 emu r735 ), и скопировать его в папку /usr/bin/ . После выставить атрибуты файлу 755, для возможности запуска и выполнения нового Оскам эму 1.20 Р11342 EMU r735.
[оқырман] label = emulator protocol = emu device = emulator fallback = 1 caid = 0D00,0D02,0500,1801,0604,2600,FFFF,0E00,4AE1 deskey = 4A1123B14599CF10211B18CD02D4A11F0756ABB44531AA23CDF255A1134CF17657D93175139889C8A3365B18C28345E219F73508C3DAE128E719B5D88DE323A4A7ECD2158B4259C51349832EFBAD7CD3372578E3721953D97A15A4C7154932E863D596A727D8B268425E1A8C41698EE8C2AB3729D3CF93A749D333C2EB71D314 detect = cd ident = 0D00:000000,000004,000010,000014,000020,0000C0,0000C4,0000C8,0000CC;0D02:000000,00008Б,0000A0,0000A4,0000A8;0500:000000,030B00,023800,021110,007400,007800;1801:000000,007301,001101;0604:000000;2600:000000;FFFF:000000;0E00:000000;4AE1:000011,0000FE group = 2 emmcache = 2,3,2,0 blockemm-unknown = 1 blockemm-u = 1 blockemm-s = 1 lb_weight = 200 lb_force_fallback = 1 emu_auproviders = 0500:030B00;0604:010200;0E00:000000;4AE1:000011,0000FE extee36 = /etc/tuxbox/config/oscam/ee36.bin extee56 = /etc/tuxbox/config/oscam/ee56.bin dre36_force_group = 05
oscam.user
[account] user = root betatunnel = 1833.FFFF:1702 au = emulator group = 1,2 max_connections = 5 [account] user = monitor pwd = monitor monlevel = 4 group = 1
oscam.conf
[global] logfile = /tmp/oscam.log logduplicatelines = 1 disableuserfile = 0 clienttimeout = 9999 fallbacktimeout = 7000 clientmaxidle = 9999999 nice = -1 maxlogsize = 1500 waitforcards = 0 preferlocalcards = 1 block_same_ip = 0 block_same_name = 0 usrfile = /tmp/oscamuser.log cwlogdir = /tmp/oscamcwdw.log lb_save = 500 lb_min_ecmcount = 3 lb_savepath = /tmp/.oscam/oscam.stat failbantime = 15 failbancount = 3 suppresscmd08 = 1 getblockemmauprovid = 1 [cache] [streamrelay] [DVBAPI] enabled = 1 writechannelcache = 1 pmt_mode = 3 request_mode = 1 delayer = 60 ecminfo_type = 4 user = root read_sdt = 2 write_sdt_prov = 1 extended_cw_api = 2 boxtype = dreambox [monitor] port = 988 nocrypt = 127.0.0.1,192.168.0.0-192.168.255.255 aulow = 120 monlevel = 4 [Webitфан] httpport = 8888 httphelplang = ru httprefresh = 10 httppollrefresh = 10 httpshowmeminfo = 1 httpshowecminfo = 1 httpshowloadinfo = 1 httpallowed = 127.0.0.1,192.168.0.1-192.168.255.255,10.0.0.1-10.255.255.255 aulow = 120 httposcamlabel = MegaOSCam httpemmsclean = 0 httpemmgclean = 0
oscam.dvbapi
####### EMU ######## П:2600:000000 П:0E00:000000 ######Tricolor 36E###### P:4AE0:000015 M:4AE0:000015 4AE0:0 П:4AE0:0 ####### NTV+ 36E ######## I: 0500:040610 I: 0500:050100 I: 0500:050B00 I: 0500:060C00 P: 0500:060A00 P: 0500:040620 I: 0500:040600 П: 0500:041200#TRK_Ukraine & Football(5°E) П: 0500:023800#SRG_Swiss(13Е е) П: 0500:024F00#Max TV(13Е е) П: 0500:032830#CanalSat_France(19.2Е е) П: 0500:041700#Red_light New Elite(13Е е) П: 0500:042300#RTVI(13Е е) П: 0500:042400#JSC_Sports(13Е е) П: 0500:042800#BIS_TV(13Е е) П: 0500:042700#SCT(13Е е) П: 0500:043800#SCT/Red light HD(13Е е) П: 0500:040810#SRG_Swiss(13Е е) П: 0500:030B00#TNT_France(19.2°E) П: 0500:007400#Mezzo(13Е е) П: 0B0F:000000#Xtra_TV(4w) П: 0602:000000#Kontinent(85,2Е е) П: 0652:000000#Raduga(75Е е) ######CYFRA+ и Полсат######### P:0100:000068:13F7:0afb#CINEMAX I:1803:000000:13F7:12C1#CINEMAX P:1803:000000:3D61:0B9D#Filmox I:0100:000068:3D61:0B61#Filmox I:0B01:000000:3D61:0B75#Filmox P:1803:000000:114г:066A#HBO I:0100:000068:114г:0A45#HBO ######N####### P:0b01:000000#N P: 0100:00006A#Canal_Digitall ASTRA (19.2Е е), (23.5Е е) П: 090Ф:000000#Viasat_Baltic(5E/75E) П: 093Е е:000000#ViaSat_Litva(5E/75E) П: 09Ықшкір:000000#Sky_Italian(13Е е) П: 098Б:000000#Sky_Deutschland (19.2Е е) П: 1702:000000#SKY_Germany(19.2Е е) ######Cyfrowy Polsat 13Е###### P:1803:000000#Cyfrowy Polsat 13Е I:1813:000000#Cyfrowy Polsat 13Е I:1861:000000#Cyfrowy Polsat 13Е I:0500:030100#Cyfrowy Polsat 13Е P: 1810:000000#Digital+ HD(19.2Е е) П: 1830:000000#HD+ (19.2Е е) П: 183г:000000#TivuSat(13Е е) П: 0D05:000000#ORF_Digital(19.2°E) П:1010:000000 #####SEKA####### I: 0100:00003D I: 0100:000080 I: 0100:000086 I: 0100:000088 ####VIA####### I: 0500:032A10 I: 0500:032A00 I: 0500:032920 I: 0500:022A00 I: 0616:000000 I: 0919:000000 I: 4ABF:000000 I:0