Oscam/Mgcamd entitlement update (Caid 090F N*D*S Viasat VideoGuard)

Superglud

Registered
Messages
50
Caid 090F N*D*S Viasat VideoGuard (Viasat Nordic)

Could anyone help ?

Oscam/mgcamd is not updating the entitlements (Org. viasat card caid 090F)


Vu+ Ultimo
(Black Hole Vu+ Ultimo 1.7.8)
(Oscam server (Oscam1.20 svn7606))
(mgcamd client (mgcamd1.38))

QBoxHD
(Roy Image BKP QBOXHD 7.4.2012)
(mgcamd client (mgcamd1.38a))

OScam/mgcamd setup:

oscam.conf (BEGIN)***********************
[global]
nice = -1
logfile = /var/log/oscam.log
clienttimeout = 5000
fallbacktimeout = 2500
clientmaxidle = 120
cachedelay = 120
bindwait = 120
resolvedelay = 30
serialreadertimeout = 1500
maxlogsize = 1000
waitforcards = 1
preferlocalcards = 1
saveinithistory = 1
keepalive = 1

#-------------
# web interface

[webif]
#httpallowed = 127.0.0.1,192.168.0.2-192.168.0.100,192.168.1.2-192.168.1.100 # Or SET your House Lan
httpallowed = 127.0.0.1,10.0.2-10.0.0.100 # Or SET your House Lan
httpport = 8080
httpuser = glud
httppwd = glud
#httpscript =
httprefresh = 5
httphideidleclients = 0
debug = 255

[newcamd]
key = 0102030405060708091011121314
port = 34001@093E:000000,090F:000000
allowed =
keepalive = 1
mgclient = 1
oscam.conf (END)*************************

oscam.user (BEGIN)***********************
[account]
user = remote_inhouse_user1
pwd = xxxxxxxxx
group = 1
au = VIASAT
caid = 093E,090F
ident = 093E:000000;090F:000000

[account]
user = localuser
pwd = xxxxxxxxx
group = 1
au = VIASAT
caid = 093E,090F
ident = 093E:000000;090F:000000
oscam.user (END)*************************

oscam.server (BEGIN)***********************
[reader]
label = VIASAT
protocol = internal
device = /dev/sci0
detect = cd
caid = 093E,090F
ident = 093E:000000;090F:000000
cardmhz = 500
mhz = 600
group = 1
#audisabled = 1
emmcache = 1,3,2
blockemm-unknown = 1
blockemm-u = 0
blockemm-s = 0
blockemm-g = 1
oscam.server (END)*************************

oscam.dvbapi (BEGIN)***********************
P: 090F:000000 #VIASAT 4.8E NDS2
I: 0
oscam.dvbapi (END)*************************

cccamd.list (BEGIN)***********************
C: 127.0.0.1 12000 localuser xxxxxxxxx yes
C: 127.0.0.1 12000 remote_inhouse_user1 xxxxxxxxx yes
cccamd.list (END)*************************

newcamd.list (BEGIN)***********************
CWS_KEEPALIVE = 300
CWS_INCOMING_PORT = 21000
CWS = 127.0.0.1 34001 remote_inhouse_user1 xxxxxxxxx 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs
newcamd.list (END)*************************

mg_cfg (BEGIN)**************************************************
# EMM messages
# 00 don't show any EMMs (default)
# 01 show only valid EMMs
# 02 show valid and bad EMMs with complete data display
M: { 01 }

# ECM messages
# 00 don't show anything about ecm
# 01 normal mode, show pids processed, decoded ecm and cw
# 02 verbose mode, show valid and bad ECMs with data
C: { 02 }

# AU
# 00 disable, no emm pids processed
# 01 enable, emm pids always processed for soft-au and shared cards
# 02 auto, emm started only if channel cant be decoded
# 03 process emm pids for network cards update only
A: { 01 }

# key update (sum 01 or 02 with 04)
# 01 update only new keys, default setting
# 02 update all keys (used for valid PMK checking)
# 04 enable TPS au
# + tps SID, which pmt pid contains au pid
U: { 01 } 0x12c0

# 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
# 00 no network (default)
# 01 newcamd netclient
# 02 radegast netclient
# 04 camd3 netclient
# 08 gbox netclient
# 32 cccamd netclient, card list saved as /tmp/cccamd.info
# (ECM only, supported server version up to 2.1.1, later not work)
G: { 01 }

# network retry, use summ for several options
# 00 disable
# 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
# + XX messages number and YY seconds to reconnect
# mg will reconnect to server, if no answer to last XX ecm/keepalive or
# if no answer for last ecm or keepalive sent for YY seconds
# set to 0 to disable
N: { 07 } 5 30

# network ecm timeout in seconds
K: { 15 }

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

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

# on screen display type
# 00 No OSD (default)
# 01 neutrino
# 02 enigma
# 03 relook
# + user password for http auth
O: { 00 } username password

# on screen display Options, summ of:
# 01 show emu ecm
# 02 show network shares messages
# 04 show decoding failed / fta
# 08 show emm keys update
# + web port to use for osd
S: { 03 } 80

