Hi,
I think this is the right section to post about this
I have DN subscription
Got BK and SK from 301.13 with jtag
Dreambox with latest pli image
rqcs 1.11 Server Side binaries downloaded from this site
what i have not done is hooked it up to the satellite yet. Do i need to setup the Dreambox ?
I don't know if this is important neither i have setup a client yet.
trying to setup dm600 as a iks server and getting error messages like could not reset card see putty output from ssh session
Code:PLi« openpli-1.0 dm600pvr dm600pvr login: root Password: root@dm600pvr ~ # rqcs.ppc rqcs version 1.11, card server by raton_craquero. rqcs is free software! -- visit the rqcs homepage at: Usage: rqcs [OPTION] ... These are the currently supported options for rqcs: -help Show this information. -config <path> Set a custom configuration file path. -debug-level <n> Specifies the level of detail (n) when displaying debug messages to the console (default is 1): 0 - Silent 1 - Basic information messages. 2 - Detailed debug information. 3 - Show all available debug info. Read configuration settings from '/var/keys/rqcs.conf' Configuration settings: Debug level: 1 Starting Logical Slot 'Lower' [Users: 3] ------------------------------------------------------------------------------ Device Path: /dev/tts/0 | Listening Port: 10000 ------------------------------------------------------------------------------ Opening sci... Done Detecting card... Card present root@dm600pvr ~ # Resetting card... failed to reset card. Logical Slot 'Lower' Disabled. ------------------------------------------------------------------------------ Starting Logical Slot 'Upper' [Users: 1] ------------------------------------------------------------------------------ Device Path: /dev/tts/1 | Listening Port: 10001 ------------------------------------------------------------------------------ Opening sci... Done Detecting card... Card present Resetting card... failed to reset card. Logical Slot 'Upper' Disabled. ------------------------------------------------------------------------------ ERROR: No slots are active. Exiting. SHUTDOWN **** [1970-01-01 12:00:59a] Terminate signal received...
this is my rqcs.conf file
Code:############################################################################### # rqcs configuration file # # All configuration options in this file observe the same format: # # <configuration_name>=<configuration_value> # # # # No white space is allowed in any place or the configuration entry will be # # ignored. # ############################################################################### ########################### general configuration ############################# [General] # This sets the box type the card server will run on. Compatible boxes are: # 0 - Dreambox # 1 - Triple Dragon # 2 - DGStation (Mutant/Relook/CubeCafe) # 3 - Linux x86 PC # # NOTE: Ignored in the WIN32 version. box_type=0 # Enable or disable background execution # 0 - Disable # 1 - Enable # # NOTE: Ignored in the WIN32 version. background_execution=1 # This sets the level of console output for debugging: # 0 - Silent, 1 - Basic debug info, 2 - Extended debug info, # 3 - Show all debug info debug_level=1 # Enables or disables console/file logging of ECM's and EMM's in debug level 2 # 0 - Disabled, 1 - Enabled debug_show_ecms=1 debug_show_emms=1 # This option enables or disables the writing of debug information to the # console. log_to_console=1 # This option enables or disables the writing of debug information to the # console page in the web interface. log_to_webif=1 # This option enables or disables the writing of console output to a log file log_to_file=0 # When log_to_file is set to 1, this is the path and filename to write console # ouput to. # # NOTE: In the WIN32 version, if enabled, this should be set to a valid # Windows/DOS path. logfile_name=/var/bin/rqcs.log # Enables/disables the web interface. webif=1 # This is the port the web interface will be available on. webif_port=665 # Enables/disables HTTP authentication for the web interface. webif_authenticate=1 # Username/password pairs to be used when HTTP authentication is enabled for # the web interface. webif_users=root:root|user_2:1111|user_3:2222 # If this path is provided, files contained in it will be served by the internal # HTTP server and will be available at the web interface root. webif_custom_files_root= # GMT offset for dates and times displayed across the system. system_wide_hour_offset=0 ############################# slot configuration ############################## # Logical slots are a combination of a physical slot/interface, card, and # # protocol server. There is no limit to how many logical slots can be added, # # except for those imposed by the device where it is running. # ############################################################################### [Logical-Slot:Lower] # Enable/Disable this logical slot. If disabled it will be completely ignored. # 0 - Disabled, 1 - Enabled enabled=1 # Sets the type of smartcard interface. # 0 - ISO7816 Smartcard Interface. # 1 - Phoenix type connected to RS232 serial port. # # NOTE: Ignored in the WIN32 version. Always uses Phoenix interface. sci_type=1 # The numeric identifier of the smartcard interface # eg: for internal iso7816 slots: 0 = sci0, 1 = sci1, 2 = sci2 and so on... # for rs232 serial ports: 0 = ttyS0, 1 = ttyS1, 2 = ttyS2 and so on... # # NOTE: There's a small difference in the WIN32 version: # 0 = COM1, 1 = COM2, 2 = COM3 and so on... sci_ordinal=0 # Overrides the "sci_ordinal" parameter above and uses the following custom # path to access the SCI interface (treats it as ISO7816 or Phoenix depending # on the "sci_type" parameter). sci_path_custom= # Clock frequency of the internal box smartcard interface, in Hertz. # This is only used when ISO7816 smartcard interface is selected. sci_clock_frequency=4500000 # Number of minutes between safety card restarts for this slot. Using # larger values than the default for this parameter might affect reliability # of card response (set value to 0 to disable restarts --NOT recommended!). safety_restart_period=20 # Enable or disable slot restarts on different conditions. # 0 - Disable restart. # 1 - Enable restart. restart_on_ecm_send_error=1 restart_on_ecm_processing_timeout=1 restart_on_cw_retrieval_error=1 restart_on_cam_request=1 restart_on_emm_send_error=1 restart_on_emm_processing_timeout=1 # ECMs received in shorter intervals that what is specified in this parameter # (in seconds), will be rejected. A value of 0 means no limits. maximum_ecm_rate=0 # Block Global/Shared/Unique EMM's block_emm_g=0 block_emm_s=0 block_emm_u=0 # A list of SIDs to allow in this slot. If this is left empty, all sids are # allowed. Format: <sid_1>|<sid_2>|<sid_3> ... and so on. # allow_sids= # A list of SIDs to deny in this slot. Leaving this parameter empty has no # special meaning. Format: <sid_1>|<sid_2>|<sid_3> ... and so on. deny_sids= # Enable or disable the sending of card tiers when requested by clients. If # this parameter is omitted, it's enabled by default. send_card_tiers=1 # Enable or disable the caching of card tiers. If enabled, card tiers will be # queried only once, all subsequent tier requests by clients will be returned # from cache. The tier cache is refreshed by clicking the "Get Tiers" button # in the "card information" page in the webif. # # NOTE: Tiers shown in the web interface are never cached. cache_card_tiers=1 # Specifies the path to the log file where information about emm's processed # by this slot will be stored. emm_log_file_path=/var/bin/rqcs-emm-log-lower.emm # Specifies the maximum file size for the emm log of this slot (in Kb). When the # log file reaches this size, it is reset to zero bytes. emm_log_file_max_size=512 # Enables or disables the logging of G/S/U EMM's. EMM's that are not logged do # not appear in the emm statistics page of the webif. log_emm_g=1 log_emm_s=1 log_emm_u=1 # The CaID specified here will be reported back to the clients regardless of # whatever CaID is detected. The value should be hex-coded (e.g: 1841). The # default value of zero will cause rqcs to return the auto-detected CaID. report_caid=0 # ----------------------------- Session Negotiation --------------------------- # Following is a set of 4 parameters that may be used to achieve successful # session key negotiation with the card. # ----------------------------------------------------------------------------- # DT08 session negotiation method. Just the Box Key is required for this # method to work. This is the simpler, preferable method, however, not all cards # have DT08's. box_key=XXXXXXXXXXXXXXX # DT06 Key 0D session negotiation. An alternative method for when the card does # not have a DT08. Useful when you have the card's DT06 and not the IRD's # Secondary Key. # # If this value is specified, the DT06 method will be attempted instead # of the DT08 one. # # IMPORTANT: BOTH the Box Key and the DT06 are needed for this method to work. # # HINT: The DT06 Key 0D *does not* change when a card is swapped, if you # have this for an old card that was married to an IRD, it will work for # newer cards on that same IRD. dt06_key_0d= # Plain CAM N negotiation method. Another alternative method for when the card # does not have a DT08. It is somewhat equivalent to the DT06 Key 0D method and # again, useful when you have the card's CAM N obtained from an expanded # DT06 Key 0D. As a sidenote, this parameter is equivalent to newcs's # <rsa></rsa> parameter. # # IMPORTANT: BOTH the Box Key and CAM N are needed for this method to work. cam_n= # Secondary key session negotiation method. If your card does not have a DT08, # and you can't extract the cam's N key or DT06 Key 0D, this is the only possible # method. The secondary key must be extracted from a provider IRD's TSOP dump. # # If this value is specified, it will supercede the DT08, DT06 Key 0D and Plain # CAM N session negotiation methods. Neither the Box Key, DT06 Key 0D nor CAM N # parameters are needed for this method to work, and will be ignored if they # are provided. # # The secondary key is 96 bytes long and has the following structure: # # II II II II XX XX XX XX XX XX XX XX XX XX Y1 Y1 Y1 Y1 Y1 Y1 Y1 Y1 # SK SK SK SK SK SK SK SK SK SK SK SK SK SK SK SK # SK SK SK SK SK SK SK SK SK SK SK SK SK SK SK SK # SK SK SK SK SK SK SK SK SK SK SK SK SK SK SK SK # SK SK SK SK SK SK SK SK SK SK SK SK SK SK SK SK # Y2 Y2 Y2 Y2 Y2 Y2 Y2 Y2 CS CS # # II = IRD serial number. # XX = Unimportant. # Y1, Y2 = SK signature and also used to calculate the box key. # SK = Actual secondary key data (CAM N, public modulus). # CS = Checksum. # # NOTE: The Secondary Key should be specified as a single line without spaces # (like the Box Key), and should be the exact 96 bytes as extracted from the IRD. # # NOTE: You can copy the 64 bytes that are labeled 'SK' from the Secondary # Key, and use them in the cam_n parameter. This will also work, in that case # the Box Key parameter must also be provided. secondary_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX # Optional. Card provider's IRD RSA key (only relevant for DT08 session # negotiation method. rsa_key= # The protocol with which the logical slot will communicate with the # clients. # 0 - Newcamd protocol. protocol_server_type=0 # The port on which the logical slot's protocol server will be listening. protocol_server_port=10000 # If the Newcamd protocol is selected, you must configure here the des # key to be used for encrypting communication. protocol_server_newcamd_des_key=0102030405060708091011121314 # The user list that will be able to connect to the logical slot. # Format: <username_0>:<password_0>|<username_1>:<password_1> ... and so on. protocol_server_users=dummy_6:dummy_6|dummy_7:dummy_7|dummy_8:dummy_8 # Used to specify the path of a separate user file for this logical slot. # Should be a plain-text file with a single user and password par for each # line with the following format: # # username:password ;comment # # If this file is specified, users contained in it will be added to the users # specified in the "protocol_server_users" parameter. protocol_server_user_file=./rqcs.user # The maximum number of active users that will be allowed on the server. # The default is 0, which is an unlimited number of users. protocol_server_max_active_users=0 # The number of seconds the server will allow a client to be idle before # disconnecting it (set value to 0 to disable timeout). protocol_server_idle_client_timeout=30 # Parameters to configure control word retrieval times. # All values are in milliseconds. # # Command Lead Time: Delay between all commands # ECM Status Poll: Whether to do status polling or query directly # for CW's. # ECM Initial Poll Delay: Delay before first status poll. # ECM Poll Delay: Delay period between polls after initial poll. # ECM Poll Delay Increment: Increment on each poll after initial one. # EMM Status Poll: Wheter to do status polling or just return # after 1 poll cycle. WARNING: Disabling this # is NOT recommended. # EMM Poll Delay: Delay period between polls for EMM completion. # # Safe sample values for ROM240/241 # ------------------------------------------- nagra_command_lead_time=25 nagra_ecm_status_poll=1 nagra_ecm_initial_poll_delay=0 nagra_ecm_poll_delay=0 nagra_ecm_poll_delay_increment=0 nagra_emm_status_poll=1 nagra_emm_poll_delay=100 # Safe sample values for ROM102/103/142/180 # ------------------------------------------- #nagra_command_lead_time=50 #nagra_ecm_status_poll=1 #nagra_ecm_initial_poll_delay=200 #nagra_ecm_poll_delay=200 #nagra_ecm_poll_delay_increment=0 #nagra_emm_status_poll=1 #nagra_emm_poll_delay=350 # ------------------------------------------- ############################################################################### [Logical-Slot:Upper] enabled=1 sci_type=1 sci_ordinal=1 sci_path_custom= sci_clock_frequency=3574595 safety_restart_period=20 restart_on_ecm_send_error=1 restart_on_ecm_processing_timeout=1 restart_on_cw_retrieval_error=1 restart_on_cam_request=1 restart_on_emm_send_error=1 restart_on_emm_processing_timeout=1 maximum_ecm_rate=0 block_emm_g=0 block_emm_s=0 block_emm_u=0 allow_sids= deny_sids= send_card_tiers=1 cache_card_tiers=1 emm_log_file_path=/var/bin/rqcs-emm-log-upper.emm emm_log_file_max_size=512 log_emm_g=1 log_emm_s=1 log_emm_u=1 report_caid=0 box_key=XXXXXXXXXXXXXXX dt06_key_0d= cam_n= secondary_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX rsa_key= protocol_server_type=0 protocol_server_port=10001 protocol_server_newcamd_des_key=0102030405060708091011121314 protocol_server_users=dummy_6:dummy_6 protocol_server_user_file=./rqcs.user protocol_server_max_active_users=0 protocol_server_idle_client_timeout=30 nagra_command_lead_time=25 nagra_ecm_status_poll=1 nagra_ecm_initial_poll_delay=0 nagra_ecm_poll_delay=0 nagra_ecm_poll_delay_increment=0 nagra_emm_status_poll=1 nagra_emm_poll_delay=100







Reply With Quote