PDA

View Full Version : using oscam files ?



mobdoc
06-07-2015, 12:41 AM
Hi,

I have a Solo2 and have installed OpenVix Hades. Followed the various posts in this thread and successfully have all channels working (HD and SD) on 27.5W no problem.

I then added 28.2E on my second tuner and am now stuck trying to figure out how to add my C line to get these channels to work ?

If I install CCCam it decodes fine but 27.5 stops working (even though I have both CCCam client and OSCam running).

From various googling I think I need to remove the CCCam client and use oscam as a CCCam client but no matter what I try to do I cannot get it to work. My configs are:

oscam.conf:

[global]
nice = -1
logfile = /tmp/oscamlog
clienttimeout = 5000
fallbacktimeout = 2500
clientmaxidle = 120
cachedelay = 120
bindwait = 120
resolvedelay = 30
serialreadertimeout = 1500
maxlogsize = 10
waitforcards = 1
preferlocalcards = 1
saveinithistory = 1
keepalive = 1

[dvbapi]
enabled = 1
user = test
boxtype = dreambox
pmt_mode = 0
request_mode = 1

[webif]
httpport = 16002
httpuser = admin
httppwd = admin
httptpl = /etc/tuxbox/config/tpl
httprefresh = 30
httpshowpicons = 1
httpallowed = 0.0.0.0-255.255.255.255

[monitor]
appendchaninfo = 1

oscam.server:


[reader]
label = share1
protocol = cccam
device = my.sharingserver.com,19006
user = myusername
password = mypassword
inactivitytimeout = 30
group = 1
cccversion = 2.2.1
cccmaxhops = 3
caid = 0963


oscam.user

[account]
user = test
group = 1


I think I am close but no cigar yet :)

Please can someone put me out of my misery?

Thanks
Steve

echelon
06-07-2015, 06:57 AM
it can also depend on the version of oscam you are running for 27.5w to work, various versions have various issues, so try r10079 or a ymod version , whereas most versions will work for 28.2e anyway

I have uploaded new examples you can alter and use here

https://www.satpimps.co.uk/showthread.php?169929-oscam-files-and-help&p=922182#post922182

here are some examples of configs, they may help you (but some of the info may not be up to date OR there may be other or better ways of using the files)

oscam.conf


[global]
usrfile = /media/usb/log/oscam/oscamuser.log
logfile = /media/usb/log/oscam/oscam.log
cwlogdir = /media/usb/log/oscam/cw
emmlogdir = /media/usb/log/oscam/emm.log
clientmaxidle = 300
nice = -1
maxlogsize = 1000
preferlocalcards = 1
saveinithistory = 1
lb_auto_betatunnel = 1
lb_auto_betatunnel_prefer_beta = 90

[monitor]
port = 988
nocrypt = 127.0.0.1,192.168.0.0-192.168.255.255
aulow = 60
hideclient_to = 15
monlevel = 4
appendchaninfo = 1


[cccam]
port = 12001
reshare = 1
ignorereshare = 0
forward_origin_card = 0
version = 2.3.0
stealth = 1
nodeid =
reshare_mode = 1
updateinterval = 3000

[dvbapi]
enabled = 1
au = 1
request_mode = 1
boxtype = dreambox
user = vuuser

[webif]
httpport = 16001
httpuser = oscam
httppwd = oscam
httprefresh = 15
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255



oscam.server


[reader]
enable = 1
label = Freesat0
description = Freesat0
protocol = internal
device = /dev/sci0
caid = 0963
detect = cd
mhz = 500
cardmhz = 500
autospeed = 1
ident = 0963:000000
group = 1
services = freesat#,!old_caid,!sky,
EMMCache = 1,3,15
blockemm-unknown = 1
blockemm-g = 1
lb_weight = 101
srvid = 2F01,2F08,2F85,2F6C,2F62,2F58,2F4 5,2F44,1B1E,1210,13EF,C5C1,2F03,2 EFE,2F4E,0F12,128F,13F3,CB25,D435 ,C495,1B61
services = !variety_pack,!variety_pack_hd,!k nowledge_pack,!knowledge_pack_hd, !style_&_culture_pack,!style_&_culture_pack_hd,!news_&_event_pack,!news_&_event_pack_hd,!children's_pack,! children's_pack_hd,!music_pack,!m usic_pack_hd,!movies_pack,!movies _pack_hd,!sports_pack],!sports_pack_hd,!extra_channels, !extra_channels_hd,!bonus_channel s_hd,!*****_entertainment,!asian_ stuff,!sky_box_office

[reader]
enable = 1
label = Freesat1
description = Freesat1
protocol = internal
device = /dev/sci1
caid = 0963
detect = cd
mhz = 500
cardmhz = 500
autospeed = 1
ident = 0963:000000
group = 1
services = freesat#,!old_caid,!sky,
EMMCache = 1,3,15
blockemm-unknown = 1
blockemm-g = 1
lb_weight = 101
srvid = 2F01,2F08,2F85,2F6C,2F62,2F58,2F4 5,2F44,1B1E,1210,13EF,C5C1,2F03,2 EFE,2F4E,0F12,128F,13F3,CB25,D435 ,C495,1B61
services = !variety_pack,!variety_pack_hd,!k nowledge_pack,!knowledge_pack_hd, !style_&_culture_pack,!style_&_culture_pack_hd,!news_&_event_pack,!news_&_event_pack_hd,!children's_pack,! children's_pack_hd,!music_pack,!m usic_pack_hd,!movies_pack,!movies _pack_hd,!sports_pack],!sports_pack_hd,!extra_channels, !extra_channels_hd,!bonus_channel s_hd,!*****_entertainment,!asian_ stuff,!sky_box_office


[reader]
enable = 1
label = constantcw
protocol = constcw
device = /usr/keys/constant.cw
caid = 2600
group = 1


[reader]
label = share1
enable = 1
protocol = cccam
device = my.sharingserver.com,19006
user = myusername
password = mypassword
group = 1
cccversion = 2.3.0
cccmaxhops = 3
ccckeepalive = 1



oscam.user


###########################
##### oscam build 10079 ######
###########################

[account]
user = vuuser
pwd =
group = 1,2,3,4,5,6,7,8,9
hostname = 127.0.0.1
au = Freesat0
au = 1
cccstealth = 1
cccmaxhops = 3
cccignorereshare = 1



oscam.dvbapi


P: 0963:000000 1
P: 0500:043800
P: 0500:042200
p: 0500:042700
p: 0919:000000
p: 0500:041700
p: 0500:021700
p: 0500:030b00
p: 0100:00006a
p: 0500:022610
A:::4f80:1d4c::: 2600:000000:1fff
A:::107D:13EC::: 2600:000000:1FFF
A:::11C0:0190::: 2600:000000:1FFF
A:::1100:01F4::: 2600:000000:1FFF
A:::1044:0064::: 2600:000000:1FFF
A:::4484:19C8::: 2600:000000:1FFF
A:::107C:1004::: 2600:000000:1FFF
A:::107E:0C1C::: 2600:000000:1FFF
A:::1280:0258::: 2600:000000:1FFF
A:::1C00:0384::: 2600:000000:1FFF
A:::10C0:012C::: 2600:000000:1FFF
A:::10BF:00C8::: 2600:000000:1FFF
A:::4440:17D4::: 2600:000000:1FFF
A:::1200:012C::: 2600:000000:1FFF
A:::1240:0190::: 2600:000000:1FFF
A:::4500:189C::: 2600:000000:1FFF
A:::44C8:1838::: 2600:000000:1FFF


oscam.services


#automatic build for BlackHole

# oscam.services generated automatically by Streamboard OSCAM 1.20-unstable_svn build #8470
# Read more: http://streamboard.gmc.to/svn/oscam/...m.services.txt

[variety_pack]
caid = 0963
provid =
srvid = 125D,125F,1261,158B,151A,D2FF,D2F B,1710,D444,D7E6,C7A6,CC0A,1771,1 775,1968,1DB5,1978,1DBF,13F0,13EF ,196A,1DC8,1778,CC0B,1777,CC06,17 73,CCBF,CCC4,CCC9,CC07,C481,D0FC, D101,168A,1843,CCCE,247C,247D,197 9,1DCE,1268,1290,1793,1794,178C,1 78E,1325

[variety_pack_hd]
caid = 0963
provid =
srvid = 0F10,0F15,0EE1,0EEF,0EF1,0F22,0F1 A,0F10,0F24,0F28

[knowledge_pack]
caid = 0963
provid =
srvid = 1839,183C,122D,138B,1220,1221,122 2,12C4,12C5,12C6,12C7,2484,CBC9,1 22F,1966,1DBA,183A,CCB5,1969,1DE2 ,183F,CCD3,183E,CCBA,1841,D421,CC B0,197A,C5A8,2463,1391

[knowledge_pack_hd]
caid = 0963
provid =
srvid = 0EE5,0EF8,0F2D,0EDB,0F2F,0F30,0F2 E,0F1C

[style_&_culture_pack]
caid = 0963
provid =
srvid = 11FC,1456,196C,1DCA,1965,1DB0,183 B,CCDD,CD32,D2F9,1840,CCE2,183D,D 43F,CB90,1DC4,13A1,CCD8,1652,1592 ,CB8C,CB91,D7AA,113A,12C7

[style_&_culture_pack_hd]
caid = 0963
provid =
srvid = 0EE2,0F17,0F18,0F1B

[news_&_event_pack]
caid = 0963
provid =
srvid = 164E,2490,1391,1223,12C1,1797,CFD 5,D057,C4AE,139D,D430,132B,132E

[news_&_event_pack_hd]
caid = 0963
provid =
srvid = 0EDC,D83B,0F0A,0F13

