Protek OSCAM -> CCAM on Technomate TM500

javasumatra

Member
Joined
Mar 19, 2012
Messages
8
Reaction score
1
Points
0
Age
50
My Satellite Setup
Protek MK1
My Location
London
Hi All,

I raised a previous thread which is here, http://www.satellites.co.uk/forums/dreambox500/197785-linux-box.html in which I was asking for recommendations about which Linux box to buy to have a play with sharing. One of my friends has leant me a TM500 for a couple of weeks.

Current setup is a protek MK1 running OSCAM with a legit subscribed card in it and the TM500 running CCAM on an internal network.

Protek ip address 192.168.0.16
TM500 ip address 192.168.0.21

I went off and did some reading about how to set this up and I think I am really close to getting it working but not quite -

Protek setup

oscam.user
-------------


# everybody needs an entry, even yourself.

[account]
# for your own box.
user = local
description = for local mgcamd or DVBAPI
pwd = mypass
disabled = 0
group = 1
uniq = 1
au = 1
# if you want the card updated from yourself

[account]
# for friend who may be using CCcam although works
# any protocol defined in oscam.conf
user = user1
pwd = pass1
description = for friend with CCCam
disabled = 0
group = 1
uniq = 1
sleep = 0
au = 0
cccmaxhops = 3
cccreshare = 0
keepalive = 1

[account]
# intended for a friend using mgcamd, although works
# with any protocol defined in oscam.conf
user = friend2
pwd = pass2
description = for friend with mgcamd
disabled = 0
group = 1
uniq = 1
sleep = 0
au = 0
keepalive = 1

# oscam.user end

oscam.conf
-------------


[global]
logfile = stdout
# if you specify a location for a saved log file, be aware it gets very large
# very quickly
disablelog = 0
disableuserfile = 0
usrfileflag = 0
clienttimeout = 5000
fallbacktimeout = 2500
clientmaxidle = 120
failbantime = 30
cachedelay = 120
bindwait = 120
netprio = 0
clientdyndns = 0
resolvedelay = 30
unlockparental = 0
nice = -1
serialreadertimeout = 1500
maxlogsize = 50
waitforcards = 1
preferlocalcards = 1
saveinithistory = 1
readerrestartseconds = 5
lb_mode = 1
lb_save = 0
lb_nbest_readers = 2
lb_nfb_readers = 1
lb_min_ecmcount = 5
lb_max_ecmcount = 500
lb_reopen_seconds = 900
resolvegethostbyname = 0
failbantime = 10
double_check = 1

# [monitor]
# only activate this if you really need it
# for most people the web interface is better
# port = 988
# nocrypt = 127.0.0.1,192.168.2.1-192.168.2.254
# aulow = 120
# hideclient_to = 0
# monlevel = 4
# appendchaninfo = 0


[cccam]
# for your clients with CCCam (i.e. they have a C: line)
port = 12000
# or whatever you use.
reshare = 0
ignorereshare = 0
version = 2.1.3
updateinterval = 240
minimizecards = 0
stealth = 1

[dvbapi]
# if you want to use Oscam as your client as well as server
# doesn't work well on some non Dreamboxes
enabled = 1
# set to 0 if using mgcamd as the client and DVBAPI
user = local
# it must be a user defined in oscam.user to work correctly
au = 1
# or 0 as you prefer
boxtype = dm7000
# use dreambox for earlier dreamboxes with ppc processors
pmt_mode = 0

[webif]
# very useful and fairly straightforward
httpport = 80
httpuser = user
httppwd = pass
httprefresh = 10
httpallowed = 127.0.0.1,192.168.2.2-192.168.2.4
# can only be opened from those (LAN) IPs
httphideidleclients = 1
httpreadonly = 0
# oscam.conf ends

oscam.server
---------------


[reader]
label = reader1
enable = 1
protocol = r_nlx
device = /dev/sci0
caid =
ident =
group = 1
emmcache = 1,3,2
lb_weight = 100

#[reader]
#label = reader2
#enable = 0
#protocol = r_nlx
#device = /dev/sci1
#caid =
#ident =
#group = 1
#emmcache = 1,3,2
#lb_weight = 100

#[reader]
#label = remote1
#enable = 0
#protocol = newcamd525
#device = 192.168.10.100,34000
#key = 0102030405060708091011121314
#account = ubc1,ubc1
#group = 1

#[reader]
#label = remote2
#enable = 1
#protocol = cccam
#device = 192.168.0.16,12000
#account = user1,pass1
#group = 1
#cccdisableretryecm = 0
#cccdisableautoblock = 1

So I think myoscam setup looks good and the channels are clearing with the legit card on the protek.

This is my ccam.cfg on the TM500

C:192.168.0.16 12000 user1 pass1C:192.168.0.16 12000 user1 pass1

The version of ccam.cfg on the TM500 is 2.2.01.


I don;t really want to be spoon fed or anything but I am doing something stupid here? I would really appreciate a pointer.

Thanks.
 

javasumatra

Member
Joined
Mar 19, 2012
Messages
8
Reaction score
1
Points
0
Age
50
My Satellite Setup
Protek MK1
My Location
London
Yessss, Got it working........

Borke the problem down. Tried a working C line first and that worked so that meant the technomate was OK. Then i set about getting the oscam.server working and that's when I spotted that I had been a proper bell and commented out the important bit (as above) :-ohcrap. So, got it all working on my home lan and then set up the port forwarding etc etc so I could test it at my mum and dad's and that worked too. I guess the last thing is to look into this dyndns business, Can anyone recommend a free one or do I really has to pay dyndns.org or something? The only issue I have is that OSCAM on the protek can stop every so often. I might buy a couple of TM500S' for CCCAM and keep the protek for the pcamd stuff.
 
Top