Post

OScam Smargo

1. If you are using Smargo cardreader on PC (Linux server), then use this config in oscam.server:

[reader]
label                         = xx
protocol                      = smartreader
Device             = Serial:Reader xx
caid                          = xx
ident                         = xx
smargopatch                 = 1 #you can leave this line
rsakey                        = xx
boxkey                        = xx
detect                        = cd
mhz                           = 357
cardmhz                       = 357
group                         = x
emmcache                      = 1,3,2

How to find out device info?

Type these lines in telnet:  lsusb -v | grep iSerial
You should get something like this (this is an example!):

iSerial 3 Reader 129

Now you can add this in oscam.server:

Device = Serial:Reader 129

Smargo cardreader will now work in OScam without any issues, even after rebooting your PC. Number 129 doesnt change. What you need is make sure your smartreader is updated to v. 1.4! I think that newer versions of firmware have problem with providing this useful information!

2. If you are Smargo cardreader in Dreambox, VU+ or Xtrend/CT, please use this config in oscam.server:

[reader]
label                         = xx
protocol             = smargo #you can also try mouse instead of smargo
device              = /dev/ttyUSB0 #if you have more smargos, just use /dev/ttyUSB1, /dev/ttyUSB2, etc.
caid                          = xx
ident                         = xx
smargopatch                 = 1
rsakey                        = xx
boxkey                        = xx
detect                        = cd
mhz                           = 357
cardmhz                       = 357
group                         = x
emmcache                      = 1,3,2

FOR DISCUSSION ABOUT THIS ARTICLE VISIT THIS THREAD ON FORUM:

http://www.satnigmo.com/forum/index.php?threads/use-smargo-cardreaders-with-oscam.534/

Post

OScam to OScam using Camd35 protocol

You can share between two Oscam servers using camd35 protocol on UDP. This is my preferred protocol. Why? Its the fastest and most reliable. I only use it to transfer local cards from my OScam server to my receivers which are running OScam as client.

Activate camd35 protocol in oscam.conf on your server and use camd35 reader on your client.

On the server

oscam.conf
[cs357x]
port = 27550 #choose any number here

oscam.user
[account]
user = user1
pwd = pass1
group = 1 #here you need to put all your local cards that you have under oscam.server file. If you do not do this, your other OScam wont be able to use your local cards! I also assume that every local has its own group, therefore use multiple numbers here: group=1,2,3,4,5
au = 1

Client receiver

Oscam.server
[reader]
label = box1
protocol = camd35
device = ipserver,27550
user = user1
password = pass1
group = 1
emmcache = 1,3,2
services = x,x,x,x,x #i strongly suggest that you also use services. In my experience, camd35 works correctly only after setting services for different providers!

Here is my config on client:

oscam.server
[reader]
label                         = server_cccam
protocol                      = cccam
device                        = 192.168.1.119,1xxx
user                          = xxx_vuduo
password                      = xxx_vuduo
services                      = !mtvunlimited,!hdplus,!tntsat_sd,!tntsat_hd
group                         = 1
emmcache                      = 1,3,2
blockemm-unknown              = 1
blockemm-u                    = 1
blockemm-s                    = 1
blockemm-g                    = 1
cccversion                    = 2.1.1
ccckeepalive                  = 1
audisabled                    = 1

[reader]
label                         = server_locals
protocol                      = camd35
device                        = 192.168.1.119,15xxx
user                          = xxx_locals
password                      = xxx_locals
services                      = mtvunlimited,cyfra,hdplus,tntsat_sd,tntsat_hd
group                         = 1

Why i use !mtvunlimited, !hdplus, etc.? Because i dont want that OScam takes these cards from my CCcam server. I want that OScam uses local cards from my OScam server. This config also ensures that cards get regular updates. As you probably know, CCcam is not reliable protocol for updating cards (in OScam). With camd35 protocol, there usually arent any problems sending EMMs.

I hope you understand this. If not, do not hesitate to drop a comment here and i will try to help you.

For discussion please visit this thread:

http://www.satnigmo.com/849/oscam-to-oscam-camd35/

For other “connect” tutorials, visit these links:

Post

FailBan and OScam

Do you have unwanted peers on your OScam server? You can enable failban function and with this you will be able to ban all intruders. Open oscam.conf file and under GLOBAL section add these lines:

failbancount             = 5
failbantime             = 1440  —-> this means that client will be banned for 1 day. You can change this. If you want to use 12h ban, use 770.

Thats it. Enjoy!

BTW, you can also just use webgui in order to change these settings. Its even better than manual editing.

Post

How to get Smargo Serial:Reader info for use in Oscam

Type these lines in telnet:  lsusb -v | grep iSerial
You should get something like this:

iSerial 3 Reader 129

Now you can add this in oscam.server:

Device = Serial:Reader 129

Smargo will now work in OScam without any issues, even after rebooting your PC server. Number 129 doesnt change!

 

Post

Cyfra Update Problem

Do you have Cyfra+ card and you have problems with updating your card? I have this card and i have no problems with it. I am using oscam+mgcamd combination and everything works as it should. Here are my config lines:

FOR OSCAM:

oscam.server

[reader]
label                         = cyfra
protocol                      = pcsc –> this is for omnikey, replace this with your cardreader!!
device                        = 4 –> this is for omnikey only!!
detect                        = cd
mhz                           = 357
cardmhz                       = 357
group                         = x (whatever you want)
emmcache                      = 1,3,2

As you can see, this is very straight forward config. Do not forger to edit oscam.user file too:
[account]
user                          = test
pwd                           = user
group                         = x (it should be the same as in the oscam.server file)
au                            = cyfra (the same as in the oscam.server file)

Now we need to enable newcamd for Cyfra card. You need to edit oscam.conf file:

[newcamd]
port                          = 19000@0100:000068
key                           = 0102030405060708091011121314

That is it. Oscam is now configured. Lets move on to MGcamd EMU. You need to create new file newcamd.list (location is /usr/keys) and put these line in:

CWS_KEEPALIVE = 300
CWS_INCOMING_PORT = 21000
CWS = 192.168.1.119 19000 user test 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan server1

Bolded numbers are IP address of my OSCAM server. You need to change this of course. 19000 is the same as in oscam.conf file. User/test are the same as in oscam.user file! This is important, so be careful.

You also need to edit mg_cfg file. look for these lines:

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

G setting should be set to 33. You can also try with setting 01 if you are using newcamd only. With 33 setting you can use CCcam and Newcamd protocols at the same time.

OK, we are at the end of this short tutorial. You should now get EMM updates to your card! IF NOT, please ask your Cyfra+ seller to reactivate your card. I had to do this once. I just contacted satsklep support and told them my Cyfra+ card number. They replied with email that they reactivated the card and that i need to use certain channel in order to get EMMs. I went to this channel and card was reactivated (it got EMMs).

FOR DISCUSSION ABOUT THIS ARTICLE VISIT THIS THREAD ON FORUM:

http://www.satnigmo.com/forum/index.php?threads/update-cyfra-with-mgcamd.533/

Powered by moviekillers.com.com