[children's_pack]
caid = 0963
provid =
srvid = 1A94,C611,2329,232F,232C,2332,D42 6,15B8,D453,15BB,D025,1BBC,1BBE,1 BBD,15BA,1591,C7C9,15B9

[children's_pack_hd]
caid = 0963
provid =
srvid = 0F1D,0F1E,0F1F,0F23

[music_pack]
caid = 0963
provid =
srvid = 1B59,1B81,1B5D,1B64,2EE5,C5D5,2EE A,D7AE,1B5A,C5D0,1B60,1B5E,1B66,2 EF4,2EEF,1B5B,1B5F,1B6D

[music_pack_hd]
caid = 0963
provid =
srvid = 0EDE

[movies_pack]
caid = 0963
provid =
srvid = 1134,1135,11FA,10CF,1133,10CE,161 2,232A,232B,10D0,157E,1136,10D1,1 0D2

[movies_pack_hd]
caid = 0963
provid =
srvid = 0EED,0EF9,0EEB,0EEA,0EE6,0EE7,0F2 1,0EE9,0EE8,0F16,0EE4,0EEC,0EF9,0 F16,0EDF

[sports_pack]
caid = 0963
provid =
srvid = 1203,1332,1076,1078,107D,2462,107 0,107E,1581,1205,107B,119F,11A1,1 202,1519,151C,153A,132B,132D,1795 ,C5DA

[sports_pack_hd]
caid = 0963
provid =
srvid = 0F25,0EDA,0F26,0F29,0EEE,0EF0,0EF 2,0EF3,0F09

[extra_channels]
caid = 0963
provid =
srvid = 1224,C5BC,D061,2482,C4A9

[extra_channels_hd]
caid = 0963
provid =
srvid = CFD5,0F02,0F01,0F11

[bonus_channels_hd]
caid = 0963
provid =
srvid = 0F24,0F5C,0F5D,0F5E,0F23,D3BE,051 6

[freesat]
caid = 0963
provid =
srvid = 0F12,128F.13F3,CB25,D435,C495,1B6 1

[ad*lt_entertainment]
caid = 0963
provid =
srvid = D15C,D7C4,D7C3,D7C6,D7C7,D7C8,D7B F,D15D,D7C0,D7C2

[asian_stuff]
caid = 0693
provid =
srvid = 1224,0F01,0F02,0F11,1091,2463,249 4,C5A8,C5CB,C5DA,C7A7,C7A8,C7A9,C 530,C521,C51C,C52B,D15C,D7C4,D7C3 ,D7C6,D7C7,D7C8,D7BF,D15D,D7C0,D7 C2,2581,2582,CB87,2585,2583,CB2E, CD14,C4E5,CF79,D35B,D3C9,0516,D15 8,1795,D7C1,179A,C5BC,D3C9,D35B,C 7A8

[sky_box_office]
caid = 0963
provid =
srvid = 114C,10E6,10E7,10E8,10E9,10EA,114 A,114B,114D,114E,11AE,11AF,11B1,1 1B0,11B2,1212,1214,1213,1215,1216 ,1277,1276,1278,1279,12DA,127A,12 DC,12DD,12DB,12DE,133E,133F,1340, 1342,13A2,1341,1407,13A6,1406,13A 5,15AE,15AF,15B1,15B0,15B3,15B2,1 5B5,15B4,132A,0F27,0EE3,0EFA,14AB ,0F36,0F37,0F3A,0F39,0F38
#

mobdoc
06-07-2015, 09:54 AM
Hi Echelon,

Thanks for the info but the problem I am having is with 28.2 not 27.5. 27.5 worked perfectly first time after following this thread.

The main issue is my inexperience with oscam and not having a step by step to follow for setting it up as a CCCam client to a remote server (my c line I have).

I can set up CCCam on the box, add my info to CCCAm.cfg, start it up and 28.2 works perfectly but 27.5 doesn't

or I have oscam running and 27.5 works but 28.2 doesn't.

I have now managed to change the OSCam.server file to use the newcamd protocol instead of cccam and it looks like I may have cracked it. The only issue I appear to have now is that it takes 5 - 10 seconds to start decoding the 28.2 picture but 27.5 is almost instant. Is there anything I can do to speed that up?

Thanks
Steve

Satcat
06-07-2015, 09:57 AM
Or just mgcamd 1.38 for both.

lacierva
06-07-2015, 10:46 AM
[cccam]
port = 12000 or whatever is your port
version = 2.1.3
build = 3165
reshare = 1

add this to oscam config and it should solve your problem i have mine set up as you are trying to achive

echelon
06-07-2015, 11:10 AM
afaik cccam wont open 27.5w , but will open 28.2e - hence your cccam problem

oscam will do both, hence why its very , very useful

I gave examples above, plus I uploaded working files from a solo2 running openBH 0.1 with oscam 10079 and added the link to that thread too (except I altered port , login details etc to fictitious details so these have to be changed to suit)

27.5w uses the keys in the constant.cw file for the normal oscam so will be near instant as its already got the constant.cw keys in the usr/keys folder so no internet is required

if using ymod oscam , it uses the oscam keys instead of the constant.cw keys

28.2e relies on your connecting to an external server and any lag or delay times before that server accepts you and logs you in , so a delay is inevitable and will vary according to server

so one will be very fast, the other not fast at all

as for the oscam server details , 2.1.3 can be written in as above, or 2.2.1 , or 2.3.0 , its irrelevant

what matters are the server hostname , port , login name and login password

aka



[reader]
label = my.sharingserver.com
enable = 1
protocol = cccam
device = my.sharingserver.com,19006
user = myusername
password = mypassword
group = 5
cccversion = 2.3.0
cccmaxhops = 3
ccckeepalive = 1


if newcamd works, its a great alternative

can you speed it up ? - NO
(but this time will vary according to the server itself , so different ones may produce different results)

assume 5 to 15 seconds as "reasonable"

echelon
06-07-2015, 01:27 PM
just installed openvix hades 15 into multiboot (openBH in the flash) and booted into hades 15

in cccam 2.30 = 28.2e works ok but not 27.5w (as expected not to)
in mgcamd 1.38 , both sats work ok and BBC2 HD opens ok as well as most of the others
in oscam r10808 , both sats work ok (but BBC2 HD does not open on 27.5w , so an oscam issue, so maybe try a different oscam)

nb:- it also works in openBH in the flash

and "should work" using openPLI 4 too

mrdude
06-07-2015, 02:57 PM
BTW:

If you are just using a c line provided by someone else - the oscam.user can be blank.

In your oscam.conf you have this line:

httpallowed = 0.0.0.0-255.255.255.255 (that means you're letting any IP in the world access your network). Change it to : 192.168.0.1 - 192.168.1.255 - this only allows IP's from that range of Local IP's on your internal network access your web interface.

You also have this in oscam.server - caid = 0963

You can remove that, you don't need that for C lines, that's for N lines that you are serving to others.

That's just me looking at your configs for about 2 seconds - they are over complicated, and you don't need to enter as much info if just using a c line.