Page 1 of 6 123456 LastLast
Results 1 to 20 of 110

Thread: new to oscam please help

  1. #1
    Member nihonjin's Avatar
    Join Date
    Jan 2008
    Posts
    388
    Thanks
    10
    Thanked 14 Times in 11 Posts
    Rep Power
    213
    Reputation
    102

    Default new to oscam please help

    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 ->
  • #2
    Senior Member SatGuRu's Avatar
    Join Date
    Jan 2008
    Location
    Australia
    Posts
    941
    Thanks
    63
    Thanked 69 Times in 46 Posts
    Rep Power
    237
    Reputation
    366

    Default

    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!!!

  • #3
    Member nihonjin's Avatar
    Join Date
    Jan 2008
    Posts
    388
    Thanks
    10
    Thanked 14 Times in 11 Posts
    Rep Power
    213
    Reputation
    102

    Default

    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?

  • #4
    Senior Member
    Join Date
    Feb 2008
    Posts
    693
    Thanks
    4
    Thanked 217 Times in 139 Posts
    Rep Power
    263
    Reputation
    2138

    Default

    chmod 755 /var/etc/plimgr/scripts/oscam

  • #5
    Member nihonjin's Avatar
    Join Date
    Jan 2008
    Posts
    388
    Thanks
    10
    Thanked 14 Times in 11 Posts
    Rep Power
    213
    Reputation
    102

    Default

    Quote Originally Posted by SatGuRu View Post
    You also need to enter your provider id into your ident line: ident = 096c:000000
    What is the provider id? I have foxtel via cable.

    thanks.

  • #6
    Senior Member SatGuRu's Avatar
    Join Date
    Jan 2008
    Location
    Australia
    Posts
    941
    Thanks
    63
    Thanked 69 Times in 46 Posts
    Rep Power
    237
    Reputation
    366

    Default

    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!!!

  • #7
    Senior Member SatGuRu's Avatar
    Join Date
    Jan 2008
    Location
    Australia
    Posts
    941
    Thanks
    63
    Thanked 69 Times in 46 Posts
    Rep Power
    237
    Reputation
    366

    Default

    Quote Originally Posted by nihonjin View Post
    What is the provider id? I have foxtel via cable.

    thanks.

    Ah... in that case I'm not sure.

    I think the cards are the same as satellite. Provider ID is on the card. You need to read it with FMCard or something.

    Tried this to start?

    /var/etc/plimgr/scripts/oscam start
    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!!!

  • #8
    Senior Member SatGuRu's Avatar
    Join Date
    Jan 2008
    Location
    Australia
    Posts
    941
    Thanks
    63
    Thanked 69 Times in 46 Posts
    Rep Power
    237
    Reputation
    366

    Default

    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!!!

  • #9
    Member
    Join Date
    Oct 2008
    Location
    Perth WA
    Age
    49
    Posts
    366
    Thanks
    41
    Thanked 66 Times in 55 Posts
    Rep Power
    209
    Reputation
    370

    Default

    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)

  • #10
    Senior Member
    Join Date
    Feb 2008
    Posts
    693
    Thanks
    4
    Thanked 217 Times in 139 Posts
    Rep Power
    263
    Reputation
    2138

    Default

    Quote Originally Posted by nihonjin View Post
    I have mannually tried to execute oscam via telnet by typing the following:

    /var/bin/oscam
    Change in oscam.conf

    logfile = /dev/tty

    Will log to the telnet window

    Start oscam with

    /var/bin/oscam -b

    & post the output

  • #11
    Member nihonjin's Avatar
    Join Date
    Jan 2008
    Posts
    388
    Thanks
    10
    Thanked 14 Times in 11 Posts
    Rep Power
    213
    Reputation
    102

    Default

    Quote Originally Posted by jgm View Post
    chmod 755 /var/etc/plimgr/scripts/oscam
    thanks already set with 755 permissions.

  • #12
    Member nihonjin's Avatar
    Join Date
    Jan 2008
    Posts
    388
    Thanks
    10
    Thanked 14 Times in 11 Posts
    Rep Power
    213
    Reputation
    102

    Default

    Quote Originally Posted by SatGuRu View Post
    What ip do you type into your browser to access the webif?

    According to your configs, try 127.0.0.1
    i cant get into webif. I think though this may be because oscam is not running. But i type 192.168.1.6:16002
    Last edited by nihonjin; 19-04-11 at 01:19 PM. Reason: spelling

  • #13
    Member nihonjin's Avatar
    Join Date
    Jan 2008
    Posts
    388
    Thanks
    10
    Thanked 14 Times in 11 Posts
    Rep Power
    213
    Reputation
    102

    Default

    Quote Originally Posted by jgm View Post
    Change in oscam.conf

    logfile = /dev/tty

    Will log to the telnet window

    Start oscam with

    /var/bin/oscam -b

    & post the output
    I get Bus error

  • #14
    Senior Member SatGuRu's Avatar
    Join Date
    Jan 2008
    Location
    Australia
    Posts
    941
    Thanks
    63
    Thanked 69 Times in 46 Posts
    Rep Power
    237
    Reputation
    366

    Default

    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!!!

  • #15
    Senior Member
    Join Date
    Feb 2008
    Posts
    693
    Thanks
    4
    Thanked 217 Times in 139 Posts
    Rep Power
    263
    Reputation
    2138

    Default

    Sounds like you have a bad binary.

  • #16
    Member nihonjin's Avatar
    Join Date
    Jan 2008
    Posts
    388
    Thanks
    10
    Thanked 14 Times in 11 Posts
    Rep Power
    213
    Reputation
    102

    Default

    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.

  • #17
    Senior Member
    Join Date
    Feb 2008
    Posts
    693
    Thanks
    4
    Thanked 217 Times in 139 Posts
    Rep Power
    263
    Reputation
    2138

    Default

    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.

  • #18
    Member nihonjin's Avatar
    Join Date
    Jan 2008
    Posts
    388
    Thanks
    10
    Thanked 14 Times in 11 Posts
    Rep Power
    213
    Reputation
    102

    Default

    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

  • #19
    Senior Member
    Join Date
    Feb 2008
    Posts
    693
    Thanks
    4
    Thanked 217 Times in 139 Posts
    Rep Power
    263
    Reputation
    2138

    Default

    Do you have any other cams running? It looks like something else has got the port (/dev/sci0)

  • #20
    Member nihonjin's Avatar
    Join Date
    Jan 2008
    Posts
    388
    Thanks
    10
    Thanked 14 Times in 11 Posts
    Rep Power
    213
    Reputation
    102

    Default

    Quote Originally Posted by jgm View Post
    Do you have any other cams running? It looks like something else has got the port (/dev/sci0)
    no none that i am aware of. I am only using the internal reader of the dm500 and no other softcam is running ie cccam is not selected in the softcam menu.

  • Page 1 of 6 123456 LastLast

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •