Project

General

Profile

Oscam and Descrambling not work, please help...

Added by Adnan Imamovic over 10 years ago

Hello, I'm newbie in this, and my english is not so good...

I installed a tvheadend and oscam from manual on this forum from this page https://tvheadend.org/boards/13/topics/6211, step by step, and on tvheadend in CWC I have a green connection to oscam (127.0.0.1, port 15050, update card on, update one on), and on campt also green dvbapi connection to /tmp/camd.socket, and oscam mode on....

But when run scrambled channel that in tvheadend log says "capmt: Cannot connect to /tmp/camd.socket, Do you have OSCam running?"

In folder /tmp/ I have a file camd.socket but can't open or edit, that say's is corupted...

In oscam menu, I have a proxie setup with status connected (80/80 card's), and checked that work with this channel...

Here is some configuration

oscam.conf

# oscam.conf generated automatically by Streamboard OSCAM 1.20-unstable_svn SVN r9716
# Read more: http://www.streamboard.tv/svn/oscam/trunk/Distribution/doc/txt/oscam.conf.txt

[global]
logfile                       = /var/log/oscam/oscam.log
nice                          = 99
usrfile                       = /var/log/oscam/oscamuser.log
cwlogdir                      = /var/log/oscam/cw

[anticasc]
enabled                       = 1
numusers                      = 1
samples                       = 5
penalty                       = 1
aclogfile                     = /var/log/oscam/aclog.log
denysamples                   = 4

[cache]

[newcamd]
port                          = 15050@0000:000000
serverip                      = 127.0.0.1
key                           = 000102030405060708090A0B0C0D
keepalive                     = 1

[radegast]
port                          = 20000
allowed                       = 192.168.0.0-192.168.255.255
user                          = user1

[gbox]
port                          = 50000
hostname                      = host.example.com

[dvbapi]
enabled                       = 1
au                            = 1
pmt_mode                      = 0
listen_port                   = 9000
user                          = tvh
boxtype                       = pc

[monitor]
port                          = 988
aulow                         = 120
monlevel                      = 1

[webif]
httpport                      = 8888
httpuser                      = root
httppwd                       = root
httpallowed                   = 127.0.0.1,192.168.0.0-192.168.255.255,255.255.255.255
aulow                         = 120

oscam.user

# oscam.user generated automatically by Streamboard OSCAM 1.20-unstable_svn SVN r9716
# Read more: http://www.streamboard.tv/svn/oscam/trunk/Distribution/doc/txt/oscam.user.txt

[account]
user                          = tvh
pwd                           = tvh
keepalive                     = 1
au                            = 1
group                         = 1

oscam.server

# oscam.server generated automatically by Streamboard OSCAM 1.20-unstable_svn SVN r9716
# Read more: http://www.streamboard.tv/svn/oscam/trunk/Distribution/doc/txt/oscam.server.txt

[reader]
label                         = cccam_remote
description                   = cccam_remote
protocol                      = cccam
device                        = xxxxxxxxx,37000
user                          = xxx
password                      = xxx
inactivitytimeout             = 30
group                         = 1
cccversion                    = 2.0.11
cccmaxhops                    = 3
ccckeepalive                  = 1

Where I wrong???

Thank's much


Replies (12)

RE: Oscam and Descrambling not work, please help... - Added by Raymond Paulsen over 10 years ago

your socket in temp does not have read permissions from the tvheadend user.

make shure both the oscam user and tvheadend user has acces to the file.

RE: Oscam and Descrambling not work, please help... - Added by Adnan Imamovic over 10 years ago

Thank's, sorry for late answer, becaouse our city is be in underwater for few day's...

When I install a fresh oscam that file exist in tmp folder, but when I change configuration in oscam.conf (delete necesary lines as monitor, radegast, gbox) that file will remove from tmp folder. In my case, I will keep all lines in conf file, and change lines for my conf, and it will be good.

Thank's very much

Adnan

RE: Oscam and Descrambling not work, please help... - Added by Adnan Imamovic over 10 years ago

Ok, I will try, but what is pmt_mode?

Thank's

RE: Oscam and Descrambling not work, please help... - Added by Raymond Paulsen over 10 years ago

use oscam documentation: hit the blu link inside oscam for a description on those parameters

you also need to remove this:

listen_port = 9000

if you are not using sat>ip this should be blank. i think this might be the problem
when you enter a port number here you actualy disable the socket and oscam expect to use a ip port for listening.

RE: Oscam and Descrambling not work, please help... - Added by Raymond Paulsen over 10 years ago

ok i did a little testing here, sorry for the missleading info regarding pmt_mode.

this would be the correct setting for you:

[dvbapi]
enabled = 1
au = 1
pmt_mode = 0
user = tvh
boxtype = pc

Pmt should be 0 and listening port removed

RE: Oscam and Descrambling not work, please help... - Added by Adnan Imamovic over 10 years ago

Yes, without port that work perfect...

Thank's

RE: Oscam and Descrambling not work, please help... - Added by Anton Kaser over 10 years ago

for me it still does not work.

I try to get ORF and Sky descrambled. Both with Cards from in my Fritzbox.

capmt an newcamd dont work. Both show the right channel on Oscam in the fritzbox. There is no difference to other users in the house.
BUT in tvheadend it does not show the channel

even in tvheadend it looks good for me:

capmt:

014-06-21 09:21:23.181 capmt: Starting CAPMT server for service "Sky Atlantic" on adapter 0

2014-06-21 09:21:23.181 subscription: "192.168.2.89 [ VLC media player ]" subscribing on "Sky Atlantic", weight: 150, adapter: "ST STV0299 DVB-S : DVB-S #0", network: "ASTRA 1", mux: "11758H", provider: "SKY", service: "Sky Atlantic"

2014-06-21 09:21:29.261 mpegts: 11758H scan complete

mewcamd:

2014-06-21 09:34:12.646 subscription: 'scan' subscribing to mux, weight: 4, adapter: 'ST STV0299 DVB-S : DVB-S #0', network: 'ASTRA 1', mux: '10758V'

2014-06-21 09:34:12.646 htsp: Got connection from 192.168.2.89

2014-06-21 09:34:12.646 htsp: 192.168.2.89: Welcomed client software: VLC media player (HTSPv12)

2014-06-21 09:34:12.648 mpegts: 11719H - tuning on ST STV0299 DVB-S : DVB-S #0

2014-06-21 09:34:12.685 subscription: "scan" unsubscribing

2014-06-21 09:34:12.685 subscription: "192.168.2.89 [ VLC media player ]" subscribing on "Sky Hits", weight: 150, adapter: "ST STV0299 DVB-S : DVB-S #0", network: "ASTRA 1", mux: "11719H", provider: "SKY", service: "Sky Hits"

2014-06-21 09:34:18.088 mpegts: 11719H scan complete

I am sure the problem lies somewhere between chair and keyboard. But I tried for days now and couldn't find the solution.

All ist set up in an AMD Ubuntu Computer with a Old PCI-SD-SAT-Card.

RE: Oscam and Descrambling not work, please help... - Added by Mark Clarkstone over 10 years ago

Anton Kaser wrote:

for me it still does not work.

I try to get ORF and Sky descrambled. Both with Cards from in my Fritzbox.

capmt an newcamd dont work. Both show the right channel on Oscam in the fritzbox. There is no difference to other users in the house.
BUT in tvheadend it does not show the channel

even in tvheadend it looks good for me:

capmt:

014-06-21 09:21:23.181 capmt: Starting CAPMT server for service "Sky Atlantic" on adapter 0

2014-06-21 09:21:23.181 subscription: "192.168.2.89 [ VLC media player ]" subscribing on "Sky Atlantic", weight: 150, adapter: "ST STV0299 DVB-S : DVB-S #0", network: "ASTRA 1", mux: "11758H", provider: "SKY", service: "Sky Atlantic"

2014-06-21 09:21:29.261 mpegts: 11758H scan complete

mewcamd:

2014-06-21 09:34:12.646 subscription: 'scan' subscribing to mux, weight: 4, adapter: 'ST STV0299 DVB-S : DVB-S #0', network: 'ASTRA 1', mux: '10758V'

2014-06-21 09:34:12.646 htsp: Got connection from 192.168.2.89

2014-06-21 09:34:12.646 htsp: 192.168.2.89: Welcomed client software: VLC media player (HTSPv12)

2014-06-21 09:34:12.648 mpegts: 11719H - tuning on ST STV0299 DVB-S : DVB-S #0

2014-06-21 09:34:12.685 subscription: "scan" unsubscribing

2014-06-21 09:34:12.685 subscription: "192.168.2.89 [ VLC media player ]" subscribing on "Sky Hits", weight: 150, adapter: "ST STV0299 DVB-S : DVB-S #0", network: "ASTRA 1", mux: "11719H", provider: "SKY", service: "Sky Hits"

2014-06-21 09:34:18.088 mpegts: 11719H scan complete

I am sure the problem lies somewhere between chair and keyboard. But I tried for days now and couldn't find the solution.

All ist set up in an AMD Ubuntu Computer with a Old PCI-SD-SAT-Card.

If you're running Git master, make sure you've updated to the latest tvheadend as there were a few bugs that were fixed recently.

- The above may not apply to you so please ignore in that case..

RE: Oscam and Descrambling not work, please help... - Added by Anton Kaser over 10 years ago

I tried "stable", then compiled to 3.9.886 and now got to "unstable" in Ubuntu - same 3.9.886.
Always the same result. The emcrypted channel shows running in the "Status" but actually is black. on oscam it shows the right channel. But as mentioned - no TV...

RE: Oscam and Descrambling not work, please help... - Added by Anton Kaser over 10 years ago

Not working, as mentioned above, is a old Full Featured PCI Card.

When I try a PCTV 461e DVB-S2 Stick descrambling is working.
The Problem with tht PCTV Stick is, that it is not scanning all the Services.
Just about half of them are listed. Many SD-Channels are missing...

So why is the old PCI Card not working with scrambled channels?
And what could be the reason for the PCTV not scanning all the services?

Hope to find some answers - thanks!

    (1-12/12)