You are Unregistered, please register to gain Full access.    
«•»World-Satellite Forum«•»  
Old 06-06-2011, 09:02   #1
 
vepar's Avatar
 
SUPER V.I.P MEMBER
Join Date: May 2010
Posts: 1,095
Thanks: 277
Thanked 570 Times in 221 Posts
Users Flag!
Default OScam za početnike - korak po korak

OScam za početnike - korak po korak

OScam emulator je aplikacija otvorenog tipa koja se u ovom trenutku vremena i prostora intenzivno razvija i praktički svakodnevno izlaze nove verzije jer, kako se radi Open Source Cam-u , na njemu radi gotovo sveukupna Linux zajednica koju zanima satelitska problematika. Pri korištenju OScam emulatora podržan je i moguć rad sa jako puno protokola (newcamd, camd 3.xxx, radegast, serial, gbox, CCcam, DVBAPI, …), a OScam uspješno radi na gotovo svim Linux platformama (tuxbox, arm, mips, mipsel, sh4, powerpc, ...), te također i na Windows-ima i Mac OS-u! OScam emulator može raditi i bez kombinacije s nekim drugim emulatorom – dakle potpuno samostalno, a osim što može biti CS-server, može raditi i u CS-klijent varijanti, bilo kao klijent samih CS-emulatora (npr. CCcam, OScam, …), bilo kao klijent u uobičajenoj varijanti s NewCS-om i/ili Sbox-om!

OScam emulator ima tu odliku da jako dobro i pouzdano radi sa velikom većinom satelitskih kartica, tzv. lokalki (Sky Italija, Sky Germani, HD+, ORF, Skylink, DigiTV N3, Polsat, UPC, D+, KD, Tivusat N3, Platforma HD, SRG Swis, CSAT/C+, Bis TV, CYFRA+, CANAL DIGITAAL, REDLIGHT ELITE FUSION, RedHot, … … …), a u ovoj varijanti OScam emulator se koristi kao CCcam CS-server, te i kao CCcam CS-klijent u tzv. samostalnoj kombinaciji.

Kako je uopće nastao OScam?

U početku bijaše MPCS (Multi Protocol Card Server) i to je bilo čitanje satelitskih kartice, a mogli ste spojiti nekoliko emulatora korištenjem različitih protokola na MPCS, a taj MPCS je ustvari, moglo bi se reći, djed OScam-a, a sam razvoj tog MPCS-a je trenutno više ili manje zaustavljen. Zatim se pojavila i došla ideja da se ide dalje na toj bazi od MPCS-a (Multi Protocol Card Servera) i OScam je rođen.

Nove mogućnosti OScam-a, osim onih koje je imao MPCS, te i podrška za više razno-raznih satelitskih kartica dodana je s vremenom kako se OScam uspješno razvijao. OScam je postao ne samo card-server već i proxy. To znači da sada možete povezati različite emulatore na taj način da koristite emulatore koji koriste razne protokole (praktički skoro da nema nekih ograničenja) i OScam može "ćitati" udaljene kartice, te ih koristiti na udaljenim emulatorima - Oscam proxi-ima - kao svoje vlastite satelitske kartice koristeći različite protokole. Nešto što nikada ranije nije postojalo u tom obimu.

Zanimljiva je činjenica da ne postoji vlastiti "OScam-protokol" za povezivanje OScam poslužitelja (servera) i klijenta samog OScam-a (dakle za spajanje dva OScam-a). Za sada, nema razloga za izmišljanje potpuno novog protokola koji bi samo OScam razumio iako postojeći protokoli nisu savršeni. Za spajanje OScam-a na OScam može se koristiti bilo koji protokol od podržanih. Napravite Vaš vlastiti izbor što želite koristiti, a izbor je vrlo obilan. Možda jednog lijepog dana, kada razvoj OScam-a dođe u neko konačno stanje, a skoro svaki bug bude riješen i sve bude funkcioniralo kako i treba funkcionirati, programeri mogu razmisliti o izmišljanju vlastitog protokola OScam-a. No, za sada to nije na popisu prioriteta, a početi upravo sada razvoj protokola koji samo OScam razumije bio bi pogrešan trenutak – kako to trenutno promišljaju oni koji vode ovaj vrlo uspješan projekat nazvan OScam.

Više različitih protokola, poput CCcam protokola, dodano je tijekom vremena kako je "stvar" napredovala. To se i nadalje stalno razvija. Dvbapi (OScam vlastiti emulator) je dodan također nešto kasnije, a on omogućuje rad OScama u tzv. samostalnoj kombinaciji.

Dakle – preostaje nam čekati i vidjeti kako će se to završiti sa OScam-om, a kako se radi o aplikaciji otvorenog tipa (koda) možemo se, ako to želimo, i aktivno uključiti u stvaranje iste.

Konfiguracijske datoteke OScam emulatora

Konfiguracijske datoteke OScam emulatora bi se mogle podijeliti na:

1. glavne (oscam.conf, oscam.server i oscam.user)
2. pomoćne (oscam.provid, oscam.services, oscam.srvid, oscam.ac, …)

U prvoj glavnoj konfiguracijskoj datoteci oscam.conf može biti sadržano slijedeće:

- opće (globalne) postavke
- postavke za tzv. log-datoteke
- postavke za nadgledanje (monitoring)
- postavke za *** sučelje (***-IF)
- postavke za tzv. anti-cascading
- protokoli koji koristite kod OScam emulatora.

Dakle – treba akceptirati da su u datoteci oscam.conf osim globalnih (općih) postavki, te postavki za sam rad, te i za tzv. monitorinag iliti nadgledanja rada OScam-a, također i svi mogući "serverski procesi" (protokoli) koje mislite i želite koristiti po Vašem potpuno vlastitom izboru, pa tu onda mogu biti newcamd-CCcam-camd3x-***-poslužitelji ili/i dvbapi "ugrađeni" u emulator od OScam-a. OScam može raditi potpuno samostalno na Vašoj Linux platformi (satelitskom prijemniku ili PC-u), ako Vi to tako želite, a za tzv. dekriptiranje (otključavanje) kanala u tom potpuno samostalnom radu, ako Vam slučajno to još uvijek nije baš najasnije, koristi se protokol - "dvbapi".

U drugoj glavnoj konfiguracijskoj datoteci oscam.server može biti sadržano slijedeće:

- konfiguracija ćitača, zavisno od pojedine satelitske kartice koja se koristi
- ažuriranje roka trajanja satelitske kartice, tzv. EMM nadogradnja

Tu – dakle – OScam traži satelitske kartice sa kojima radi, a to mogu biti satelitske kartice u tzv. pravim ćitaćima kartica (interni ili eksterni) ili/i veza do udaljenih poslužitelja (CS-servera) na bilo kojem protokolu, tzv. OScam proxy ćitaći kartica.

U trećoj glavnoj konfiguracijskoj datoteci oscam.user može biti sadržano slijedeće:

- konfiguracije pojedinih korisnika
- korisnici kojima je dopušteno povezivanje s Vašim OScam serverom

Dakle – tu možete biti Vi kao lokalni dvbapi korisnik ili/i udaljeni korisnici na bilo kojem protokolu po Vašem sopstvenom izboru.

Za više informacija o glavnim konfiguracijskim datotekama preporučuje se da pročitate dokumentaciju koja dolazi sa pojedinim OScam distribucijama, a također i za sam sadržaj pomoćnih konfiguracijskih datoteka, što neću komentirati u ovoj uputi jer samo ime, odnosno tip (ekstenzija) pojedine pomoćne datoteke govori što se u njoj nalazi, najbolje je također da konzultirate DOKUMENTACIJU OScam-a koja je i više nego zadovoljavajuća i OK sa detaljnim opisima pojedinih opcija OScam-a, a kako se OScam tokom svog ovog vremena razvijao, a i dalje se razvija, pojavljuju se i nove konfiguracijske datoteke, a isto tako i nove opcije u već postojećima konfiguracijskim datotekama.
vepar is offline   Reply With Quote
The Following 4 Users Say Thank You to vepar For This Useful Post:
commando (20-02-2012), KiwiPP (08-06-2011), malimau99 (01-07-2011), NETKing (28-02-2014)
Old 06-06-2011, 09:03   #2
 
vepar's Avatar
 
SUPER V.I.P MEMBER
Join Date: May 2010
Posts: 1,095
Thanks: 277
Thanked 570 Times in 221 Posts
Users Flag!
Default Re: OScam za početnike - korak po korak

Primjer za konfiguracijsku datoteku oscam.cfg - orginalni info:

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
vepar is offline   Reply With Quote
The Following 4 Users Say Thank You to vepar For This Useful Post:
commando (20-02-2012), malimau99 (01-07-2011), momemk (28-10-2011), NETKing (28-02-2014)
Old 06-06-2011, 09:04   #3
 
vepar's Avatar
 
SUPER V.I.P MEMBER
Join Date: May 2010
Posts: 1,095
Thanks: 277
Thanked 570 Times in 221 Posts
Users Flag!
Default Re: OScam za početnike - korak po korak

Primjer za konfiguracijsku datoteku oscam.server - orginalni info:

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
vepar is offline   Reply With Quote
The Following 3 Users Say Thank You to vepar For This Useful Post:
commando (20-02-2012), malimau99 (01-07-2011), NETKing (28-02-2014)
Old 06-06-2011, 09:04   #4
 
vepar's Avatar
 
SUPER V.I.P MEMBER
Join Date: May 2010
Posts: 1,095
Thanks: 277
Thanked 570 Times in 221 Posts
Users Flag!
Default Re: OScam za početnike - korak po korak

Primjer za konfiguracijsku datoteku oscam.user - orginalni info:

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
vepar is offline   Reply With Quote
The Following 2 Users Say Thank You to vepar For This Useful Post:
commando (20-02-2012), malimau99 (01-07-2011)
Old 06-06-2011, 09:05   #5
 
vepar's Avatar
 
SUPER V.I.P MEMBER
Join Date: May 2010
Posts: 1,095
Thanks: 277
Thanked 570 Times in 221 Posts
Users Flag!
Default Re: OScam za početnike - korak po korak

Evo i orginalnog info-a kako konfigurirati konfiguracijsku datoteku oscam.cfg sa objašnjenjima i primjerima:

oscam.conf(5)

NAME
oscam.conf - main configuration file for OSCam

SYNOPSIS
The main configuration file for OSCam contains global parameters such
as debugging, logging, monitor, protocols and anti-cascading. sections
in oscam.conf are nonrecurring. The [global] section is required. All
other sections are optional.

DESCRIPTIONS
The [global] section
serverip = IP address
bind service to specified IP address, default:all

logfile = filename|/dev/null|/dev/tty|syslog
logging target, default: /var/log/oscam.log

disablelog = 0|1
1 = disable log file, default:0

disableuserfile = 0|1
1 = avoid logging although logfile is set, default:0

pidfile = filename
PID file, default:no PID file

usrfile = filename
log file for user logging, default:none

log file format:

date
time
CWs per second
username
IP address of client
TCP/IP port
CWs found
CWs from cache
CWs not found
CWs ignored
CWs timed out
CWs tunneled
login time in unix/POSIX format
logout time in unix/POSIX format
protocol

cwlogdir = path
directory for CW logging, default:none

clienttimeout = seconds
value for client process to wait for K*y, default:5

fallbacktimeout = seconds
time falling back to fallback reader, default:2

clientmaxidle = seconds
value for client process being idle before disconnect, default:120

cachedelay = milli-seconds
value to delay cached requests , default:0

bindwait = seconds
value to wait for bind request to complete, default:120

netprio = priority
network priority, default:system given

resolvedelay = seconds
delay for DNS resolving, default:30

sleep = minutes
time waiting for inactive users, default:none, can be overwritten
per user in oscam.user

unlockparental = 0|1
1 = unlock parental mode option to disable S**a pin code request for
adult movie, default:0

nice = -20..+20
system priority, default:99

serialreadertimeout = milli-seconds
timeout for serial reader, default:1500

maxlogsize = kbytes
max log file size, default:10

waitforcards = 0|1
1 = wait for local SCs on startup before opening network ports,
default:0

preferlocalcards = 0|1
1 = try decoding on local cards first, default:0

The [monitor] section
port = 0|port
UDP port for monitor, port=0 monitor disabled, default:0

serverip = IP address
bind service to specified IP address, default:all

nocrypt = IP address|IP address range[,IP address|IP address range]...
unsecured monitor connection, default:none

example: nocrypt = 127.0.0.1,192.168.0.0-192.168.255.255

aulow = minutes
time no EMM occurs so that client is set to low, default:30

monlevel = 0|1|2|3|4
monitor level:

0 = no access to monitor
1 = only server and own procs
2 = all procs, but viewing only, default
3 = all procs, reload of oscam.user possible
4 = complete access

monlevel can be overwritten per user in oscam.user

hideclient_to = seconds
time to hide clients in the monitor if not sending requests, 0 =
disabled, default:0

appendchaninfo = 0|1
1 = append channel name on log messages, default:0

The [webif] section (only if *** interface module enabled)
httpport = port
port for *** interface, 0 = disabled, default:none, required

httpuser = username
username for password protection, default:none

httppwd = password
password for password protection, default:none

httpcss = path
path for external CSS file, default:none

httptpl = path
path for external templates, default:none

httprefresh = seconds
status refresh in seconds, default:none

httptpl = path
path for external templates, default:none

httphideidleclients = 0|1
1 = enables hiding clients after idle time set in parameter hide
client_to, default:0

httpscript = path
path to an executable script which you wish to start from *** inter
face, default:none

httpallowed = IP address|IP address range[,IP address|IP address
range]...
http *** interface connections allowed, default:none
example: httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255

The [camd33] section
port = 0|port
TCP/IP port for camd 3.3x clients, 0 = disabled, default:0

serverip = IP address
bind service to specified IP address, default:all

nocrypt = IP address|IP address range[,IP address|IP address range]...
unsecured camd 3.3x client connection, default:none

example: nocrypt = 127.0.0.1,192.168.0.0-192.168.255.255

passive = 0|1
1=force passive camd 3.3x client, default:0

K*y = 128 *** K*y
K*y for camd 3.3x client encryption, default:none

example: K*y = 01020304050607080910111213141516

The [camd35] section
port = 0|port
UDP port for camd 3.5x clients, 0 = disabled, default:0

serverip = IP address
bind service to specified IP address, default:all

The [newcamd] section
port = port@CAID[:ident][,ident]...[;port@CAID[:ident][,ident]...]...
TCP port/CAID/ident definitions, default:none

example: port = 10000@0100:100000;20000@0200:200000,300000,400000

Each CAID requires a separate port.

serverip = IP address
bind service to specified IP address, default:all

allowed = IP address|IP address range[,IP address|IP address range]...
client connections allowed from, default:none

example: allowed = 127.0.0.1,192.168.0.0-192.168.255.255

keepalive = 0|1
0 = disable keepalive, default:1

K*y = DES K*y
K*y for newcamd client encryption, default:none

example K*y = 0102030405060708091011121314

The [radegast] section
port = 0|port
TCP/IP port for radegast clients, 0=disabled, default:0

serverip = IP address
bind service to specified IP address, default:all

allowed = IP address|IP address range[,IP address|IP address range]...
client connections allowed from, default:none

example: allowed = 127.0.0.1,192.168.0.0-192.168.255.255

user = username
user name for radegast client

The [serial] section
device = <user>@<device>[:baud][?option1=value1[&option2=value2]]
parameters:
user = account
device = serial device name
option = timeout = milli-seconds, timeout for connection,
default:50
delay = milli-seconds, additional delay between two
characters, default:0

supported serial devices:
HSIC (humax sharing interface client)
SSSP (simple serial sharing protocol)
bomba (BOMBA firmware)
dsr9500 (DSR 9500)

The [cs357x] section
port = 0|port
UDP port for camd 3.57x clients, 0 = disabled, default:0

serverip = IP address
bind service to specified IP address, default:all

suppresscmd08 = 0|1
0 = CMD08 enabled, 1 = CMD08 disabled, default:0

The [cs378x] section
port = 0|port@CAID[:ident][,ident]...[;port@CAID[:ident][,ident]...]...
TCP port/CAID/ident definitions for camd 3.78x clients,0 = disabled,
default:0

example: port = 10000@0100:100000;20000@0200:200000,300000,400000

Each CAID requires a separate port.

serverip = IP address
bind service to specified IP address, default:all

suppresscmd08 = 0|1
0 = CMD08 enabled, 1 = CMD08 disabled, default:0

The [cccam] section
port = 0|port
TCP/IP port for CCcam clients, 0 = disabled, default:0

version = <main version>.<version>.<sub version>
define CCcam version, default:none

example: version = 1.2.34

build = <4-digit number>
define CCcam build, default:none

example: build = 5678

reshare = level
reshare level for CCcam clients, default:none

0 = no resharing
1 = resharing for direct peer only
2 = resharing for direct peer and next level
x = resharing for direct peer and next x level

The [gbox] section
password = password
password for gbox server

maxdist = distance
maximum distance to gbox servers, default:5

ignorelist = filename
listing of providers to be ignored, format: G:{<CAID><provider ID>**,
default:none

example: G:{01001234**

onlineinfos = filename
file to store online information, default:none

cardinfos = filename
file to store card information, default:none

locals = <CAID><provider ID>[,<CAID><provider ID>]...
backwards sharing of local cards,default:none

example: locals = 01001234,02005678

The [dvbapi] section (only if DVB API module enabled)
enabled = 0|1
1 = DVB API enabled, default:0

user = username
user name for DVB API client, default:anonymous

ignore = <CAID>[,<CAID>]...
CAIDs to be ignored, default:none

priority = <CAID>:<provider ID>[,CAID:<provider ID>]...
CAIDs and provider IDs to be prioritized, default:CAIDs and provider
IDs of local SCs will be prioritized

au = 0|1
1 = enable AU, default:0

boxtype = dbox2|dreambox|ufs910
set boxtype, auto detection of DVB API will be aspired,
default:dreambox

The [anticasc] section (only if anti-cascading enabled)
enabled = 0|1
1 = enabled anti-cascading, default:0

numusers = quantity
anti-cascading: user per account, 0 = anti-cascading disabled,
default:0

sampletime = minutes
duration of sample, default:2

samples = quantity
quantity of samples over limit, default:10

penalty = 0|1|2
level of penalty:

0 = only logging
1 = send fake CWs
2 = disbable user temporary

default:0, penalty can be overwritten per user in oscam.user

aclogfile = filename
file for anti-cascading logging, default:none

fakedelay = milli-seconds
fake delay time, default:1000

denysamples = quantity
How many samples should be penalized?, default:8

MONITOR
monitor commands:

login <user> <password>

login (for unencrypted connections only)


setuser <user> <parameter>=<value>

set parameter for user


exit

exit monitor


log <on|onwohist|off>

enable|enable without hitory|disable logging for 2 minutes


status

list of current processes and clients


shutdown

shutdown OSCam


reload

reinit user db, clients and anti-cascading, for newcamd connections:
after reloading the ident, please restart newcamd client


details <PID>

details about selected PID


debug <level>

set debug level (monlevel > 3 required)

debug level mask:
0 = no debugging (default)
2 = ATR parsing info, ECM dumps, CW dumps
4 = traffic from/to the reader
8 = traffic from/to the clients
16 = traffic to the reader-device on IFD layer
32 = traffic to the reader-device on I/O layer
64 = EMM logging
255 = debug all

version

show OSCam version


commands

show all valid monitor commands

*** INTERFACE
template system

The *** interface allows you to create your own template. For devel
oping your own template request the orignal template with the non-
linked page savetemplates.html. Store your own template in the
directory specified by httptpl.

SSL connection to the *** interface

The Apache module mod_proxy can be used to proxy requests to the ***
interface. With this module its also possible to use a SSL connec
tion to the *** interface.

ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /oscam/ [Only Registered Users Can See LinksClick Here To Register]
ProxyPassReverse /oscam/ [Only Registered Users Can See LinksClick Here To Register]

For further information please read the Apache documentation.

known issues

Login is not possible by now with the Safari browser because of
incorrect stale flag handling. Increasing the AUTHNONCEVALIDSECS in
oscam-http.h would be a workaround, but also a small security risk.

EXAMPLES
[global]
logfile = /var/log/oscam/oscam.log
usrfile = /var/log/oscam/oscamuser.log
pidfile = /var/run/oscam.pid

waitforcards = 1

[monitor]
port = 988
monlevel = 1
nocrypt = 127.0.0.1

[webif]
httpport = 8888
httpuser = myusername
httppwd = mypassword

[newcamd]
K*y = 0102030405060708091011121314
port = 10000@0100:100000;20000@0200:200000,300000,400000

[radegast]
port = 30000
user = radegastuser
allowed = 127.0.0.1,192.168.0.0-192.168.255.255

[camd33]
port = 40000
serverip = 192.168.0.1
K*y = 01020304050607080910111213141516

[cs378x]
port = 50000@0300:600000

SEE ALSO
list_smargo(1), oscam(1), oscam.user(5), oscam.server(5),
oscam.srvid(5), oscam.guess(5), oscam.cert(5), oscam.services(5),
oscam.ird(5), oscam.ac(5)
vepar is offline   Reply With Quote
The Following 2 Users Say Thank You to vepar For This Useful Post:
commando (20-02-2012), malimau99 (01-07-2011)
Old 06-06-2011, 09:06   #6
 
vepar's Avatar
 
SUPER V.I.P MEMBER
Join Date: May 2010
Posts: 1,095
Thanks: 277
Thanked 570 Times in 221 Posts
Users Flag!
Default Re: OScam za početnike - korak po korak

Evo i orginalnog info-a kako konfigurirati konfiguracijsku datoteku oscam.server sa objašnjenjima i primjerima:

oscam.server(5)

NAME
oscam.server - reader configuration file for OSCam

SYNOPSIS
The server configuration file for OSCam contains reader parameters.
sections in oscam.server are recurring (more than one reader possible).
At least one [reader] section is required.

DESCRIPTIONS
The [reader] section
device = <device|bus:device>|<ip|hostname>,<port>[,<lport>]|pcsc
define local or remote reader

device: device name
bus:devivce: bus name and device name of the Smartreader+
(get the names with lsusb Bus and Device)
lport: remapping to local port
PCSC: number of PCSC readers, starting with 0

enable = 0|1
0 = deactivate reader, default=1

K*y = DES K*y
K*y for newcamd remote reader encryption

password = password
password for remote gbox reader

premium = Š?
for gbox reader

account = user,password
user and password for remote reader

pincode = pincode
pincode for Conax and Cr********s SCs

services = [!]services[,[!]<services>]...
reader [de]assingment to service group, default=none

inactivitytimeout = minutes
inactivity timeout for newcamd reader, default:none

reconnecttimeout = minutes
TCP reconnect, if missing answers, default:none

disableserverfilter = 0|1
1 = ignore caid and ident settings of reader due faulty clients,
default=0

label = name
name for reader, required

fallback = 0|1
1 = define reader as fallback, standard and fallback reader must
have the same group, default:0

loadbalanced = 0|1
1 = spread requests over all loadbalanced enabled readers, default=0

logport = 0|port
camd3 reader logport, camd3 UDP must be activated, only works if
theres no camd3 cascading, 0=disabled, default=0

caid = CAID[&<mask>][,CAID[&<mask>]]...
define CAID for reader, some protocols only support one CAID,
default:mask=FFFF

example: CAID=0100,0200&FFDF

boxid = N*S box ID
N*S receiver box id

aeskey = AES K*y
AES K*y for V******s SCs

detect = CD|DSR|CTS|RING|NONE|gpio[1-7]
status detect of card (NONE = no detection), default:CD

cardmhz = mhz
set standard SC frequency in units of 10 kHz, for Ir****o SC set to
600, refer to OVERCLOCKING, default:357

mhz = frequency
set reader frequency in units of 10 kHz, if mhz > cardmhz you are in
overclocking mode, refer to OVERCLOCKING, default:357

deprecated = 0|1
Frist the SC will be initialized in normal mode. If it fails, the SC
will be automatically reverted to deprecated mode, so that the SC
speed will not be changed and the communication will remain on nor
mal ATR speed of 9600 baud.

1 = use deprecated SC mode only, default:0

protocol = reader protocol
reader protocol, required:
mouse
smartreader
internal
serial
camd35|cs357x
cs378x
gbox
newcamd|newcamd525
newcamd524
cccam
radegast
pcsc

cccversion = <main version>.<version>.<sub version>
define CCcam version, default:none

example: cccversion = 1.2.34

cccbuild = <4-digit number>
define CCcam build, default:none

example: cccbuild = 5678

cccmaxhop = hops
define CCcam maximum SC distance, default:10

ident = <CAID>:<ident>[,ident]...[,<CAID>:<ident>[,ident]...]...
define CAID and ident for reader

example: ident = 0100:123456,234567;0200:345678,456789

provid = ID
define provider ID for reader

class = [!]class[,[!]class]...
define class in hex for reader

example: class = 01,02,!1b,!2b

chid = CAID:ChID
define Ir****o ChID for reader

example: chid = 0100:12

showcls = quantity
number of classes subscriptions to show for V******s SCs, default=10

maxqlen = size
size of request queue for reader, default:128

group = groupname
reader assingment to group, required

emmcache = usecache,rewrite,logging
set EMM cache of local reader:
usecache = 0|1 1=enable EMM chaching, default:0
rewrite = determines how often one and the same EMM is written
logging = 0 = log errors only
1 = log all EMMs except the double EMMs
2 = log all EMMs

blocknano = nano[,nano]...|all
list of EMM-nanos to block (in hex w/o 0x) or all EMM-nanos, only
valid for physical readers, default:none

example: blocknano = 45,93,7a,ff
blocknano = all

blockemm-u = 0|1
1 = block unique EMMs, default:0

blockemm-s = 0|1
1 = block shared EMMs, default:0

blockemm-g = 0|1
1 = block global EMMs, default:0

blockemm-unknown = 0|1
1 = block unknown types of EMMs, default:0

savenano = nano[,nano]....|all
list of EMM-nanos to save (in hex w/o 0x) or all EMM-nanos, only
valid for physical readers, default:none

example: savenano = 45,93,7a,ff
savenano = all

readnano = [path]filename
write file (usually a copy of a file saved by savenano) to your
smartcard, if no path is specified, the specified file is searched
for in the configuration directory, only valid for physical readers,
default:none

example: readnano = write.emm
readnano = /var/oscam/write.emm

n3_rsakey|rsakey = RSA K*y
RSA K*y for Na********n SCs / CAM K*y data for Ir****o SCs

n3_boxkey|boxkey = box K*y
box K*y for Na********n SCs / CAM K*y for Ir****o SCs

tiger_rsakey = RSA K*y
RSA K*y for Tiger Na********n SCs

tiger_ideakey = IDEA K*y
IDEA K*y for Tiger Na********n SCs

OVERCLOCKING
Dreambox and other internal readers

For Dreambox and other internal readers the highest possible clock
rate will be auto detected. The mhz parameter lets you override the
values chosen by OSCam, if it differs from 357 and 358, but usually
you will not set any value for mhz.

For certain Dreamboxes (especially PPC clones) the default mhz
parameter leads to slow ECM times and/or "not found" ECMs. By set
ting mhz to values like 200, 300, 400, ... 1600 you can find a value
that works for your receiver and your card. The higher the mhz
value, the slower the ECM time (strange enough).

If you choose the value too low, your card is not recognized (no ATR
or "card not supported"). If you choose the value too high, you get
slow ECM times. Our experience is that either no mhz line, or a line
mhz = 1000 works best.

Phoenix / Smartmouse reader

Overclocking does not work with Windows and Mac OS X. Set mhz
equivalent to the frequency of the reader. OSCam can not set the
frequency of the reader.

Smargo Smartreader+

Set the reader frequency with the native Smargo Smartreader+ tool
(srp_tools). Do not set mhz and cardmhz.

OSCam tries to set the baudrate automatically. A standard serial port
has limited baudrate settings, so SC overclocking might not work. When
using a serial reader the best way for overclocking is connecting it to
a FTDI based USB to serial port adapter.

If overclocking does not work, verify the effective baudrate in the
logfile. If it deviates too much from the requested baudrate, the SC
will not be recognized (no ATR) and the value for mhz should be
adjusted again. The higher the baudrate, the more accurate the effec
tive baudrate can be.

EXAMPLES
serial mouse compatible reader

[reader]
label = myserialmousereader
detect = cd
protocol = mouse
device = /dev/ttyS1
group = 1
caid = 0100
services = myservice,!thisservice

USB mouse compatible reader

[reader]
label = myusbmousereader
detect = cd
protocol = mouse
device = /dev/ttyUSB0
aeskey = 0102030405060708090a0b0c0d0e0f10
group = 2
caid = 0200

camd 3.78x reader

[reader]
label = mycamd378xreader
protocol = cs378x
device = 192.168.0.1,1234
account = user,password
group = 3

newcamd reader

[reader]
label = mynewcamdreader
protocol = newcamd
K*y = 0102030405060708091011121314
device = 192.168.0.2,2345
account = user,password
group = 4

CCcam reader

[reader]
label = mycccamreader
protocol = cccam
device = 192.168.0.3,3456
account = user,password
group = 5
caid = 0300,0400,0500
cccversion = 1.2.3
cccbuild = 4567

PCSC reader

[reader]
label = mypcscreader
protocol = pcsc
device = 0
aeskey = 0102030405060708090a0b0c0d0e0f10
group = 6
caid = 0600

Smargo Smartreader+

[reader]
label = mysmartreader
protocol = smartreader
device = 001:002
aeskey = 0102030405060708090a0b0c0d0e0f10
group = 7
caid = 0700

internal reader

[reader]
label = myinternalreader
protocol = internal
device = /dev/sci0
group = 8
caid = 0800

SEE ALSO
list_smargo(1), oscam(1), oscam.conf(5), oscam.user(5), oscam.srvid(5),
oscam.guess(5), oscam.cert(5), oscam.services(5), oscam.ird(5),
oscam.ac(5)
vepar is offline   Reply With Quote
The Following 2 Users Say Thank You to vepar For This Useful Post:
grka (30-11-2015), malimau99 (01-07-2011)
Old 06-06-2011, 09:07   #7
 
vepar's Avatar
 
SUPER V.I.P MEMBER
Join Date: May 2010
Posts: 1,095
Thanks: 277
Thanked 570 Times in 221 Posts
Users Flag!
Default Re: OScam za početnike - korak po korak

Evo i orginalnog info-a kako konfigurirati konfiguracijsku datoteku oscam.user sa objašnjenjima i primjerima:

oscam.user(5)

NAME
oscam.user - user configuration file for OSCam

SYNOPSIS
The user configuration file for OSCam contains user definitions.
[account] sections in oscam.user are recurring (more than one account).

DESCRIPTIONS
The [account] section
user = name
account name, required

pwd = password
password for account, required

hostname = hostname
host from which user connection is allowed

betatunnel = <CAID>.<ServiceID>:<target CAID>[,<CAID>.<ServiceID>:
<target CAID>]...
define Betacrypt tunneling (max. see CS_MAXTUNTAB in globals.h).
The ServiceID can also be used for wildcarded CAIDs.

example: betatunnel = 0100.0001:0200,0300.0004:0500
betatunnel = 0600.FFFF:0700

uniq = 0|1|2|4
unique level:
0 = disabled, default
1 = only one connection per user is allowed
2 = set user to fake if source ip is different
(e.g. for newcamd clients with different CAIDs and ports)
3 = only one connection per user, but only the last login
will survive (old mpcs behavior)
4 = set user only to fake if source ip is different,
but only the last login will survive

sleep = minutes
time waiting for inactive user, default:none

caid = <CAID>[&<mask>][:<CAID>[&<mask>]...
limit CAIDs, default:all CAIDs, required

example: caid = 0100&ffff:0200:0300&ff00

au = label of reader|1
AU setting:
label of reader = sending EMMs to specified reader
(security issue: client can see SC data!)
1 = auto AU is sending EMMs to all readers
(security issue: client can see SC data!)
default:none

group = group[,<group>]...
user assingment to reader group, default=none, required

services = [!]services[,[!]<services>]...
user [de]assingment to service group, default:none

ident = <CAID>:<ident>[,<ident>,...][;<CAID>:<ident>[,<ident>,...]]...
user assingment to idents, default:none

class = [!]class[,[!]class]...
user [de]assingment to classes, default=none

example: class = 01,02,!03,!04

chid = <CAID>:<ChID>[,<CAID>:<ChID>]...
user assingment to Ir****o ChID, default:none

monlevel = 0|1|2|3|4
monitor level:

0 = no access to monitor
1 = only server and own procs
2 = all procs, but viewing only, default
3 = all procs, reload of oscam.user possible
4 = complete access

expdate = <year>-<month>-<day>|<year>/<month>/<day>
expiration date for account, default:none

example: expdate = 2001-11-21
expdate = 2002/12/22

disabled = 0|1
1 = account disabled, default:0

numusers = quantity (only if anti-cascading enabled)
anti-cascading: user per account, 0 = anti-cascading disabled,
default:0

suppresscmd08 = 0|1
0 = CMD08 for camd3 3.57x/3.78x clients enabled, 1 = CMD08 for camd3
3.57x/3.78x clients disabled, default:0

keepalive = 0|1
0 = disable keepalive between server and client connection,
default:1

EXAMPLES
[account]
user = username
pwd = password
group = 1
au = myserialmousereader
services = myservice
betatunnel = 0100.0001:0101,0100.0002:0101
caid = 0100
ident = 0100:000000
uniq = 1

SEE ALSO
list_smargo(1), oscam(1), oscam.conf(5), oscam.server(5),
oscam.srvid(5), oscam.guess(5), oscam.cert(5), oscam.services(5),
oscam.ird(5), oscam.ac(5)
vepar is offline   Reply With Quote
The Following 3 Users Say Thank You to vepar For This Useful Post:
amigos8981 (17-01-2013), grka (30-11-2015), malimau99 (01-07-2011)
Old 06-06-2011, 09:08   #8
 
vepar's Avatar
 
SUPER V.I.P MEMBER
Join Date: May 2010
Posts: 1,095
Thanks: 277
Thanked 570 Times in 221 Posts
Users Flag!
Default Re: OScam za početnike - korak po korak

Evo i orginalnog info-a kako konfigurirati konfiguracijsku datoteku oscam.provid sa objašnjenjima i primjerima:

oscam.provid(5)

NAME
oscam.provid - provider table for OSCam

SYNOPSIS
provider table

DESCRIPTIONS
<caid>:<provid>|<provider>|<satellite>|<language >
provider table

EXAMPLES
0100:012345|MyPay-TV|Astra 19E|German

SEE ALSO
list_smargo(1), oscam(1), oscam.ac(5), oscam.cert(5), oscam.conf(5), oscam.dvbapi(5), oscam.guess(5), oscam.ird(5), oscam.server(5), oscam.services(5), oscam.srvid(5), oscam.tiers(5), oscam.user(5)

Primjer za konfiguracijsku datoteku oscam.provid imate "okačen" ispod - a ta je trenutno u "igri" kod mene.

Code:
Hidden Content! [Only Registered Users Can See LinksClick Here To Register]
vepar is offline   Reply With Quote
The Following 3 Users Say Thank You to vepar For This Useful Post:
amigos8981 (17-01-2013), grka (30-11-2015), malimau99 (01-07-2011)
Old 06-06-2011, 09:09   #9
 
vepar's Avatar
 
SUPER V.I.P MEMBER
Join Date: May 2010
Posts: 1,095
Thanks: 277
Thanked 570 Times in 221 Posts
Users Flag!
Default Re: OScam za početnike - korak po korak

Opcija "disabled" u konfiguracijskoj datoteci oscam.user u kojoj je definirano da li se pojedini korisnik (user) može uopće spojati na OScam server (dakle može za svakog pojedinog korisnika biti drugačija):

U orginalu:
disabled = 0|1
1 = account disabled, default:0

U slobodnom prijevodu:
disabled = 0|1
1 = račun (korisnik) onemogućen -> korisnik se ne može spajati na server
zadano, tj. predefinirano: 0 -> korisnik se može spajati na server
vepar is offline   Reply With Quote
The Following User Says Thank You to vepar For This Useful Post:
malimau99 (01-07-2011)
Old 06-06-2011, 09:09   #10
 
vepar's Avatar
 
SUPER V.I.P MEMBER
Join Date: May 2010
Posts: 1,095
Thanks: 277
Thanked 570 Times in 221 Posts
Users Flag!
Default Re: OScam za početnike - korak po korak

Opcija "uniq" u konfiguracijskoj datoteci oscam.user u kojoj je definirano na koji način se pojedini korisnik (user) može spojati na OScam server (dakle može za svakog pojedinog korisnika biti drugačija):

U orginalu:
uniq = 0|1|2|4
unique level:
0 = disabled, default
1 = only one connection per user is allowed
2 = set user to fake if source ip is different
(e.g. for newcamd clients with different CAIDs and ports)
3 = only one connection per user, but only the last login
will survive (old mpcs behavior)
4 = set user only to fake if source ip is different,
but only the last login will survive

U slobodnom prijevodu:
uniq = 0|1|2|4
unikatne (jedinstvene, posebne) razine:
0 = opcija isključena, zadano, tj. predefinirano
1 = samo jedna veza (konekcija) po korisniku je dopuštena
2 = postavlja korisnika kao lažnog ako je izvorni IP drugačiji
(npr. za newcamd klijente s različitim CAID-om i port-om)
3 = moguća je samo jedna veza (konekcija) po korisniku, a samo je zadnja
prijava (login) u radnoj funkciji (radi kao na izvornom starom MPCS-u)
4 = postavlja korisnika kao lažnog samo ako je izvorni IP drugačiji,
a samo je zadnja prijava (login) u radnoj funkciji
vepar is offline   Reply With Quote
The Following 2 Users Say Thank You to vepar For This Useful Post:
grka (30-11-2015), malimau99 (01-07-2011)
Reply


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

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 On



 

Powered by vBulletin®™
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright ©2013 World-Satellite™
All Rights Reserved™