Project

General

Profile

[solved] octopus.net (sat>ip) and internal CI

Added by Edi Zan over 10 years ago

I´m using the latest version from perexg on github with sat>ip integration and an octopus.net sat>ip receiver with an integrated CI slot. Alphacrypt Classic is used as CAM with a valid paytv card.

What is the correct way to configure cwc?


Replies (11)

RE: octopus.net (sat>ip) and internal CI - Added by Hendrik Noack over 10 years ago

Hi,
first of all, the internal CI Slot is currently not supported by tvheadend. So you need an external card reader and Oscam for decryption purposes. I do have an Omnikey 3121 USB reader connected to my ReadyNAS which is always on (Omnikey seems to have standby problems, but that doesn't matter on a server). The Omnikey reader costs around 10 EUR on Ebay.

The Reader needs PCSC libraries on your oscam server to work.

Assuming you are using a Debian Derivate:
apt-get install pcscd libccid opensc

opensc-tool -l

Should find your Card Reader. If it doesn't double check that pcscd is running (/etc/init.d/pcscd start).
Now you can download the latest oscam binary for your platform or compile it yourself (with PCSC support, you need to have libpcsclite-dev installed).

Once your oscam Server (webif on ip-address:8888) is runnning you Need three things:
1. a user in oscam for tvheadend Connection (create one, give him Group 1 and activate checkbox AU)
2. create a PCSC Reader. Your first Reader is number 0. Also give him Group 1. Activate the reader. Once you saved your config restart oscam and check the live log to see if the Reader is used by oscam and can read your Smartcard. It should print a CAID in the live log. You Need that for the next step.
3. create a newcamd with user from step 1 and the Reader + CAID you got from step 2. You Need a DES key, be creative and write something down (e.g. 01020304050607080910111213) Enable and save that config, restart oscam.
4. Configure cwc in tvheadend with the Information from the previous steps (ip-address of your oscam, usually 127.0.0.1, user and Password & DES key). Once you enable that config, you should see the entry become green. Descrambling should work by now.

I'm currently not at home, so I might have missed something in that tutorial. Please try it.

RE: octopus.net (sat>ip) and internal CI - Added by Edi Zan over 10 years ago

Hi,

nice, got a Omnikey 3121 this afternoon at a local store.
Set everything up as you described it and it works!

thx

RE: [solved] octopus.net (sat>ip) and internal CI - Added by Hendrik Noack over 10 years ago

Glad that it works for you. I forgot to mention that you should check the two EMM checkboxes in tvheadend, so your smartcard can be updated and will stay active.

RE: [solved] octopus.net (sat>ip) and internal CI - Added by C K over 10 years ago

Does it work with CAMPT, too? Or what is this new feature in Oscams DVB Api Module "CA PMT Server" for?

For testing purposes, I added a new CAMPT Entry with Mode = 2 "Recent OSCam (svn rev >= 9095)" and set Filename to my Oscam IP running CA PMT Server and set the Port. Turned to green, but the Oscam log says "PMT6: Trying connect to enigma CA PMT listen socket".

RE: [solved] octopus.net (sat>ip) and internal CI - Added by Hendrik Noack over 10 years ago

If I remember correctly, perexg stated that currently there is only support for cwc.

https://github.com/tvheadend/tvheadend/pull/369#issuecomment-40664243

RE: [solved] octopus.net (sat>ip) and internal CI - Added by C K over 10 years ago

Thank you.

What is this mgclient thing in my Oscam Conf?

[newcamd]
port                          = 15000@0100:000000;15001@1702:000000;15002@0500:000000;15003@09C4:000000;15004@1843:000000;15005@1833:000000;15006@1830:000000;15007@098C:000000
key                           = 0102030405060708091011121314
keepalive                     = 1
mgclient                      = 1

RE: [solved] octopus.net (sat>ip) and internal CI - Added by Hendrik Noack over 10 years ago

You know that you can look this up in the web Interface of oscam (Default port 8888)

http://www.streamboard.tv/wiki/OSCam/en/Config/oscam.conf#mgclient

RE: [solved] octopus.net (sat>ip) and internal CI - Added by C K over 10 years ago

Yeah I know, but I don't unterstand.

The German Wiki Entry talks about CAIDs and the Englisch Wiki talks about Providers.

Do I need ONE "Line" for ONE CAID or (with mgclient) ONE Line fits all CAIDs?

RE: [solved] octopus.net (sat>ip) and internal CI - Added by Hendrik Noack over 10 years ago

My understanding is that every provider has its own caid, so it basically means the same.

RE: [solved] octopus.net (sat>ip) and internal CI - Added by Carlo Landmeter over 10 years ago

With Mgclient enabled you only have to add one line for newcamd. This line will be ignored but does need proper syntax. You will have to create services and select/enable them in user configuration inside oscam. After that when that user connects it will see all providers which services are enabled.

RE: [solved] octopus.net (sat>ip) and internal CI - Added by C K over 10 years ago

Ahhhh! Thank you so much Carlo. :)

    (1-11/11)