I could use some help with a problem. I have 3 channels right now. 2 are on one tp, 2 on another. When Oscam writes new keys at the bottom the keys file, one channel quits clearing.
I can get that one working again then once it writes a set of keys the other 2 quit clearing. It's a real juggling act.
I've tried changing the group ID. They all did begin with P 0101XXXX. For 2 channels I changed the group to P1101XXXX, and left the other as it was.
I've tried taking the ua and making dummy keys for 2 channels and a different dummy for the other. The same thing keeps happening.
I never did catch on to using the new method with hash. Perhaps a little help please?
In the attachment is the added by Emu portion of the keys file.
Where the blank lines are is where I deleted the SID keys for channels that stopped working. A restart of oscam restored the channels for a bit until ua happened again.
Help!!!
Support for Oscam-emu. Working keys being overwritten
- supwiddiss
- Thread is marked as Resolved.
There are 8 replies in this Thread which was already clicked 1,123 times. The last Post () by supwiddiss.
-
-
How have you got your EMM key's for the channels concerned ??
Can you post those to please, also full sid tsid and service reference, sat location etc etc
-
Matching ECM and EMM keys based on transponder (new method - May 2019)
The traditional method of getting ECM keys is based on matching the srvid of the channel only. This means the ECM algorithm does not match the group id at all when searching for the ECM key. If many ECM keys with the same srvid (see Note 1 below) are present in the SoftCam.Key, they are all tried until the correct one is found.
In addition, the EMM algorithm does not match the group id as well. The EMM keys used for auto updating can be chosen from various groups (see Note 3) and as a result wrong EMM keys can be used.
The new approach is to utilize the group id of the channel when the ECM and EMM algorithms run. In order OSCam-Emu to know what is the correct group id to use, it calculates a hash based on tsid, onid and enigma namespace of the transponder. The user then needs to enter a new line in the SoftCam.key telling OSCam-Emu which group id to use for each transponder (hash).
The syntax for this line is the following:
Where:
Codehash (4 bytes) : Transponder hash calculated automatically by OSCam-Emu. Use debug level 2 to display it. groupid (2 bytes) : The group id that is used for the ECM and EMM keys.
Example:
CodeP BF175115 GROUP 0080 ; 12303 V, 0.8°W P ACE05CA0 GROUP 0080 ; 12360 V, 4.8°E P 9798A8F2 GROUP 0900 ; 11804 V, 9.0°E
Transponders using the same ECM and EMM keys should use the same group (this should be the case for the traditional method as well) and thus multiple "GROUP" entries should exist for that group id.
After adding the GROUP instruction for a group, the next step is to remove all ECM keys for that group and enter a new one with the dummy srvid 0xFFFF. For example:
The EMM keys should remain untouched. After restarting the Emu reader, the new method should take over for both the ECM algorithm and the EMM (AU) aglorithm.
The advantages of this new method are many:
- One ECM key is used for all channels in a transponder, so the SoftCam.Key has smaller size and it's easier to maintain and update.
- Memory consumption is lower and getting the correct key is faster.
- All problems described in Note 3 are disappeared, which makes creating a proper, trouble-free SoftCam.Key easier for all.
On the other hand there is one drawback: The application of this new method is limited to STBs utilizing the enigma namespace, like enigma2 boxes and TVheadend, VDR, etc.
For channels with the same service id, the correct ECM key will be detected automatically, but each key needs a unique groupid. If you need different ECM keys for channels with the same service id, make sure they belong to different groups, like in the example:
Duplicate keys (same groupid and same srvid) are not allowed. If there are any duplicates, only the last one in the SoftCam.Key file will be used. This also means that as new ECM keys are found and appended to the file, they will automatically replace earlier keys.
In order the auto update feature to work, the ECM keys must be seeded. This is done by entering a dummy ECM key and a corresponding (i.e. with the same group id) EMM key, for example:
When you tune into the channel with the service id '0004', the auto update function will run. After a while, a new ECM key will be written at the bottom of the SoftCam.Key file. This new ECM key will be used instead of the dummy one when opening the channel. For each service id, a dummy ECM key has to be added. Each EMM key will update all ECM keys in the same group.
Multiple EMM keys are allowed for each group, but there is a maximum number of 32 EMM keys that will be used when auto updating. When the auto update function runs, the algorithm does not match the group id. This means that these 32 EMM keys are chosen among all groups that have an ECM key with the current channel's service id, and not necessarily from the 'correct' group. The effective number of EMM keys for auto updating is thus 32 per service id (channel). This design has two side effects:
- If there are many EMM keys for each group, there is a chance all 32 EMM keys are chosen from the 'wrong' group. Then the auto update function will never update the ECM keys.
- Since no group id is matched, there is a chance the newly found ECM keys to be written to the 'wrong' group.
For best results, it is recommended to have no more than 10 EMM keys in each group, especially if you have many groups in your SoftCam.Key file, and make sure there are no EMM keys with the same UA belonging to different groups.
When using the new method for matching ECM and EMM keys based on transponder, all considerations described above are gone. Only limitation is the maximum number of EMM keys that can be used per group are 32.
-
Hi. Keys written to stopped Friday but probably will start again soon.
The post above I've read multiple times. It's a bit hard to granulate and relate to what might help me out.
The hash method interests me but not so clear on it and if my entire keys file has to be sanitized to work. That comes later on.
Right now I see an occasional message that's not really covered elsewhere. What the heck is an fd?
(dvbapi) ERROR: error on poll of 8 fd's (errno=2 No such file or directory)
Will stay in touch. I'm going to ace this one. -
Think it would be best to do the whole key file TBH, like in this example
Code
Display More;----------------- Group 0x081 0.8W channels:----------------- P ACE05CA0 GROUP 0081 ;discovery networks 4.8°E 12360 V P BF175115 GROUP 0081 ;discovery networks 0.8°W 12303 V P 0081FFFF 00 4DC1272D0A8408 ;ecm key P 0081FFFF 01 6904D005CDFE29 ;ecm key P 0081 00623910 D6795F87CC1CBC ;EMM Key P 0081 0061CB56 DF1FA983F1986E ; EMM Key P 0081 0053C199 6DAF8122F475F8 ; EMM Key P 0081 005615CE 3413710D15C765 ; EMM Key ;----------------- Group 0x82 0.8W channels:----------------- #######this group is under construction####################### #P 7572D36D GROUP 0082 ; TV5MONDE #P 0082FFFF 00 16de199da44bd4 ;ecm key #P 0082FFFF 01 acf70f8eb19865 ;ecm key #P 0082 004D8155 716C0D6B5905DB ; EMM Key ; -----------------Group 0x5E 5E channels:----------------- P 0050E380 00 704FEECEA3B8EC ;TLC P 00500020 00 7F468E8B047CDE ;TLC P 00500030 00 7F468E8B047CDE ;TLC P 00500650 00 7F468E8B047CDE ;TLC ;----------------- Group 0x48E 4.8E channels:----------------- P 0187D4E6 GROUP 048E ;discovery europe 4.8°E, 12322 V P 048EFFFF 00 28A8B1A20FD5C4 ;ecm key P 048EFFFF 01 E19996EB170EA4 ;ecm key P 048E 00622EE5 B80EA84B841E29 ; EMM Key #P 048E 006019B6 ED840210914C59 ;EMM Key P 048E 0060DA46 800C6A38D4765C ; Emm key ;-----------------Group 0x56 5E channels:----------------- P 47E00F92 GROUP 0056 ; SIS 12149 H, 4.8°E P 2968DFA9 GROUP 0056 ; SIS 12418 H, 4.8°E P 0056 00558020 BFC4EF57666AC9 ;EMM Key P 0056 002B8EF7 B7F1C5CBCD1867 ;EMM Key P 0056 00595C6A 9A724EA38306C3 ;EMM Key P 0056 004042D8 D70A0BD206B274 ;EMM Key P 0056 004D61BC 850F8ECDA2D356 ;EMM Key P 0056 004D6864 7EA4FAA3A09FE3 ;EMM Key P 0056 00530ABD ECF4B073C7F8A4 ;EMM Key ;----------------- Group 0x53E 5E channels:----------------- P 63EF4376 GROUP 0053 ;Diva Balkans, 4.8E, 12303 H P 0053FFFF 00 3AAB2C9D1A23BB ;ecm key 4.8E 12303 H P 0053FFFF 01 01104AD73016C3 ;ecm key 4.8E 12303 H P 0053 00412E5E F1F22D50253008 ; EMM Key P 0053 0024B5A6 159F14C861263F ;EMM Key ;-----------------Group 0x9E 9E channels:----------------- P 009E0009 00 67829E361532A1 ;BCC TV 1, 9.0E, 11823 P 009E0009 01 5A907D39EAD7FF ;BCC TV 1, 9.0E, 11823 P 009E000A 00 67829E361532A1 ;BCC TV 2, 9.0E, 11823 P 009E000A 01 5A907D39EAD7FF ;BCC TV 2, 9.0E, 11823 P 009E000B 00 67829E361532A1 ;BCC TV 1 and 2, 9.0E, 11823 P 009E000B 01 5A907D39EAD7FF ;BCC TV 1 and 2, 9.0E, 11823 ;----------------- Group 0x16E 16E channels:----------------- P 771CBDBB GROUP 016E ;Unire TV , 16E, 12654 P 016EFFFF 00 CF8F8EBA3286A4 ;ecm key Unire TV , 16E, 12654 P 016EFFFF 01 8C0993635C22EA ;ecm key Unire TV , 16E, 12654 P 016E 004F1DF6 28D3FD510949EB ;EMM Key ;----------------- Group 0x16 16E channels:----------------- P A90BFED8 GROUP 0016 ;Snai, 16E, 12699 P 0016FFFF 00 9B7FCA68E02F53 ;ecm key Snai Sat, 16E, 12699 P 0016FFFF 01 97D6968EEC34A3 ;ecm key Snai Sat, 16E, 12699 P 0016 004E8EC0 C574482270F77E ;EMM Key ;-----------------; Group 0x15 15W channels:----------------- P 001501FE 00 B07EC58F412BD7 ;The Fight Network, 15W, 11161 P 001501FE 01 A52E79D341F87F ;The Fight Network, 15W, 11161 P 0015 005D8013 22C3627C45D633 ;EMM Key P 0015 0060A424 6C01ECC7ADC342 ;EMM Key P 0015 0060AF19 723F737A57370E ;EMM Key P 0015 00612C35 A800B5CF633602 ;EMM Key P 0015 00612C62 F5003FD8BE08A2 ;EMM Key ;----------------- Group 0x151 15W channels:----------------- P 01510002 00 56596630737AE2 ;BYU TV, 15W, 11568 H P 01510002 01 5D52F62E082733 ;BYU TV, 15W, 11568 H P 0151 00648E11 D8E6985B24D02C ;EMM Key P 451AF323 GROUP 0152 ;BYU TV, 15W, 11568 H P 0152FFFF 00 56596630737AE2 ;BYU TV, 15W, 11568 H P 0152FFFF 01 5D52F62E082733 ;BYU TV, 15W, 11568 H P 0152 00648E11 D8E6985B24D02C ;EMM Key ; -----------------Group 0x57E 57E channels:----------------- P 075E0650 00 9CA4851BB6445A ;Special Event, 57.0E, 4147R P 075E0650 01 66C716242F3940 ;Special Event, 57.0E, 4147R P 075E0660 00 9CA4851BB6445A ;MSNBC, 57.0E, 4147R P 075E0660 01 66C716242F3940 ;MSNBC, 57.0E, 4147R P 075E0670 00 9CA4851BB6445A ;Fox News, 57.0E, 4147R P 075E0670 01 66C716242F3940 ;Fox News, 57.0E, 4147R P 075E0680 00 9CA4851BB6445A ;CNBC, 57.0E, 4147R P 075E0680 01 66C716242F3940 ;CNBC, 57.0E, 4147R P 075E0690 00 9CA4851BB6445A ;Sky News, 57.0E, 4147R P 075E0690 01 66C716242F3940 ;Sky News, 57.0E, 4147R P 075E06B0 00 9CA4851BB6445A ;Engage,57.0E, 4147R P 075E06B0 01 66C716242F3940 ;Engage, 57.0E, 4147R P 075E06C0 00 9CA4851BB6445A ;Sky Sports, 57.0E, 4147R P 075E06C0 01 66C716242F3940 ;Sky Sports, 57.0E, 4147R P 075E06D0 00 9CA4851BB6445A ;HD Sports, 57.0E, 4147R P 075E06D0 01 66C716242F3940 ;HD Sports, 57.0E, 4147R P 075E06E0 00 9CA4851BB6445A ;Prime US, 57.0E, 4147R P 075E06E0 01 66C716242F3940 ;Prime US, 57.0E, 4147R P 075E06F0 00 9CA4851BB6445A ;Prime Telly, 57.0E, 4147R P 075E06F0 01 66C716242F3940 ;Prime Telly, 57.0E, 4147R P 075E0710 00 9CA4851BB6445A ;HD Special Event, 57.0E, 4147R P 075E0710 01 66C716242F3940 ;HD Special Event, 57.0E, 4147R
separating TP's and sats where required....i know it will take a long time to sort, but once done will be easy to maintain.
This bit also make it a lot easier:
hash (4 bytes) : Transponder hash calculated automatically by OSCam-Emu. Use debug level 2 to display it.
-
I'm back on this one. Keys "added byEmu" started again today.
My attached file is hopefully clearly noted. I'll certainly assist if it's not clear what's going on.
SID 02BD, 00C9, 0203 were clearing until the added by happened at 16:18.
No new keys have been added for a week.
I temporarily deleted that section and restarted oscam. All 3 channels cleared again.
I know it may be confusing. There is a flip-flop happening.
I lose 02BD and 00C9 but 0203 clears after the update.
If I land on 02BD or 00C9 for a few minutes they clear but then I lose 0203.
Right now it's been 30 minuites and 0203 hasn't cleared. 02BD and 00C9 do.
Any ideas?
Edit:
Right now I'm seeing that while watching 02BD or 009C a new set of keys will be written. I have a new key for 0203. That channel stops clearing. Deleting the new keys (00,01) for 203 and restarting oscam will let it clear. New keys have been written twice in 1/2 hour or so. -
Hi. Just stopping by to do some dusting and to spray a little Lysol to keep the moss down.
Anyone? -
Hi. Just stopping by to do some dusting and to spray a little Lysol to keep the moss down.
Anyone?i have not had the time to check, have you sorted your softcam.key ?
Perhaps best to attach that
Your best bet for help with this is W@Rp if he is available.
-
I know e69 is usually swamped.
Everything should be in the file. I can give more.
Just figured a smaller annotated file might be a bit more clear.
Please take a look when you get a chance.
Thanks Jens.
OSCam-EMU Support Forum
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!