[DM800SE] help : mgcamd+oscam server (ubuntu)+omnikey3121 cant clear Ch5 HD

prana2

Inactive User
Joined
Sep 23, 2011
Messages
14
Reaction score
4
Greetings 2 all

i've read and read and read and searched and searched and searched but i'm at a dead end now - time to ask the experts....

i went from cccam->newcs->oscam because of the card reader (!) but now i'm well and truly baffled

i've stared long enough and it all seems fine to me - it should just work :eek:

any help is appreciated!!!




Background:
-----------

Currently on vermin [sports+movies], want to switch to sly [legit subscription] as i want sly go
Can't stand the limitations of standard STB's so wanted to use DM's (net stream to pc's, tab, phone etc)
Trialling C*S and once it's working will move!!!

Testing with standard s*y wh*te which shows Ch5 HD when in original s*y box, remove card and Ch5 HD disappears on standard s*y box

Card is detected and read by server

Problem:
--------

Can't view channels which require card eg. Ch5 HD on DM800SE


Setup:
------

Server: Ubuntu
Card Reader: Omnikey 3121
Server cam: OScam 1.10-svn5983


Client: DM800SE clone Ferarri sim SSL82F
Image: Newnigma2 v3.2.2
mFaraj57-sim201
Client cam: Mgcamd 1.35a & Mgcamd 1.36

Client does connect to server and authenticate ok

What am i missing guys???

[#'s inserted to mask information]



============
Client DM800SE
============


====================
newcamd.list on DM800SE:
====================


CWS = 192.168.###.### 34000 #### #### 01 02 03 04 05 06 07 08 09 10 11 12 13 14
CWS_CONNECT_TIMEOUT = 20
CWS_INCOMING_PORT = 12000
CWS_DEBUG_PORT = 12001
ADMIN_PASSWORD = secret 00 00 00 00 00 00 00 00 00 00 00 00 00 00


==========================
/var/keys/mg_cfg (mainly default)
==========================



# EMM messages
# 01 show only valid EMMs
M: { 01 }

# ECM messages
# 01 normal mode, show pids processed, decoded ecm and cw
C: { 01 }

# AU
# 02 auto, emm started only if channel cant be decoded
A: { 02 }

# key update (sum 01 or 02 with 04)
# 01 update only new keys, default setting
# 04 enable TPS au
# + tps au pid
U: { 05 } 0x1ACB

# config files folder (softcam, autoroll, ignore/priority)
# 00 files in /var/keys
# 01 files in /tmp
T: { 00 }

# network mode, use summ for several clients
# 01 newcamd netclient
# 08 gbox netclient
G: { 09 }

# network retry, use summ for several options
# 01 retry every new ecm
# 02 try to connect to offline shares every Q: seconds
# 04 try to detect and fast reconnect to lost (and not used atm) server
N: { 07 } 5 30

# network ecm timeout in seconds
K: { 04 }

# newcamd dead routes connect retry, sec
Q: { 120 }

# network shares priority
# 00 gbox, newcamd, radegast, camd3 (default)
P: { 00 }

# on screen display type
O: { 00 } username password

# on screen display Options, summ of:
S: { 03 } 80

# Log option, summ of:
L: { 00 }

# keep ecm cache, seconds
E: { 15 }

# cache option, summ of:
H: { 07 }

# reread files, summ of:
R: { 00 }

# debug, summ of
D: { 00 }

# box type
B: { 00 }







=====
Server
=====



Web status page @ 192.168.###.###:8888
-------------------------------------------
s 0 127.0.0.1 0 server 20.10.11 02:19:52 00:04:34 0000:0000 00:00:00 OK
h 1 127.0.0.1 0 http 20.10.11 02:19:52 00:04:34 0000:0000 00:04:30 OK

Readers 1/1
r 1 omnikey3121 ON OFF 127.0.0.1 0 pcsc 20.10.11 02:19:52 00:04:34 0000:0000 no data 00:04:34 CARDOK (9 entitlements)

Clients 1/1 (0 with ECM within last 15 seconds)
c 1 #### ON ON 192.168.###.### 3574 newcamd (mgcamd) 20.10.11 02:19:55 00:04:31 0000:0000 00:04:31 OK




Config Files /usr/local/etc/oscam.* on server:
-------------------------------------------


==========
oscam.server
==========

[global]
logfile = /var/log/oscam.log
cwlogdir = /tmp/oscam
emmlogdir = /tmp/oscam
disablelog = 1
failbantime = 20
cachedelay = 120
unlockparental = 1
nice = -1
maxlogsize = 100
preferlocalcards = 1
saveinithistory = 1
readerrestartseconds = 9
lb_mode = 1
lb_nbest_readers = 2

[monitor]
hideclient_to = 15
appendchaninfo = 0

[newcamd]
port = 34000@0963:000000
key = 0102030405060708091011121314
allowed = 1.0.0.0-255.255.255.255
mgclient = 1

[webif]
httpport = 8888
httpuser = ####
httppwd = ####
httprefresh = 10
httpallowed = 127.0.0.1,192.168.###.#-192.168.###.###

=========
oscam.user
=========

[account]
user = ####
pwd = ####
description = mgcamd DM800SE
group = 1
uniq = 2
au = 1
caid = 0963
ident = 0963:000000


=========
oscam.conf
=========


[global]
logfile = /var/log/oscam.log
cwlogdir = /tmp/oscam
emmlogdir = /tmp/oscam
disablelog = 1
failbantime = 20
cachedelay = 120
unlockparental = 1
nice = -1
maxlogsize = 100
preferlocalcards = 1
saveinithistory = 1
readerrestartseconds = 9
lb_mode = 1
lb_nbest_readers = 2

[monitor]
hideclient_to = 15
appendchaninfo = 0

[newcamd]
port = 34000@0963:000000
key = 0102030405060708091011121314
allowed = 1.0.0.0-255.255.255.255
mgclient = 1

[webif]
httpport = 8888
httpuser = ####
httppwd = ####
httprefresh = 10
httpallowed = 127.0.0.1,192.168.###.#-192.168.###.###





Logs:
-----


2011/10/20 2:19:52 B783D9C0 s can't open file "/usr/local/etc/oscam.provid" (err=2 No such file or directory), no provids's loaded <- this is not a problem
2011/10/20 2:19:52 B783D9C0 s can't open file "/usr/local/etc/oscam.ird" (errno=2 No such file or directory) irdeto guessing not loaded <- this is not a problem
2011/10/20 2:19:52 B783D9C0 s monitor: disabled
2011/10/20 2:19:52 B783D9C0 s camd33: disabled
2011/10/20 2:19:52 B783D9C0 s camd35: disabled
2011/10/20 2:19:52 B783D9C0 s cs378x: disabled
2011/10/20 2:19:52 B783D9C0 s newcamd: initialized (fd=7, port=34000, crypted)
2011/10/20 2:19:52 B783D9C0 s CAID: 0963
2011/10/20 2:19:52 B783D9C0 s provid #0: 000000
2011/10/20 2:19:52 B783D9C0 s radegast: disabled
2011/10/20 2:19:52 B783D9C0 s http thread started
2011/10/20 2:19:52 B783D9C0 s creating thread for device 0
2011/10/20 2:19:52 B783D9C0 s loadbalancer: can't read from file /tmp/.oscam/stat
2011/10/20 2:19:52 B783D9C0 s waiting for local card init
2011/10/20 2:19:52 B7824B70 r reader thread started (thread=#######, label=omnikey3121,device=0, detect=cd, mhz=357, cardmhz=357)
2011/10/20 2:19:52 B7830B70 h HTTP Server listening on port 8888
2011/10/20 2:19:52 B7824B70 r omnikey_3121_[1] card detected
2011/10/20 2:19:52 B7824B70 r omnikey_3121_[1] ATR: 3F FD 13 25 02 50 00 0F 33 B0 0F 69 FF 4A 50 D0 00 00 53 59 02
2011/10/20 2:19:54 B7824B70 r [videoguard2-reader] parental lock setting: FF FF FF 00
2011/10/20 2:19:54 B7824B70 r [videoguard2-reader] parental lock disabled
2011/10/20 2:19:54 B7824B70 r [videoguard2-reader] parental lock setting after disabling: FF FF FF 00
2011/10/20 2:19:54 B7824B70 r [videoguard2-reader] type: VideoGuard BS*yB (0963), caid: 0963
2011/10/20 2:19:54 B7824B70 r [videoguard2-reader] serial: ########, BoxID: ########, baseyear: #### <-serial & id are correctly detected by reader
2011/10/20 2:19:54 B7824B70 r [videoguard2-reader] ready for requests
2011/10/20 2:19:54 B7824B70 r found cardsystem videoguard2
2011/10/20 2:19:54 B7824B70 r [videoguard2-reader] omnikey3121 card detected
2011/10/20 2:19:54 B7824B70 r [videoguard2-reader] type: VideoGuard BS*yB (0963)
2011/10/20 2:19:54 B7824B70 r [videoguard2-reader] tier: ####, expiry date: 2011/12/08-00:00:00
2011/10/20 2:19:54 B7824B70 r [videoguard2-reader] tier: ####, expiry date: 2011/12/08-00:00:00
2011/10/20 2:19:54 B7824B70 r [videoguard2-reader] tier: ####, expiry date: 2011/12/08-00:00:00
2011/10/20 2:19:54 B7824B70 r [videoguard2-reader] tier: ####, expiry date: 2011/12/08-00:00:00
2011/10/20 2:19:54 B7824B70 r [videoguard2-reader] tier: ####, expiry date: 2011/12/08-00:00:00
2011/10/20 2:19:54 B7824B70 r [videoguard2-reader] tier: ####, expiry date: 2011/12/08-00:00:00
2011/10/20 2:19:54 B7824B70 r [videoguard2-reader] tier: ####, expiry date: 2011/12/08-00:00:00
2011/10/20 2:19:54 B7824B70 r [videoguard2-reader] tier: ####, expiry date: 2011/12/08-00:00:00
2011/10/20 2:19:54 B7824B70 r [videoguard2-reader] tier: ####, expiry date: 2011/12/08-00:00:00
2011/10/20 2:19:55 B783D9C0 s init for all local cards done
2011/10/20 2:19:55 B783D9C0 s anti cascading disabled
2011/10/20 2:19:55 B7023B70 c client connected to 34000 port
2011/10/20 2:19:55 B7023B70 c encrypted newcamd:34000-client 192.168.###.### granted (####, au=auto (1 reader))
2011/10/20 2:19:55 B7023B70 c user #### authenticated successfully (mgcamd)
2011/10/20 2:19:55 B7023B70 c AU enabled for user #### on reader omnikey3121

Thanks In Advance!!
 
I'm not sure why you have your Oscam server file the same as your conf file, but your server file should look something like this:
Code:
You don't have permission to view the code content. Log in or register now.
 
Thanks for looking!

My bad there - i pasted the wrong thing in the post!

It is like this:

==========
oscam.server
==========


[reader]
label = omnikey3121
description = OmniKey_3121
protocol = pcsc
device = 0
caid = 0963
detect = cd
mhz = 357
cardmhz = 357
ident = 0963:000000
group = 1
emmcache = 1,3,2
blockemm-unknown = 1
blockemm-g = 1
lb_weight = 101
 
I've sussed it!

the problem was in mg_cfg

# network mode, use summ for several clients
# 00 no network (default)
# 01 newcamd netclient
# 02 radegast netclient
# 04 camd3 netclient
# 08 gbox netclient
G: { 09 }

I changed it to:

G: { 01 }

restarted the emu and all was clear!!!

Now, in theory, G: { 09 } means use options 08 and 01
so the box should have automatically used newcamd 01 or gbox 08 as appropriate

In theory, you should be able to sum them all and do { 15 } but i tried that and no joy.

So, i suggest setting the network mode entry on the client to the corresponding server requirement.
 
I've sussed it!

the problem was in mg_cfg

# network mode, use summ for several clients
# 00 no network (default)
# 01 newcamd netclient
# 02 radegast netclient
# 04 camd3 netclient
# 08 gbox netclient
G: { 09 }

I changed it to:

G: { 01 }

restarted the emu and all was clear!!!

Now, in theory, G: { 09 } means use options 08 and 01
so the box should have automatically used newcamd 01 or gbox 08 as appropriate

In theory, you should be able to sum them all and do { 15 } but i tried that and no joy.

So, i suggest setting the network mode entry on the client to the corresponding server requirement.

I've had this with Mgcamd before. Some packages even come with the network disabled by default in the config. When I make the tgz packages for DM800 Dreamelite BH I always have 'G: { 01 }' as default.
 
Back
Top