Beginners questions about OScam

There are 14 replies in this Thread which was already clicked 4,008 times. The last Post () by humaxxx.

  • Hello,


    I'am a guy from the Netherlands. I have a dreambox DM8000 with gemini (GP3). I have running cccam 2.2.1 for a while and i'am curious about OScam. I'am sharing with 2.2.1 Cccam with 25 people (25 c-lines and f-lines). The last few days a did some reading about Oscam. I have already downloaded Oscam 1.20 on the box and some config files (tunisat) for some experiment.


    Now i have some beginners questions:
    - Is it beter to run cccam and oscam together or alone oscam??? I see on several site that you can run them together through a newcamd line. It's seems a little unusual in my opinion. I see also at some sites that you can conect cccam cleints directly to Oscam. And you can act as a Cccam server for the clients and your self . What's beter???
    - Can somebody tell me what i exact must do to get either one of the above standing option working. I see that there a several configs for oscam:
    - oscam.user
    - oscam.server
    - oscam.conf
    You can find several howto's on the net.... but i don't know for which set-up they are.


    Already thanks!!!


    humaxxx

  • thanks for the information....i have read it


    I have try to make some configs. I want oscam to read my local (canaldigitaal) and cccam to do my sharing.


    Here my configs



    ****oscam.conf*****


    [global]
    nice = -1
    logfile = /dev/null
    clienttimeout = 5000
    fallbacktimeout = 2500
    clientmaxidle = 120
    cachedelay = 120
    bindwait = 120
    resolvedelay = 30
    serialreadertimeout = 1500
    maxlogsize = 10
    waitforcards = 1
    preferlocalcards = 1
    saveinithistory = 1
    keepalive = 1


    [webif]
    httpport = 8888
    httpuser =
    httppwd =
    httprefresh = 5
    httphideidleclients = 0
    httpallowed = 192.168.0.0 - 255.255.255.255
    debug = 255


    [newcamd]
    key = 0102030405060708091011121314
    port = 34000@0100:00006A



    ****oscam.server****


    [reader]
    label = Canaldigitaal
    Protocol = internal
    detect = CD
    device = /dev/sci0
    Group = 1
    EMMCache = 1,3,2
    CAID = 0100
    ident = 0100:00006A
    ecmwhitelist =



    ****oscam.user****


    [account]
    user = linuxsat
    pwd = support
    monlevel = 0
    uniq = 0
    group = 1
    caid = 0100
    ident = 0100:00006A
    au = Canaldigitaal



    ****cccam.cfg****


    SERVER LISTEN PORT : xxxx
    ALLOW TELNETINFO: yes
    ALLOW WEBINFO: yes
    WEBINFO USERNAME :root
    WEBINFO PASSWORD :dreambox
    TELNETINFO USERNAME :root
    TELNETINFO PASSWORD :dreambox
    TELNETINFO LISTEN PORT : 16000
    WEBINFO LISTEN PORT : 16001
    ZAP OSD TIME :0
    OSD USERNAME :root
    OSD PASSWORD :dreambox
    OSD PORT :80
    SHOW TIMING : yes
    DEBUG : no
    NEWCAMD CONF : no
    #DISABLE EMM : yes
    #EXTRA EMM LEVEL : yes
    SHOW EXTENEDED CLIENT INFO : yes
    MINI OSD : no
    #MINIMUM DOWNHOPS: 1
    CHANNELINFO FILE : /var/etc/CCcam.channelinfo
    PROVIDERINFO FILE : /var/etc/CCcam.providers
    CAID PRIO FILE : /var/etc/CCcam.prio
    LOG WARNINGS : /tmp/warnings.txt
    SOFTKEY FILE : /var/keys/SoftCam.Key
    AUTOROLL FILE : /var/keys/AutoRoll.Key
    #STATIC CW FILE : /var/keys/constant.cw
    #BOXKEY: /dev/sci0
    #SMARTCARD CLOCK FREQUENCY: /dev/sci0 6800000


    N: 127.0.0.1 34000 linuxsat support 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256


    F: xxx xxx 3 0 0 { 0:0:3 }
    C: xxxxxxxx 3300 xxxx xxxx no { 0:0:2 }


    F: xxx xxx 3 0 0 { 0:0:3 }
    C: xxxxx xxxxxx 12000 xxxx xxxx no { 0:0:2 }


    F: xxx xxx 3 0 0 { 0:0:3 }
    C: xxxxxxxx 15541 xxxx xxxx no { 0:0:2 }



    ****CCcam_2.2.1_oscam_1.00_cam.sh****


    CAMD_ID=6391
    CAMD_NAME="CCcam 2.2.1/OSCam 1.00"
    CAMD_BIN=oscam_1.00


    INFOFILE_A=ecm0.info
    INFOFILE_B=ecm1.info
    INFOFILE_C=ecm2.info
    INFOFILE_D=ecm3.info
    INFOFILE_E=ecm4.info
    INFOFILE_F=ecm5.info
    #Expert window
    INFOFILE_LINES=1111111111000000
    #Zapp after start
    REZAPP=0


    ########################################


    logger $0 $1
    echo $0 $1


    remove_tmp () {
    rm -rf /tmp/*.info* /tmp/*.tmp*
    }


    case "$1" in
    start)
    remove_tmp
    /usr/bin/oscam_1.00 &
    sleep 15
    /usr/bin/CCcam_2.2.1 &
    ;;
    stop)
    killall -9 oscam_1.00 CCcam_2.2.1 2>/dev/null
    sleep 2
    remove_tmp
    ;;
    *)
    $0 stop
    exit 0
    ;;
    esac


    exit 0



    In the urs/bin i have the following cams
    - CCcam_2.2.1
    - oscam_1.00
    both (chmod 755)


    Is this right or i'am missing something or can the configs be better organized


    Already thanks


    Humaxxx

  • Hello,


    i'am using gp3 (gemini)
    I have an other question....must i do something with my router for the Nline in my cccam.cfg.
    If a look at "cccam info v1.3C" i see that "127.0.0.1:34000" red is (no connection)!!!


    Already thanks!

    • Official Post

    Hello,


    i'am using gp3 (gemini)
    I have an other question....must i do something with my router for the Nline in my cccam.cfg.
    If a look at "cccam info v1.3C" i see that "127.0.0.1:34000" red is (no connection)!!!


    Already thanks!


    There is no need to open any ports other than your CCcam sharing port. Try stopping both cams manually then starting oscam first & see what happens, What do you see in oscam web info?

  • I get a little bit further....already thanks.


    I have now cccam 2.1.3 and oscam 1.00-svn4066-r1 in the usr/bin(tunisiasat 3.0 download)


    the script i use now is:


    *****CCcam_2.1.3_oscam_1.00_cam.sh*****




    CAMD_ID=6392
    CAMD_NAME="CCcam 2.1.3/OSCam 1.00"
    CAMD_BIN=oscam_1.00


    INFOFILE_A=ecm0.info
    INFOFILE_B=ecm1.info
    INFOFILE_C=ecm2.info
    INFOFILE_D=ecm3.info
    INFOFILE_E=ecm4.info
    INFOFILE_F=ecm5.info
    #Expert window
    INFOFILE_LINES=1111111111000000
    #Zapp after start
    REZAPP=0


    ########################################


    logger $0 $1
    echo $0 $1


    remove_tmp () {
    rm -rf /tmp/*.info* /tmp/*.tmp*
    }


    case "$1" in
    start)
    remove_tmp
    /usr/bin/oscam_1.00 &
    sleep 15
    /usr/bin/CCcam_2.1.3 &
    ;;
    stop)
    killall -9 oscam_1.00 CCcam_2.1.3 2>/dev/null
    sleep 2
    remove_tmp
    ;;
    *)
    $0 stop
    exit 0
    ;;
    esac


    exit 0



    If i look at "cccam V1.3c" now a see that "127.0.0.1:34000" is green. Is this OK?
    But i have also downloaded "oscam status 0.42" and if i select "show all readers" i get error 401. Is this normal?
    If i look at "cccam V1.3c" i see that cccam reads the local card. I thought that oscam reads the local card and cccam is disconected from the reader, i'am i right


    greetings

  • oke i see these cards entitlements. that will be allright, i guess????
    I have a other problem....if a run cccam 2.1.3 and oscam 1.00 i dont get NED1 HD through the external share. If i run cccam 2.2.1 and oscam 1.20 it's oke.


    You said that it will be beter to run cccam 2.1.3 or lower because of the hop10 of the local. are there more options for this???

  • You mean this???



    2011/12/14 13:53:15 2CD1F4B0 c linuxsat (0100&00006A/5230/64:2D1B): found (289 ms) by canaldigitaal (of 1 avail 1)
    2011/12/14 13:53:27 2CD1F4B0 c linuxsat (0100&00006A/07D4/64:6201): not found (272 ms) (of 1 avail 1) (ins3c card response: 93 02)
    2011/12/14 13:53:43 2CD1F4B0 c linuxsat (0100&00006A/51AE/64:A277): not found (268 ms) (of 1 avail 1) (ins3c card response: 93 02)



    Switch Debug from 0 to 0 1 2 4 8 16 32 64 255

  • or this!!


    x=7 (problems with smilies)


    2011/12/14 14:0x:44 2BD1F4B0 r IO: Sending:
    2011/12/14 14:0x:44 2BD1F4B0 00 74 4C 4F 8A 5F 9A F3 A3 38 0A A3 14 C1 E5 40
    2011/12/14 14:0x:44 2BD1F4B0 73 72 CD F9 6C DC C0 F9 A9 72 41 66 07 98 DA 3D
    2011/12/14 14:0x:44 2BD1F4B0 8C 20 FC 9B 93 5B C7 9B CD 1E DF F5 19 3D EC 9A
    2011/12/14 14:0x:44 2BD1F4B0 75 DC 05 D7 D1 5B 97 03 1E 20 C9 FD 52 77 4A 38
    2011/12/14 14:0x:44 2BD1F4B0 2A A4 14 1E 08 57 B4 0C DA CE 8A 60 89 82 74 16
    2011/12/14 14:0x:44 2BD1F4B0 82 36 B2 24 52 BE D2 DB D6 9E 02 E8
    2011/12/14 14:0x:44 2BD1F4B0 r IFD Transmit succesful
    2011/12/14 14:0x:44 2BD1F4B0 r IO: Receiving:
    2011/12/14 14:0x:44 2BD1F4B0 93
    2011/12/14 14:0x:44 2BD1F4B0 r IFD Received:
    2011/12/14 14:0x:44 2BD1F4B0 93
    2011/12/14 14:0x:44 2BD1F4B0 r IO: Receiving:
    2011/12/14 14:0x:44 2BD1F4B0 02
    2011/12/14 14:0x:44 2BD1F4B0 r IFD Received:
    2011/12/14 14:0x:44 2BD1F4B0 02
    2011/12/14 14:0x:44 2BD1F4B0 r answer from cardreader canaldigitaal:
    2011/12/14 14:0x:44 2BD1F4B0 93 02
    2011/12/14 14:0x:44 2BD1F4B0 r reader: canaldigitaal ecm: 6E98 real time: 271 ms
    2011/12/14 14:0x:44 2BD1F4B0 r write to pipe 17 (ECM) thread: 2BD1F4B0 to 2CD1F4B0
    2011/12/14 14:0x:44 2CD1F4B0 c read from pipe 16 (ECM) thread: 2CD1F4B0
    2011/12/14 14:0x:44 2CD1F4B0 c ncd_send_dcw: er->cpti=0, cl_msgid=0, 81
    2011/12/14 14:0x:44 2CD1F4B0 c send 15 bytes to client
    2011/12/14 14:0x:44 2CD1F4B0 00 0D 00 00 00 00 00 00 00 00 00 00 81 00 00
    2011/12/14 14:0x:44 2CD1F4B0 c linuxsat (0100&00006A/1798/64:6E98): not found (274 ms) (of 1 avail 1) (ins3c card response: 93 02)
    2011/12/14 14:0x:44 2CD1F4B0 c cw:
    2011/12/14 14:0x:44 2CD1F4B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00



    Switch Debug from 255 to 0 1 2 4 8 16 32 64 255

OSCam Support Forum

Configs, discussion, downloads and guides for OSCam Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!