2010-05-06, 18:50
mason Wrote:I'm interested too and would appreciate it ...
Guide to using oscam as a cccam client:
Get the oscam binary file and put it in usr/local/bin/ and chmod 755 it
Then go to usr/local/etc/ and create the following 3 files
oscam.conf
oscam.server
oscam.user
oscam.conf contains the following (change the newcamd key and port, bit in bold is the ident, i dont know if this is needed or not, i just changed it to 0963:000000 as that is the ident of the package i watch):
[global]
nice = -1
WaitForCards = 1
# protocols
[newcamd]
key = 0102030405060708091011121314
port = 15050@0604:000000
[cccam]
port = anyportnumber
version = 2.1.14
build = 3191
ocam.server contains the following:
[reader]
label = cccamserver1
protocol = cccam
device = serverip,port
account = username,password
group = 1
oscam.user contains the following:
[account]
user = usernameforcwc
pwd = passwordforcwc
group = 1
Go to Code Word Client section on tvheadend web interface and add new entry:
hostname = 127.0.0.1
port = 15050 (port in oscam.conf example above)
username = usernameforcwc (username in oscam.user example above)
password = passwordforcwc (username in oscam.user example above)
des = 0102030405060708091011121314 (key in oscam.conf example above)
chmod 755 those 3 files
Then to get oscam to start at startup
sudo nano /etc/rc.local
and have this:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/usr/local/bin/oscam
exit 0
Then disable cccam from starting at startup, if you followed my cccam guide, delete or comment out the line /usr/local/bin/run.sh from the file above.
Reboot
There are loads of different options that can be added to those 3 oscam files but i dont know enough about them and what they do!