ClearOS 5.2 + Oscam + Smargo...

Diskusia k oscamu platformy i386-pc-linux
Odpovědět
ferino12
Pokročilý
Pokročilý
Příspěvky: 121
Registrován: 13.únor 2010 - 15:45

ClearOS 5.2 + Oscam + Smargo...

Příspěvek od ferino12 »

Zdravim Vas...

skusam haluzit trosku s OSCAMom linuxom... Na zaciatok som si vybral tento navod :

Kód: Vybrat vše

1) ClearOs update for compile task needed new packages:
yum update
yum groupinstall "Development Tools"
yum install openssl-devel
yum install pcsc-lite-devel
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://www.oscam.to/svn/oscam/trunk oscam
cd /usr/src/oscam

wget http://ludovic.rousseau.free.fr/soft....9-rc3.tar.bz2
tar xjvf libusb-1.0.9-rc3.tar.bz2
cd libusb-1.0.9-rc3/
./configure; make; make install
cd ..
cmake -DWEBIF=1 -DPCSC=1
make
mv oscam oscam.x86
cp oscam.x86 /var/bin
cd ..
rm -rf oscam

3) New attributes for launch:
cd /var/bin
chmod 755 oscam.x86

4) Oscam auto startup:
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

5) Oscam config flies copy to correct path and new attributes set:

cd /usr/local/etc/
chmod 755 oscam.conf
chmod 755 oscam.server
chmod 755 oscam.user
chmod 755 oscam.services
ale stale to nieje ono... citacky sice funguju ALE necitaju karty...na oboch citackach stale pise NEED INIT
a vypis ukazuje toto :

Kód: Vybrat vše

2011/12/28 09:30:10 0 s Starting listener 1 
2011/12/28 09:30:10 0 s newcamd: initialized (fd=5, port=10201, ip=192.168.1.249, crypted) 
2011/12/28 09:30:10 0 s -> CAID: 0D0F PROVID: 000000 
2011/12/28 09:30:10 0 s Starting listener 2 
2011/12/28 09:30:10 0 s newcamd: initialized (fd=6, port=10202, ip=192.168.1.249, crypted) 
2011/12/28 09:30:10 0 s -> CAID: 0D03 PROVID: 000000 
2011/12/28 09:30:10 0 s Starting listener 0 
2011/12/28 09:30:10 0 s cccam: initialized (fd=7, port=10100, crypted) 
2011/12/28 09:30:10 0 s Starting listener 0 
2011/12/28 09:30:10 0 s pandora: disabled 
2011/12/28 09:30:10 0 s Starting listener 0 
2011/12/28 09:30:10 0 s radegast: disabled 
2011/12/28 09:30:10 0 s starting thread http 
2011/12/28 09:30:10 0 s http thread started 
2011/12/28 09:30:10 0 s starting thread reader check 
2011/12/28 09:30:10 0 s reader check thread started 
2011/12/28 09:30:10 0 s starting thread check 
2011/12/28 09:30:10 0 s check thread started 
2011/12/28 09:30:10 0 s creating thread for device Serial:Reader A8E02BA 
2011/12/28 09:30:10 0 s creating thread for device Serial:Reader 17C9A9E 
2011/12/28 09:30:10 0 s loadbalancer: can't read from file /tmp/.oscam/stat 
2011/12/28 09:30:10 0 s waiting for local card init 
2011/12/28 09:30:10 9FF10B0 h HTTP Server listening on port 8888 
2011/12/28 09:30:10 9FEDE90 r Using 0x82 as endpoint for smartreader hardware detection 
2011/12/28 09:30:10 9FEDE90 r Found reader with serial Reader A8E02BA at 002:003 
2011/12/28 09:30:10 9FEDE90 r Found smartreader device Serial:Reader A8E02BA 
2011/12/28 09:30:11 9FEDE90 r reader irdeto initialized (device=Serial:Reader A8E02BA, detect=cd, mhz=500, cardmhz=500) 
2011/12/28 09:30:11 9FEF740 r Using 0x82 as endpoint for smartreader hardware detection 
2011/12/28 09:30:11 9FEF740 r Found reader with serial Reader 17C9A9E at 002:002 
2011/12/28 09:30:11 9FEF740 r Found smartreader device Serial:Reader 17C9A9E 
2011/12/28 09:30:11 9FEF740 r reader cryptoworks initialized (device=Serial:Reader 17C9A9E, detect=cd, mhz=500, cardmhz=357) 
2011/12/28 09:30:11 0 irdeto card detected 
2011/12/28 09:30:11 0 cryptoworks card detected 
2011/12/28 09:30:22 9FEF740 r usb bulk write failed : ret = -7 
2011/12/28 09:30:22 9FEDE90 r usb bulk write failed : ret = -7 
2011/12/28 09:30:32 9FEF740 r usb bulk write failed : ret = -7 
2011/12/28 09:30:32 9FEDE90 r usb bulk write failed : ret = -7 
2011/12/28 09:30:42 9FEDE90 r usb bulk write failed : ret = -7
neviete, kde je problem? zeby to bolo blbo vybildovane?
Uživatelský avatar
cin
Mírně pokročilý
Mírně pokročilý
Příspěvky: 77
Registrován: 29.červen 2008 - 10:26

Re: ClearOS 5.2 + Oscam + Smargo...

Příspěvek od cin »

Ake tam mas jadro na tom linuxe???
Musis tam dat nieco novsie ako 2.6.30 inac to nepojde.

Panasonic tx-p46g30e
VU+ UNO 4K SE OpenBh 5.0
VU+ DUO 2 1*TWIN tuner DVB-S2 VTI-15
DM 500HD Orig Gemini

DiSEqC motor DG 380S
100cm Al Emme Esse
ferino12
Pokročilý
Pokročilý
Příspěvky: 121
Registrován: 13.únor 2010 - 15:45

Re: ClearOS 5.2 + Oscam + Smargo...

Příspěvek od ferino12 »

cin píše:Ake tam mas jadro na tom linuxe???
Musis tam dat nieco novsie ako 2.6.30 inac to nepojde.
vdaka, ked bude cas - vyskusam...

fero
Odpovědět

Zpět na „i386-pc-linux - diskusia“