before building oscam -
edit the file oscam-chk.c
find those lines and add in the 6 new lines (without the +)
then build oscam
before building oscam -
edit the file oscam-chk.c
find those lines and add in the 6 new lines (without the +)
then build oscam
any help regarding this? sorry for bumping.
I had a similar issue a few weeks ago, i updated to latest svn and it went away, which leaves me to believe it's some sort of setting.
-
the sat in question is 19.2e
some of the 19.2 are not using local cards and are resharing (with permission) so i wonder if related to that.
I notice in oscam, the ones that don't work are labelled > cccam_mcs
the ones that work are labelled > cccam
this looks like the same issue
http://www.streamboard.tv/oscam/ticket/4359
http://www.streamboard.tv/oscam/ticket/4516#no1
http://www.streamboard.tv/oscam/ticket/4520
http://www.streamboard.tv/wbb2/thread.php?threadid=44479&hilight=send+wrong+swapped+NDS+cw
- - - Updated - - -
I seem to have fixed his issue by applying this patch
--- a/oscam-chk.c
+++ b/oscam-chk.c
@@ -1033,11 +1033,16 @@ int8_t chk_halfCW(ECM_REQUEST *er, uchar *cw)
{
if(is_halfCW_er(er) && cw){
+ uchar cw15 = cw[15];
+ if(get_odd_even(er) == 0x80 && cw[15] == 0xF0)
+ cw[15] = 0;
+
int8_t part1 = checkCWpart(cw, 0);
int8_t part2 = checkCWpart(cw, 1);
//check for correct half cw format
if(part1 && part2){
+ cw[15] = cw15;
return 0;
}
@@ -1051,6 +1056,7 @@ int8_t chk_halfCW(ECM_REQUEST *er, uchar *cw)
return 1;
}
+ cw[15] = cw15;
return 0; //not correct swapped cw
}else
Display More
Hi,
WARNING: reader dave send wrong swapped NDS cw, set rc=E_NOTFOUND!
I have a few remote readers, and i'm getting this issue which seems something to do with odd and even cw (that i do not fully understand).
it's only been happening recently, and doesn't happen with all my remote readers.
using latest r11293
any help much appreciated
solved this issue -
multiple remote readers -
set 1 fixed fallback - best reader with 100% ecms (and enable 2 fallbacks at a time) - let it choose the 2nd one.
enable force reopen
give best readers bigger weight (may not make a diffrence in lb mode 2)
put the ones that couldn't decode the caid very well in another group (by running lbmode 10 to check stats for a while)
lb_mode =2 (cycle through readers, but if goes above 2500ms for ecm then fallsback to a good reader)
works like a dream
deleted this, going to make a new thread
thanks. i am using that at the moment.
nothing atm.
i was thinking of putting a server on ubuntu?
i use tvheadend and oscam on ubuntu for my home media server , connected to libreelec clients at the moment.
Hi - Very dumb question...
who coded it, and where is the repo, and how to get it?
or do i need to use the automated installer scripts?
Thanks
solved this - using latest tvheadend and by using camd.socket
Here are my configs - oscam r10868
[global]
logfile = stdout
block_same_ip = 0
block_same_name = 0
[cache]
[dvbapi]
enabled = 1
au = 1
request_mode = 1
ecminfo_type = 4
user = username
read_sdt = 1
write_sdt_prov = 1
boxtype = pc
[webif]
httpport = 8888
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255,10.0.0.0-10.255.255.255,255.255.255.255
Display More
[reader]
label=reader1
enable=1
protocol=cccam
device=xxx.xx.xx.org,11111
user=xxxxxx
password=xxxxxxx
cccversion=2.1.2
group=1
inactivitytimeout=1
reconnecttimeout=30
lb_weight=100
cccmaxhops=10
ccckeepalive=1
[reader]
label=reader2
enable=1
protocol=cccam
device=xxxx.xxx.org,11112
user=xxxxxx
password=xxxxx
cccversion=2.1.2
group=1
inactivitytimeout=1
reconnecttimeout=30
lb_weight=100
cccmaxhops=10
ccckeepalive=1
Display More
in tvheadend -
in CAs, add CAPMT (linux DVBAPI)
Mode = OSCam pc-nodmx [rev >= 9756] -- note, i did not have this option when using the tvheadend which came with kodibuntu (i also am sure i updated it).
Camd.socket = /tmp/camd.socket
Listen/connect port = 0
- I read lots of people saying they should use newcamd and make an nline, but this works fine for me. I do not need to enter any CAID or anything, it just works for all providers i have access to across 3 satellites.
Openelec working on the PI2 connected to tvheadend.
Streaming access from web interface of tvheadend.
Kodi on Android to tvheadend working.
note: to get recording to work properly onto a mapped freenas (cifs) shared folder there were some mounting/permission issues that i was unable to fix without moving tvheadend from hts to the main local user and mounting the drive as that user..
Happy Bunny.
one thing i am not sure about -
is it possible to lock one tuner to 1 reader - maybe using groups?
As - atm, i have 2 lines (actually identical but different servers). When i try to descramble 1 channel it uses both readers - that's good.
But - if 3/4 people access a channel at the same time (maybe on the same transponder - as i only have dual tuner - atm), how do i prevent it trying to decrypt 3/4 channels with 2 readers, as my "friend" may "not be happy"?
- - - Updated - - -
Sorry - yes..
How can i prevent a reader being used twice? i.e. if one is in use how can i make it use the other one? instead of using the same one twice ?
Hi All,
Question and Help /Suggestions Needed.
i've been using dvblink (dvblogi) on windows with cline(s) (multiple). Covering multiple satellites - main 3 euro sats. for many years. (and progdvb)
I have some linux experience.
I've consolidated my hardware into a white box esxi server - pfsense, windows (for gaming), kodiubuntu, freenas and some other stuff.
I've installed drivers for my tbs dual tuner, ati gpu and all working "inside kodibuntu" so I can watch my media from the nas.
I've installed tvheadend (from scratch - removed the kodibuntu pre-installed) onto Kodibuntu (basically just ubuntu which boots into Kodi - sort of a thick version of openelec except I can run other stuff on the ubuntu server).
note - i also use openelec in the house running from a raspberry pi.
I've configured tvheadend with the dual tuner, diseqc for 28.2, 19.2, 13e and all is working fine for FTA channels, including recording onto a mapped shared drive on freenas.
For the clines, i've configured them as readers in oscam. and using newcamd which seems the way to do it for tvheadend to access (even though clines are for cccam).
my oscam.conf
[global]
logfile = /var/log/oscam/oscam.log
pidfile = /var/run/oscam.pid
disableuserfile = 0
clienttimeout = 9000
nice = -1
maxlogsize = 10240
block_same_ip = 0
block_same_name = 0
usrfile = /var/log/oscam/oscamuser.log
cwlogdir = /var/log/oscam/cw
emmlogdir = /var/log/oscam/emm/
lb_save = 100
suppresscmd08 = 1
[cache]
delay = 25
[newcamd]
port = 15050@0963:000000
serverip = 127.0.0.1
key = 0102030405060708091011121314
keepalive = 1
mgclient = 1
[webif]
httpport = 8888
httprefresh = 15
httppollrefresh = 15
httpallowed = 127.0.0.1,192.168.0.0-192.168.254.254
Display More
This works for just the CAID 0963 - except getting some freezing (slow ecms). That's not the issue though atm.
As i have multiple lines and trying to access multiple satellites, how can I decode them all.
If i try to access anything other than a channel on 0963, the oscam log does not respond, as if because the CAID was not specified it doesn't attempt it. I have gathered that enabling mgclient should allow this to work.
anyway - I attempted to add the other CAID's in sequence to no avail using a few different methods based on this :
http://www.streamboard.tv/oscam/ticket/3225
basically like sort of format:
3333@0604:000000;0606:000000,000200;602:000000,000000
3333@0602:000000,000000,0603:000000,000000,0604:000000
but nothing.
Does anyone know of the best way on linux to use standard cline covering multiple providers, whether by using a different method or fixing the method i'm using.
I don't mind using something other than tvheadend, e.g. mythbuntu
but i want to be able to access the video using openelec on the same network and possibly remotely.
Basics
I have tvheadend configured with dual tuner.
I can watch all FTA
I have cline(s) for multiple providers.
I've configured oscam and it works for the CAID i specify in oscom.conf under newcamd...
i've enabled mgclient which i believe should allow me to access all their supported CAID automatically without inputting them all.
but - only the CAID i provide will decrypt.
If i try to access any other CAID than the one specified then nothing shows in the oscam log.. it's not attempted to decrypt.
I've tried to specify muliitple caids in multiple different formats to no avail.
more information of everything i have done can be seen in this thread >
https://tvheadend.org/boards/13/topics/16929
i'm an end user, not sharing or anything. All i want to be able to do is swap from dvblink (windows) to tvheadend.
I have linux experience - i just don't know what the issue is here.
Any help would be greatly appreciated.