You also need to enter your provider id into your ident line: ident = 096c:000000
I have spent the past 8 hours (sleepless night) trying to get oscam installed and working on my dm500c. Previously i was using cccam but have since upgraded my package to include movies which as we all know no longer works with cccam. I have an orange card.
I think i have installed oscam correct. I downloaded oscam-svn4981-light-Distribution.tar.gz and unzipped and renamed oscam-svn4981-powerpc-tuxbox to oscam and copied this to /var/bin.
I then chmod this file to 755.
I then created a empty file in /var/etc/plimgr/cardservers and called is oscam. I can see this as an option in my menu when selecting cardservers.
I then created a script in /var/etc/plimgr/scripts/ and called it oscam
I put the following in it:
--------------------------------------
#!/bin/sh
case "$1" in
start)
echo "Starting oscam"
/var/bin/oscam -b -c /var/tuxbox/config
;;
stop)
echo "Stopping oscam"
killall oscam 2>/dev/null
;;
*)
$0 stop
exit 1
;;
esac
exit 0
-----------------------------------------
I also chmod this to 755.
I placed the following config files in /var/tuxbox/config
oscam.conf, oscam.server, and oscam.user.
below are what is posted in each:
oscam.conf
-------------------------------------
# oscam.conf generated automatically by Streamboard OSCAM 0.99.4svn build #3050
# Read more: oscam.conf.txt in trunk/Distribution/doc/txt ? OSCam
[global]
pidfile = /var/run/oscam.pid
usrfile = /var/log/oscamuser.log
logfile = /var/log/oscam.log
cwlogdir = /var/log/cw
disablelog = 0
disableuserfile = 0
usrfileflag = 0
clienttimeout = 5000
fallbacktimeout = 2500
clientmaxidle = 120
bindwait = 120
netprio = 0
clientdyndns = 0
resolvedelay = 30
unlockparental = 0
nice = -1
serialreadertimeout = 1500
maxlogsize = 100
waitforcards = 1
preferlocalcards = 0
saveinithistory = 1
readerrestartseconds = 5
readerautoloadbalance = 0
readerautoloadbalance_save = 0
resolvegethostbyname = 0
[cccam]
port = 12000
version = 2.2.1
build = 1234
reshare = 2
[dvbapi]
enabled = 1
au = 1
boxtype = dreambox
user = mylocalbox
pmt_mode = 0
priority = 096C
[webif]
httpport = 16002
httpuser =
httppwd =
httprefresh = 0
httpallowed = 127.0.0.1,192.168.1.1-192.168.1.200
httphideidleclients = 0
httpreadonly = 0
-------------------------------------------------
oscam.server
--------------------------------------------------
[reader]
Label = reader1
Protocol = internal
Detect = CD
Device = /dev/sci0
EMMCache = 1,3,2
group = 1
caid=096c
ident =096c:000000
boxid=xxxxxxxx (actual boxid is here not xxxxxxx)
----------------------------------------------------
oscam.user
---------------------------------------------------
[account]
user = user
pwd = password
monlevel = 0
uniq = 0
group = 1
au = reader1
services = services1
ident = 096c:000000
caid = 096c
--------------------------------------------------
I cant get the webif to work i think this is because my oscam is not even running. When i try to run using telnet i get the following:
-sh: /var/etc/plimgr/scripts/oscam: not found
I reboot my dreambox thinking the script will start it but still nothing works.
I have tried with and without cccam selected in the softcam menu. Pictures still work with cccam on but nothing when it is off. I figured this is becuase i have not changed anything in cccam.cfg so when on everything works but when off as oscam is not working nothing works.
any help would be appreciated. Sorry for the long post but i figured the more info i give the easier it is to provide help.
thanks.
Look Here -> |
You also need to enter your provider id into your ident line: ident = 096c:000000
North Melbourne Football Club Membership 2012 - http://membership.kangaroos.com.au/
IGNITE!! 2012!! GO NORTH!
Support Hey Hey it's Saturday for 2011/2012! http://www.facebook.com/heyheyitssaturday
Don't forget to say Thanks for useful posts!!!
I have mannually tried to execute oscam via telnet by typing the following:
/var/bin/oscam
and also
/var/bin/oscam start
but i get bus error
any ideas?
chmod 755 /var/etc/plimgr/scripts/oscam
What ip do you type into your browser to access the webif?
According to your configs, try 127.0.0.1
North Melbourne Football Club Membership 2012 - http://membership.kangaroos.com.au/
IGNITE!! 2012!! GO NORTH!
Support Hey Hey it's Saturday for 2011/2012! http://www.facebook.com/heyheyitssaturday
Don't forget to say Thanks for useful posts!!!
Last edited by SatGuRu; 19-04-11 at 01:07 PM.
North Melbourne Football Club Membership 2012 - http://membership.kangaroos.com.au/
IGNITE!! 2012!! GO NORTH!
Support Hey Hey it's Saturday for 2011/2012! http://www.facebook.com/heyheyitssaturday
Don't forget to say Thanks for useful posts!!!
a
Last edited by SatGuRu; 19-04-11 at 01:07 PM. Reason: Double post
North Melbourne Football Club Membership 2012 - http://membership.kangaroos.com.au/
IGNITE!! 2012!! GO NORTH!
Support Hey Hey it's Saturday for 2011/2012! http://www.facebook.com/heyheyitssaturday
Don't forget to say Thanks for useful posts!!!
oscam.server
--------------------------------------------------
[reader]
Label = reader1
Protocol = internal
Detect = CD
Device = /dev/sci0
EMMCache = 1,3,2
group = 1
caid=096c
ident =096c:000000
boxid=xxxxxxxx (actual boxid is here not xxxxxxx)
should be
oscam.server
--------------------------------------------------
[reader]
Label = reader1
Protocol = internal
Detect = CD
Device = /dev/sci0
EMMCache = 1,3,2
group = 1
caid=096c
ident =096c:xxxxxxxx (ident = caid:boxid boxid in hex)
boxid=xxxxxxxx (actual boxid is here not xxxxxxx)
OK that should work. Yes I remember how I got it to run now, as per jgm's post.
Except mine crashed very regularly.
North Melbourne Football Club Membership 2012 - http://membership.kangaroos.com.au/
IGNITE!! 2012!! GO NORTH!
Support Hey Hey it's Saturday for 2011/2012! http://www.facebook.com/heyheyitssaturday
Don't forget to say Thanks for useful posts!!!
Sounds like you have a bad binary.
Any suggestions as to which binary i should be running?
also when i goto softcam menu and click on cardinfo i get no cards inserted.
I'm now running oscam in my vu+duo serving to the rest of the house. The version I'm using is 4153. The last working version I had in the DM was oscam-1.00-unstable_svn4072-ppc-tuxbox-linux-trunk-webif. Check to see what others are using.
ok i just replaced it with another version i had and it now appears to be running but still no pictures. This is the output when i run
--------------------------------------------------------------------------
>> OSCam << cardserver started at Tue Apr 19 12:44:55 2011
--------------------------------------------------------------------------
2011/04/19 12:44:55 177 s version=0.99.4svn, build #1277S, system=powerpc-dreambox-linux, nice=-1
2011/04/19 12:44:55 177 s max. clients=29, client max. idle=120 sec
2011/04/19 12:44:55 177 s max. logsize=100 Kb
2011/04/19 12:44:55 177 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=0 ms
2011/04/19 12:44:55 177 s shared memory initialized (size=477468, fd=3)
2011/04/19 12:44:55 177 s auth size=4744
2011/04/19 12:44:55 177 s Cannot open file "/var/tuxbox/config/oscam.services" (errno=2)
2011/04/19 12:44:55 177 s userdb reloaded: 0 accounts freed, 1 accounts loaded, 0 expired, 0 disabled
2011/04/19 12:44:55 177 s signal handling initialized (type=sysv)
2011/04/19 12:44:55 177 s can't open file "/var/tuxbox/config/oscam.srvid" (err=2), no service-id's loaded
2011/04/19 12:44:55 178 s monitor: disabled
2011/04/19 12:44:55 178 s camd 3.3x: disabled
2011/04/19 12:44:55 178 s camd 3.5x: disabled
2011/04/19 12:44:55 178 s cs378x: disabled
2011/04/19 12:44:55 178 s newcamd: disabled
2011/04/19 12:44:55 178 s radegast: disabled
2011/04/19 12:44:55 178 s resolver thread started
2011/04/19 12:44:55 178 s logger started (pid=180)
2011/04/19 12:44:55 178 s resolver started (pid=181, delay=30 sec)
2011/04/19 12:44:55 178 s reader started (pid=182, device=/dev/sci0)
2011/04/19 12:44:55 178 s Waiting for local card init ....
2011/04/19 12:44:55 182 r02 [tuxbox] Cannot open device: /dev/sci0
2011/04/19 12:44:58 178 s Init for all local cards done !
2011/04/19 12:44:58 178 s anti cascading disabled
2011/04/19 12:45:55 182 r02 [tuxbox] Cannot open device: /dev/sci0
Do you have any other cams running? It looks like something else has got the port (/dev/sci0)
Bookmarks