mgcamd+oscam

    • mgcamd+oscam

      Hi,I'm looking for a correct oscam+mgcamd script....

      I already change a existing script but don't know if it's correct;


      ## config
      EMUNAME="Mgcamd 1.30a & oscam"
      #--> cam 1
      EMUBIN="oscam"
      EMUBINARGS="oscam.pid"
      PIDFILE="oscam.pid"
      #--> cam 2
      EMUBIN2="mgcamd1_30a"
      EMUBINARGS2=""
      PIDFILE2="mgcamd1_30a.pid"
      #--> both
      TMPREMOVEFILES="ecm.info pid.info cardinfo mg.info mgshare.info mgstat.info ${PIDFILE} \
      gbox.ver atack.txt sc.info share.info share.log share.onl share.stat ${PIDFILE2}"

      ##> do not edit after this line <####> do not edit after this line <##

      ## funktionen
      RemoveTmp ()
      {
      for _FILE in ${TMPREMOVEFILES}
      do
      if [ -e /tmp/${_FILE} ]; then
      rm -rf /tmp/${_FILE}
      fi
      done
      }

      ## work
      case "$1" in
      start)
      RemoveTmp
      #--> cam 1
      if [ -x /usr/bin/${EMUBIN} ]; then
      echo "[SCRIPT] $1: $EMUBIN"
      /usr/bin/${EMUBIN} ${EMUBINARGS} >/dev/null &
      sleep 1
      pidof ${EMUBIN} > /tmp/${PIDFILE}
      else
      echo "[SCRIPT]: $EMUBIN not executable or available"
      fi
      #--> cam 2
      if [ -x /usr/bin/${EMUBIN2} ]; then
      echo "[SCRIPT] $1: $EMUBIN2"
      /usr/bin/${EMUBIN2} ${EMUBINARGS2} >/dev/null &
      sleep 1
      pidof ${EMUBIN2} > /tmp/${PIDFILE2}
      else
      echo "[SCRIPT]: $EMUBIN2 not executable or available"
      fi
      ;;
      stop)
      echo "[SCRIPT] $1: $EMUNAME"
      killall -9 ${EMUBIN} 2>/dev/null
      # killall koennte durch "kill `cat /tmp/${PIDFILE}`" ersetz werden. #
      killall -9 ${EMUBIN2} 2>/dev/null
      # killall koennte durch "kill `cat /tmp/${PIDFILE2}`" ersetz werden. #
      RemoveTmp
      ;;
      restart)
      $0 stop
      sleep 2
      $0 start
      ;;
      *)
      $0 stop
      exit 1
      ;;
      esac

      exit 0
    • RE: mgcamd+oscam

      Dvbapi give problems to decode kabel channels and is verry slow,when I use oscam with mgcamd it works without any problem.
      Many Dutch user use this option because of this problem...


      Regards
      Spiderman
    • RE: mgcamd+oscam

      Originally posted by spiderman
      Many Dutch user use this option because of this problem...

      Regards
      Spiderman

      If you use a outdated OScam, then yes. :D

      Did you know that OScam has a very fast development? Probably because it's open-source.
      I think that OScam updated about twice a week. Sometimes 6 times a day.

      If you're a Dutch canal digitaal user, then do check this topic from me. (official OScam links included)
      Then you discover that the only softcam you need is....OScam (but then up to date, the one from Newnigma2 feed is not uptodate, but you can use it as setup help).
      OScam supports camd3.5 & Newcamd & CCcam & Radegast & more.

      Personally, i just don't understand why people use a second softcam when they use OScam.Maybe because they don't know yet how to configure OScam properly.
      Here i got succesfully OScam build 6611 running (at the moment the most new version) with no problems at all. (Canal Digitaal + Sky UK)
      Dreambox DM8000 HD PVR (1.5TB hdd / BD-r(w) / 4GB cf & Newnigma2-unstable) - 2x DiSEqC 4/1 switch - 4x Smart Titanium 0.1 db Universal Twin LNB (13.0E/19.2E/23.5E/28.2E) - Visiosat Bisat HD dish.
      Member of opensat4all.com

      Dieser Beitrag wurde bereits 5 mal editiert, zuletzt von jeroensky ()