Archive for August, 2011

Post

Compile OScam on ClearOS 5.1

You need to connect to your PC using telnet (putty). Select all three lines at the same time and copy paste them in putty (telnet). OS will start to install packages.

yum install cvs subversion autoconf libccid automake libtool gettext make cmake tar bzip2 gzip patch ncurses-bin gcc g++ flex bison pkg-config wget libpng2 libpng3 zlib gcc-c++ pcsc-perl pcsc-tools pcsc-lite pcsc-lite-devel pcsc-lite-doc pcsc-lite-libs ccid ctapi-cyberjack-pcsc monosim pcsc-lite-openct pkg-config wget libpng3 libpcsclite1 libpcsclite-dev libusb-dev libssl-dev libpng12-0 libpng12-dev libpng3 libpng-sixlegs-java libpnglite-dev pngquant libpngwriter0-dev libpngwriter0c2 zlib-bin zlib1g-dbg zlib1g-dev zlib1g zlibc dialog build-essential mercurial hal

Use this command if you have omnikey readers:

yum remove openct

Install this package only if you have Smargo cardreader:

wget http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.8/libusb-1.0.8.tar.bz2
tar xjf libusb-1.0.8.tar.bz2
cd libusb-1.0.8
./configure; make; make install

Now we are ready for final steps!

cd .. (you need to come to the root of your sistem)
svn co http://streamboard.de.vu/svn/oscam/trunk oscam-svn   # you can also add -r xxxx at the end, if you want to download specific version of oscam. Lets say 7190. Very useful, especially if newer versions of OScam are very unstable!
cd oscam
mkdir build
cd build
cmake ..
make
make install (this command will install oscam to /usr/local/bin folder!!)

This is it! Your oscam should support pcsc (omnikey) and smargo cardreaders!

For discussion please visit this thread:

https://www.satnigmo.com/forum/index.php?threads/compiling-oscam-in-clearos.550/

Post

Compile OScam on Debian (UPDATED: 05.01.2020)

Compiling Oscam on Debian is copy/paste of Ubuntu tutorial. Process is quite easy, nothing to be afraid about. There might be some changes in packages needed, please be aware of this. It depends on the version of Debian you use.

You need to connect to your PC using telnet/ssh (use small little app called putty). Select all lines at the same time and copy paste them in putty. OS will start to install packages. I cleaned up the list (there should be no errors), some might be not needed at all, but it doesnt hurt really.

apt-get install cvs subversion autoconf libccid automake libtool gettext make cmake tar bzip2 gzip patch ncurses-bin gcc g++ flex bison pkg-config pcsc-tools pkg-config wget libpcsclite1 libpcsclite-dev libusb-dev libssl-dev libpnglite-dev pngquant zlib1g-dbg zlib1g-dev zlib1g zlibc dialog build-essential mercurial minizip

Install this package only if you have Smargo cardreader (there might be newer version on sourceforge site, please check first):

wget http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.8/libusb-1.0.8.tar.bz2
tar xjf libusb-1.0.8.tar.bz2
cd libusb-1.0.8
./configure; make; make install

Now we are ready for next steps!

cd .. (you need to come to the root of your sistem)
svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn   # you can also add -r xxxx at the end, if you want to download specific version of oscam. Very useful, especially if newer versions of OScam are very unstable!
cd oscam-svn
mkdir build
cd build
cmake ..
make
make install (this command will install oscam to /usr/local/bin folder!! - if you have already oscam binary there, please backup it)

Now you need to chmod oscam file to 0755. Use these commands:

cd /usr/local/bin

chmod 755 oscam

You also need to setup automatic startup with boot. Execute these commands:

nano /etc/rc.local

Before “exit 0” line write this line:

/usr/local/bin/oscam -b

Press CTRL+C and confirm changes with Y.

Now you need to create oscam config files and transfer them to /usr/local/etc. You will also be able to use PSCS (Omnikey for example) and Smargo cardreaders!

For discussion please visit thread here:

https://www.satnigmo.com/forum/index.php?threads/compiling-oscam-in-debian.548/

Post

Compile OScam on Ubuntu (UPDATED: 05.01.2020)

Compiling Oscam on Ubuntu is quite easy, nothing to be afraid about. I use 18.04.1 LTS, but it also works on older and newer versions. There might be some changes in packages needed, please be aware of this.

You need to connect to your PC using telnet/ssh (use small little app called putty). Select all lines at the same time and copy paste them in putty. OS will start to install packages. I cleaned up the list (there should be no errors), some might be not needed at all, but it doesnt hurt really.

apt-get install cvs subversion autoconf libccid automake libtool gettext make cmake tar bzip2 gzip patch ncurses-bin gcc g++ flex bison pkg-config pcsc-tools pkg-config wget libpcsclite1 libpcsclite-dev libusb-dev libssl-dev libpnglite-dev pngquant zlib1g-dbg zlib1g-dev zlib1g zlibc dialog build-essential mercurial minizip

Install this package only if you have Smargo cardreader (there might be newer version on sourceforge site, please check first):

wget http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.8/libusb-1.0.8.tar.bz2
tar xjf libusb-1.0.8.tar.bz2
cd libusb-1.0.8
./configure; make; make install

Now we are ready for next steps!

cd .. (you need to come to the root of your sistem)
svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn   # you can also add -r xxxx at the end, if you want to download specific version of oscam. Very useful, especially if newer versions of OScam are very unstable!
cd oscam-svn
mkdir build
cd build
cmake ..
make
make install (this command will install oscam to /usr/local/bin folder!! - if you have already oscam binary there, please backup it)

Now you need to chmod oscam file to 0755. Use these commands:

cd /usr/local/bin

chmod 755 oscam

You also need to setup automatic startup with boot. Execute these commands:

nano /etc/rc.local

Before “exit 0” line write this line:

/usr/local/bin/oscam -b

Press CTRL+C and confirm changes with Y.

Now you need to create oscam config files and transfer them to /usr/local/etc. You will also be able to use PSCS (Omnikey for example) and Smargo cardreaders!

For discussion please visit thread here:

https://www.satnigmo.com/forum/index.php?threads/compiling-oscam-in-ubuntu.547/

Post

Connect OScam and CCcam using Newcamd protocol

You will have to edit or create three files: oscam.conf, oscam.user and CCcam.cfg!

oscam.conf:

[newcamd]
Key = 0102030405060708091011121314
Port = 34000@0b00:000000 #this is example for MTV Unlimited or any other Conax card that have 0b00 caid!

oscam.user:

[account]
User = test
Pwd = test2
Group = x #same as in oscam.server file
AU = xxx #same as in oscam.server file

CCcam.cfg:
N: 127.0.0.1 34000 test test2 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256

First number is IP address of your OScam server. 127.0.0.1 is used when you have CCcam and OScam on same server or receiver. If you have OScam installed somewhere else, then use regular IP (192.168.1.x). Then there is port number (34000) and username(test)/password(test2).

At the end there are a bunch of strange numbers (01 02 03 04 05 06 07 08 09 10 11 12 13 14). They are always the same, do not change them!! You can also optionally add 256 at the end of N line. This means that your card will show as local card in CCcam. This trick is quite popular these days because many cards can be read in OScam only!

Newcamd Extended protocol also exists but its not supported within OScam. This protocol is better than ordinary Newcamd, because it supports more CAIDs per port. Because of this issue, ordinary Newcamd is not very user friendly!

For discussion please visit this thread:

https://www.satnigmo.com/forum/index.php?threads/oscam-to-cccam-newcamd-protocol.542/

For other “connect” tutorials, visit these links:

Post

OScam and DVBAPI

Edit OScam.conf file and put these lines in:

[dvbapi]
enabled =1
boxtype = dreambox (this is only for dreambox/VU+/Clarke-tech or Xtrend, for other systems use oscam wiki)
user = localuser
au = 1

Open oscam.user file and add these lines:

[account]
user = localuser #this must be the same as user in oscam.conf file
pwd = localuser #this can be anything but just use username here.
group = 1
au = 1 #this means that you will be able to update ALL readers/local cards in oscam.server! If you do not want to update all readers but only 1 reader, please use: au = x where x is label of the selected reader!

Thats it 🙂

Powered by moviekillers.com.com