Results 1 to 15 of 15

Thread: Help With BoxKey And SCAM

  1. #1
    Junior Member
    Join Date
    Jun 2008
    Age
    45
    Posts
    126
    Thanks
    1
    Thanked 91 Times in 18 Posts
    Rep Power
    206
    Reputation
    460

    Default Help With BoxKey And SCAM

    hi can someone help me out with this.. i can get scam working with newcs on my dm7020si..

    but i want my orange to run on scam only....

    i got this info from another thread regarding scam and boxkey but dont know what to do with it

    if it does not spit out a boxkey add a file to

    /var/keys/ called sc_videoguard (DM500)

    /usr/keys/ called sc_videoguard (OE boxes and E2 boxes)

    and put this in there with your card details

    ### sc_videoguard
    #I: { AAAA BBBBBBBB { CCCCCCCC }}
    # IRD serial number
    # A = CA System ID
    # B = Card Serial
    # C = IRD Serial

    i tried a few different ways and i cant get it to read the orange can someone help me with this please..

    how to get scam workin with orange.... by itself no newcs or cccam

    help would be greatly appreciated..

    thanx



Look Here ->
  • #2
    Junior Member
    Join Date
    Jan 2008
    Posts
    152
    Thanks
    50
    Thanked 5 Times in 4 Posts
    Rep Power
    203
    Reputation
    26

    Default

    Hello d4g,

    Did you get this to work?
    I have been trying to get scam to be server and client on my DM7025.
    I have put the sc_videoguard in /usr/keys/. chmod is 644
    Code:
    I: { AAAA BBBBBBBB { CCCCCCCC }}
    # where:
    # A = CA System ID
    # B = Card Serial
    # C = Box key
    I got the serial and boxkey from oscam log file on startup.

    I have config file in /usr/scam and /etc/scam just to be sure. chmod is 644.
    Code:
    ### scam host
    /net/ecm_server/homeserver/port=4321
    /net/ecm_server/homeserver/user/client1/pass=test
    
    ### scam client
    /net/ecm_client/homeserver/host=192.168.0.100
    /net/ecm_client/homeserver/port=4321
    /net/ecm_client/homeserver/user/client1/pass=test
    I know that scam is running ok because it reads the /usr/keys/irdeto file and I get pics for Aurora.
    It just does not seem to see the ND$ card.
    Any tips?

  • #3
    Senior Member
    Join Date
    Apr 2008
    Posts
    1,040
    Thanks
    0
    Thanked 4 Times in 1 Post
    Rep Power
    288
    Reputation
    2985

    Default

    The hexadecimal smart card serial number to enter is just the hexadecimal conversion of the decimal serial number on the card (but with the redundant last digit on the card removed). If you have Oscam the hex version is printed in the logs.
    So if your smart card serial number is e.g.: 0002 0898 7406
    You would first remove the redundant last digit (6) then do a hexadecimal conversion of 20898740 which would be converted to 013EE3B4 and you enter that in the place of the BBBBBBBB section of the I: line. Remember to pad out the number with zero in front so that it is 8 hexadecimal digits in length.

    The box key is the same as per all softcams in hexadecimal format.
    So if you have an orange then after the above conversions you should have something like this line only in your sc_videoguard file:

    I: { 096C 013EE3B4 { 12AB12AB }}

  • #4
    Junior Member ident's Avatar
    Join Date
    Jun 2009
    Age
    45
    Posts
    102
    Thanks
    89
    Thanked 13 Times in 7 Posts
    Rep Power
    185
    Reputation
    75

    Default

    Quote Originally Posted by davmel View Post
    The hexadecimal smart card serial number to enter is just the hexadecimal conversion of the decimal serial number on the card (but with the redundant last digit on the card removed). If you have Oscam the hex version is printed in the logs.
    So if your smart card serial number is e.g.: 0002 0898 7406
    You would first remove the redundant last digit (6) then do a hexadecimal conversion of 20898740 which would be converted to 013EE3B4 and you enter that in the place of the BBBBBBBB section of the I: line. Remember to pad out the number with zero in front so that it is 8 hexadecimal digits in length.

    The box key is the same as per all softcams in hexadecimal format.
    So if you have an orange then after the above conversions you should have something like this line only in your sc_videoguard file:

    I: { 096C 013EE3B4 { 12AB12AB }}
    If you had a bluey would you need to enter a boxkey or just a string of zeros?

  • #5
    Senior Member
    Join Date
    Apr 2008
    Posts
    1,040
    Thanks
    0
    Thanked 4 Times in 1 Post
    Rep Power
    288
    Reputation
    2985

    Default

    Quote Originally Posted by ident View Post
    If you had a bluey would you need to enter a boxkey or just a string of zeros?
    The box key for both orange and blue is not zero in either case. It is a non-zero number that must be correct. Some softcams can auto-detect for blue but given that Scam can't even auto-detect the card serial number I would assume anything but the correct box key and serial number won't work.
    It's not rocket science to just enter the correct box key anyway.

  • #6
    Junior Member nexus's Avatar
    Join Date
    Jan 2008
    Posts
    66
    Thanks
    11
    Thanked 29 Times in 20 Posts
    Rep Power
    203
    Reputation
    149

    Default

    The last digit on the card and the last digit on the boxid sticker aren't redundant, they are checksums. Probably there to check any numbers given over the phone or by other means are correct.

    That's why they need to be removed when converting from decimal to hex.

  • #7
    Senior Member
    Join Date
    Apr 2008
    Posts
    1,040
    Thanks
    0
    Thanked 4 Times in 1 Post
    Rep Power
    288
    Reputation
    2985

    Default

    Quote Originally Posted by nexus View Post
    The last digit on the card and the last digit on the boxid sticker aren't redundant, they are checksums. Probably there to check any numbers given over the phone or by other means are correct.
    You're correct. They are indeed a checksum value used to indicate the validity of a card number, but for the purposes of creating a hexadecimal value from the true sequential serial number value that last digit is redundant.

  • #8
    Junior Member ident's Avatar
    Join Date
    Jun 2009
    Age
    45
    Posts
    102
    Thanks
    89
    Thanked 13 Times in 7 Posts
    Rep Power
    185
    Reputation
    75

    Default

    Quote Originally Posted by davmel View Post
    The box key for both orange and blue is not zero in either case. It is a non-zero number that must be correct. Some softcams can auto-detect for blue but given that Scam can't even auto-detect the card serial number I would assume anything but the correct box key and serial number won't work.
    It's not rocket science to just enter the correct box key anyway.
    Thanks for the info, I wasn't aware that the blue card had a boxkey but that's just my noobness.

  • #9
    Junior Member nexus's Avatar
    Join Date
    Jan 2008
    Posts
    66
    Thanks
    11
    Thanked 29 Times in 20 Posts
    Rep Power
    203
    Reputation
    149

    Default

    Quote Originally Posted by davmel View Post
    You're correct. They are indeed a checksum value used to indicate the validity of a card number, but for the purposes of creating a hexadecimal value from the true sequential serial number value that last digit is redundant.
    I did a search before I posted and from this post I saw you were unaware of the significance of the check digit. That is why I posted about the digit not being redundant.



    When you quoted my post you left out this line in which I did say it was necessary to remove it for conversion purposes.

    That's why they need to be removed when converting from decimal to hex.
    Some people have no idea of anything other than base 10. The metric system doesn't help in that regard. Some of us who were used to ounces and pounds were working in base 16 before we even knew what that meant.

  • #10
    Junior Member
    Join Date
    Jan 2008
    Posts
    152
    Thanks
    50
    Thanked 5 Times in 4 Posts
    Rep Power
    203
    Reputation
    26

    Default

    Davmel: I gained my Serial Number and Box ID from oscam log file and inserted them into the /usr/keys/sc_videoguard file. This file is chmod 644.
    Code:
    I: { 090B 00FFAABB { 11223344 }}
    I have deleted the contents of /etc/scam/config file in the hope of it being able to just serve to itself, but still nothing with ND$. It did not auto populate the file.
    The scam debug output is:-
    Code:
    root@dm7025:~# /usr/bin/scam_3.59 ?
    /var/keys/sc_cryptoworks: No such file or directory
    /var/keys/nagra_boxkey: No such file or directory
    /var/keys/sc_nagravision: No such file or directory
    /var/keys/conax: No such file or directory
    /var/keys/constcw: No such file or directory
    /var/keys/cryptoworks: No such file or directory
    /var/keys/irdeto2.d/: No such file or directory
    /var/keys/nagra: No such file or directory
    /var/keys/nagra2: No such file or directory
    /var/keys/seca2: No such file or directory
    /var/keys/via: No such file or directory
    ATR (20): 3f 7f 11 25 03 33 b0 09 69 ff 4a 50 70 00 00 46 44 01 00 00
    [historical characters]
    33 b0 09 69 ff 4a 50 70 00 00 46 44 01 00 00            3..i.JPp..FD...
    [sci1] <- d0 7e 11 00 01
    Namespace: 06180000 TSID: 0003 ONID: 1000 SID: 0bc1
    pid 0443 - index 0
    pid 0444 - index 0
    pid 0dd6 - index 0
    pid 0dd7 - index 0
    pid 0dd8 - index 0
    [sci1] -> 7e
    [sci1] <- 13
    [sci1] -> 90
    [sci1] -> 00
    ATR (20): 3f 7f 11 25 03 33 b0 09 69 ff 4a 50 70 00 00 46 44 01 00 00
    [historical characters]
    33 b0 09 69 ff 4a 50 70 00 00 46 44 01 00 00            3..i.JPp..FD...
    Can you recommend anything else to try?

  • #11
    Junior Member nexus's Avatar
    Join Date
    Jan 2008
    Posts
    66
    Thanks
    11
    Thanked 29 Times in 20 Posts
    Rep Power
    203
    Reputation
    149

    Thumbs down

    This is the problem

    d0 7e 11 00 01

    The blue card doesn't support ins7e

  • #12
    Junior Member
    Join Date
    Jan 2008
    Posts
    152
    Thanks
    50
    Thanked 5 Times in 4 Posts
    Rep Power
    203
    Reputation
    26

    Default

    Thanks for the reply nexus, but I am confused.
    Does this mean that scam is not a suitable server for Blue card?

  • #13
    Junior Member nexus's Avatar
    Join Date
    Jan 2008
    Posts
    66
    Thanks
    11
    Thanked 29 Times in 20 Posts
    Rep Power
    203
    Reputation
    149

    Default

    From that log it looks like a no go with that version for a bluey unless there is a config setting or command line argument that will get it to change it's startup.

  • #14
    Senior Member
    Join Date
    Apr 2008
    Posts
    1,040
    Thanks
    0
    Thanked 4 Times in 1 Post
    Rep Power
    288
    Reputation
    2985

    Default

    Quote Originally Posted by spence View Post
    Davmel: I gained my Serial Number and Box ID from oscam log file and inserted them into the /usr/keys/sc_videoguard file. This file is chmod 644.
    /var/keys/sc_cryptoworks: No such file or directory
    /var/keys/nagra_boxkey: No such file or directory
    /var/keys/sc_nagravision: No such file or directory
    /var/keys/conax: No such file or directory
    /var/keys/constcw: No such file or directory
    /var/keys/cryptoworks: No such file or directory
    /var/keys/irdeto2.d/: No such file or directory
    /var/keys/nagra: No such file or directory
    /var/keys/nagra2: No such file or directory
    /var/keys/seca2: No such file or directory
    /var/keys/via: No such file or directory
    I can see a discrepancy here. Unless your /usr/keys directory is symbolically linked to your /var/keys directory then Scam is not seeing what is in your /usr/keys directory.
    Can you confirm?

    Also, as for your box key, can you confirm that the box key is the correct one by doing a manual conversion yourself rather than relying on the auto-detected value provided by Oscam?

  • #15
    Junior Member
    Join Date
    Jan 2008
    Posts
    152
    Thanks
    50
    Thanked 5 Times in 4 Posts
    Rep Power
    203
    Reputation
    26

    Default

    Thanks for the patience davmel.
    Yes there is a symbolic link for /var/keys pointing to /usr/keys.
    I have just manually calculated the Card Serial and Box Key and the come out with the same value as the ones from the oscam log.

  • Similar Threads

    1. NDS Boxkey Generator
      By james9813 in forum Dreambox
      Replies: 24
      Last Post: 05-04-10, 08:42 AM
    2. Boxkey converter
      By AceR in forum Dreambox
      Replies: 7
      Last Post: 04-06-09, 08:03 PM
    3. How do I create boxkey for sky ? - Newcs
      By numberonekiwi in forum Dreambox
      Replies: 4
      Last Post: 22-03-09, 03:31 PM
    4. DVR Scam
      By watchdog in forum Security Alarms
      Replies: 13
      Last Post: 04-03-09, 05:52 PM
    5. Identify boxkey Class 01/02 commands for irdeto.2
      By satfiles_dotcom in forum Emulators and Loggers
      Replies: 0
      Last Post: 23-10-08, 04:06 AM

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •