Project

General

Profile

CAs provider

Added by Vahram Mazlumyan about 7 years ago

Hello

Is it possible to choose channels with different CAs provider ?
Example
I have mapped 10 channels , 2 CAs newcamd provider , 5 of my channels use 1st one and next 5 2nd CAs provider ?


Replies (33)

RE: CAs provider - Added by saen acro about 7 years ago

Disable in oscam Mgclient.
And send individual N-line to TVH,
filtered one ;)

RE: CAs provider - Added by Vahram Mazlumyan about 7 years ago

i can not find it , please send me screen shot or link for this configuration.

Thanks

RE: CAs provider - Added by saen acro about 7 years ago

in oscam > settings > newcamd

RE: CAs provider - Added by Vahram Mazlumyan about 7 years ago

Menu is missing or i can not find it :)
See attached files

RE: CAs provider - Added by saen acro about 7 years ago

OSCAM not TVHeadend

CARD > OSCAM > TVHeadend

Теперь понимаешь, почему у него нет меню ;)

RE: CAs provider - Added by Vahram Mazlumyan about 7 years ago

Это все надо в консоле сконфигуровать? Что искать в инете на эту тему ?
у меня вроде не установен oscam .

RE: CAs provider - Added by saen acro about 7 years ago

Install oscam then loadbalance incoming lines
http://www.satnigmo.com/2264/compile-oscam-with-simplebuild-script/
oscam can filter incoming and outgoing lines

then TVH will use N-line with allowed parameters caid srvid etc.

RE: CAs provider - Added by Vahram Mazlumyan about 7 years ago

How do i connect OSCAM with tvheadend , please give me information/manual/link about this.

RE: CAs provider - Added by saen acro about 7 years ago

Oscam have web interface /default :8888/

enable newcamd server
:8888/config.html?part=newcamd

port: 10001@1810:000000;10002@1860:000000;10003@4AEE:000000
key: 000102030405060708090A0B0C0D

Port@CAID:
create users
:8888/userconfig.html
add them to user groups of same as reader

in tvh just connect to port opened in oscam

RE: CAs provider - Added by Vahram Mazlumyan about 7 years ago

I do not have CARD , my sharing from 1usdtv.com and zargacum.net

RE: CAs provider - Added by Vahram Mazlumyan about 7 years ago

Please help me configure my softcam in tveheadend , i can not find any information/manual Tvheadend site.

RE: CAs provider - Added by saen acro about 7 years ago

Did you start oscam?
add as reader both providers
furs with group 1 second with group 2

example
:8888/files.html?file=oscam.server

[reader]
label                         = zarga
description                   = zarga line
protocol                      = newcamd
device                        = HOST,PORT
key                           = 0102030405060708091011121314
user                          = USERNAME
password                      = PASSWORD
inactivitytimeout             = 15
disableserverfilter           = 1
connectoninit                 = 1
cacheex_drop_csp              = 1
cacheex_block_fakecws         = 1
audisabled                    = 1

[reader]
label                         = zarga2
description                   = zarga2 line
protocol                      = newcamd
device                        = HOST,PORT
key                           = 0102030405060708091011121314
user                          = USERNAME
password                      = PASSWORD
inactivitytimeout             = 15
disableserverfilter           = 1
connectoninit                 = 1
cacheex_drop_csp              = 1
cacheex_block_fakecws         = 1
audisabled                    = 1

:8888/files.html?file=oscam.conf

[global]
logfile                       = /tmp/oscam.log
netprio                       = 20
sleep                         = 5
nice                          = -1
maxlogsize                    = 1000
readerrestartseconds          = 3
dropdups                      = 1
usrfile                       = /tmp/oscamuser.log
cwlogdir                      = /tmp/cw
lb_mode                       = 1
lb_save                       = 200
lb_reopen_seconds             = 100
lb_retrylimit                 = 800
lb_stat_cleanup               = 24
lb_auto_betatunnel            = 0
lb_savepath                   = /tmp/oscamstat
lb_auto_timeout_t             = 5000
getblockemmauprovid           = 1

[newcamd]
port                          = 10005@4AEE:000000;39876@1810:000000
key                           = 0102030405060708091011121314
keepalive                     = 1

:8888/files.html?file=oscam.user

[account]
user                          = tvheadend
pwd                           = tvheadend
sleep                         = 0
keepalive                     = 0
group                         = 1,2,3,4,5,6,7,8,9,10

RE: CAs provider - Added by Vahram Mazlumyan about 7 years ago

Thanks for information
Please show tvheadend config

RE: CAs provider - Added by Vahram Mazlumyan about 7 years ago

Я никак не могу найти связку предположим Киномикс с шеринг провайдером1 и Кинохит со 2-ым .

RE: CAs provider - Added by Vahram Mazlumyan about 7 years ago

есть коннект
zarga OFF XX.YY.MM.ZZ 3001 newcamd 0000:0000@000000 no data 00:02:41
00:02:41 CONNECTED

tvheadend connected
127.0.0.1 newcamd (Tvheadend) 00:04:17

Но не шарится

2017/11/11 15:31:48 50DD0A2E c (newcamd) client connected to 10005 port
2017/11/11 15:31:48 50DD0A2E c (client) encrypted newcamd:10005-client 127.0.0.1 granted (tvheadend, au=off)
2017/11/11 15:31:48 50DD0A2E c (newcamd) user tvheadend authenticated successfully (Tvheadend)
2017/11/11 15:31:48 50DD0A2E c (newcamd) AU disabled for user tvheadend

RE: CAs provider - Added by saen acro about 7 years ago

Do you set GROUP to client lines?

RE: CAs provider - Added by Vahram Mazlumyan about 7 years ago

Config bellow

[account]
user = tvheadend
pwd = tvheadend
sleep = 0
keepalive = 0
group = 1,2,3,4,5,6,7,8,9,10
ident = 0941:000000
caid = 0941

[newcamd]
port = 10005@0941:000000;39876@1810:000000
key = 0102030405060708091011121314
keepalive = 1
serverip = 127.0.0.1

[reader]
label = zarga
description = zarga line
protocol = newcamd
device = sharing server ip,3001
key = 0102030405060708091011121314
user = user
password = pass
disableserverfilter = 1
connectoninit = 1
cacheex_drop_csp = 1
cacheex_block_fakecws = 1
audisabled = 1
caid = 0941
group = 1

In TVheadend CA stream filter i added NTV/12322.06R/КИНОМИКС CA identification 0941 CA provider 000000

RE: CAs provider - Added by Vahram Mazlumyan about 7 years ago

i created CAs client

user tvheadend
pass tvheadend
hostname 127.0.0.1
port 10005

RE: CAs provider - Added by saen acro about 7 years ago

what is in log of oscam?

RE: CAs provider - Added by Vahram Mazlumyan about 7 years ago

Hello

2017/11/11 20:37:55 00000000 s >> OSCam << cardserver log switched, version 1.20-unstable_svn, build r11392 (x86_64-linux-gnu)
2017/11/11 20:37:55 00000000 s (main) System name = Linux
2017/11/11 20:37:55 00000000 s (main) Host name = astra
2017/11/11 20:37:55 00000000 s (main) Release = 4.4.0-98-generic
2017/11/11 20:37:55 00000000 s (main) Version = #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017
2017/11/11 20:37:55 00000000 s (main) Machine = x86_64
2017/11/11 20:37:55 00000000 s (main) creating pidfile /tmp/.oscam/oscam.pid with pid 1009
2017/11/11 20:37:55 00000000 s (config) userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2017/11/11 20:37:55 00000000 s (main) signal handling initialized
2017/11/11 20:37:55 00000000 s (config) userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2017/11/11 20:37:55 00000000 s (main) signal handling initialized
2017/11/11 20:37:55 00000000 s (net) newcamd: initialized (fd=6, port=10005, ip=127.0.0.1, prio=20 [ SO_PRIORITY IP_TOS ])
2017/11/11 20:37:55 00000000 s (net) -> CAID: 0941 PROVID: 000000
2017/11/11 20:37:55 00000000 s (net) newcamd: initialized (fd=7, port=39876, ip=127.0.0.1, prio=20 [ SO_PRIORITY IP_TOS ])
2017/11/11 20:37:55 00000000 s (net) -> CAID: 1810 PROVID: 000000
2017/11/11 20:37:55 00000000 s (net) newcamd: initialized (fd=6, port=10005, ip=127.0.0.1, prio=20 [ SO_PRIORITY IP_TOS ])
2017/11/11 20:37:55 00000000 s (net) -> CAID: 0941 PROVID: 000000
2017/11/11 20:37:55 00000000 s (net) newcamd: initialized (fd=7, port=39876, ip=127.0.0.1, prio=20 [ SO_PRIORITY IP_TOS ])
2017/11/11 20:37:55 00000000 s (net) -> CAID: 1810 PROVID: 000000
2017/11/11 20:37:55 6D67BA37 h (webif) webif: decompressed 177621 bytes back into 437480 bytes
2017/11/11 20:37:55 0CCC060D h (webif) webif: decompressed 177621 bytes back into 437480 bytes
2017/11/11 20:37:55 6D67BA37 h (webif) HTTP Server running. ip=0.0.0.0 port=8888
2017/11/11 20:37:55 0CCC060D h (webif) HTTP Server: Call to listen() failed! (errno=98 Address already in use)
2017/11/11 20:37:55 00000000 s (reader) zarga [newcamd] creating thread for device 2xaazzph.spyip.org
2017/11/11 20:37:55 00000000 s (reader) zarga2 [newcamd] creating thread for device HOST
2017/11/11 20:37:55 00000000 s (stat) loadbalancer: could not open /tmp/oscamstat for reading (errno=2 No such file or directory)
2017/11/11 20:37:55 00000000 s (main) waiting for local card init
2017/11/11 20:37:55 00000000 s (reader) zarga [newcamd] creating thread for device 2xaazzph.spyip.org
2017/11/11 20:37:55 00000000 s (reader) zarga2 [newcamd] creating thread for device HOST
2017/11/11 20:37:55 00000000 s (stat) loadbalancer: could not open /tmp/oscamstat for reading (errno=2 No such file or directory)
2017/11/11 20:37:55 00000000 s (main) waiting for local card init
2017/11/11 20:37:55 748A5EA3 p (newcamd) proxy HOST:0 newcamd525 (fd=0)
2017/11/11 20:37:55 05357667 p (newcamd) proxy 2xaazzph.spyip.org:3001 newcamd525 (fd=0)
2017/11/11 20:37:55 748A5EA3 p (reader) zarga2 [newcamd] proxy initialized, server HOST:0
2017/11/11 20:37:55 545A8A2A p (newcamd) proxy 2xaazzph.spyip.org:3001 newcamd525 (fd=0)
2017/11/11 20:37:55 20225BF3 p (newcamd) proxy HOST:0 newcamd525 (fd=0)
2017/11/11 20:37:55 20225BF3 p (reader) zarga2 [newcamd] proxy initialized, server HOST:0
2017/11/11 20:37:55 545A8A2A p (reader) 2xaazzph.spyip.org: resolved ip=46.105.235.181
2017/11/11 20:37:55 545A8A2A p (reader) zarga [newcamd] connecting to 2xaazzph.spyip.org:3001
2017/11/11 20:37:55 05357667 p (reader) 2xaazzph.spyip.org: resolved ip=46.105.235.181
2017/11/11 20:37:55 05357667 p (reader) zarga [newcamd] connecting to 2xaazzph.spyip.org:3001
2017/11/11 20:37:56 00000000 s (main) init for all local cards done
2017/11/11 20:37:56 00000000 s (emmcache) loading emmcache disabled since no reader is using it!
2017/11/11 20:37:56 00000000 s (emmcache) loading emmstats disabled since no reader is using it!
2017/11/11 20:37:56 00000000 s (anticasc) anti cascading disabled
2017/11/11 20:37:56 2CA51385 c (client) plain dvbapi-client granted (anonymous, au=off)
2017/11/11 20:37:56 00000000 s (main) init for all local cards done
2017/11/11 20:37:56 00000000 s (emmcache) loading emmcache disabled since no reader is using it!
2017/11/11 20:37:56 00000000 s (emmcache) loading emmstats disabled since no reader is using it!
2017/11/11 20:37:56 00000000 s (anticasc) anti cascading disabled
2017/11/11 20:37:56 2CA51385 c (dvbapi) dvbapi channelcache loaded from /usr/local/etc/oscam.ccache
2017/11/11 20:37:56 2CA51385 c (dvbapi) Detected /dev/dvb/adapter0/demux0 Api: 0, userconfig boxtype: 0 maximum amount of possible filters is 32 (oscam limit is 32)
2017/11/11 20:37:56 3B246ADF c (client) plain dvbapi-client granted (anonymous, au=off)
2017/11/11 20:37:56 3B246ADF c (dvbapi) dvbapi channelcache loaded from /usr/local/etc/oscam.ccache
2017/11/11 20:37:56 3B246ADF c (dvbapi) Detected /dev/dvb/adapter0/demux0 Api: 0, userconfig boxtype: 0 maximum amount of possible filters is 32 (oscam limit is 32)
2017/11/11 20:37:56 05357667 p (newcamd) Newcamd Server: 2xaazzph.spyip.org:3001 - UserID: 220
2017/11/11 20:37:56 05357667 p (newcamd) CAID: 0500 - UA: 0000000000000000 - Provider # 3
2017/11/11 20:37:56 05357667 p (newcamd) Provider ID: 060C00 - SA: 00000000
2017/11/11 20:37:56 05357667 p (newcamd) Provider ID: 050C00 - SA: 00000000
2017/11/11 20:37:56 05357667 p (newcamd) Provider ID: 060A00 - SA: 00000000
2017/11/11 20:37:56 05357667 p (reader) zarga [newcamd] proxy initialized, server 2xaazzph.spyip.org:3001
2017/11/11 20:37:56 545A8A2A p (newcamd) Newcamd Server: 2xaazzph.spyip.org:3001 - UserID: 220
2017/11/11 20:37:56 545A8A2A p (newcamd) CAID: 0500 - UA: 0000000000000000 - Provider # 3
2017/11/11 20:37:56 545A8A2A p (newcamd) Provider ID: 060C00 - SA: 00000000
2017/11/11 20:37:56 545A8A2A p (newcamd) Provider ID: 050C00 - SA: 00000000
2017/11/11 20:37:56 545A8A2A p (newcamd) Provider ID: 060A00 - SA: 00000000
2017/11/11 20:37:56 545A8A2A p (reader) zarga [newcamd] proxy initialized, server 2xaazzph.spyip.org:3001
2017/11/11 20:37:58 6C862589 c (newcamd) client connected to 10005 port
2017/11/11 20:37:58 6C862589 c (client) encrypted newcamd:10005-client 127.0.0.1 granted (tvheadend, au=off)
2017/11/11 20:37:58 6C862589 c (newcamd) user tvheadend authenticated successfully (Tvheadend)
2017/11/11 20:37:58 6C862589 c (newcamd) AU disabled for user tvheadend
2017/11/11 20:53:16 05357667 p (reader) zarga [newcamd] disconnected: reason receive error1
2017/11/11 20:53:16 05357667 p (newcamd) Connection closed to remote server
2017/11/11 20:53:16 545A8A2A p (reader) zarga [newcamd] disconnected: reason receive error1
2017/11/11 20:53:16 545A8A2A p (newcamd) Connection closed to remote server

RE: CAs provider - Added by saen acro about 7 years ago

No request for descrambling.
There is something wrong, is dvbapi used?

RE: CAs provider - Added by Vahram Mazlumyan about 7 years ago

dvbapi configuration

[dvbapi]
enabled = 1
pmt_mode = 0
listen_port = 10005

RE: CAs provider - Added by Vahram Mazlumyan about 7 years ago

OSCAM server can be installed on different server?

RE: CAs provider - Added by saen acro about 7 years ago

Vahram Mazlumyan wrote:

OSCAM server can be installed on different server?

Yes

RE: CAs provider - Added by Vahram Mazlumyan about 7 years ago

Installed on another machine , here log

2017/11/13 14:34:09 00000000 s >> OSCam <<  cardserver log switched, version 1.20-unstable_svn, build r11392 (x86_64-linux-gnu)
2017/11/13 14:34:09 00000000 s (main) System name = Linux
2017/11/13 14:34:09 00000000 s (main) Host name = oscam
2017/11/13 14:34:09 00000000 s (main) Release = 4.4.0-87-generic
2017/11/13 14:34:09 00000000 s (main) Version = #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017
2017/11/13 14:34:09 00000000 s (main) Machine = x86_64
2017/11/13 14:34:09 00000000 s (main) creating pidfile /tmp/.oscam/oscam.pid with pid 1789
2017/11/13 14:34:09 00000000 s (config) userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2017/11/13 14:34:09 00000000 s (main) signal handling initialized
2017/11/13 14:34:09 00000000 s (net) newcamd: initialized (fd=6, port=10005, ip=192.168.12.22, prio=20 [ SO_PRIORITY IP_TOS ])
2017/11/13 14:34:09 00000000 s (net) -> CAID: 0941 PROVID: 000000
2017/11/13 14:34:09 00000000 s (net) newcamd: initialized (fd=7, port=39876, ip=192.168.12.22, prio=20 [ SO_PRIORITY IP_TOS ])
2017/11/13 14:34:09 00000000 s (net) -> CAID: 1810 PROVID: 000000
2017/11/13 14:34:09 00000000 s (reader) zarga [newcamd] creating thread for device 2xaazzph.spyip.org
2017/11/13 14:34:09 00000000 s (reader) zarga2 [newcamd] creating thread for device HOST
2017/11/13 14:34:09 00000000 s (main) waiting for local card init
2017/11/13 14:34:09 0054D6D5 p (newcamd) proxy 2xaazzph.spyip.org:3001 newcamd525 (fd=0)
2017/11/13 14:34:09 1C28D23C p (newcamd) proxy HOST:0 newcamd525 (fd=0)
2017/11/13 14:34:09 1C28D23C p (reader) zarga2 [newcamd] proxy initialized, server HOST:0
2017/11/13 14:34:09 1A0C654B h (webif) webif: decompressed 177621 bytes back into 437480 bytes
2017/11/13 14:34:09 1A0C654B h (webif) HTTP Server running. ip=0.0.0.0 port=8888
2017/11/13 14:34:09 0054D6D5 p (reader) 2xaazzph.spyip.org: resolved ip=46.105.235.181
2017/11/13 14:34:09 0054D6D5 p (reader) zarga [newcamd] connecting to 2xaazzph.spyip.org:3001
2017/11/13 14:34:10 0054D6D5 p (newcamd) Newcamd Server: 2xaazzph.spyip.org:3001 - UserID: 71
2017/11/13 14:34:10 0054D6D5 p (newcamd) CAID: 0500 - UA: 0000000000000000 - Provider # 3
2017/11/13 14:34:10 0054D6D5 p (newcamd) Provider ID: 060C00 - SA: 00000000
2017/11/13 14:34:10 0054D6D5 p (newcamd) Provider ID: 050C00 - SA: 00000000
2017/11/13 14:34:10 0054D6D5 p (newcamd) Provider ID: 060A00 - SA: 00000000
2017/11/13 14:34:10 0054D6D5 p (reader) zarga [newcamd] proxy initialized, server 2xaazzph.spyip.org:3001
2017/11/13 14:34:10 00000000 s (main) init for all local cards done
2017/11/13 14:34:10 00000000 s (emmcache) loading emmcache disabled since no reader is using it!
2017/11/13 14:34:10 00000000 s (emmcache) loading emmstats disabled since no reader is using it!
2017/11/13 14:34:10 00000000 s (anticasc) anti cascading disabled
2017/11/13 14:34:10 7BCB5D13 c (client) plain dvbapi-client granted (anonymous, au=off)
2017/11/13 14:34:10 7BCB5D13 c (dvbapi) dvbapi channelcache loaded from /usr/local/etc/oscam.ccache
2017/11/13 14:34:10 7BCB5D13 c (dvbapi) ERROR: Could not detect DVBAPI version.
2017/11/13 14:34:12 2A28FFDB c (newcamd) client connected to 10005 port
2017/11/13 14:34:12 2A28FFDB c (client) encrypted newcamd:10005-client 192.168.66.22 granted (tvheadend, au=off)
2017/11/13 14:34:12 2A28FFDB c (newcamd) user tvheadend authenticated successfully (Tvheadend)
2017/11/13 14:34:12 2A28FFDB c (newcamd) AU disabled for user tvheadend
(1-25/33)