AB IpBox Receiver Home
Conectare

Mi-am uitat parola

Ultimele subiecte
» PKT E2 NEBULA Update
Scris de Admin-bb Sam Mar 17, 2012 2:58 am

» Digisport 2 HD la RCS-RDS
Scris de Admin-bb Sam Mar 10, 2012 9:15 am

» ACT E2 100 rev 3 mod Tideglo 100 usb version
Scris de Admin-bb Vin Mar 09, 2012 1:01 pm

» PKT IP9900HD E2 NEBULA v1 Image
Scris de Admin-bb Joi Mar 08, 2012 8:51 am

» PKT IP99HD E2 NEBULA v1 Image
Scris de Admin-bb Joi Mar 08, 2012 8:49 am

» PKT IP55HD E2 NEBULA v1 Image
Scris de Admin-bb Joi Mar 08, 2012 8:46 am

» PKT IP9000 E2 NEBULA v1 Image
Scris de Admin-bb Joi Mar 08, 2012 8:41 am

» PKT IP910 E2 NEBULA v1 Image
Scris de Admin-bb Joi Mar 08, 2012 8:38 am

» PKT IP900 E2 NEBULA v1 Image
Scris de Admin-bb Joi Mar 08, 2012 8:31 am

translator
Cautare
 
 

Rezultate pe:
 


Rechercher Cautare avansata

Bookmarking social

Bookmarking social Digg  Bookmarking social Delicious  Bookmarking social Reddit  Bookmarking social Stumbleupon  Bookmarking social Slashdot  Bookmarking social Yahoo  Bookmarking social Google  Bookmarking social Blinklist  Bookmarking social Blogmarks  Bookmarking social Technorati  

Pastrati adresa AB IpBox Receiver Home pe site-ul dvs. de bookmarking social

Cine este conectat?
In total sunt 4 utilizatori conectati: 0 Inregistrati, 0 Invizibil si 4 Vizitatori

Nici unul

Recordul de utilizatori conectati a fost de 12, Mier Mai 16, 2012 10:58 pm
Cei care creeaza cel mai des subiecte noi
Admin-bb
 

Mai 2017
LunMarMierJoiVinSamDum
1234567
891011121314
15161718192021
22232425262728
293031    

Calendar Calendar

Flux RSS


Yahoo! 
MSN 
AOL 
Netvibes 
Bloglines 


IpBox Receveir Team

Dum Sept 04, 2011 11:30 am Scris de Admin-bb

Bine ati venit pe forum farao

Comentarii: 1

curs valutar

How to : Configure Oscam + Mgcamd as softcam

Vezi subiectul anterior Vezi subiectul urmator In jos

How to : Configure Oscam + Mgcamd as softcam

Mesaj Scris de Admin-bb la data de Vin Sept 09, 2011 3:43 pm

This tutorial will explain how to use the Open Source Conditional Access
Module (Oscam) as a server to read your Sly white card and Mgcamd as
the softcam.

OSCAM CONFIGURATION

All Oscam configuration files are located in /var/tuxbox/config folder for Enigma1 or /etc/tuxbox/config for Enigma2 receivers.
The three important files are:

oscam.conf
oscam.server
oscam.user


The oscam.conf is as follows:

[global]

logfile = /tmp/oscam.log

nice
= -1

preferlocalcards
= 1

saveinithistory
= 1

resolvegethostbyname
= 1


# logging

#pidfile = /var/run/oscam.pid

logfile = /var/log/oscam.log

usrfile
= /var/log/oscamuser.log

cwlogdir
= /var/log/cw.log

maxlogsize
= 1000


[monitor]

port = 0

nocrypt
=

aulow = 30

hideclient_to
= 15

monlevel
= 3

appendchaninfo
= 0


[newcamd]

port = 34000@0963:000000

key
= 0102030405060708091011121314

allowed
=

keepalive = 1

mgclient
= 0


[webif]

httpport = 3001

httphelplang
= en

httpuser
= admin

httppwd
= admin

httprefresh
= 10

httpallowed
= 192.168.1.1-192.168.1.255

httphideidleclients
= 1

httpreadonly
= 0

httpsavefullcfg
= 0


In this section we have used [newcamd] as the client protocol, the port
we want to use for the server (34000) and the card type we want this
port to service (0963 – NDS white card as used by Sly Digital UK).

The [webif] is the section we define the web interface configuration. We
set such options as username, password, port to access the
webinterface. The httpallowed section is what clients we want to
connect, the above example allows client with an IP address range of
192.168.1.1-192.168.1.255 to connect, therefore we do not allow external
clients to connect. Modify this section to reflect the subnet on your
local area network.

The oscam.server file is as follows:

[reader]

label = slot1

enable
= 1

Protocol
= internal

Detect
= CD

Device
= /dev/sci0

group
= 1

EMMCache
= 1,3,2

boxid
= xxxxxxxx

blockemm
-u = 0

blockemm
-s = 0

blockemm
-g = 1

blockemm
-unknown = 1

caid
= 0963


In this section we specific the details of the card we wish to share.

The [Device=/dev/sci0] related to the first card slot in the receiver., if you are using the bottom slot [Device=/dev/sci1]

The [boxid] is entered here – please note latest releases of OSCam do
not require the box key to be included in the oscam.server file – just
remove or # out boxid = xxxxxxxx and it will detect it automatically.

The [caid ]is the card we are to read (0963 – NDS white card as used by Sly Digital UK).

The oscam.user file is as follows:

[account]

user = xxxxx

pwd
= xxxxx

group
= 1

uniq
= 1

monlevel
= 0

au
= 1

caid
= 0963

cccmaxhops
= -1

cccreshare
= -10


This is where all users accounts are created.

[au] set this to 1 for only one user, who is the only user allowed to
send EMM from the client. You can use the web interface to add more user
accounts or modify the oscam.user file and add accounts as required.

For following oscam.user file has 3 accounts setup.


[account]

user = xxx

pwd
= xxx

group
= 1

uniq
= 1

monlevel
= 0

au
= 1

caid
= 0963

cccmaxhops
= -1

cccreshare
= -10


[account]

user = zzz

pwd
= zzz

uniq
= 1

monlevel
= 0

au
= 0

caid
= 0963

cccmaxhops
= -1

cccreshare
= -10


[account]

user = yyy

pwd
= yyy

disabled
= 1

group
= 1

uniq
= 1

monlevel
= 0

au
= 0

caid
= 0963

cccmaxhops
= -1

cccreshare
= -10

group
= 1


As you can see, we only allow one user account to au by setting the
option to 1 for a single user account and 0 for the other user accounts.
Once oscam configuration is complete, connect to the web interface via
your favourite browser and check the debug information on the main page
or use this shell command in telnet.

tail -f /var/log/oscam.log

If no errors were detected, then oscam is ready as a server and waiting for clients to connect.
MGCAMD CONFIGURATION

We will use Mgcamd as a client, Modify the newcamd.list
file located in /var/keys. The following is an example of the
newcamd.list file connect to an internal oscam server on IP address
192.168.1.7, port 34000, with username and password as xxx.
CWS_KEEPALIVE = 300

CWS_INCOMING_PORT
= 21000

CWS
= 192.168.1.7 34000 xxx xxx 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan oscam2

The mg_cfg file is located in/var/keys has the configuration for Mgcamd client.
# 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: { 01 }

# 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

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: { 05 }

# newcamd dead routes connect retry, sec

Q: { 600 }

# network shares priority

# 00 gbox, newcamd, radegast, camd3 (default)

# 01 camd3, radegast, newcamd, gbox

# 02 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 } admin newcs

# 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: { 00 } 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: { 03 } 172.16.1.1 28007 /tmp/mgcamd.log

L: { 00 }

# 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: { 00 }

# 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

B: { 00 }

Only a single MGcamd client needs to be configured to update the EMM. Set the AU option (A:) to 1 just for one client.

download

_________________
[Trebuie sa fiti inscris si conectat pentru a vedea aceasta imagine]
avatar
Admin-bb
Admin
Admin

Mesaje : 208
Data de inscriere : 02/09/2011

http://ipbox-home.rpdforum.com

Sus In jos

Vezi subiectul anterior Vezi subiectul urmator Sus


 
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum