Professional Documents
Culture Documents
Eurocardsharing Forum > Other Options > Tutorials > Cardsharing Tutorials
How to setup CCcam/Newcs/Oscam with ClearOS 5.2 Linux
View First Unread Thread Tools Search this Thread Rating: Display Modes
(#1)
04-April-2008, 23:45
kapzas
Super Moderator
This tutorial helps you to setup a Linux PC CCcam server under 1 hour, even for users with no
Linux knowledge.
Offline We need some old working PC. Hardware: Pentium 3 or Amd 600Mhz and up, 256mb (512mb
Posts: 4,148 optimal) ram, from 5gb HDD and up, Networkcard, and a simple 1mb, 4mb, 8mb... or onboard
videocard (no need a fancy 128mb AGP/PCI-E videocard).
Level: 48 [ ] Intro:
Life: 355 / 1183 Out there are many Linux distro's. With most of them you can build a good share server, but we
use today "ClearOs".
Magic: 1382 / 12874
Experience: 35%
What is ClearOs you ask!? ClearOs is a powerful network and gateway server designed for small
organizations and distributed environments. Though ClearOs comes with an extensive list of
features and integrated services (see sidebar), the solution is easy to configure thanks to the
Thanks: 1,271 intuitive web-based interface. ClearOs Homepage
Thanked 2,149 Times in 874
Posts Is it stable!? Yes it is very stable and works almost perfectly with CCcam.
Join Date: Mar 2007
OK lets start now.
2: Installation steps:
1) Choose a Language: Installation language
2) Keyboard Type: Your keyboard language
3) Installation Method: Local CDrom
4) Install Type: Install
5) To Proceed with the installation type "ClearOs"
6) System Mode: Standalone Mode
7) Specify Lan IP Address: Manual Configuration (Set dynamic ip configuration if your router
support MAC based static lease)
8) Nameserver IP: your router gateway IP (example 192.168.1.254 or what u have there)
9) Set The System Root Password
10) Partitioing: Use default
11) Select Software Modules: Now with new ClearOs you can choose install "Graphical Console"
(GUI), or without it. "Intrusion Detection And Prevention" is pretty cool thing against the
hackers and prevents smaller DDOS attacks. Everything else you can tropp. You can install
missing modules easy later under dashboard directly if needed.
3: Now if ClearOs is installed and you used manual IP table then you can unplug monitor and
keyboard from PC you do not need them anymore.
If you used automatic DHCP, then log to server from current monitor and keyboard to know
what IP your server has.
Use command: ifconfig
Now you see your server IP, unplug monitor and keyboard from PC.
1 di 13 17/12/2010 23.58
How to setup CCcam/Newcs/Oscam with ClearOS 5.2 Linux http://www.eurocardsharing.com/f163/how-to-setup-cccam-newcs-osc...
4: System setup.
1) Write to your webbrouser next https://192.168.1.142:81 of cource your server lan IP.
2) Next u get warning message like so "This Connection is Untrusted"
Hit the tab "I Understand the Risks", then the tab "Add Exception" and at least "Confirm
Security Exception" (It can happen that u need make 2-3 times that over again, when u get to
the login page!)
3) Login
Username: root
Password: What u entered during the ClearOS installation
4) Language: default is English
5) Network: Please set mode to "Standalone Mode No Firewall" later if everything is working u
can enable Firewall if u want it.
6) Time Zone: set your country
7) Domain: you can leave it to default "clearos.lan" or change. It is up to you.
8) Organization: fill the forms like u want, not needed to use your real data there.
9) Congratulations, you have completed the system setup wizard! and hit the tab "Continue
configuring your system"
10) Finish: and again u need make that step "This Connection is Untrusted" Hit the tab "I
Understand the Risks". Then the tab "Add Exception" then "Confirm Security Exception" and at
last "Resend". (It can happen that with FireFox brouser u need make 3-5 times that over again,
when u get to the main page back!)
6: Download CCcam pack and FTP client software. Unpack CCcam pack and take out from there
CCcam.x86 and CCcam.cfg.
WinSCP Free SFTP, FTP and SCP client for Windows
8: Copy with FTP client CCcam.x86 and CCcam.cfg to share server. If it is done close the FTP
session.
9: Now we need open Putty. If you do not have putty you can download it here: Download putty
for windows PC
Log with putty to server as root not as user blabla!
Now we can put some commands to get CCcam to right place.
10: Commands: (command "ls" is directory viewer) Please give commands exactly like i write
here then it works 100%!!!
cd /var
mkdir /var/bin
mkdir /var/etc
ls
Note: mkdir is command for create new directory. If you see now 2 new directory then that part
is OK. Next commands are:
cd /home/blabla
ls
Note: that blabla is user what you created under dashboard and you see there CCcam.x86 and
2 di 13 17/12/2010 23.58
How to setup CCcam/Newcs/Oscam with ClearOS 5.2 Linux http://www.eurocardsharing.com/f163/how-to-setup-cccam-newcs-osc...
CCcam.cfg.
cp CCcam.x86 /var/bin
cp CCcam.cfg /var/etc
cd /var/bin
ls
chmod 755 CCcam.x86
ls
Note: Now you see that CCcam.x86 is green, before it wase withe.
nano /etc/rc.d/rc.local
Note: there you see line like that: "touch" and so one. under that line is lot empty space. Now
please write next line exact under that "touch" line there so:
/var/bin/CCcam.x86
Note: / you can get there only with shift+7 and ctrl+o is save file and ctrl+x exit. Look out that
you do not change there nothing else!
cd /var/bin
ls
./CCcam.x86
Note: ./CCcam.x86 is command to start CCcam manually from command line and command:
killall CCcam.x86 stops it agan. For CCcam debuge mode use command: ./CCcam.x86 -d
cd /var/etc
ls
nano CCcam.cfg
Note: with that command you have access to cfg file to edit it or you can use tutorial 15: to set
to whole server FTP access . I prefer to change cfg file over putty.
12: How to get CCcam 2.1.0, 2.1.1 and 2.1.2 working with ClearOs 5.2 CCcam 2.1.3, 2.1.4 as
2.2.x don´t work with ClearOs 5.2!
Please give next commands into your system command line:
mkdir test
cd test
wget http://web.zone.ee/kapzas/libstdc++.so.6.0.9
cp libstdc++.so.6.0.9 /usr/lib
cd /usr/lib
chmod 755 libstdc++.so.6.0.9
unlink libstdc++.so.6
ln -s libstdc++.so.6.0.9 libstdc++.so.6
/sbin/ldconfig
cd ..
cd ..
rm -rf test
13: Done. CCcam server is up and running. With ClearOs working most external cardreaders
serial and usb with no extra linux configuration.
Attached USB2:
Big thanks for that Infinity reader howtos goes to Bennieboy and to Ramad
3 di 13 17/12/2010 23.58
How to setup CCcam/Newcs/Oscam with ClearOS 5.2 Linux http://www.eurocardsharing.com/f163/how-to-setup-cccam-newcs-osc...
15: As lot asked how to install NewCs into ClearOs so here is tutorial how do too that. Please
follow exaclty my next instruction!
cd /lib
ln -sf libcrypto.so.0.9.8e libcrypto.so.0.9.8
nano /etc/rc.d/rc.local
Note: there you see line like that: "touch" and so one. under that line is lot empty space. Now
please write next line exact under that "touch" line there so:
/var/bin/newcs.x86
Enter update interval: [30] write to there 30 Then no-ip makes updates to your IP every 30
minute
cd .. and agan cd ..
rm -rf no-ip and hit enter
tipe command exit to leave.
Done. You have successfuly installed no-ip under linux.
Here u can look same commands too: The Newbie's Guide to the No-IP™ Linux Client
17: Here is tutorial how to install DynDns under ClearOs Big thanks for that link goes to
Bennieboy
18: Totorial how to set FTP access under ClearOs to by root and not only as user.
To enable the user that you have created to to have ftp access to the hole server you must do
this steps:
19: If you have CCcam stabilty problem with your PC server and you have tryed everything,
then here comes a help for that issue. Change from your CCcam.cfg next line:
#DVB API: -1
to a
DVB API: -1
Note: You need restart the CCcam after change. It works only with linux PC based CCcam
servers. Dreambox or other reciver users do not try that!
4 di 13 17/12/2010 23.58
How to setup CCcam/Newcs/Oscam with ClearOS 5.2 Linux http://www.eurocardsharing.com/f163/how-to-setup-cccam-newcs-osc...
20: Tutorial how to create CCcam running check script and if CCcam stops then that script runs
CCcam self up again.
1) Log over putty to server as root and give next commands to create the script:
cd /etc
touch CCcamcheck.sh
chmod 777 CCcamcheck.sh
nano CCcamcheck.sh
Next hit from your keyboard ctrl+o to save and ctrl+x to exit.
2) Now we need make a cron job what executes the script every 5, or from you set minutes.
Please give next commands to make a cron job:
cd /etc
export EDITOR="nano"
crontab -e
Hit ctrl+o to save and ctrl+x to exit and test the script out if it is working. Kill CCcam from
/var/bin and wait 5 minutes and CCcam should go self up agan.
Note: If you feel that 5 minutes is too long, then u can lower it.
3 minute cron:
Code:
*/3 * * * * /etc/CCcamcheck.sh
1 minute cron:
Code:
*/1 * * * * /etc/CCcamcheck.sh
I know that "CCcam running check script" is not the best one, but it works well and it is easy to
use. If u want use more complicate script then they you find in forum.
Big thanks for that CCcam running check script goes to FSS
21: Tutorial how to Configure CCcamphpinfo in ClearOs Big thanks goes to gangster429
22: How to get working a cheap ID cardreader Omnikey or SCM with ClearOs 5.1.
yum install opensc pcsc-lite ccid
chkconfig pcscd on
service pcscd start
Next you need "pcsc" version of newcs. Exmple u have PC linux server, then you need
newcs.i686.pcsc newcs-1_67RC1.zip Newcs conf examples and chat you find from here: How to
get a Omnikey or SCM reader working with NewCs/Oscam under Linux and Windows
23: Manual way to compile self Oscam for ClearOs with support of webinterface, smargo
smartreader (USB), serial (COM) reader, mouse (USB) reader and omnikey/SCM (PCSC) reader.
yum update
yum groupinstall "Development Tools"
yum install openssl-devel
yum install pcsc-lite-devel
5 di 13 17/12/2010 23.58
How to setup CCcam/Newcs/Oscam with ClearOS 5.2 Linux http://www.eurocardsharing.com/f163/how-to-setup-cccam-newcs-osc...
mkdir cmake
cd cmake
wget http://www.cmake.org/files/v2.6/cmake-2.6.4.tar.gz
tar xvzf cmake-2.6.4.tar.gz
mkdir cmake-build
cd cmake-build
../cmake-2.6.4/bootstrap
gmake
sudo gmake install
cd ..
rm -rf cmake
2) Compiling the oscam. After rename and copy to the new path:
cd /usr/src
svn co http://streamboard.gmc.to/svn/oscam/trunk oscam
cd /usr/src/oscam
cmake -DWEBIF=1 -DPCSC=1
make
mv oscam oscam.x86
cp oscam.x86 /var/bin
cd ..
rm -rf oscam
cd /var/bin
chmod 755 oscam.x86
nano /etc/rc.d/rc.local
Note: there you see line like that: "touch" and so one. under that line is lot empty space. Now
please write next line exact under that "touch" line there so:
/var/bin/oscam.x86
If u have already added CCcam and newcs too, then it looks like so:
/var/bin/oscam.x86
sleep 10
/var/bin/newcs.x86
sleep 10
/var/bin/CCcam.x86
5) Oscam config flies copy to correct path and new attributes set:
cd /usr/local/etc/
wget http://web.zone.ee/kapzas/oscam.conf
wget http://web.zone.ee/kapzas/oscam.server
wget http://web.zone.ee/kapzas/oscam.user
wget http://web.zone.ee/kapzas/oscam.services
chmod 755 oscam.conf
chmod 755 oscam.server
chmod 755 oscam.user
chmod 755 oscam.services
At last edit oscam config files for your needs. If u want update your oscam for latest svn just
run setp 2) and 3) over again.
Good testing
Kapzas
The Following 393 Users Say 2F4U (17-September-2008), a31r (08-September-2010), abtorrent (10-January-2010),
Thank You to kapzas For This abuhabib (14-December-2008), ac_simps (18-August-2009), adamjohn (04-December-2008),
Useful Post: adil7777 (02-January-2009), Adonis70 (13-February-2009), adytzu2007 (27-July-2010),
Remove Your Thanks AgentSixtynine (06-August-2008), alacan (29-March-2010), AlamSAsif (04-May-2008),
alamski (26-July-2009), alberto53 (08-March-2009), alemprator123 (03-August-2008),
alheeti (23-November-2008), Ali0820 (08-November-2009), amical (27-March-2010),
andy_dm (26-November-2010), araignee (02-March-2010), arash_totti88 (06-March-2009),
argo (04-September-2009), artman (28-September-2008), astratto72 (12-April-2008),
astronman (17-September-2008), atispeed (23-September-2009), azax_2 (10-May-2008),
a_annouar (09-May-2010), b j m (28-September-2010), ba5_ba5 (13-January-2010),
babla (15-August-2008), Bacteria (27-April-2008), badremammar (08-October-2008),
bajo11 (02-October-2008), bambacha (11-December-2008), banush (01-August-2009),
BarbaNegra (02-October-2008), Barney2222 (02-April-2010), bartyam (20-September-2008),
baukland (04-May-2009), belmondo2001 (18-December-2008), ben4cardsharing (14-April-2009),
6 di 13 17/12/2010 23.58
How to setup CCcam/Newcs/Oscam with ClearOS 5.2 Linux http://www.eurocardsharing.com/f163/how-to-setup-cccam-newcs-osc...
7 di 13 17/12/2010 23.58
How to setup CCcam/Newcs/Oscam with ClearOS 5.2 Linux http://www.eurocardsharing.com/f163/how-to-setup-cccam-newcs-osc...
Sponsored Links
07-April-2008, 21:07
giol76
(#2)
07-April-2008, 21:19
kaputa
Banned
Hello kapzas
Thank u for ur great work here.
I Hope this is big help for start a pc server.
bye for now
kaputa
Offline
Posts: 19
Level: 3 [ ]
Life: 0 / 52
Magic: 6 / 519
Experience: 9%
Thanks: 125
Thanked 12 Times in 9 Posts
Join Date: Jul 2007
(#3)
07-April-2008, 22:42
kapzas
Super Moderator
To giol76
you can try out. If chipset are similar with install PC and what is on that laptop then it may work
so.
Offline
Posts: 4,148
Level: 48 [ ]
Life: 355 / 1183
Experience: 35%
8 di 13 17/12/2010 23.58
How to setup CCcam/Newcs/Oscam with ClearOS 5.2 Linux http://www.eurocardsharing.com/f163/how-to-setup-cccam-newcs-osc...
Thanks: 1,271
Thanked 2,149 Times in 874
Posts
Join Date: Mar 2007
(#4)
08-April-2008, 20:43
kaputa
Banned
Hello
my server ClarkConnect server is working now but still have some problem.
1) when i swich of the server and when i start again server not start automaticaly.
2) today my server offline even its runing . its sending peep sound
what can be the reason???
thank u kapzas
bye
kaputa
Offline
Posts: 19
Level: 3 [ ]
Life: 0 / 52
Magic: 6 / 519
Experience: 9%
Thanks: 125
Thanked 12 Times in 9 Posts
Join Date: Jul 2007
(#5)
08-April-2008, 21:24
kapzas
Super Moderator
kaputa then your PC motherboard reques attached keybord on boot then it works agan.
Offline
Posts: 4,148
Level: 48 [ ]
Life: 355 / 1183
Experience: 35%
Thanks: 1,271
Thanked 2,149 Times in 874
Posts
Join Date: Mar 2007
9 di 13 17/12/2010 23.58
How to setup CCcam/Newcs/Oscam with ClearOS 5.2 Linux http://www.eurocardsharing.com/f163/how-to-setup-cccam-newcs-osc...
(#6)
08-April-2008, 21:53
Apples Champion!
CC_share
Super Moderator
Quote:
Originally Posted by kapzas
kaputa then your PC motherboard reques attached keybord on boot then it works agan.
On some mainboards you can avoid it by going into the bios and changing the line:
HALT ON ALL ERRORS to HALT ON NO ERROR
This can usually be found in the first screen of the bios setup
Offline
Posts: 1,503
-------------------------------------------------------
Level: 33 [ ] DM7000 Running Nabilosat Darkstar II
Life: 80 / 801 Linux CardServer running Debian 5.0.2
I Hate people who steal my stuff
Magic: 501 / 9719 -------------------------------------------------------
All you´re cards are belong to us
Experience: 6%
If you're happy with our board, Please consider making a donation HERE
The Following 3 Users Say gianluca68 (21-June-2009), KOP (23-May-2008), mxantho (31-January-2009)
Thank You to CC_share For
This Useful Post:
Thank you
(#7)
Quote:
Originally Posted by CC_share
On some mainboards you can avoid it by going into the bios and changing the line:
HALT ON ALL ERRORS to HALT ON NO ERROR
This can usually be found in the first screen of the bios setup
Offline
Thank u for answer
Posts: 19
i will try
bye
Level: 3 [ ] kaputa
Life: 0 / 52
Magic: 6 / 519
Experience: 9%
Thanks: 125
Thanked 12 Times in 9 Posts
Join Date: Jul 2007
10 di 13 17/12/2010 23.58
How to setup CCcam/Newcs/Oscam with ClearOS 5.2 Linux http://www.eurocardsharing.com/f163/how-to-setup-cccam-newcs-osc...
(#8)
09-April-2008, 20:32
palT
Member
Nice tutorial! How does ClarkConnect compares with Ubuntu as CCcam server? Is it more stabile,
faster or smth? I've tried Ubuntu 7.10 dmesg is filled with strange error messages after i start
CCcam 2.08. Like:
[96922.856835] ofo requeuing : rcv_next 7B6643F5 seq 7B6643F5 - 7B6643FD
Offline
Posts: 44
Level: 5 [ ]
Life: 0 / 110
Magic: 14 / 1252
Experience: 43%
Thanks: 11
Thanked 13 Times in 10 Posts
Join Date: Feb 2007
(#9)
Quote:
Originally Posted by kapzas
kaputa then your PC motherboard reques attached keybord on boot then it works agan.
Hi kapzas
thank u for ur quick reply.
Offline
server is runing now but last nite also same things hapend peep sound
Posts: 19 again. then i check the worning mesg.:-
(#10)
09-April-2008, 20:48
kapzas
Super Moderator
kaputa
11 di 13 17/12/2010 23.58
How to setup CCcam/Newcs/Oscam with ClearOS 5.2 Linux http://www.eurocardsharing.com/f163/how-to-setup-cccam-newcs-osc...
I tip that you have memory module (ram) failure. Please test with MemTest your memory.
Link for download: http://www.memtest.org/#downiso
Offline
Posts: 4,148
Level: 48 [ ]
Life: 355 / 1183
Experience: 35%
Thanks: 1,271
Thanked 2,149 Times in 874
Posts
Join Date: Mar 2007
None
Quick Reply
Message:
Options
ran2009
Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off Forum Jump
Refbacks are Off
12 di 13 17/12/2010 23.58
How to setup CCcam/Newcs/Oscam with ClearOS 5.2 Linux http://www.eurocardsharing.com/f163/how-to-setup-cccam-newcs-osc...
13 di 13 17/12/2010 23.58