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

Results 1 to 11 of 11
  1. #1
    Moderator Expert
    Join Date
    Sep 2003
    Location
    BRASOV
    Posts
    3,462
    Posts Thanks / Likes

    Default script gbox[rezolvat]

    ma ajuta cineva cu un script ptru gbox la gemeni240 dream7020?
    am urmatorul script si nu o ia cu telecomanda,doar cu telnetu.

    CAMNAME="gbox203"
    USERNAME=""
    ZAPTIME=4
    CAMID=0391

    case $1 in
    start)
    /var/bin/cs2gbox &
    sleep 5
    /var/bin/gbox &
    ;;
    stop)
    killall -9 gbox
    killall -9 cs2gbox
    ;;
    *)
    $0 stop
    exit 1
    ;;
    esac

    exit 0
    350 kg de scule!

  2. #2
    Banned
    RDI - Board Banned Avatar

    Join Date
    Apr 2003
    Posts
    28
    Posts Thanks / Likes

    Default

    #!/bin/sh

    CAMNAME="Gbox-NapocaServer3 "
    USERNAME=""
    ZAPTIME=5
    CAMID=1

    case $1 in
    start)
    /var/bin/gbox &
    sleep 1
    ;;
    stop)
    killall
    ;;
    *)
    $0 stop
    exit 1
    ;;
    esac

    exit 0

  3. #3
    Banned
    RDI - Board Banned Avatar

    Join Date
    Apr 2003
    Posts
    28
    Posts Thanks / Likes

    Default

    Se pare ca ai o problema cu CAMID

    Common Interface ar trebui sa fie 0 si Gbox 1

  4. #4
    Moderator Expert
    Join Date
    Sep 2003
    Location
    BRASOV
    Posts
    3,462
    Posts Thanks / Likes

    Default

    Quote Originally Posted by *********
    Se pare ca ai o problema cu CAMID

    Common Interface ar trebui sa fie 0 si Gbox 1

    nu cred,ca mgcamd merge.trebuie un meserias sa editeze scriptul la gbox.
    ONYXXXXX unde esti moooooooo?

    CAMNAME="MGCamd"
    USERNAME=""
    ZAPTIME=6
    CAMID=4098
    DVBSET=0
    INFOFILE="ecm.info"
    # end

    remove_tmp () {
    rm -rf /tmp/ecm.info /tmp/pid.info /tmp/cardinfo
    }

    case "$1" in
    start)
    echo "[SCRIPT] $1: $CAMNAME"
    remove_tmp
    /var/bin/mgcamd_08.28 &
    ;;
    stop)
    echo "[SCRIPT] $1: $CAMNAME"
    killall -9 mgcamd_08.28
    remove_tmp
    ;;
    *)
    $0 stop
    exit 1
    ;;
    esac

    exit 0
    350 kg de scule!

  5. #5
    Moderator Expert
    Join Date
    Sep 2003
    Location
    BRASOV
    Posts
    3,462
    Posts Thanks / Likes

    Default

    de fapt cam asa arata toate.
    cu telnetu o frige fara probleme.

    #!/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 = MPCardserver #
    # 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-MPCardserver #
    # 5000->5099 = Newcamd-Betad #
    # 5100->5199 = Newcamd-Cardserver #
    # 5200->5299 = Newcamd-Spider #
    # 5300->5399 = Newcamd-NewCS #
    # 5400->5499 = Newcamd-MPCardserver #
    # 9500->9599 = reserved #
    # 9600->9699 = reserved #
    # 9700->9799 = reserved #
    # 9800->9899 = reserved #
    # 9900->9999 = reserved #
    ########################################

    CAMNAME="MGCcamd-08.28/Ronald-CS"
    USERNAME=""
    ZAPTIME=6
    CAMID=4198
    DVBSET=0
    INFOFILE="ecm.info"
    # end

    remove_tmp () {
    rm -rf /tmp/ecm.info /tmp/pid.info /tmp/cardinfo
    }

    case "$1" in
    start)
    echo "[SCRIPT] $1: $CAMNAME"
    remove_tmp
    /var/bin/cs_clnt &
    /var/bin/cs_srv &
    /var/bin/mgcamd_08.28 &
    ;;
    stop)
    echo "[SCRIPT] $1: $CAMNAME"
    killall -9 cs_clnt cs_srv mgcamd_08.28 2>/dev/null
    remove_tmp
    ;;
    *)
    $0 stop
    exit 1
    ;;
    esac

    exit 0
    350 kg de scule!

  6. #6
    Banned
    RDI - Board Banned Avatar

    Join Date
    Apr 2003
    Posts
    28
    Posts Thanks / Likes

    Default

    Quote Originally Posted by gogi
    Quote Originally Posted by *********
    Se pare ca ai o problema cu CAMID

    Common Interface ar trebui sa fie 0 si Gbox 1

    nu cred,ca mgcamd merge.trebuie un meserias sa editeze scriptul la gbox.
    La mine porneste de fiecare data dupa restart box/cam

  7. #7
    Moderator Expert
    Join Date
    Sep 2003
    Location
    BRASOV
    Posts
    3,462
    Posts Thanks / Likes

    Default

    da,dar tu ai dream500.
    350 kg de scule!

  8. #8
    Banned
    RDI - Board Banned Avatar

    Join Date
    Apr 2003
    Posts
    28
    Posts Thanks / Likes

    Default

    A functionat si la 7000 , pt 7020 nu bag mana in foc .

  9. #9
    Moderator Expert
    Join Date
    Sep 2003
    Location
    BRASOV
    Posts
    3,462
    Posts Thanks / Likes

    Default

    CAMNAME="gbox203"
    USERNAME=""
    ZAPTIME=4
    CAMID=0391

    case "$1" in
    start)
    echo "[SCRIPT] $1: $CAMNAME"
    /var/bin/cs2gbox &
    sleep 5
    /var/bin/gbox &
    ;;
    stop)
    killall -9 gbox
    killall -9 cs2gbox
    ;;
    *)
    $0 stop
    exit 1
    ;;
    esac

    exit 0


    am pus asta si ma uit in log pe telnet merge doar cs2gbox legat la newcamd gboxu se opreste la restart dar nu mai vrea sa reporneasca.
    f ciudat,la gemeni 2.20 a mers fara probleme.
    350 kg de scule!

  10. #10
    Moderator Expert
    Join Date
    Sep 2003
    Location
    BRASOV
    Posts
    3,462
    Posts Thanks / Likes

    Default

    chiar nu are nimeni gemini 2.40 si gbox 2.03 pe 7020
    350 kg de scule!

  11. #11
    Moderator Expert
    Join Date
    Sep 2003
    Location
    BRASOV
    Posts
    3,462
    Posts Thanks / Likes

    Default

    # 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 #
    # 0700->0799 = Evocamd-ronlad-cs #
    # 0800->0899 = Mgcamd #
    # 0900->0999 = Mgcamd-ronald-cs #
    # 1000->1099 = Newcamd #
    # 1100->1199 = Newcamd-ronald-cs #
    # 1200->1299 = Newcamd-spider #
    # 1300->1399 = Radegast #
    # 1400->1499 = Ronald-cs #
    # 1500->1599 = Scam #
    # 1600->1699 = Scam-ronald-cs #
    # 1700->1799 = Cardserver #
    # 1800->1899 = Mgcamd with Cardserver #
    # 9800->9899 = reserved #
    # 9900->9999 = reserved #
    ########################################
    CAMNAME="Gbox/NewCS"
    USERNAME=""
    ZAPTIME=8
    CAMID=970
    DVBSET=1
    INFOFILE="ecm.info"
    # end


    # This method cleans up /tmp folder of gbox files
    remove_tmp ()
    {
    rm -rf /tmp/*info* /tmp/*gbox* /tmp/*online* /tmp/*share* /tmp/Newcs* /tmp/atack* /tmp/debug*
    }

    # This method starts cardserver_6.1 > CS2Gbox > Gbox (That order)
    start_cam ()
    {
    /var/bin/newcs &
    sleep 5
    /var/bin/cs2gbox &
    sleep 2
    /var/bin/gbox &
    }

    # This method stops newcs cs2gbox and gbox and then calles the tmp cleanup method
    stop_cam ()
    {
    touch /tmp/gbox.kill
    /bin/prockill newcs
    /bin/prockill cs2gbox
    /bin/prockill gbox
    killall -9 newcs cs2gbox 2> /dev/null
    remove_tmp
    }

    case "$1" in
    start)
    echo "[SCRIPT] $1: $CAMNAME"
    start_cam
    ;;
    stop)
    echo "[SCRIPT] $1: $CAMNAME"
    stop_cam
    ;;
    restart)
    echo "Restaring $CAMNAME"
    stop_cam
    start_cam
    ;;
    *)
    "$0" stop
    exit 1
    ;;
    esac

    exit 0


    asta era solutia
    350 kg de scule!

 

 

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Rezolvat
    By NaSiS in forum DTH & Cable-Romania
    Replies: 3
    Last Post: 17th December 2006, 22:40
  2. script gbox ptr DM500S
    By liviurosioara in forum DREAMBOX
    Replies: 11
    Last Post: 5th June 2006, 04:00
  3. Does anyone have a script file for Rom10 revA39
    By mumblebee in forum RDI - English
    Replies: 7
    Last Post: 3rd November 2005, 19:50
  4. wt is the script blocking in internet explorer???
    By baba4u in forum RDI - English
    Replies: 5
    Last Post: 6th July 2005, 05:42

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