# Log option, summ of:
# 00 off
# 01 network udp log
# 02 log to console
# 04 file, appended ! delete it by yourself, before it eat all your hdd
# + IP udp-port log-file-name
#L: { 02 } 172.16.1.1 28007 /tmp/mgcamd.log
#L: { 04 } 127.0.0.1 28007 /tmp/mgcamd.log
L: { 00 } 127.0.0.1 28007 /tmp/mgcamd.log

# keep ecm cache, seconds
# every cache entry takes 28 bytes, so 24h cache will take *only* 240-400kb of memory,
# for openbox/elanvision users with remote shares make sense to set it higher than default value,
# to not hammer cards while timeshifting or playing crypted recordings.
E: { 15 }

# cache option, summ of:
# 00 Off (default)
# 01 Ecm pids cache, store pids used to decode in /tmp/ca_cache.list at exit, load at startup, same syntax as restore.list
# 02 Ecm data cache, remember CW for (E:) time
# 04 Emm cache for network cards, do not resend the same emm twice, cache not cleared until restart
H: { 07 }

# reread files, summ of:
# 00 No (default)
# 01 reread config file on channel change (including priority and ignore, but not replace/cache)
# 02 reread SoftCam.Key on channel change
# 04 reread SoftCam.Key if file changed
R: { 04 }

# debug, summ of
# 00 off (default)
# 01 debug ecm
# 02 debug emm
# 04 debug network ecm
# 08 debug network emm
# 16 debug network login
# 32 show mem/cpu stats every 1 min
# 64 add timestamp to log messages
D: { 00 }

# box type
# 00 autodetect, change only if you think wrong type detected.
# 01 dbox2
# 02 dreambox
# 03 triple-dragon
# 04 relook
# 05 openbox
# 06 dreambox/mips
# 08 stapi/kathrein
# 09 stapi/ipbox
# 11 stapi/openbox
#B: { 00 }
B: { 06 }

# map all 180x nagra caids to 1801
# default is 01
F: { 00 }
mg_cfg (END)****************************************************

Best regards
 

zeros

Registered
Messages
178
In my opinion oscam.server put
audisabled = 1
, you have
# audisabled = 1

It means
0 = disable AU (default)
1 = enable AU
2 = enable AU, override AU settings of client, set answering reader as AU reader

So at the moment you are not allowed by default AU (bars on the front).
 
Last edited:

zeros

Registered
Messages
178
Hi,
Lot of users update their subscription with original box and don't allow AU. It may damage cards. You can also temporary enable AU to update card and then close it again to wait next time- just an idea ;-)
 

Superglud

Registered
Messages
50
Hi zeros

In my opinion oscam.server put
audisabled = 1
, you have
# audisabled = 1

It means
0 = disable AU (default)
1 = enable AU
2 = enable AU, override AU settings of client, set answering reader as AU reader

Sorry to ask again, but

Where have you found that documentation ?

The wiki documentation is:

http://www.streamboard.tv/wiki/OSCam/en/Config/oscam.server#audisabled

audisabled parameter is optional
exclude reader from auto AU (auto update)

audisabled = 1 # excludet
audisabled = 0 # not excludet (default)

Best regards
 

zeros

Registered
Messages
178
Hi,
I'm the wrong person you meet, because now I have zero cards in my machine.
I find it in the other forum.
 

beson

Registered
Messages
12
@Superglud
Why do you have both 090F and 093E as caid, when your card is 090F?

Do you know, you don't need mgcamd, as oscam has inbuilt client?
The client in oscam is dvbapi.

Try this config, with only oscam.

oscam.conf
Code:
oscam.conf
[global]
logfile = /var/log/oscam.log
maxlogsize = 1000
nice = -1
waitforcards = 1
preferlocalcards = 1
saveinithistory = 1

[newcamd]
key = 0102030405060708091011121314
port = 34001@090F:000000

[dvbapi]
enabled = 1
user    = remote_inhouse_user1
au      = 1

oscam.server
Code:
[reader]
label = VIASAT
protocol = internal
device = /dev/sci0
detect = cd
caid = 090F
cardmhz = 500
mhz = 600
group = 1
emmcache = 1,3,2

oscam.user
Code:
[account]
user = remote_inhouse_user1
pwd = xxxxxxxxx
group = 1
au = 1
caid = 090F
ident = 090F:000000

[account]
user = localuser
pwd = xxxxxxxxx
group = 1
au = 1
caid = 090F
ident = 090F:000000

newcamd.list in clientbox
Code:
CWS_KEEPALIVE = 300
CWS = ip for server 34001 localuser xxxxxxxxx 01 02 03 04 05 06 07 08 09 10 11 12 13 14

beson
 
Last edited:

Superglud

Registered
Messages
50
Hi beson and zeros

thanks for replying

093E and 090F
Unified fileversion for both new(093E) and old(090F) viasat nordic cards
this is of no importance

I know i can use OScam as a client to, but this is not the case
I use mgcamd, due to support of S*o*f*t*C*a*m*.K*e*y

I realized i had a setup mishmash in the newcamd.list
on the client running on the same machine as the "oscam server"

Vu+ Ultimo
(Black Hole Vu+ Ultimo 1.7.8)
(Oscam server (Oscam1.20 svn7606))
(mgcamd client (mgcamd1.38))

this the correct newcamd.list
newcamd.list (BEGIN)***********************
CWS_KEEPALIVE = 300
CWS_INCOMING_PORT = 21000
CWS = 127.0.0.1 34001 localuser xxxxxxxxx 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs
newcamd.list (END)*************************

but resolving the mishmash, did not solve the problem

I have tried both
#audisabled = 1
and
audisabled = 1

but the oscam log file keep saying
that AU is disabled

OSCAM.log partly (BEGIN)***********************
init for all local cards done
anti cascading disabled
client connected to 34001 port
encrypted newcamd:34001-client 10.0.0.20 granted (remote_inhouse_user1, au=on (1 reader))
user remote_inhouse_user1 authenticated successfully (mgcamd)
AU disabled for user remote_inhouse_user1
SID list will not be send to mgcamd client.
client connected to 34001 port
encrypted newcamd:34001-client 127.0.0.1 granted (localuser, au=on (1 reader))
user localuser authenticated successfully (mgcamd)
AU disabled for user localuser
SID list will not be send to mgcamd client.
OSCAM.log partly (END)*************************

How do i enable AU ?

could it be the missing boxid or ?

Best Regards
 

Superglud

Registered
Messages
50
Look at Your oscam.user - instead au = VIASAT put au = 1

I have just now tried your proposal
au = 1
instead of
au = VIASAT

with same negative result

oscam log file keep saying
that AU is disabled for both users
AU disabled for user remote_inhouse_user1
AU disabled for user localuser

best regards
 

beson

Registered
Messages
12
audisabled = 1 means that AU is not allowed
Delete the line or write audisabled = 0

You have these blockings in oscam.server
blockemm-unknown = 1
blockemm-u = 0
blockemm-s = 0
blockemm-g = 1

Are you sure that not global emm:s are updating the entitlements?
Try this
blockemm-unknown = 1
blockemm-u = 0
blockemm-s = 0
blockemm-g = 0

I don't have viasat myself, so I'm not sure of this.
And I have never tested mgcamd 1.38, only 1.35
Have you tried 1.35?

beson
 

zeros

Registered
Messages
178
Just in case to be sure in which machine in either do you have the card - in QboxHD or in VU+ Ultimo?
 

Superglud

Registered
Messages
50
Hi beson

Thanks for replying

audisabled = 1 means that AU is not allowed
Delete the line or write audisabled = 0

beson

I have
#audisabled = 1
same as audisabled = 0

You have these blockings in oscam.server
blockemm-unknown = 1
blockemm-u = 0
blockemm-s = 0
blockemm-g = 1

Are you sure that not global emm:s are updating the entitlements?
Try this
blockemm-unknown = 1
blockemm-u = 0
blockemm-s = 0
blockemm-g = 0

beson

i will give it a try

I don't have viasat myself, so I'm not sure of this.
And I have never tested mgcamd 1.38, only 1.35
Have you tried 1.35?

beson

No i have not tried Mgcamd1.35
Have you a "Oscam server" / "mgcamd1.35 client" who is updating your card entitlements ?

Best regards
 

Superglud

Registered
Messages
50
Hi zeros

Thanks for replying

Just in case to be sure in which machine in either do you have the card - in QboxHD or in VU+ Ultimo?

Oscam server running on VU+ Ultimo
and mgcamd1.38 client running "localuser" also on VU+ Ultimo
Card is in VU+ Ultimo

mgcamd1.38a client running "remote_inhouse_user1" on QboxHD

Best regards
 

beson

Registered
Messages
12
I'm nowadays using oscam, with dvbapi as client on my serverbox, and I'm also using oscam (dvbapi) on the clientbox.
Both boxes are Clark Tech ET9000.
This has been working perfect for a couple of years now.

Earlier with Ipbox 9000HD and Ipbox 910HD I had oscam/mgcamd 1.35 on the serverbox, and mgcamd on clientbox, and I can't remember I had any problems with updating the card (CD caid 0B00)

If your viasat card is caid 090F, you can also use newcs/mgcamd.
Is the card caid 093E, you must use oscam together with boxid.

beson
 

zeros

Registered
Messages
178
I think it does not hurt to try
2 = enable AU, override AU settings of client, set answering reader as AU reader
This log file must not explain to you that the AU is not allowed.

And I think You may then to try mgcamd1.38 client running "localuser" also on VU+ Ultimo to make AU for You?

This is just my idea, if not a good idea.. i don't know.
 
Last edited:

Superglud

Registered
Messages
50
audisabled

It means
0 = disable AU (default)
1 = enable AU
2 = enable AU, override AU settings of client, set answering reader as AU reader

Hi zeros

Thanks for replying

Where have you found that documentation ?

It is not the values for audisabled

The wiki documentation is:

http://www.streamboard.tv/wiki/OSCam...ver#audisabled

audisabled parameter is optional
exclude reader from auto AU (auto update)

audisabled = 1 # excludet
audisabled = 0 # not excludet (default)

Best regards
 
Top