Project

General

Profile

setup working...need some help

Added by dorin ilut over 8 years ago

I have a setup on a Synology NAS with OScam and OSEmu and I could really use some help. The setup is working...sort of. The issue is that whenever I change from a working coded channel to another, I have to restart OScam and then the program starts working. Bellow are my config files.

In TVHeadEnd I have the following:

Cleint name: osemu
Mode: OSCam new pc-nodmx(rev >=10389)
Camd.socket filename / IP address (TCP mode): /tmp/camd.socket
Listen / connect port: 0

OSCAM CONFIGS
oscam.conf
[global]
logfile = /var/packages/oscam/target/var/log/oscam.log
logduplicatelines = 1
pidfile = /var/packages/oscam/target/var/run/oscam.pid
clientmaxidle = 0
nice = -10
maxlogsize = 100
waitforcards = 0
dropdups = 1
lb_mode = 2
lb_save = 300
lb_retrylimit = 900
lb_stat_cleanup = 48
lb_savepath = /var/packages/oscam/target/var/log/stat
ecmfmt = [CAID:c] [PID:p] [SID:s] [L:l]
failbantime = 120
failbancount = 5

[cache]

[dvbapi]
enabled = 1
pmt_mode = 0
ecminfo_type = 4
user = admin
boxtype = pc-nodmx

[webif]
httpport = 9000
httpscript = /var/packages/oscam/target/etc/script
httptpl = /var/packages/oscam/target/etc/template
httprefresh = 5
httpshowmeminfo = 1
httpshowloadinfo = 1
httpallowed = 0.0.0.0-255.255.255.255
aulow = 120
hideclient_to = 120

oscam.server
[reader]
label = OSEmu
description = osemu
protocol = cs357x
device = 127.0.0.1,12345
user = admin
password = xxxxxxx
caid = 0E00,0500,1801,1880,2600
ident = 0E00:000000;0500:023800;1801:000000,002011,002111,011FFF,101FFF,161FFF;1880:000000,002011,002111,011FFF,101FFF,161FFF
group = 1
emmcache = 2,1,2,1

oscam.user
[account]
user = admin
pwd = xxxxxxx
au = 1
monlevel = 4
group = 1

Many thanks on any pointers.


Replies (1)

RE: setup working...need some help - Added by dorin ilut over 8 years ago

For any that look to use OSCAM + OSemu here is my working setup. Works without issues and I can have a maximum of 4 opened streams (I only have 4 tuners) on different encrypted channels. Password has been masked for obvious reasons. This is build on a Synology NAS using the packages laying around.

in Tvheadend:

Client name: osemu
Mode: OSCam net protocol (rev >= 10389)
Camd.socket filename / IP address (TCP mode): 127.0.0.1
Listen / connect port: 9111

In OSCAM:

oscam.conf

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

[global]
logfile = /var/packages/oscam/target/var/log/oscam.log
initial_debuglevel = 4096
logduplicatelines = 1
pidfile = /var/packages/oscam/target/var/run/oscam.pid
clientmaxidle = 0
nice = -10
maxlogsize = 900
waitforcards = 0
dropdups = 1
lb_mode = 2
lb_save = 300
lb_retrylimit = 900
lb_stat_cleanup = 48
lb_savepath = /var/packages/oscam/target/var/log/stat
ecmfmt = [CAID:c] [PID:p] [SID:s] [L:l]
failbantime = 120
failbancount = 5

[cache]

[dvbapi]
enabled = 1
au = 1
pmt_mode = 0
listen_port = 9111
user = admin
boxtype = pc

[webif]
httpport = 9000
httpscript = /var/packages/oscam/target/etc/script
httptpl = /var/packages/oscam/target/etc/template
httprefresh = 5
httpshowmeminfo = 1
httpshowloadinfo = 1
httpallowed = 0.0.0.0-255.255.255.255
aulow = 120
hideclient_to = 120

oscam.user

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

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

[account]
user = admin
pwd = xxxxxx
au = 1
monlevel = 4
group = 1

oscam.server

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

[reader]
label = OSEmu
description = osemu
protocol = cs357x
device = 127.0.0.1,12345
user = admin
password = xxxxxx
caid = 0E00,0500,1801,1880,2600 [add here as needed]
ident = 0E00:000000;0500:023800;1801:000000,002011,002111,011FFF,101FFF,161FFF;1880:000000,002011,002111,011FFF,101FFF,161FFF [add here as needed]
group = 1
emmcache = 2,1,2,1

    (1-1/1)