Eurocardsharing

Go Back   Eurocardsharing > Sharing receivers > Other sharing receivers

Other sharing receivers Discussion, sasc-ng/CCcam/mythtv at Sharing receivers forum; I've seen a lot of config guides and installation manuals for the above configuration and had a remarkable lack of ...

Reply
 
LinkBack Thread Tools Display Modes
sasc-ng/CCcam/mythtv
Old
  (#1)
a_kzanol
Junior Member
 
a_kzanol's Avatar
 
Offline
Posts: 3

Level: 1 [♥ Bé-Yêu ♥]
Life: 0 / 2
Magic: 1 / 65
Experience: 10%

Thanks: 0
Thanked 4 Times in 1 Post
Join Date: Aug 2009
Age: 51
sasc-ng/CCcam/mythtv - 01-October-2009, 13:38

I've seen a lot of config guides and installation manuals for the above configuration and had a remarkable lack of success getting it to work.

* opensasc-ng from sourceforge repository didn't work for me - regardless of CCcam/newcs/radegast config, it never even tried to contact the cardserver and never unscrambled anything for me.

* setup guides for CCcam are quite complex with multiple chrooted card daemons.

What finally worked:

* vde_sc plugin from hg (http://85.17.209.13:6100/sc) contains both a cardclient plugin that can talk to CCcam via network instead of local socket, thus making chroot/preload stuff unneccessary and a working sasc-ng in /contrib.


I've got a Sky germany nagra3 card and a smargo cardreader, setup was quite easy once I got the hint to use sasc-ng from the vdr_sc repository.

* Configure CCcam 2.12:
F: mythtv not_my_password 0 1 1
SERIAL READER : /dev/ttyUSB0 smartreader+
DEBUG : no

* no preloads, no multiple daemons required, just start one instance of CCcam.

* compile /configure sasc-ng:
download the current vdr_sc version, go to contrib/sasc-ng directory.
chmod +x configure makelinks.sh dvbloopback/module/config_dvb.pl
make module
mkdir /lib/modules/`uname -r`/misc
cp dvbloopback.ko /lib/modules/`uname -r`/misc
make

I've got three dvb-s cards, so I need three loopback devices:
modprobe dvbloopback num_adapters=3

before starting sasc_ng, we need to configure the entwork connection to CCcam by adding a line to sc_files/cardclient.conf:

cccam2:127.0.0.1:12000:1:mythtv:not_my_password

start sasc-ng:
sasc-ng --cam-budget --sid-allpid -j 0:4 -j 1:5 -j 2:6 -D

next I cahnged the mythtv setup to use DVB cards 4,5 and 6 instead of 0,1,2 and connected all thre cards to the source containing the sky channels.

Result: can concurrently decode different transponders on all three cards :-)
   
Reply With Quote
The Following 4 Users Say Thank You to a_kzanol For This Useful Post:
cxtrd (26-August-2010), DerAgo (24-February-2010), peque (07-February-2010), yazuna (10-February-2010)
Old
  (#2)
peque
Junior Member
 
peque's Avatar
 
Offline
Posts: 14

Level: 2 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 37
Magic: 4 / 1052
Experience: 50%

Thanks: 3
Thanked 1 Time in 1 Post
Join Date: May 2008
Location: Earth - Europe - Scandinavia
07-February-2010, 10:28

Nice - Working solution.


MythTV running on ArchLinux(Overlord)
1backend/4Frontends
3x Hauppauge HVR-4000 DVB-S2
   
Reply With Quote
Sponsored Links
Old
  (#3)
torrieborrie
Junior Member
 
torrieborrie's Avatar
 
Offline
Posts: 12

Level: 2 [♥ Bé-Yêu ♥]
Life: 0 / 31
Magic: 4 / 926
Experience: 25%

Thanks: 2
Thanked 1 Time in 1 Post
Join Date: Nov 2007
23-March-2010, 13:56

Yes it works very well but only when connecting to CCcam 2.0.11 or earlier.
It doesn't work with CCcam 2.1.x for now.
Connecting to 2.1.x it keeps disconnecting/connecting with freezes as a result.
   
Reply With Quote
Old
  (#4)
zorrua
Member
 
zorrua's Avatar
 
Offline
Posts: 95

Level: 8 [♥ Bé-Yêu ♥]
Life: 0 / 193
Magic: 31 / 4484
Experience: 73%

Thanks: 15
Thanked 5 Times in 5 Posts
Join Date: Jan 2010
18-April-2010, 16:27

Thanks for this tutorial. I have some questions:

1. Where is the config file of CCcam?

2. I have a CCcam Debian server, that line will connect to the server as a "C line"?:

Code:
cccam2:127.0.0.1:12000:1:mythtv:not_my_password
3. How I must scan the satellite channel? With the real or virtual adapter?

Thanks for all and best regards.
   
Reply With Quote
Old
  (#5)
himself
Member
 
himself's Avatar
 
Offline
Posts: 83

Level: 8 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 176
Magic: 27 / 4752
Experience: 6%

Thanks: 5
Thanked 15 Times in 15 Posts
Join Date: Oct 2008
Location: Луцьк
19-April-2010, 09:53

1. wherever you want it to be. standard would be /var/etc
2. yup
3. however you want. works both!
   
Reply With Quote
Old
  (#6)
zorrua
Member
 
zorrua's Avatar
 
Offline
Posts: 95

Level: 8 [♥ Bé-Yêu ♥]
Life: 0 / 193
Magic: 31 / 4484
Experience: 73%

Thanks: 15
Thanked 5 Times in 5 Posts
Join Date: Jan 2010
19-April-2010, 11:26

Quote:
Originally Posted by himself View Post
1. wherever you want it to be. standard would be /var/etc
2. yup
3. however you want. works both!
Thanks for your reply!!!

I have some other questions:

1. What that is means "yup"? Sorry, but I am not english speaker.

2. To use the "cccam2" line, I need to install CCcam on client side?

3. To install the "sc" plugins I look two sites: Which one is the best?
- http://85.17.209.13:6100/sc
- https://opensvn.csie.org/sascng

Thanks for all and best regards.
   
Reply With Quote
Old
  (#7)
alimac01
Donator
 
alimac01's Avatar
 
Offline
Posts: 5

Level: 1 [♥ Bé-Yêu ♥]
Life: 0 / 8
Magic: 1 / 220
Experience: 34%

Thanks: 10
Thanked 0 Times in 0 Posts
Join Date: Feb 2009
20-April-2010, 15:38

I used this TUT mate and it worked first time

http://dolot.kipdola.com/wiki/Install_SASC-NG
   
Reply With Quote
Old
  (#8)
zorrua
Member
 
zorrua's Avatar
 
Offline
Posts: 95

Level: 8 [♥ Bé-Yêu ♥]
Life: 0 / 193
Magic: 31 / 4484
Experience: 73%

Thanks: 15
Thanked 5 Times in 5 Posts
Join Date: Jan 2010
25-April-2010, 03:47

Hello again, I want to config same thing but with a remote CCcam server.

How can I join the sasc-ng plugin with the remote CCcam server?

I am new on cardsharing, I will appreciate any help.

Thanks and regards.
   
Reply With Quote
The Following User Says Thank You to zorrua For This Useful Post:
stnx11 (22-January-2011)
Old
  (#9)
zorrua
Member
 
zorrua's Avatar
 
Offline
Posts: 95

Level: 8 [♥ Bé-Yêu ♥]
Life: 0 / 193
Magic: 31 / 4484
Experience: 73%

Thanks: 15
Thanked 5 Times in 5 Posts
Join Date: Jan 2010
03-May-2010, 19:31

Hello, I just compiled the module, now I have two adapters, but I have some questions.

This my output:

Code:
# sasc-ng -j 0:1 --cam-budget
May  3 13:45:16.826 : Version: 0.0.2-1cc3497be31c+
May  3 13:45:16.827 CAM: initializing plugin: SoftCam (1.0.0pre-HG-1cc3497be31c+): A software emulated CAM
May  3 13:45:16.828 CAM(general.info): SC version 1.0.0pre-HG-1cc3497be31c+ initializing (VDR 1.6.0)
May  3 13:45:16.828 CAM: starting plugin:
May  3 13:45:16.828 CAM(general.info): SC version 1.0.0pre-HG-1cc3497be31c+ starting (VDR 1.6.0)
May  3 13:45:16.828 CAM(core.load): ** Plugin config:
May  3 13:45:16.828 CAM(core.load): ** Key updates (AU) are enabled (active CAIDs) (no prestart)
May  3 13:45:16.828 CAM(core.load): ** Local systems DON'T take priority over cached remote
May  3 13:45:16.828 CAM(core.load): ** Concurrent FF recordings are NOT allowed
May  3 13:45:16.828 CAM(core.load): ** Force transfermode with digital audio
May  3 13:45:16.828 CAM(core.load): ** ECM cache is set to enabled
May  3 13:45:16.829 CAM(core.load): ** ScCaps are 1 2 0 0 0 0 0 0 0 0
May  3 13:45:16.829 CAM(general.error): failed open ./sc_files/cardclient.conf: No such file or directory
May  3 13:45:16.829 CAM(general.error): failed open ./sc_files/SoftCam.Key: No such file or directory
May  3 13:45:16.829 CAM(general.error): failed open ./sc_files/smartcard.conf: No such file or directory
May  3 13:45:16.829 CAM(general.error): failed open ./sc_files/cardslot.conf: No such file or directory
May  3 13:45:16.830 CAM(general.error): failed open ./sc_files/override.conf: No such file or directory
May  3 13:45:16.830 CAM(general.error): no keys loaded for softcam!
May  3 13:45:16.830 CAM(core.load): ** registered systems:
May  3 13:45:16.830 CAM(core.load): ** Cardclient        (pri -15)
May  3 13:45:16.830 CAM(core.load): ** Conax             (pri -10)
May  3 13:45:16.830 CAM(core.load): ** ConstCW           (pri -20)
May  3 13:45:16.830 CAM(core.load): ** Cryptoworks       (pri -10)
May  3 13:45:16.831 CAM(core.load): ** Irdeto            (pri -10)
May  3 13:45:16.831 CAM(core.load): ** Irdeto2           (pri  -8)
May  3 13:45:16.831 CAM(core.load): ** Nagra             (pri -10)
May  3 13:45:16.831 CAM(core.load): ** Nagra2            (pri -10)
May  3 13:45:16.831 CAM(core.load): ** Fake-NDS          (pri -12)
May  3 13:45:16.831 CAM(core.load): ** SC-Conax          (pri  -5)
May  3 13:45:16.832 CAM(core.load): ** SC-Cryptoworks    (pri  -5)
May  3 13:45:16.832 CAM(core.load): ** SC-Irdeto         (pri  -5)
May  3 13:45:16.832 CAM(core.load): ** SC-Nagra          (pri  -5)
May  3 13:45:16.832 CAM(core.load): ** SC-Seca           (pri  -5)
May  3 13:45:16.832 CAM(core.load): ** SC-Viaccess       (pri  -5)
May  3 13:45:16.832 CAM(core.load): ** SC-VideoGuard2    (pri  -5)
May  3 13:45:16.832 CAM(core.load): ** Seca              (pri -10)
May  3 13:45:16.832 CAM(core.load): ** @SHL              (pri -10)
May  3 13:45:16.832 CAM(core.load): ** Viaccess          (pri -10)
May  3 13:45:17.834 demux: Starting thread on /dev/dvb/adapter1/demux1
The thread scheduling parameters indicate:
policy = 0
priority = 0
May  3 13:45:17.835 frontend: Starting thread on /dev/dvb/adapter1/frontend1
The thread scheduling parameters indicate:
policy = 0
priority = 0
May  3 13:45:17.845 dvr: Starting thread on /dev/dvb/adapter1/dvr1
The thread scheduling parameters indicate:
policy = 1
priority = 99
May  3 13:45:17.846 : Listening on port 5456
These are my questions:

1. This plugin just work with VDR? On the output there is something like "(VDR 1.6.0)".

2. Where are those files? I need to create all of them?

Code:
./sc_files/cardclient.conf
./sc_files/SoftCam.Key
./sc_files/smartcard.conf
./sc_files/cardslot.conf
./sc_files/override.conf
3. Is necesary to aply some patch to conncet to a remote CCcam server?

Thanks for all your help and best regards.

(04-May-2010 00:28)
Hello again, I make more (little) advances.

I configure the /etc/camfiles/cardclient.conf this way:

Code:
cccam2:my_ip:15000:0/0100/0000:my_user:my_pass
Now I execute this way:

Code:
# LD_LIBRARY_PATH=/usr/local/src/sc/contrib/sasc-ng/sc/PLUGINS/lib/ sasc-ng -j 0:1 --cam-budget --cam-dir /etc/camfiles
And this the output:

Code:
May  4 00:15:30.095 : Version: 0.0.2-1cc3497be31c+
May  4 00:15:30.096 CAM: initializing plugin: SoftCam (1.0.0pre-HG-1cc3497be31c+): A software emulated CAM
May  4 00:15:30.097 CAM(general.info): SC version 1.0.0pre-HG-1cc3497be31c+ initializing (VDR 1.6.0)
May  4 00:15:30.097 CAM: starting plugin:
May  4 00:15:30.097 CAM(general.info): SC version 1.0.0pre-HG-1cc3497be31c+ starting (VDR 1.6.0)
May  4 00:15:30.097 CAM(core.load): ** Plugin config:
May  4 00:15:30.097 CAM(core.load): ** Key updates (AU) are enabled (active CAIDs) (no prestart)
May  4 00:15:30.097 CAM(core.load): ** Local systems DON'T take priority over cached remote
May  4 00:15:30.097 CAM(core.load): ** Concurrent FF recordings are NOT allowed
May  4 00:15:30.097 CAM(core.load): ** Force transfermode with digital audio
May  4 00:15:30.097 CAM(core.load): ** ECM cache is set to enabled
May  4 00:15:30.097 CAM(core.load): ** ScCaps are 1 2 0 0 0 0 0 0 0 0
May  4 00:15:30.097 CAM(general.info): loading cardclient config from /etc/camfiles/cardclient.conf
May  4 00:15:30.097 CAM(cardclient.cccam2): logout from server initiated
May  4 00:15:30.098 CAM(cardclient.cccam2extra): reader thread stopped
May  4 00:15:30.098 CAM(cardclient.cccam2extra): network shut down
May  4 00:15:30.098 CAM(cardclient.cccam2extra): logout done
May  4 00:15:30.098 CAM(general.warn): CAID 0100 MASK 0000 in cardclient config doesn't match anything!
May  4 00:15:30.098 CAM(cardclient.core): hostname=my_host port=15000 emm=0 emmCaids 0100/0000
May  4 00:15:30.098 CAM(cardclient.core): cccam2: username=my_user password=my_pass
May  4 00:15:30.098 CAM(cardclient.core): our nodeid: 67 c6 69 73 51 ff 4a ec
May  4 00:15:30.098 CAM(cardclient.core): pretended CCcam version '2.0.11' build '2892'
May  4 00:15:30.098 CAM(cardclient.core): client 'cccam2' ready
May  4 00:15:30.098 CAM(cardclient.cccam2): logout from server initiated
May  4 00:15:30.098 CAM(cardclient.cccam2extra): reader thread stopped
May  4 00:15:30.098 CAM(cardclient.cccam2extra): network shut down
May  4 00:15:30.098 CAM(cardclient.cccam2extra): logout done
May  4 00:15:30.131 CAM(core.net): connecting to my_host:15000/tcp (my_ip)
May  4 00:15:30.431 CAM(cardclient.cccam2extra): welcome checksum correct
May  4 00:15:30.722 CAM(general.error): socket: read failed: Connection reset by peer
May  4 00:15:30.722 CAM(cardclient.core): recv error. reconnecting...
May  4 00:15:30.722 CAM(cardclient.cccam2): logout from server initiated
May  4 00:15:30.722 CAM(cardclient.cccam2extra): reader thread stopped
May  4 00:15:30.722 CAM(cardclient.cccam2extra): network shut down
May  4 00:15:30.722 CAM(cardclient.cccam2extra): logout done
May  4 00:15:30.722 CAM(cardclient.cccam2): no login answer from server
May  4 00:15:30.723 CAM(general.error): failed open /etc/camfiles/SoftCam.Key: No such file or directory
May  4 00:15:30.723 CAM(general.error): failed open /etc/camfiles/smartcard.conf: No such file or directory
May  4 00:15:30.723 CAM(general.error): failed open /etc/camfiles/cardslot.conf: No such file or directory
May  4 00:15:30.723 CAM(general.error): failed open /etc/camfiles/override.conf: No such file or directory
May  4 00:15:30.723 CAM(general.error): no keys loaded for softcam!
May  4 00:15:30.723 CAM(core.load): ** registered systems:
May  4 00:15:30.723 CAM(core.load): ** Cardclient        (pri -15)
May  4 00:15:30.723 CAM(core.load): ** Conax             (pri -10)
May  4 00:15:30.723 CAM(core.load): ** ConstCW           (pri -20)
May  4 00:15:30.723 CAM(core.load): ** Cryptoworks       (pri -10)
May  4 00:15:30.723 CAM(core.load): ** Irdeto            (pri -10)
May  4 00:15:30.724 CAM(core.load): ** Irdeto2           (pri  -8)
May  4 00:15:30.724 CAM(core.load): ** Nagra             (pri -10)
May  4 00:15:30.724 CAM(core.load): ** Nagra2            (pri -10)
May  4 00:15:30.724 CAM(core.load): ** Fake-NDS          (pri -12)
May  4 00:15:30.724 CAM(core.load): ** SC-Conax          (pri  -5)
May  4 00:15:30.724 CAM(core.load): ** SC-Cryptoworks    (pri  -5)
May  4 00:15:30.724 CAM(core.load): ** SC-Irdeto         (pri  -5)
May  4 00:15:30.724 CAM(core.load): ** SC-Nagra          (pri  -5)
May  4 00:15:30.724 CAM(core.load): ** SC-Seca           (pri  -5)
May  4 00:15:30.724 CAM(core.load): ** SC-Viaccess       (pri  -5)
May  4 00:15:30.724 CAM(core.load): ** SC-VideoGuard2    (pri  -5)
May  4 00:15:30.724 CAM(core.load): ** Seca              (pri -10)
May  4 00:15:30.724 CAM(core.load): ** @SHL              (pri -10)
May  4 00:15:30.724 CAM(core.load): ** Viaccess          (pri -10)
May  4 00:15:31.726 frontend: Starting thread on /dev/dvb/adapter1/frontend1
The thread scheduling parameters indicate:
policy = 0
priority = 0
May  4 00:15:31.733 demux: Starting thread on /dev/dvb/adapter1/demux1
The thread scheduling parameters indicate:
policy = 0
priority = 0
May  4 00:15:31.733 dvr: Starting thread on /dev/dvb/adapter1/dvr1
The thread scheduling parameters indicate:
policy = 1
priority = 99
May  4 00:15:31.734 : Listening on port 5456
(I change the my_ip, my_user and my_pass for the reals ones)

I have well configured the CCcam server (I hope!), other users can connect.

Can you help? I don't understand what is happening. I have some questions:

1. Is this the correct way to configure the cardclient.conf file? I want to connect to a CCcam server without install any other software.

2. Is SASC-NG software just for VDR or MythTV? Can I watch channels on Totem or record with a command-line program?

3. Is there any official forum or wiki for SASC-NG? I just found the Mercuarial repository site.

Thanks for all for all help, king regards!

Last edited by zorrua; 04-May-2010 at 01:28.. Reason: Automerged Doublepost
   
Reply With Quote
Building HTPC (Mythbuntu 10.04 + Hauppauge DVB-S PCI tuner for CS client)
Old
  (#10)
gpborges
Junior Member
 
gpborges's Avatar
 
Offline
Posts: 1

Level: 1 [♥ Bé-Yêu ♥]
Life: 0 / 0
Magic: 0 / 0
Experience: 0%

Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Feb 2010
Building HTPC (Mythbuntu 10.04 + Hauppauge DVB-S PCI tuner for CS client) - 25-May-2010, 17:20

Hi guys, I'm on the same boat...

I'm building an HTPC and my plans is to have latest Mythbuntu (10.04 + MythTV 0.23) installed and configured along side SASC-NG to be able to connect to a remote CS server. I have used an AzAmerica S900HD receiver some time ago and it connected ok to that server, so I still have a valid account to a CS Server. I'll check, but I'm almost sure the CS server I will connect uses a MGcamd as the CS server soft.

As far as I understood, SASC-NG will play the rule of a CS client right? Do I need anything else?

I've installed Mythbuntu 10.04 on a VirtualBox VM and I'm playing with it, configuring and etc... cause my HTPC parts are being shipped from US to Brazil... :-) Would it be possible to test at least the connectivity to the CS server with SASC-NG without have the DVB-S tuner installed, once I'm running on a VM?

What I'm trying to do is to learn/setup as much as I can on the VM while I don't have the HTPC on my arms... :-) Thus, when I get it I just need to build and could get it up and running fast...

Cheers...
   
Reply With Quote
Reply

Bookmarks

Tags
sasc-ng/cccam/mythtv


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump



ECS on RSS ECS on Twitter ECS on Facebook ECS on Youtube
Follow us on:

Powered by vBulletin
Copyright 2002 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Dreambox