Wednesday, June 22, 2011

Guide how to make oscam work on ClearOS 5.1 + smargo

This guide will fix the anoying problem of librareryfiles missing making oscam not to start at all.

cd /lib/
ln -s
yum install subversion gcc automake make openssl-devel
yum upgrade
cd /usr/local/bin/
svn co oscam-svn
cd oscam-svn/
cd Distribution/
mv <the filename of your oscam binfile depending on svn version> oscam (example: mv oscam-0.99.4svn1739-i686-pc-linux oscam)
cp oscam /usr/local/bin/oscam
cd /usr/local/bin/
rm -fr OSCam-0.99.4-i686-pc-linux*
rm -fr oscam-svnOkey now when you are this far its time to upload your config files to /usr/local/etc/

The 3 most important files the oscam.conf, oscam.server and

nice = -19
WaitForCards = 1
port = 988
aulow = 120
monlevel = 0
key = 0102030405060708091011121314
port = 34000@Cards CAID:000000oscam.server

Label = Your card
Protocol = mouse
Detect = cd
Device = /dev/ttyUSB0
mhz = 357
EMMCache = 1,1,2
Group = 1
BoxID = ****** oscam.user

user = user
pwd = pass
group = 1
uniq = 1
caid = Cards CAID
ident = Cards CAID:000000
AU = Your card
monlevel = 0Check so all the files in /usr/local/etc/ has chmod 755, also oscam file in /usr/local/bin/ should also have chmod 755!

Then its time to execute the bin file, if you have done everything right it will start without any error messages. Best thing is to write ./oscam -b and check the file oscam.log in /var/log/

Then just add a N: line in your cccam.cfg or your choice of emu:

N: serverip 34000 user pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14For making oscam autostart each time you restart or start your server simply:

nano /etc/rc.d/rc.local
In the empty space at the bottom under the last line you add:
/usr/local/bin/oscamThen Ctrl+O for save and then Ctrl+X for exit the editor.

No comments:

Post a Comment