Moderator Control Panel ]

MOI & CAM & oscam

Anything from the case design to the chip inside, from expectation to suggestion, the most important thing is, you are IN.

MOI & CAM & oscam

Postby eesdil » Tue May 07, 2013 3:21 pm

Hi,

I would like to set up my MOI to watch encrypted channels (skylink) on it. But so far unsuccessfully. As I understood the only way (conviniently switching channels) is to have oscam and tvheadend configured.
And here is where I got stuck. I downloaded the oscam here from the forum and tried to configured it, but not really working.
I dont know how to set the CAM in the oscam server file... Actually I dont know how it is working at all, but hopefully the rest configuration is ok.

Does anyone know how to do this?

thanks a lot
cs
eesdil
 
Posts: 29
Joined: Sat Apr 27, 2013 4:19 pm

Re: MOI & CAM & oscam

Postby eesdil » Tue May 07, 2013 3:59 pm

hmm, looks like i was able to make oscam started on moi, but now I cannot make tvheadend to connect to it. However From the web browser I can access oscam and looks working.
tvheadend is configured to the address like:
192.168.1.188:8888
but it is saying connection attempt is failed...
any idea?

thanks a lot
eesdil
 
Posts: 29
Joined: Sat Apr 27, 2013 4:19 pm

Re: MOI & CAM & oscam

Postby eesdil » Wed May 08, 2013 4:14 am

Still not able to connect, however something I dont understand. I cannot ping or access (ping nor traceroute) from MOI the localhost (127.0.0.1) neither the network address(192.168.1.188). Is it a kind of MOI feature? Maybe thats why TVHeadend cannot connect either... Anyway, please if somebody has any idea what can be wrong he/she is more than welcome.

thanks
eesdil
 
Posts: 29
Joined: Sat Apr 27, 2013 4:19 pm

Re: MOI & CAM & oscam

Postby gfi » Wed May 08, 2013 5:51 am

eesdil Wrote:Still not able to connect, however something I dont understand. I cannot ping or access (ping nor traceroute) from MOI the localhost (127.0.0.1) neither the network address(192.168.1.188). Is it a kind of MOI feature? Maybe thats why TVHeadend cannot connect either... Anyway, please if somebody has any idea what can be wrong he/she is more than welcome.

thanks


Look at ifconfig, will see why. Missing Loopback setting for 'localhost'. You can try setup of eth0 with other params. I haven't time yet, but I'll looking at that.
Try setup connection between TVheadend and oscam with 192.168.1.188 or 0.0.0.0.
gfi
 
Posts: 114
Joined: Tue Mar 05, 2013 10:55 pm

Re: MOI & CAM & oscam

Postby gfi » Wed May 08, 2013 5:52 am

eesdil Wrote:hmm, looks like i was able to make oscam started on moi, but now I cannot make tvheadend to connect to it. However From the web browser I can access oscam and looks working.
tvheadend is configured to the address like:
192.168.1.188:8888
but it is saying connection attempt is failed...
any idea?

thanks a lot

Tvheadends port is 9981, not 8888
gfi
 
Posts: 114
Joined: Tue Mar 05, 2013 10:55 pm

Re: MOI & CAM & oscam

Postby eesdil » Wed May 08, 2013 6:17 am

hi,
tvheadend I can access on the web. But in tvheadend I cannot access the oscam.
network set up should be fine. Now put to dhcp (fixed the address in the router). Host file looks fine I think also.
Was trying to reach oscam on localhost , 192.168.1.188, even on 0.0.0.0 (however this is not really valid ip address), but the same message:
May 07 18:11:10 cwc: Attemping to connect to 127.0.0.1:8888
May 07 18:11:20 cwc: Connection attempt to 127.0.0.1:8888 failed: Connection attempt timed out
May 07 18:11:20 cwc: 127.0.0.1:8888: Automatic connection attempt in in 3 seconds

May 07 14:41:18 cwc: Attemping to connect to 192.168.1.188:8888
May 07 14:41:28 cwc: Connection attempt to 192.168.1.188:8888 failed: Connection attempt timed out
May 07 14:41:28 cwc: 192.168.1.188:8888: Automatic connection attempt in in 3 seconds


the oscam is set up to 8888, if I connect from my pc I can access it.
Strange that I cannot ping myself on moi, I would expect that I could... ok, I wouldnt care if i cannot, but probably it is in connection with issue with oscam connection.

ifconig:
eth0 Link encap:Ethernet HWaddr 00:22:AB:90:01:45
inet addr:192.168.1.188 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5109 errors:0 dropped:0 overruns:0 frame:0
TX packets:6909 errors:3 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1221524 (1.1 MiB) TX bytes:1095288 (1.0 MiB)
Interrupt:41

hosts
127.0.0.1 localhost
127.0.1.1 buildroot


thanks
eesdil
 
Posts: 29
Joined: Sat Apr 27, 2013 4:19 pm

Re: MOI & CAM & oscam

Postby eesdil » Wed May 08, 2013 3:17 pm

giving a bit more information;

oscam output:

2013/05/08 03:09:36 0 s >> OSCam << cardserver started, version 1.20-unstable_svn, build r0 (arm-buildroot-linux-uclibcgnueabi)
2013/05/08 03:09:36 0 s creating pidfile /tmp/.oscam/oscam.pid with pid 798
2013/05/08 03:09:36 0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2013/05/08 03:09:36 0 s signal handling initialized
2013/05/08 03:09:36 0 s newcamd: initialized (fd=4, port=8888)
2013/05/08 03:09:36 0 s -> CAID: 0624 PROVID: 000000
2013/05/08 03:09:36 0 s irdeto_card [internal] creating thread for device /dev/dvb/adapter0/ca0
2013/05/08 03:09:36 0 s loadbalancer: can't read from file /tmp/.oscam/stat
2013/05/08 03:09:36 0 s waiting for local card init
2013/05/08 03:09:36 E50C0 h webif: decompressed 52412 bytes back into 150704 bytes
2013/05/08 03:09:36 E3340 r irdeto_card [internal] Reader initialized (device=/dev/dvb/adapter0/ca0, detect=cd, mhz=600, cardmhz=600)
2013/05/08 03:09:36 E50C0 h HTTP Server listening on port 8000
2013/05/08 03:09:38 0 s init for all local cards done
2013/05/08 03:09:38 0 s anti cascading disabled
2013/05/08 03:09:38 114DD0 c plain dvbapi-client granted (moi, au=on (1 reader))
2013/05/08 03:09:38 114DD0 c Detected /dev/dvb/adapter0/demux0 Api: 0


netstat:
# netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:www 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8888 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:9981 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:9982 0.0.0.0:* LISTEN
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 812 /tmp/camd.socket


and the setting in tvheadend attached.
tvheadend.png
eesdil
 
Posts: 29
Joined: Sat Apr 27, 2013 4:19 pm

Re: MOI & CAM & oscam

Postby gfi » Thu May 09, 2013 5:09 pm

From Your log:
2013/05/08 03:09:38 114DD0 c plain dvbapi-client granted (moi, au=on (1 reader))
2013/05/08 03:09:38 114DD0 c Detected /dev/dvb/adapter0/demux0 Api: 0


Please, delete unwanted oscam configs values (or simple xxxxxx...) and send oscam.user, oscam.server and oscam.conf here.
That looks, You have enabled dvbapi as client - need to be disabled, when using TVheadend as client....
gfi
 
Posts: 114
Joined: Tue Mar 05, 2013 10:55 pm

Re: MOI & CAM & oscam

Postby eesdil » Fri May 10, 2013 1:19 am

Hi gfi,

here are my config files. Tried to remove dvbapi, but still the same. Not sure I have to do anything more than just remove the section...

conf:
Code: Select All Code
[global]
logfile = stdout
disablelog = 0
disableuserfile = 0
loghistorysize = 4028
nice = -1
waitforcards = 1
preferlocalcards = 1
unlockparental = 1
lb_mode = 1

[newcamd]
port = 8888@0624:000000
key = 0102030405060708091011121314
keepalive = 1

[webif]
httpport = 8000
httpuser = root
httppwd = tbs
httprefresh = 10
httpallowed = 127.0.0.1,192.168.1.0-192.168.1.255


server:
Code: Select All Code
[reader]
label = irdeto_card
enable = 1
protocol = internal
device = /dev/dvb/adapter0/ca0
detect = CD
mhz = 600
cardmhz = 600
caid = 0624
ident = 0624:000000
services =
group = 1
emmcache = 1,1,2
force_irdeto = 1
lb_weight = 100
audisabled = 0
blocknano =
blockemm-u = 0
blockemm-s = 0
blockemm-g = 0
blockemm-unknown = 0


user file
Code: Select All Code
[account]
user = moi
pwd = moi
group = 1
au = irdeto_card
caid = 0624
ident = 0624:000000
services =
uniq = 1


thanks a lot for the help.
eesdil
 
Posts: 29
Joined: Sat Apr 27, 2013 4:19 pm

Re: MOI & CAM & oscam

Postby eesdil » Sat May 11, 2013 5:15 am

Is there anybody who knows how to setup moi to watch encrypted channels? In the advertisement it is quite easy... You are just plugging your paid card in and it works... Looks like it is not that easy as after 2 weeks it is still not working. Including speaking with TBS support.
Is it really not possible to configure it or just me who is not able to make it working?

Anyway I would really appreciate if somebody had any good idea how to set it up.

Thanks
eesdil
 
Posts: 29
Joined: Sat Apr 27, 2013 4:19 pm

Next

Return to General discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron