Oscam and Gbox

Tutorial about OScam and Gbox is comming soon. I am waiting for new patches to be added to OScam trunk!



Oscam and Loadbalancer

Loadbalancing feature in OScam helps to determine which of the configured readers should be used to serve an ECM request. This is especially handy if you have two identical local cards or large number of cccam/newcamd or other readers. I will present you my loadbalancing configuration that i use on my OScam server.

First you need to visit global/loadbalancer section of WebIF. Then search for these settings:

lb_mode                       = 1
lb_save                       = 100
lb_reopen_mode                = 1
lb_savepath                   = /usr/local/etc/stats

lb_mode = 1 means that the weight for a reader is divided by the average response time of requests sent to the reader, i.e. lower average response time means higher priority. My recommendation is that you use mode 1.

lb_save = 100 means that stats file is updated every 100 ecm. If you have OScam on your PC (more CPU power) than you can decrease this setting to 50 or even lower. If you have OScam on satellite receiver then you should leave default value which is 100.

lb_reopen_mode = 1 is my recommended setting.

lb_savepath can be changed. I use /usr/local/etc/stats but you can use something else if you want or need.

You do not need to change anything else here. Now you need to visit reader part of WebIF and modify lb_weight value. I suggest that you put lb_weight = 300 if you have local cards. This means that these local cards will have priority over normal readers (cccam/newcamd/camd35, etc.). For other readers you can just leave default value which is 100. If you have 0100 Cyfra local card, you probably do not want that OScam uses this card from cccam readers. Well, loadbalancing will help you achieving this goal.


I think I covered all loadbalancing basics and you are now good to go. If you have any questions, please use “Contact Us” form or leave a comment!


Where to find oscam.services information?

Recently i removed all articles where i had oscam.services for different TV providers. Why? Because these files can quickly become obsolete and i dont have time to maintain all of them! I recommend that you rather use oscam.services Creator or visit these three pages where users are frequently updating oscam.services for different TV providers:






oscam.services Creator

This is very useful program for creating oscam.service files. It can get channels information from their own server (1), from our own oscam.srvid file (2), from receiver (3) or from Kingofsat website (4). I assume that most of you will select options 1,2 or 4. Which satellite packages are supported? Many, here is the list if you select their server (1): HD+, AustriaSat, Canal Digitaal, Cyfra+, Polsat, DigitAlb, , Digital+, Digiturk, KabelBW, Kabelkiosk, KD, MAX TV, MTV Unlimited, Nova, NTV Mir, ORF, Penthouse HD, Platforma HD, RTVi, Sky, Sky Italia, TNTSAT, Tivusat, Tring, TV Vlandereen, UnityMedia, Viasat, Zon

If you select Kingofsat website, you can only select these packages: Sky Germany, HD+,ORF, AustriaSat and UnityMedia

You can even select which channels you want to include in service file. Nice feature!

How to use oscam.services Creator

There is only one .exe file that you need to open. You get blue window with text in German language. Click on “Quelldatei wahlen”, then you get 4 options to choose from. Option 1 gets oscam.srvid file from their server, option 2 enables you to select your own oscam.srvid file, option 3 gets info from your receiver and downloads channel info from Kingofsat website!

Then you need to click START button on the bottom right site of blue window. You will get new window with all kinds of options to select. I think you wont have any problems using this program in this stage. You just have to select your satellite TV package, CAID, provid and desired channels and you are done!


Connect OScam with MGcamd

First we need to enable CCcam function in OScam. Add these lines into oscam.conf file on your server:

port                          = 35699 or something else
version                       = 2.3.0
ignorereshare                 = 1 #this enables you to control reshare on account level

CCcam is now enabled and now you need to create user in oscam.user file!

user                          = mguser
pwd                           = mguser
group                         = 1 #this depends on your oscam.server settings.
cccmaxhops                    = 1
cccreshare                    = 1

Now we need to configure MGcamd which will be client to OScam server. I suggest that you read this article where you can also find correct files for running MGcamd on receiver. Remember this. MGcamd only understands CCcam if you use this setting in mg_cfg file:

G: { 32 }

Then you need to create cccamd.list file where you copy/paste C line. In our case it should look something like this:

C: 35699 mguser mguser is IP of server where we are running OScam.

This should be it. I hope you will be able to configure OScam and MGcamd and start to watch TV 🙂

You can discuss about this article here:


For other “connect” tutorials, visit these links:

Powered by moviekillers.com.com

Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.