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:
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
NOTE: Be sure you edit the lines 42, 43 and 45.
sudo nano oscam.server
sudo nano 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)
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)
No comments:
Write comments