Post

New Simplebuild 3 Beta for compiling OScam

Gorgone from Streamboard released Simplebuild 3 beta as replacement for v2.0. You can still use my old tutorial which is here: http://www.satnigmo.com/2264/compile-oscam-with-simplebuild-script/

Installing is simple. Just unpack tar.gz file and send files to your server. I suggest to /opt/s3. Then enter:

./s3

This will install all necessary software that you need for compiling OScam. When installed just start application by entering:

./s3 menu

You are done!

Of course there are some changes. Gorgone mentioned it works with many systems – I am not sure with which, I know it works well with Ubuntu ūüôā I do not know if there are any new toolchains, I quickly checked and you can build for new ARM receivers, of course there are also other toolchains also present in v2.0.

You can download latest Simplebuild by checking Gorgone signature on Streamboard forum. Here is version from today – 28.01.2017: http://www.streamboard.tv/wbb2/attachment.php?attachmentid=66231

Post

Connect OScam to OScam using Newcamd protocol

I find newcamd to be ideal protocol for connecting local card from one OScam server to other OScam server or client. How to enable such connection? First you need to go to newcamd configuration under OScam WebIf (Configuration/Newcamd) and input port and key.

PORT looks something like this: 15001@0B00:000000. You need to be aware of the fact that newcamd only works like this: one port with one caid. You cannot use one port for two or more caids.

KEY on the other hand looks like this: 0102030405060708091011121314. This is default key, you can use something else of course.

Client or server (where you want to transfer card to)

[reader]
label                         = XXX
protocol                      = newcamd
device                        = IP or DNS address,port
key                           = 0102030405060708091011121314
user                          = username
password                      = password
connectoninit                 = 1
group                         = anything you want
blockemm-unknown              = 1
blockemm-u                    = 1
blockemm-s                    = 1
blockemm-g                    = 1
dropbadcws                    = 1
audisabled                    = 1

Server (to which card is physically connected)

[account]
user                          = username
pwd                           = password
au                            = 1
group                         = group needs to be the same as the one that is assigned to your card

As you can see, newcamd configuration is fairly easy. If you have any questions, do not hesitate to leave a comment.

For discussion please visit this thread here:

http://www.satnigmo.com/forum/index.php?threads/oscam-to-oscam-newcamd-protocol.544/

Post

OScam with improved DVB-Api

User theparasol added many enhancements to DVBapi with version 8680 (05.06.2013). One of interesting enhancements is new PMT mode.

If you are using OpenPLi 3.0 then I suggest you select mode PMT 6 (you can find this option in OScam WebIf under Configuration/DVB-Api) and you can expect faster zapping! I tested this feature on my Vu+ Duo and you can really notice the difference. This mode is not available on other images, only on OpenPLi and OpenPLi derivates!

Do not forget to select option ReopenOnZap. If you not, then you will get black screen after a few zaps. You do not want that ūüėČ

Post

Install OScam on VPS

Recently I acquired cheap VPS at MisterHost.de. They offer cheap VPS packages and are suitable for running OScam. My other suggestions would be colorhost.de (has lower upload speeds though) and contabo.de (prices are from 9.99EUR here). Installing OScam on VPS is an easy task and here is how you do it.

EDIT: I also tested EDIS.at and I can say this VPS is even better than MisterHost.de. It offers higher upload speeds for same price and upload is very important, especially if you are using OScam with its cache-ex function!

First you need to compile OScam. I suggest you compile it using Simplebuild script. Please check my Simplebuild article here on my blog. Simplebuild will also automatically install all missing packages that are needed for successful compile.

After compiling OScam for you VPS, you need to put oscam executable file to /usr/local/bin folder on your VPS server. Use 0755 permissions for this file. Then you need to put oscam configuration files to /usr/local/etc folder. You need oscam.user, oscam.conf and oscam.server. Just create empty files with these names and upload them to /usr/local/etc folder. One setting is very important in oscam.user and that is httpallowed! You should set this to: httpallowed = IPOFYOURCOMPUTER (NOT LOCAL NETWORK IP!!)

Now you need to run oscam with this command: ./oscam -b

OScam should be running now. You wont be able to connect to WebIf right away. For this you need to enter this in oscam.conf file:

[webif]
httpport                      = 16002
httpuser                      = root
httppwd                       = xxx
httprefresh                   = 10
httpallowed                   = WAN IP of your computer (use website whatismyip.com)

If you want that OScam starts automatically with system boot, then I suggest that you install Webmin which is free software for maintaining Linux servers. If you decide to use Debian on VPS (as I did), then follow this tutorial to install Webmin on Debian: http://www.webmin.com/deb.html. If you decide to use Ubuntu 12.04, please check tutorial on TheWebPrograms blog where you will get all information about how to install Webmin in Ubuntu 12.04! You can also use newer versions of Ubuntu.

After installation you will be able to enter webmin with this link: YOURVPSIP:10000

Before entering this link, you need to alter one setting in file miniserv.conf which is located in /etc/webmin/ folder. Open that file and change setting ssl=1 to ssl=0. Save it and enter this command in telnet: service webmin restart. Webmin will restart and remote access to Webmin should be working now. Easy ūüôā

For automatic start of OScam, just visit Cronjob section of Webmin and create new cronjob. Use these settings:

Execute cron job as: root

Command: /usr/local/bin/oscam -b

Want to execute …: When system boots

Save it and OScam will now start with system boot. I think I covered all aspects of installing OScam on VPS. If you have any additional questions or you think that I missed something, please add a comment! Thanks for reading my blog.

 ADDITION:

Thanks to the commenter, I will also explain how to run two or more OScams at the same time. Its not that hard, you will see. Here is what you need to know:

1. You need to have two OScam executable files in /usr/local/bin folder. First one should be named “oscam1”, second one should be named “oscam2”!

2. Now you need to create alternate configuration files folder for your second OScam (oscam2).I recommend that you use name “secondoscam”. End result should look like this: /usr/local/etc/secondoscam/

3. Now go to /usr/local/bin and execute this command in telnet:

./oscam1 -b -c /usr/local/etc/

and

./oscam2 -b -c /usr/local/etc/secondoscam/

4. Edit your oscam.conf files in a way that every OScam will run with different WebIf ports, so you will be able to access them!

5. If you want that OScams start automatically with system start, please use Webmin and its Cronjob function. Here is one exemple what you need tu use under “Command:” option:

Command: /usr/local/bin/oscam1 -b -c /usr/local/etc/

For discussion please visit this forum thread:

http://www.satnigmo.com/forum/index.php?threads/install-oscam-on-vps.537/

Post

OScam Tutorials Collection

Powered by moviekillers.com.com