Author Topic: oscam on clearos  (Read 1059 times)

0 Members and 1 Guest are viewing this topic.

Offline mitrov

  • Jr. Member
  • **
  • Posts: 5
oscam on clearos
« on: May 01, 2012, 08:03:43 PM »
I made to install oscam on CLEAROS,but now have another problem,when start i get this:oscam: /lib/libcrypto.so.0.9.8: no version information available (required by oscam)
oscam: /lib/libc.so.6: version `GLIBC_2.8' not found (required by oscam).
I think that needs a newer version of glibc than ClerOS provides - I believe I need glibc 2.8, but ClearOS comes with 2.5.If I am not wrong.How to fix this?I am new to ClearOS linux.
« Last Edit: May 01, 2012, 09:35:20 PM by mitrov »

Offline labud

  • Administrator
  • Hero Member
  • *****
  • Posts: 9026
oscam on clearos
« Reply #1 on: May 15, 2012, 01:18:29 AM »
This guide will fix the anoying problem of librarery files missing making oscam not to start at all.


Code: You are not allowed to view links. Register or Login
cd /lib/
ln -s libcrypto.so.0.9.8e libcrypto.so.0.9.8
yum install subversion gcc automake make openssl-devel
yum upgrade
cd /usr/local/bin/
svn co http://oscam.ump2002.net/svn/oscam/trunk oscam-svn
cd oscam-svn/
make
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 oscam.user


Code: You are not allowed to view links. Register or Login
[global]
nice = -19
WaitForCards = 1
[monitor]
port = 988
aulow = 120
monlevel = 0
[newcamd]
key = 0102030405060708091011121314
port = 34000@Cards CAID:000000oscam.server


Code: You are not allowed to view links. Register or Login
[reader]
Label = Your card
Protocol = mouse
Detect = cd
Device = /dev/ttyUSB0
mhz = 357
EMMCache = 1,1,2
Group = 1
CAID = Cards CAID
BoxID = ****** oscam.user


Code: You are not allowed to view links. Register or Login
[account]
user = user
pwd = pass
group = 1
uniq = 1
caid = Cards CAID
ident = Cards CAID:000000
AU = Your card
monlevel = 0


Check 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:
Example:


N: serverip 34000 user pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14

For making oscam autostart each time you restart or start your server simply:


Code: You are not allowed to view links. Register or Login
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.
-----------------------------------------------








UNAUTHORIZED DECODING OF ENCRYPTED SIGNALS FROM EITHER DOMESTIC OR FOREIGN PROVIDERS IS AGAINST THE LAW !!!
INFORMATION CONTAINED IN MY POSTS ["C/P FROM ANOTHER SITE"] ARE FOR LEARNING AND EDUCATIONAL PURPOSES ONLY !!!
PLEASE, DO NOT SEND ME PRIVATE MESSAGES WITH TECHNICAL QUESTIONS, USE FORUM FOR IT !!!