Register

Welcome to the RDI-Board Community.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


Donate Now Goal amount for this month: 100 EUR, Received: 100 EUR (100%)
Donate to support this site...

Page 1 of 2 12 LastLast
Results 1 to 15 of 21

Thread: script

  1. #1
    In The Matrix Expert
    Join Date
    Oct 2005
    Location
    near Arad
    Posts
    1,311
    Posts Thanks / Likes

    Default script

    dati-mi va rog un script functional cccam213/oscam E1 gemini , multumesc

  2. #2
    Senior Member Expert
    RDI - Board Default Avatar

    Join Date
    Sep 2007
    Location
    Bucharest
    Posts
    1,600
    Posts Thanks / Likes

    Default

    gaesti pe dreamboxul care ti l am trimis, daca nu intra pe yahoo msg si ti dau eu..
    VU+Solo2, Samsung ue40D7000,ue37D5700,Diablo Wifi, Offset 0,9m - 9E-13E-19E-23E, Offset 1.2m -28 E , 1.2m - 36 E, Offset 0.9m - 1w

  3. #3
    Member Mentor
    Join Date
    Aug 2007
    Location
    Hatzfeld
    Posts
    753
    Posts Thanks / Likes

    Default

    le poti scoate din emulatoare, dezarhivezi si scoti scriptul

  4. #4
    Senior Member Expert
    RDI - Board Default Avatar

    Join Date
    Sep 2007
    Location
    Bucharest
    Posts
    1,600
    Posts Thanks / Likes

    Default

    nume fisier CCcam_2.1.3_oscam_1.00_cam.sh

    #!/bin/sh
    ########################################
    ###### Powered by The Gemini Team ######
    ### http://www.i-have-a-dreambox.com ###
    ########################################
    # camid #
    # 0000 = Commom Interface #
    # 0001->0199 = for User Experiment #
    # 0199 = Dccamd #
    # 0200->0299 = Fbiss #
    # 0300->0399 = Camd3 #
    # 0400->0499 = Camx #
    # 0500->0599 = Camx-Radegast-CS #
    # 0600->0699 = Evocamd -OLD #
    # 0700->0799 = Evocamd_ronlad_cs -OLD #
    # 0800->0899 = Mgcamd -OLD #
    # 0900->0999 = Mgcamd_ronald_cs -OLD #
    # 1000->1099 = Newcamd -OLD #
    # 1100->1199 = Newcamd-ronald_CS -OLD #
    # 1200->1299 = Newcamd-spider -OLD #
    # 1300->1399 = Radegast #
    # 1400->1499 = Ronald-CS #
    # 1500->1599 = Scam #
    # 1600->1699 = Scam-Ronald-CS #
    # 1700->1799 = OSCam #
    # 1800->1899 = NewCS #
    # 2000->2099 = Camd3 #
    # 2300->2399 = Camd3-NewCS #
    # 2600->2699 = Camd3-MPCardserver #
    # 3000->3099 = Evocamd #
    # 3100->3199 = Evocamd-Ronald-CS #
    # 3200->3299 = Evocamd-NewCS #
    # 3300->3399 = Evocamd-MPCardserver #
    # 4000->4099 = Mgcamd #
    # 4100->4199 = Mgcamd-Ronald-CS #
    # 4200->4299 = Mgcamd-NewCS #
    # 4300->4399 = Mgcamd-OSCam #
    # 5000->5099 = Newcamd-Betad #
    # 5100->5199 = Newcamd-Cardserver #
    # 5200->5299 = Newcamd-Spider #
    # 5300->5399 = Newcamd-NewCS #
    # 5400->5499 = Newcamd-OSCam #
    # 5500->5599 = OpenCam #
    # 5600->5699 = RqCamd #
    # 6000->6099 = CCcam #
    # 6100->6199 = CCcam-Capmtserver #
    # 6200->6299 = CCcam-NewCS #
    # 6300->6399 = CCcam-OSCam #
    # 9500->9599 = reserved #
    # 9600->9699 = reserved #
    # 9700->9799 = reserved #
    # 9800->9899 = reserved #
    # 9900->9999 = reserved #
    ########################################

    CAMNAME="CCcam 2.1.3/oscam_1.00"
    USERNAME=""
    ZAPTIME=6
    CAMID=6372
    DVBSET=0
    INFOFILE="ecm.info"
    INFOFILELINES=
    # end

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

    case "$1" in
    start)
    echo "[SCRIPT] $1: $CAMNAME"
    remove_tmp
    sleep 5
    /var/bin/oscam_1.00 &
    sleep 15
    /var/bin/CCcam_2.1.3 &
    ;;
    stop)
    echo "[SCRIPT] $1: $CAMNAME"
    kill `pidof newcs `
    killall -9 oscam_1.00 CCcam_2.1.3 2>/dev/null
    sleep 9
    remove_tmp
    ;;
    *)
    $0 stop
    exit 0
    ;;
    esac

    exit 0
    VU+Solo2, Samsung ue40D7000,ue37D5700,Diablo Wifi, Offset 0,9m - 9E-13E-19E-23E, Offset 1.2m -28 E , 1.2m - 36 E, Offset 0.9m - 1w

  5. #5
    In The Matrix Expert
    Join Date
    Oct 2005
    Location
    near Arad
    Posts
    1,311
    Posts Thanks / Likes

    Default

    problema e ca cu orice script porneste mai repede cccam si apare in entitlements cccam cardul iar in oscam zice no entitlements

  6. #6
    Junior Member Teacher
    Join Date
    Dec 2009
    Posts
    138
    Posts Thanks / Likes

    Default

    sigur nu e de la script , care banuiesc dupa transfer i'ai dat atribut 755 . daca nu pui si ceva setari sau config e greu sa ghicim ce se intampla . ai verificat in procese porneste si oscam ?
    daca ai linia asta in CCcam.cfg anuleaz'o cu # in fata :

    #B: /dev/sci0 00

    incearca si cu scriptul asta :

    #!/bin/sh
    ########################################
    ###### Powered by The Gemini Team ######
    ### http://www.i-have-a-dreambox.com ###
    ########################################
    # camid #
    # 0000 = Commom Interface #
    # 0001->0199 = for User Experiment #
    # 0199 = Dccamd #
    # 0200->0299 = Fbiss #
    # 0300->0399 = Camd3 #
    # 0400->0499 = Camx #
    # 0500->0599 = Camx-Radegast-CS #
    # 0600->0699 = Evocamd -OLD #
    # 0700->0799 = Evocamd_ronlad_cs -OLD #
    # 0800->0899 = Mgcamd -OLD #
    # 0900->0999 = Mgcamd_ronald_cs -OLD #
    # 1000->1099 = Newcamd -OLD #
    # 1100->1199 = Newcamd-ronald_CS -OLD #
    # 1200->1299 = Newcamd-spider -OLD #
    # 1300->1399 = Radegast #
    # 1400->1499 = Ronald-CS #
    # 1500->1599 = Scam #
    # 1600->1699 = Scam-Ronald-CS #
    # 1700->1799 = OSCam #
    # 1800->1899 = NewCS #
    # 2000->2099 = Camd3 #
    # 2300->2399 = Camd3-NewCS #
    # 2600->2699 = Camd3-MPCardserver #
    # 3000->3099 = Evocamd #
    # 3100->3199 = Evocamd-Ronald-CS #
    # 3200->3299 = Evocamd-NewCS #
    # 3300->3399 = Evocamd-MPCardserver #
    # 4000->4099 = Mgcamd #
    # 4100->4199 = Mgcamd-Ronald-CS #
    # 4200->4299 = Mgcamd-NewCS #
    # 4300->4399 = Mgcamd-OSCam #
    # 5000->5099 = Newcamd-Betad #
    # 5100->5199 = Newcamd-Cardserver #
    # 5200->5299 = Newcamd-Spider #
    # 5300->5399 = Newcamd-NewCS #
    # 5400->5499 = Newcamd-OSCam #
    # 5500->5599 = OpenCam #
    # 5600->5699 = RqCamd #
    # 6000->6099 = CCcam #
    # 6100->6199 = CCcam-Capmtserver #
    # 6200->6299 = CCcam-NewCS #
    # 6300->6399 = CCcam-OSCam #
    # 9500->9599 = reserved #
    # 9600->9699 = reserved #
    # 9700->9799 = reserved #
    # 9800->9899 = reserved #
    # 9900->9999 = reserved #
    ########################################

    CAMNAME="CCcam 2.1.3/OSCam 1.00 "
    USERNAME=""
    ZAPTIME=6
    CAMID=6372
    DVBSET=0
    INFOFILE="ecm.info"
    INFOFILELINES=
    # end

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

    case "$1" in
    start)
    echo "[SCRIPT] $1: $CAMNAME"
    remove_tmp
    /var/bin/oscam_1.00 &
    sleep 15
    /var/bin/CCcam_2.1.3 &
    ;;
    stop)
    echo "[SCRIPT] $1: $CAMNAME"
    kill `pidof oscam_1.00 `
    killall oscam_1.00 CCcam_2.1.3 2>/dev/null
    sleep 2
    remove_tmp
    ;;
    *)
    $0 stop
    exit 0
    ;;
    esac

    exit 0

  7. #7
    In The Matrix Expert
    Join Date
    Oct 2005
    Location
    near Arad
    Posts
    1,311
    Posts Thanks / Likes

    Default

    s-a rezolvat cu un sleep la cccam 75

  8. #8
    In The Matrix Expert
    Join Date
    Oct 2005
    Location
    near Arad
    Posts
    1,311
    Posts Thanks / Likes

    Default

    Revin cu problema scrip dar de data asta in enigma 2 , la restart dreambox dm800 am aceeasi problema ca mai sus , ca sa fie ok mai trebuie sa dau un restart la cccam/oscam . Atasez scriptul :

    #!/bin/sh

    EMU="CCcam 2.1.3&Oscam"

    remove_tmp ()
    {
    [ -e /tmp/ecm.info ] && rm -rf /tmp/ecm.info
    [ -e /tmp/pid.info ] && rm -rf /tmp/pid.info
    [ -e /tmp/cardinfo ] && rm -rf /tmp/cardinfo
    [ -e /tmp/ecm0.info ] && rm -rf /tmp/ecm0.info
    [ -e /tmp/ecm1.info ] && rm -rf /tmp/ecm1.info
    [ -e /tmp/CCcam.kill ] && rm -rf /tmp/CCcam.kill
    [ -e /tmp/CCcam2_1_3.pid ] && rm -rf /tmp/CCcam2_1_3.pid

    }

    case "$1" in
    start)
    echo "[SCRIPT] $1: $EMUNAME"
    /usr/bin/oscam &
    sleep 15
    /usr/bin/CCcam2_1_3 >/dev/null &
    sleep 1
    pidof CCcam2_1_3 > /tmp/CCcam2_1_3.pid
    ;;
    stop)
    echo "[SCRIPT] $1: $EMUNAME"
    echo -n "kill " > /tmp/CCcam.kill
    pidof CCcam2_1_3 >> /tmp/CCcam.kill
    echo sleep 1s >> /tmp/CCcam.kill
    echo -n "kill -9 " >> /tmp/CCcam.kill
    pidof CCcam2_1_3 >> /tmp/CCcam.kill
    chmod 777 /tmp/CCcam.kill
    /tmp/CCcam.kill
    sleep 2
    killall -9 oscam 2>/dev/null
    ;;
    restart)
    $0 stop
    sleep 3
    $0 start
    exit
    ;;
    *)
    $1 stop
    exit 1
    ;;
    esac

    exit 0

    Am incercat sa modific timpul ca la scriptul E1 dar posibil ca nu am modificat unde trebuie ca nu s-a rezolvat

  9. #9
    Banned Teacher
    RDI - Board Banned Avatar

    Join Date
    Dec 2008
    Posts
    497
    Posts Thanks / Likes

    Default poftim cel de la newnigma 2

    functioneaza la mine, perfect, pe DM 8000 , incearca-l
    si am schimbat exe Oscam , in imagine,...pe alta versiune decat a lor
    ... si instalat CCcam 213- redenumit in CCcam 214

    nu trebuie modificat nimic in el
    calea : 0:usr/script /CCcam214_OSCAM

    si tuxbox in etc/tuxbox/config { pentru Oscam ]

    daca vrei si E1 din DM7020 Si -- iti caut, unul, pe imagine gemeni parca ...

    #!/bin/sh
    ########################################
    ###### Powered by NewNigma2 Team ######
    ### http://newngima2.to ###
    ########################################

    # EMUNAME is only Display name for EMU Menu
    EMUNAME="CCcam 2.1.4 - OScam"
    # CCcamversion
    CCVer="CCcam2_1_4"

    remove_tmp ()
    {
    [ -e /tmp/ecm.info ] && rm -rf /tmp/ecm.info
    [ -e /tmp/ecm0.info ] && rm -rf /tmp/ecm0.info
    [ -e /tmp/ecm1.info ] && rm -rf /tmp/ecm1.info
    [ -e /tmp/.oscam ] && rm -rf /tmp/.oscam
    [ -e /tmp/oscam.log ] && rm -rf /tmp/oscam.log
    [ -e /tmp/oscam.kill ] && rm -rf /tmp/oscam.kill
    [ -e /tmp/oscamuser.log ] && rm -rf /tmp/oscamuser.log
    [ -e /tmp/.CCcam.nodeid ] && rm -rf /tmp/.CCcam.nodeid
    [ -e /tmp/CCcam.kill ] && rm -rf /tmp/CCcam.kill
    [ -e /tmp/warnings.txt ] && rm -rf /tmp/warnings.txt
    }

    case "$1" in
    start)
    echo "[SCRIPT] $1: $EMUNAME"
    if [ -f /usr/keys/oscam.conf ]; then
    /usr/bin/oscam -c /usr/keys >/dev/null &
    else
    /usr/bin/oscam -c /etc/tuxbox/config >/dev/null &
    fi
    sleep 10
    /usr/bin/$CCVer >/dev/null &
    ;;
    stop)
    echo "[SCRIPT] $1: $EMUNAME"
    echo -n "kill " > /tmp/oscam.kill
    pidof oscam >> /tmp/oscam.kill
    echo sleep 1s >> /tmp/oscam.kill
    echo -n "kill -9 " >> /tmp/oscam.kill
    pidof oscam >> /tmp/oscam.kill
    chmod 755 /tmp/oscam.kill
    /tmp/oscam.kill
    sleep 2
    echo -n "kill " > /tmp/CCcam.kill
    pidof $CCVer >> /tmp/CCcam.kill
    echo sleep 1s >> /tmp/CCcam.kill
    echo -n "kill -9 " >> /tmp/CCcam.kill
    pidof $CCVer >> /tmp/CCcam.kill
    chmod 755 /tmp/CCcam.kill
    /tmp/CCcam.kill
    sleep 2
    remove_tmp
    ;;
    restart)
    $0 stop
    sleep 1
    $0 start
    exit 1
    ;;
    *)
    $0 stop
    exit 1
    ;;
    esac

    exit 0
    Last edited by strike_gabriel; 28th February 2013 at 12:20.

  10. #10
    In The Matrix Expert
    Join Date
    Oct 2005
    Location
    near Arad
    Posts
    1,311
    Posts Thanks / Likes

    Default

    ok , mersi , am sa incerc ; in E1 am rezolvat

  11. #11
    Banned Teacher
    RDI - Board Banned Avatar

    Join Date
    Dec 2008
    Posts
    497
    Posts Thanks / Likes

    Default

    Quote Originally Posted by raks67 View Post
    ok , mersi , am sa incerc ; in E1 am rezolvat
    da-ne un feedback, daca functioneaza scriptul de newnigma 2 corect la tine
    si rog posteaza, scriptul de E1 , varianta finala, dupa modificari, care a functionat corect,
    si arata calea, in linux
    best regards
    strike

  12. #12
    In The Matrix Expert
    Join Date
    Oct 2005
    Location
    near Arad
    Posts
    1,311
    Posts Thanks / Likes

    Default

    Nu merge nici cu acesta , dupa reboot dreambox mai trebuie sa dau restart cam sa fie vazut cardul de oscam nu de cccam . Scriptul de E1 este urmatorul :

    CAMNAME="CCcam 2.1.3/OSCam 1.00 "
    USERNAME=""
    ZAPTIME=6
    CAMID=6372
    DVBSET=0
    INFOFILE="ecm.info"
    INFOFILELINES=
    # end

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

    case "$1" in
    start)
    echo "[SCRIPT] $1: $CAMNAME"
    remove_tmp
    /var/bin/OSCam_1.00 &
    sleep 75
    /var/bin/CCcam_2.1.3 &
    ;;
    stop)
    echo "[SCRIPT] $1: $CAMNAME"
    kill `pidof OSCam_1.00 `
    killall OSCam_1.00 CCcam_2.1.3 2>/dev/null
    sleep 2
    remove_tmp
    ;;
    *)
    $0 stop
    exit 0
    ;;
    esac

    exit 0

    - am dat scriptul unui prieten si zice ca merge si sleep 35 in loc de 75 , pina nu am modificat si acest script am avut aceeasi problema
    - dupa umilele mele cunostinte in linux ca sa mearga combinatia cccam/oscam corect scriptul ar trebui sa porneasca prima data oscamul sa-si faca treaba de la ala z apoi dupa un timp sa porneasca cccam

  13. #13
    In The Matrix Expert
    Join Date
    Oct 2005
    Location
    near Arad
    Posts
    1,311
    Posts Thanks / Likes

    Default

    am modificat scriptul din postul meu #8 in felul urmator :

    start)
    echo "[SCRIPT] $1: $EMUNAME"
    /usr/bin/oscam &
    sleep 80
    /usr/bin/CCcam2_1_3 >/dev/null &
    sleep 1
    pidof CCcam2_1_3 > /tmp/CCcam2_1_3.pid

    am dat copy paste doar in portiunea unde am modificat sleep cccam la 80 ( am incercat 60 , 70 dar asa tot cccam pornea cu 5 , 15 secunde mai repede )

  14. #14
    Moderator Expert
    Join Date
    Apr 2003
    Location
    Wild West
    Posts
    2,529
    Posts Thanks / Likes

    Default

    Nu iti merge pentru ca nu receptorul nu ia ora automat iar oscam-ul da o intarziere de 60 de secunde pentru pornire in acest caz, astfel cccam i-o ia inainte si citeste cardul.
    Daca pornirea e pe un canal ce da automat ora nu mai ai nici o problema, oscam pornind instant.
    Normal in orice script ai face primul trebuie obligatoriu sa fie oscam si sa aiba alocat un timp pentru initializare a cardului.

    Pe E1 cea mai buna varianta e folosirea btkmon atat pentru pornire cat si pentru monitorizare a celor 2 emulatoare :
    oscam_cccam_cam.sh

    Code:
    #!/bin/sh
    ########################################
    
    CAMNAME="OsCam_CCcam"
    USERNAME=""
    ZAPTIME=6
    CAMID=6272
    DVBSET=0
    INFOFILE="ecm.info"
    INFOFILELINES=
    # end
    
    remove_tmp () {
      rm -rf /tmp/*.info* /tmp/*.tmp*
    }
    
    case "$1" in
      start)
      echo "[SCRIPT] $1: $CAMNAME"
      remove_tmp
      /var/bin/btkmon &
      ;;
      stop)
      echo "[SCRIPT] $1: $CAMNAME"
      kill `pidof`
      killall btkmon CCcam oscam 2>/dev/null
      sleep 2
      remove_tmp
      ;;
      *)
      $0 stop
      exit 0
      ;;
    esac
    
    exit 0
    btkmon.cfg :

    Code:
    Time: 30
    Kill: killall
    Proc:    /usr/bin/    oscam -b   0       0
    Proc:    /usr/bin/    CCcam   1     0
    Cu putina indemanare se poate face si pentru E2, de exemplu pe VU+ :

    Ncam_Oscam_CCcam.sh :
    Code:
    #!/bin/sh
    
    CAMNAME="Oscam/CCcam"
    
    remove_tmp () {
    	rm -rf /tmp/*.info* /tmp/*.tmp*
    }
    
    case "$1" in
    	start)
    	echo "[SCRIPT] $1: $CAMNAME"
    	remove_tmp
    	/usr/bin/btkmon &
    	;;
    	stop)
    	echo "[SCRIPT] $1: $CAMNAME"
    	killall -9 btkmon 2>/dev/null
    	sleep 3
    	killall -9 CCcam 2>/dev/null
    	sleep 3
    	killall -9 oscam 2>/dev/null
    	sleep 3	
    	remove_tmp
    	;;
    	*)
    	$0 stop
    	exit 0
    	;;
    esac
    
    exit 0
    btkmon.cfg
    Code:
    Time: 30
    Kill: killall
    Proc:    /usr/bin/    oscam -b   0       0
    Proc:    /usr/bin/    CCcam   1     0

  15. #15
    In The Matrix Expert
    Join Date
    Oct 2005
    Location
    near Arad
    Posts
    1,311
    Posts Thanks / Likes

    Default

    inseamna ca problema cu ora e de la imagine , deoarece eu am observat ca cele doua camuri pornesc cind bara de incarcare enigma ( afisat pe displayul receptorului ) este undeva pe la 50 % , dar ora se actualizeaza doar dupa citeva secunde la afisarea numelui , epg info , etc al programului pe display

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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