Showing posts with label OScam CCcam. Show all posts
Showing posts with label OScam CCcam. Show all posts

CCcam to OScam converter


Oscam installation on Ubuntu

First we must make sure we can install repository's (PPA):
For Ubuntu 12.04

sudo apt-get install python-software-properties

For Ubuntu 12.10 and up

@sudo apt-get install software-properties-common

Now we add the Oscam repository:

sudo apt-add-repository ppa:oscam/ppa
sudo apt-get update

Install oscam:

  • oscam-svn (trunk version)
  • oscam (latest stable version)

sudo apt-get install oscam

When the installation is done stop the oscam service:

sudo service oscam stop

Now we need to edit some files, so we need to know where this files are located:

dpkg -L oscam

Below are the three files we need to edit.

/etc/oscam/oscam.server
/etc/oscam/oscam.user
/etc/oscam/oscam.conf

First we make sure we backup those files before editing:

cd /etc/oscam
sudo mv oscam.conf oscam.conf.bak
sudo mv oscam.server oscam.server.bak
sudo mv oscam.user oscam.user.bak
sudo nano oscam.conf


  • oscam.conf


NOTE: Be sure you edit the lines 42, 43 and 45.

sudo nano oscam.server


  • oscam.server


sudo nano oscam.user


  • oscam.user

NOTE: Be sure you add the right CAID on oscam.server line 9 and oscam.user line 6 and 7.

Ziggo/Casema CAID 0602
Ziggo/Multikabel CAID 0604
Ziggo/@Home CAID 0604
Now start Oscam, and tail the log:

sudo service oscam start

sudo tail -f /var/log/oscam/oscam.log

And be sure this lines are showed:

2012/05/27 14:21:30 147E2B0 r found cardsystem irdeto
2012/05/27 14:21:30 147E2B0 r entitlements for provider: 1, id: 024342
2012/05/27 14:21:30 147E2B0 r chid: 254F, date: 2007/03/17 - 2007/03/31
2012/05/27 14:21:30 147E2B0 r chid: 0003, date: 2012/05/27 - 2012/06/26
2012/05/27 14:21:30 147E2B0 r chid: 0344, date: 2012/05/27 - 2012/06/26
2012/05/27 14:21:30 147E2B0 r chid: 000F, date: 2012/05/27 - 2012/06/26
2012/05/27 14:21:30 147E2B0 r chid: FFE3, date: 2012/05/27 - 2012/06/26
2012/05/27 14:21:36 147E2B0 r [irdeto-reader] ready for requests

Now Oscam is ready.

Tvheadend
Now start your browser and load Tvheadend.
http://your.ip:9981

Go to: Configuration > CSA > Code Word Client
Choose: Add entry
Enabled: Yes
Hostname: 127.0.0.1
Port: 15050
Username: tvheadend
Password: tvheadend
DES Key: 01:02:03:04:05:06:07:08:09:10:11:12:13:14
Update Card: Yes

Show system log in the lower right corner and choose 'save changes'
This will give you an output:

May 27 14:24:41 cwc: Connected to 127.0.0.1:15050
May 27 14:24:41 cwc: 127.0.0.1: Connected as user 0x01 to a Irdeto-card [0x0604 : 00.00.00.00.19.34.19.d0] with 5 providers
May 27 14:24:41 cwc: 127.0.0.1: irdeto card
May 27 14:24:41 cwc: 127.0.0.1: Provider ID #1: 0x000000 00.00.00.00.00.03.45.20
May 27 14:24:41 cwc: 127.0.0.1: Provider ID #2: 0x000001 00.00.00.00.01.ff.ff.ff
May 27 14:24:41 cwc: 127.0.0.1: Provider ID #3: 0x000002 00.00.00.00.01.ff.ff.ff
May 27 14:24:41 cwc: 127.0.0.1: Provider ID #4: 0x000003 00.00.00.00.01.ff.ff.ff
May 27 14:24:41 cwc: 127.0.0.1: Provider ID #5: 0x000004 00.00.00.00.00.00.00.00
May 27 14:24:41 cwc: 127.0.0.1: Will forward EMMs



OScam and CCcam installation for linux (ubuntu 11.10 and 12.04 and 12.10)


How To Install Oscam In Vps Ubuntu Server

How to connect OSCam to CCcam

Method 1

You need N line. It looks like this:

Code:
N: 127.0.0.1 34000 user pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14
In oscam.conf file you need to have these lines:

Code:
[newcamd]
key = 0102030405060708091011121314
port = 34000@1830:003411
change the port number to what you want & remember to open that port in your router & assign it to your box ip if you are going to issue N line. change the caid of the card to your need. 

CCcam port & oscam port must be two different ports.

Key line is made up of 14 pairs of numbers or letters or a mixture. Port line is always different, it depends on the card that you have.
Port number (34000) can be anything, its your choice.

You can choose password and username yourself .

And with all this info we can make N line:

Code:
N: 127.0.0.1 34000 user pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
Now we can add this N line to CCcam.cfg and thats it. oscam is now connected to CCcam.
We can also add 256 to the end of N line. With this trick CCcam can see our oscam card as local.
This trick doesnt work with 2.1.4 or above CCcam versions.

make sure you input a user in oscam.user like this.

oscam.user
Code:
[account]
user = user
pwd = pass
group = 1
any changes to oscam configs will take place only after restart of oscam .

Method 2

another method of connecting oscam to CCcam is the camd3 protocol (L line) which is set like this .
with this method you get faster ecm as there are no deskeys as in the N line .

oscam.conf
Code:
[cs357x]
serverip = 192.168.0.100 #your server ip address
port = 15500
keepalive = 1
oscam.user
Code:
[account]
user = user
pwd = pass
group = 1
Now open CCcam.cfg and enter this line:

Code:
L: 192.168.0.100 15500 user pass 0963 000000 256
First number is IP address of your server, then there is port number and username/password.
At the end there is the CAID number of your package and you can also optionally add 256 at the end.
This means that your card will show as local in CCcam. Same trick as in newcamd (N line).

Ubuntu 12.04 or next best with cccam oscam on a vps

Ubuntu 12.04 or next best with cccam oscam on a vps

How to Install Oscam/CCcam and Smargo Reading SKy UK Card on Ubuntu

first you want to install ubuntu . i use 10.04 but i think any version will work aslong as its the server edidtion.

after you have installed ubuntu log into your server with the username you created during install
then enter your password
then to get as root we need to type sudo -i then press enter, it will ask for password enter password you use for your user

this is how you will always be able to loggin as root

now you are logged in as root.

1. give your server a static ip. put this line in and press enter

nano /etc/network/interfaces

change the dhcp to static then under it put like this

PHP Code:
address 192.168.1.78
netmask 255.255.255.0
broadcast 192.168.1.78
gateway 192.168.1.254



of course these are example ips so please change to your own ips

once done hold ctrl+x press y then enter
now to restart network put this line in


Code:
/etc/init.d/networking restart


you should now have static ip on your server

2. install SSh


Code:
apt-get install openssh-server


3. update sources list

Code:
apt-get update


4. install FTP server

Code:
apt-get install proftpd (standalone)


After this reboot server

Now download winSCP and Putty

WinSCP download link here


Putty Download Link Here
PHP Code:
http://www.chiark.greenend.org.uk/~sgtatham/putty/5


now open putty and enter your servers ip then press enter
put your user then password then sudo -i then password and press enter
you are in terminal as root on remote computer you can also just use your server but you may find using remote pc easier

now copy or add 1 by 1 these lines into terminal pressing enter after each one


PHP Code:
mkdir /var/etc
mkdir /var/keys
mkdir /var/script
mkdir /var/config
mkdir /var/backup
mkdir /var/cccamlog
mkdir /var/www

chown scott /var/etc
chown scott /var/ke*ys
chown scott /var/script
chown scott /var/config
chown scott /var/backup
chown scott /var/cccamlog
chown scott /usr/local/bin
chown scott /usr/local/etc
chown scott /var/www


6. now put CCcam.x86 in usr/local/bin also put oscam in usr/local/bin use winscp to put the files in each directory. install winscp add a log in with username the one you made on install of ubuntu and password you made on install of ubuntu

chmod both files
Code:
chmod 755 /usr/local/bin/CCcam.x86
chmod 755 /usr/local/bin/oscam


7. put your oscam.conf oscam.server and oscam.user in /usr/local/etc

then put your cccam.cfg and provider and channel list in /var/etc

ok to get oscam to read your sly uk card you need to add this n line in your cccam.cfg file

Code:
N: yourserverip 10000 test1 test2 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256



8. now what to have in your oscam config files . keep in mind this is for sly uk and smargo reader . some lines will differ with different cards and readers
first file to make is oscam.conf paste this in the file and save

Code:
global]
nice = -1
WaitForCards = 1
logfile = stdout
preferlocalcards = 1
saveinithistory = 1
disablelog = 1

[webif]
httpport = 8888
httpuser = admin
httppwd = admin
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255

protocols

[newcamd]
key = 0102030405060708091011121314
port = 10000@0963:000000



now make oscam.server paste this in and save file

Code:
[reader]
label = skyuk
protocol = smartreader
detect = cd
device = 004:002 ------ you will have to change this.goto part 11.
emmcache = 1,3,2
caid = 0963
boxid = x-x-xx-x-xxx ----- put your own boxkey inplace of the x's
blockemm-u = 0
blockemm-s = 0
blockemm-g = 1
blockemm-unknown = 1
mhz = 600
cardmhz = 600
ident = 0963:000000
group = 1


oscam.user paste this in and save file

Code:
[account]
user = test1
pwd = test2
monlevel = 0
uniq = 0
group = 1,2
au = skyuk
caid = 0963

9. so now you should have 3 files in usr/local/etc

oscam.conf
oscam.server
oscam.user

chmod 755 all 3

Code:
chmod 755 /usr/local/etc/oscam.conf
chmod 755 /usr/local/etc/oscam.server
chmod 755 /usr/local/etc/oscam.user

10.now we put script in for oscam and cccam to start on reboot or start up
in terminal as root put line

Code:
nano /etc/rc.local

under the word # by default put these 2 lines in

Code:
/usr/local/bin/oscam -b -c /usr/local/etc/ &
/usr/local/bin/CCcam.x86
ctrl+x then y and enter to save

11.now i need you to put right line in oscam.server
in terminal as root enter
lsusb
now you will see a few lines appear. you are only interested in the one that looks like this

Code:
Bus 004 device 002: ID 0403:6001 Future Technology devices internation, Ltd FT232 USB-Serial
this is the most important line forget the others. now if you open your oscam.server file you
you will see next to device this
device = 004:002 that is because u can see my bus is 004 and device is 002 in the line that we just got up with lsusb now edit it to what yours is and save your file. if u have put your box id in aswell that is oscam and cccam
configuered .

Code:
apt-get install apache2

Code:
apt-get install php5

14. make sure you have opened both your cccam port and the oscam newcs port 10000 to your server. if you have just reboot your server and its ready to go.

15. to check go to your browser and put in youyserverip:8888 user is admin password is admin it will show you your oscam webif






















Oscam for Dreambox-!

Below you will find the latest revisions of Oscam for Dreambox.
These are the official binaries that you can also find at the Oscam ULC.

Mips (Models: 500HD, 7020HD, 7025, 7025+, 800HD, 800HD SE, 8000)
PowerPC (Models: 7000, 56×0, 500, 500+, 600, 7020)







OScam For Windows Downloads

Latest download of Oscam for Windows.
All binaries on this website were built on a cygwin environment and compiled with the default modules.
The build process is fully automated and new revisions are checked every 30 minutes.
If the build process seems to have any problems, please leave a comment below and I will fix it. 

Changes

You can check the version changelog at http://streamboard.tv:8001/timeline.
Downloads
Place oscam.exe in the same folder of cygwin dlls and configuration files.
Remember to update the cygwin dlls and use the ones provided here because they are from the enviroment where oscam was compiled.
oscam-cygwin-svn-11209.zip723.2 KB1/15/2016 6:37 pm
oscam-cygwin-svn-10660.zip681.5 KB5/14/2015 9:15 pm
oscam-cygwin-svn-10648.zip680.8 KB4/8/2015 11:48 pm

For older versions, please check our archive which contains releases for the last few months.

Other Downloads

List Smargo (included in distribution)If you want to use SMARGO´s you can use this utility to list the devices.
Cygwin-dlls (1.34 MB)The cygwin DLL´s need to be on the same directory in order to run oscam.exe successfully.
Oscam-doc-examples (45.08 kB)The configuration files by default are read from the same folder of oscam.exe.
CCcam Converter 1.2 (376.52 kB)To convert CCcam.cfg to Oscam configuration files you can use this converter.
Oscam LauncherA launcher that allows you to install Oscam as a windows service and update when there are new releases.





How To Show Channels Names In Oscam


How To Add Expire Date User In Oscam


Recently Updated