†
††LUCIFER††
Pues para visionar nuestra card gris con las ultimas versiones de gbox.net, en receptor enigma2, pues archivo configuracion de gbox(gbox_cfg) tal cual lo pongo:
Teniendo sobre todo en cuenta:
F: { 08 } 1// pmt mode (0 - pmt file mode, 1 - pmt socket mode)
Ponerlo a 1 ya que los receptores enigma 2 normalmente utilizan camd.socket ubicado en /tmp
Iniciamos gbox y observamos en el log que todo perfecto:
Código:
# gbox config file
# Trace, Debug
# xx yz ; xx=00 no konsole output
# xx yz ; xx=01 konsole output
# xx yz ; y=0 debug output (dont use)
# xx yz ; y=1 no debug output
# xx yz ; z=0 ouput to konsole
# xx yz ; z=1 output to /var/tmp/debug.txt
# xx yz ; z=2 Output to UDP (to capture with gboxt)
Z: { 01 10 } 192.168.1.2 8024
# gbox working mode
# 00 pure Emu
# 01 pure SoftCam (when card inside), Emu (when no card inside)
# 02 pure Net Client
# 03 Mixed mode !!!!! always use this !!!!!
G: { 03 }
# Display ECM messages on Konsole
# 00 dont show any ECMs
# 01 show only valid ECMs
# 02 show valid and bad ECMs with complete data display
# 1X show ca access
# 2X use nagra aladin 1801 in betacrypt mode (for UM-I02)
C: { 02 }
# Display EMM messages on Konsole
# 00 dont show any EMMs
# 01 show only valid EMMs
# 02 show valid and bad EMMs with complete data display
# 1* Log any tier change on PW-Nagra-17xx cards into /var/keys/pwupdate.log
M: { 12 }
# Auto Update
# 00 is ignored (default)
# 01 enable AU
# 02 Auto AU !!!!! always use this !!!!!
A: { 01 }
# Key Update
# 01 update only new keys, default setting
# 02 update all keys (used for valid PMK checking)
U: { 01 }
# Hash pids
# 00 hash all pids, DO NOT USE THIS OPTION, IT IS ONLY FOR TESTING STUFF
# 01 hash only pids with implemented algos and available keys !!!!! always use this
H: { 01 }
# Key files folder
# 00 keyfiles in /var/keys
# 01 keyfiles in /var/tmp
T: { 00 }
# On Screen Display for the Multysystemcam on com1/com2
# 00 No OSD (default)
# 01 display Smartcard messages in Neutrino
# 02 display Smartcard messages in Neutrino new nhttpd format
# 03 display Smartcard messages in Enigma
# 04 display Smartcard messages in Enigma2
O: { 00 } 192.168.0.3 coolstream
# Logger and NET-mode UDP port Init
# 00 do not init UDP port
# 01 Init UDP port for IP, port, UDP
L: { 01 } 192.168.0.251 7025
# demux, multicam/comport configuration
# example: yz = 0x0A = 00001010 (use com2 with inverted CTS detection line)
# *x ** ; x = device nummber to be used (0= default)
# D* ** ; force use of /proc/bus/gtx for cw write operations
(in the dbox2 the gbox writes directly the CWs, 00 is the
recommended mode ! No drivers are required) use D* ** ONLY if
you have Problems. 0* ** should be prefered !!!
# F* ** ; write CWs in both devices (used for PVR in STB04xxx devices)
# ** y* ; y=0001b (0x1*) use slot1 as Multicam (only on STB04xxx)
# ** y* ; y=0010b (0x2*) use slot2 as Multicam (only on STB04xxx)
# ** y* ; y=0011b (0x3*) use slot1 and slot2 as Multicams (only on STB04xxx)
# ** *z ; z=0001b (0x*1) use com1 as Multicam
# ** *z ; z=0010b (0x*2) use com2 as Multicam
# ** *z ; z=0011b (0x*3) use com1 and com2 as Multicams
# ** yz ; yz=00110011b (0x33) use slot1+slot2+com1+com2 as Multicams
# ** *z ; z=0100b (0x*4) invert CTS detection on com1
# ** *z ; z=1000b (0x*8) invert CTS detection on com2
V: { 00 10 }
# RS232 SSSP mode
# x debug messages, 1=on, 0=off
# y com port to use (0=none, 1=com1, 2=com2)
R: { 00 }
# Task type
# 00 ** normal mode gbox mode (no season, use Multicam instead)
# 01 ** Season Emulation in a Irdeto allcam chid 0602 nonZ
# 10 ** Season Emulation in a Irdeto allcam chid 1702 nonZ
# 11 ** Season Emulation in a Irdeto allcam chid 1702 Z
# 12 ** Season Emulation in a Irdeto allcam chid 1722 Z
# 13 ** Season Emulation in a Irdeto allcam chid 1762 Z
# ** *1 Com port to use for season emulatiom (1 or 2)
# ** 0* Use CTS for RST detection
# ** 1* Use DCD for RST detection
# ** ** 9600 = Baudrate to be used (working only on dbox2)
W: { 00 00 } 9600
# =============================================================================
# extra options to override default seting in case you expirience Problems,
# normaly these setings are not required.
# GboxTwin mode
# this options for the 2nd gbox ONLY
# you must have an extra gbox, gbox_cfg and cwshare.cfg running on /tmp,
# all other files can linked to the org. files
#F: { A6 } 5
# cpu, api, cw write method
# 00 auto
# 01 80X86
# 02 MPC823
# 03 IBM STB04xxx
# 00 auto
# 01 ibm
# 02 api2
# 03 api3
# 00 cw write style = use internal routine (only dbox2)
# 01 cw write style = CA_SET_DESCR type1 (dbox2, vdr)
# 02 cw write style = CA_SET_DESCR type2
# 03 cw write style = CA_SET_DESCR type3
# 04 cw write style = 16 byte /proc/bus/gtx
# 05 cw write style = 4096 byte /proc/bus/gtx, cw offset=0x04D0
# xx write cw in 1st device with index=xx
# yy write cw in 2nd device with index=yy
# 01 means with .index=0 (default)
# 02 means with .index=1
# 03 means with .index=0 and .index=1
# .. any bitwise combination ...
# FF means with all 8 indexes (0-7)
#J: { 00 03 01 00 00 }
# Files, folders, devices
# folder/device comment
#F: { 01 } /var/tmp/pmt.gbx // pmt file
#F: { 02 } /var/tmp/emm.info // key update log file
#F: { 03 } /var/tmp/ecm.info // ecm info file
#F: { 04 } /var/tmp/atack.txt // atack info file
F: { 08 } 1 // pmt mode (0 - pmt file mode, 1 - pmt socket mode)
#F: { 11 } /var/keys // folder for config files
#F: { 12 } /var/tmp // folder for temporary file
#F: { 13 } /var/tmp // folder for keyfiles
#F: { 21 } /dev/null // ca device
#F: { 22 } /dev/null // dvr device
#F: { 23 } /dev/null // demux device
#F: { 31 } /dev/null // second ca device to write cw's (recording)
#F: { 41 } /dev/sci0 // STB04xxx slot1
#F: { 42 } /dev/sci1 // STB04xxx slot1
#F: { 43 } /dev/tts/0 // rs232 com1
#F: { 44 } /dev/tts/1 // rs232 com2
# For overclocking freaks, Clocking internal STB04xxx slots with:
# 1=7.80MHz 2=6.30MHz 3=5.25MHz 4=4.50MHz 5=3.94MHz 6=3.50MHz 7=3.15MHz
# Irdeto works fine on 7.8MHz, all other fine on 6.30MHz or 5.25MHz
# The Dream has not a clean clock signal, some cards that are sensitive will
# refuse to work even on 3.5MHz, thats why 3.15MHz is the default value there.
# On other STB04xxx recievers the same cards work with 6.30MHz
#F: { 51 } 02 // irdeto
#F: { 52 } 03 // seca
#F: { 53 } 03 // viaccess
#F: { 54 } 03 // nagra
#F: { 55 } 03 // crypto
#F: { 57 } 03 // conax
#F: { 58 } 03 // nds
# force a name change of the season or sssp rs232 device
#F: { 45 } /dev/ttyS1
# set stay alive ping time in seconds (default is 300)
#F: { A0 } 300
# disable direct serial port I/O access on 80x86cpus (win and linux)
# direct port i/o is used to set unusual Baudrates, if you want to
# a 3.579MHz card in a 6.000MHz reader etc ...
#
# Enabled (A1=0) is the default setting, has always been !!!
#
# Disable (set to 1) it ONLY if you have problems with ioperm or you want
# to use a usb-to-rs232 smartcard reader
F: { A1 } 1
Teniendo sobre todo en cuenta:
F: { 08 } 1// pmt mode (0 - pmt file mode, 1 - pmt socket mode)
Ponerlo a 1 ya que los receptores enigma 2 normalmente utilizan camd.socket ubicado en /tmp
Iniciamos gbox y observamos en el log que todo perfecto:
Código:
dhcppc0:~# cd /var/emu
dhcppc0:/var/emu# ./gbox
starting now
gbox.net 2.2A/Linux@SH4 ( Feb 7 2012, 13:12:18 ) git804
Checking/Logging PW tiers on every EMM
OSD (dbox2) IP = 192.168.0.3
Logger init for IP: 192.168.000.251 on port 7025
RS232gate=0 speed=9600
Seasonport=0 speed=9600 mode=0
direct serial port i/o disabled
mode 03
AU:01/update:01/Keyfile:00 Hash:01 DispECM:02/EMM:02 UDPInit:01 OSD:00
could not open /var/keys/irdeto
could not open /var/keys/seca
could not open /var/keys/via
could not open /var/keys/nagra
could not open /var/keys/conax
could not open /var/keys/crypto
could not open /var/keys/nds
could not open /var/keys/constcw
Total 0 ports to monitor
CPU SH4
using LinuxTV api3
could not open /var/keys/softcam.cfg
internal slot1 opened
mode: any pid
have to init card 1
ATR : xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Reset Baudrate = 9600 Baud
Init Seca
UA: SN:000000xxxxxxxxxxxxxxxxxxxx
DIGITAL+ 5001 ppua xxxxxxxxxxxxxx 04.11.2012 PBM FFFFFFFFFFFFFF
DIGITAL+ 4106 ppua xxxxxxxxxxxxxx 04.11.2012 PBM 00200000C02000
SPARE 4108 ppua xxxxxxxxxxxxxx 04.11.2012 PBM 00000000000000
Working Baudrate = 13440 Baud
cardsystem= 2
card init ok
entering main loop
ReRead pmt.tmp
PMT:
9F 80 32 81 99 03 77 C3 1D 00 19 01 81 08 00 C0
00 00 04 0A 00 01 82 02 01 00 84 02 04 0F 85 04
00 00 00 01 02 00 A5 00 1A 01 09 04 18 10 E8 83
09 11 01 00 E4 9B 41 06 FF FF FF FF FF FF FF FF
FF 2D 1E 04 00 64 00 1A 01 09 04 18 10 E8 83 09
11 01 00 E4 9B 41 06 FF FF FF FF FF FF FF FF FF
2D 1E C0 00 D0 00 00 C0 00 DE 00 00 C1 01 88 00
00 C1 00 D5 00 00 C1 00 FD 00 00 C1 01 33 00 00
C1 01 6B 00 00 C1 01 6C 00 00 C1 01 64 00 00 C0
01 35 00 00 C1 03 78 00 00 C1 02 70 00 00
ReRead pmt.tmp
ECM: CA ID: 0x1810 Nagravision -> CA PID: 0x0883
*ECM: CA ID: 0x0100 Seca/Mediaguard (4106) -> CA PID: 0x049B
**** hashTableECM 1 elements ****
**** hashTableEMM 0 elements ****
already selected card 1
===== Seca ECM on CaID 0x0100, pid 0x049B =====
prov: 0006 ( on card prov.nr. 1 ), pkey: 0E
-ECM-------------------------------------------
80 00 61 41 06 00 00 0E 00 EA 79 D6 FF DE F3 94
EB 36 CC 73 2E 40 DB 1F 7B A3 73 8C E5 56 BE F0
7A C3 60 DA CD 69 EB 94 01 AD 03 6B E7 75 D1 10
A6 A5 AA A7 85 5A B2 1F 9B D8 2D F8 45 C2 71 58
BD C9 F3 FB A2 34 9E 99 CD 52 AE 71 2B 3F 33 45
A2 3C E6 20 BE 41 C2 BE A2 A0 67 24 12 86 C9 9E
B8 E8 86 53
-Send to card----------------------------------
C1 3C 01 0E 5C 00 EA 79 D6 FF DE F3 94 EB 36 CC
73 2E 40 DB 1F 7B A3 73 8C E5 56 BE F0 7A C3 60
DA CD 69 EB 94 01 AD 03 6B E7 75 D1 10 A6 A5 AA
A7 85 5A B2 1F 9B D8 2D F8 45 C2 71 58 BD C9 F3
FB A2 34 9E 99 CD 52 AE 71 2B 3F 33 45 A2 3C E6
20 BE 41 C2 BE A2 A0 67 24 12 86 C9 9E B8 E8 86
53
CAT:
01 B0 74 FF FF C9 00 00 09 09 01 00 E0 C1 01 E0
C4 41 06 09 04 18 10 E0 9B 09 04 18 70 E7 DF 09
04 18 71 E7 E0 09 04 18 72 E7 E1 09 04 18 73 E7
E2 09 04 18 74 E7 E3 09 04 18 75 E7 E4 09 04 18
76 E7 E5 09 04 18 77 E7 E6 09 04 18 78 E7 E7 09
04 18 79 E7 E8 09 04 18 7A E7 E9 09 04 18 7B E7
EA 09 04 18 7C E7 EB 09 04 18 7D E7 EC 09 04 18
7E E7 ED B4 CE E3 71
Card response (C1 3C): 90 00
-Send to card----------------------------------
C1 3A 00 00 10
card 1 response in 514 ms
Card response (C1 3A):
38 8B 56 19 53 B7 8C 96 28 FF FE 25 68 1A 33 B5
90 00
CW0: 38 8B 56 19 53 B7 8C 96
CW1: 28 FF FE 25 68 1A 33 B5
===============================================
ReRead softcam.cfg
could not open /var/keys/softcam.cfg
ECM: CA ID: 0x1810 Nagravision -> CA PID: 0x0883
*ECM: CA ID: 0x0100 Seca/Mediaguard (4106) -> CA PID: 0x049B
*EMM: CA ID: 0x0100 Seca/Mediaguard (0000) -> CA PID: 0x00C1
*EMM: CA ID: 0x0100 Seca/Mediaguard (4106) -> CA PID: 0x00C4
EMM: CA ID: 0x1810 Nagravision -> CA PID: 0x009B
EMM: CA ID: 0x1870 Nagravision -> CA PID: 0x07DF
EMM: CA ID: 0x1871 Nagravision -> CA PID: 0x07E0
EMM: CA ID: 0x1872 Nagravision -> CA PID: 0x07E1
EMM: CA ID: 0x1873 Nagravision -> CA PID: 0x07E2
EMM: CA ID: 0x1874 Nagravision -> CA PID: 0x07E3
EMM: CA ID: 0x1875 Nagravision -> CA PID: 0x07E4
EMM: CA ID: 0x1876 Nagravision -> CA PID: 0x07E5
EMM: CA ID: 0x1877 Nagravision -> CA PID: 0x07E6
EMM: CA ID: 0x1878 Nagravision -> CA PID: 0x07E7
EMM: CA ID: 0x1879 Nagravision -> CA PID: 0x07E8
EMM: CA ID: 0x187A Nagravision -> CA PID: 0x07E9
EMM: CA ID: 0x187B Nagravision -> CA PID: 0x07EA
EMM: CA ID: 0x187C Nagravision -> CA PID: 0x07EB
EMM: CA ID: 0x187D Nagravision -> CA PID: 0x07EC
EMM: CA ID: 0x187E Nagravision -> CA PID: 0x07ED
**** hashTableECM 1 elements ****
**** hashTableEMM 2 elements ****
detected EMM data on caid 0100 pid 00C1 - Seca/Mediaguard (Canal+)
already selected card 1
===== Seca ECM on CaID 0x0100, pid 0x049B =====
prov: 0006 ( on card prov.nr. 1 ), pkey: 0E
-ECM-------------------------------------------
81 00 61 41 06 00 00 0E 00 35 5A 0E 0A 58 EF F9
EB 4A 3D 7A 22 FB 4B 33 4A 18 86 DB AF 92 52 D7
BE 02 B0 41 00 E5 4E 3F 9C 01 90 C2 70 7B 14 02
F3 80 67 6D C7 88 48 87 41 3C CE 8F 20 48 0B EA
DD DC 5C 61 4F FE F9 D9 7E 58 89 37 0D 8A DE 25
C5 B6 42 ED 9B FA 81 2F FB 69 44 02 DF 03 38 06
A8 D4 2A 59
-Send to card----------------------------------
C1 3C 01 0E 5C 00 35 5A 0E 0A 58 EF F9 EB 4A 3D
7A 22 FB 4B 33 4A 18 86 DB AF 92 52 D7 BE 02 B0
41 00 E5 4E 3F 9C 01 90 C2 70 7B 14 02 F3 80 67
6D C7 88 48 87 41 3C CE 8F 20 48 0B EA DD DC 5C
61 4F FE F9 D9 7E 58 89 37 0D 8A DE 25 C5 B6 42
ED 9B FA 81 2F FB 69 44 02 DF 03 38 06 A8 D4 2A
59
Card response (C1 3C): 90 00
-Send to card----------------------------------
C1 3A 00 00 10
card 1 response in 510 ms
Card response (C1 3A):
38 8B 56 19 53 B7 8C 96 AA 48 71 63 B3 31 C1 A5
90 00
CW0: 38 8B 56 19 53 B7 8C 96
CW1: AA 48 71 63 B3 31 C1 A5
===============================================