Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

Need Automated install script for Oscam/CCcam 64-bit

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SatWaveDude
    Board Senior Member
    • Apr 2012
    • 220

    Need Automated install script for Oscam/CCcam 64-bit

    Looking for Automated install script for Oscam & CCcam 64-bit

    any advice and links are welcome
    SatWaveDude

    DM500HD, DM500+ | EMP S16/1PCP-W3 | WaveFrontier T90 | 16x SMART Titanium 0.1dB LNB's
    TechniSat SkyStar S2 PCI / SkyStar USB HD
    WaveFrontier T90 rev.2 - 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 3.3E | 4/5E | 0.8W | 7/8W | 12.5W

    If you find my post usefull please press the Thanks Button
  • SatWaveDude
    Board Senior Member
    • Apr 2012
    • 220

    #2
    Re: Need Automated install script for Oscam/CCcam 64-bit

    Nobody who can help me out here

    Than I have to install Oscam & CCcam 64-bit separately.

    Any advice on what to take care of when installing the 64-bit version?
    SatWaveDude

    DM500HD, DM500+ | EMP S16/1PCP-W3 | WaveFrontier T90 | 16x SMART Titanium 0.1dB LNB's
    TechniSat SkyStar S2 PCI / SkyStar USB HD
    WaveFrontier T90 rev.2 - 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 3.3E | 4/5E | 0.8W | 7/8W | 12.5W

    If you find my post usefull please press the Thanks Button

    Comment

    • cisko
      Banned
      • Sep 2012
      • 237

      #3
      Re: Need Automated install script for Oscam/CCcam 64-bit

      How did you mean with automatic install?
      oscam is a software, cccam another software - and oscam support cccam.
      Both are available for 64bit computer - x86_64 class - but on a 64bit machine you can also use 32bit versions - x86 class.

      After installed them, you must configure both oscam than cccam.
      Of course configuration is based on what do you need.

      One question: why you would use oscam and cccam on the same machine?

      Comment

      • SatWaveDude
        Board Senior Member
        • Apr 2012
        • 220

        #4
        Re: Need Automated install script for Oscam/CCcam 64-bit

        There are serval scripts on the net who wil install Oscam/CCcam on your server but I found them only for Ubuntu 32/64-bit but none for Debian.

        This is what I have always used in the past (****** for it): Automated Oscam/CCcam 2.1.3 Install Package For Debian 6

        But now I like the same script or equivalent for Debian 64-bit

        Why would u use oscam and cccam on the same machine you ask, wel I just like to
        SatWaveDude

        DM500HD, DM500+ | EMP S16/1PCP-W3 | WaveFrontier T90 | 16x SMART Titanium 0.1dB LNB's
        TechniSat SkyStar S2 PCI / SkyStar USB HD
        WaveFrontier T90 rev.2 - 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 3.3E | 4/5E | 0.8W | 7/8W | 12.5W

        If you find my post usefull please press the Thanks Button

        Comment

        • SatWaveDude
          Board Senior Member
          • Apr 2012
          • 220

          #5
          Re: Need Automated install script for Oscam/CCcam 64-bit

          As I see in the script it wil detect 32 & 64-bit systems and install the suitable software fo it.
          But i'm not 100% shure of it!

          The script I found install's the folowing software as additional and I like to now if I realy need them? (market in red)

          apache2
          php5
          ssh -> I prefer OpenSSH
          vsftpd -> useful ftp software
          g++-4.4-multilib

          Code:
          #!/bin/sh
          #Automated Installation script
          #Purpose: Installing Oscam/CCcam 2.1.3 on a bare Debian system.
          ###############################################################
          #for help and support visit:
          #http://linuxsat-support.com
          #
          #
          ##
          #Requirements: 	Debian 6
          #		Installation package
          #
          #Setting installation variables
          PACKNAME=cccam_install_package.tar			#Name of the installation package
          EMUDIR=/emu						#name of the initial emulation and script directory
          TEMPDIR=/tmp/ccinst					#temporary download and unpack dir
          
          clear
          echo "Installation script for automated oscam /CCcam 2.1.3 installation"
          echo "Created exclusively for linuxsat-support members"
          echo "For testing/educational purposes only"
          echo "**********linuxsat-support.com******************"
          echo "**auto install script by Ten Below**"
          echo "for support visit http://linuxsat-support.com"
          sleep 5
          mkdir $TEMPDIR
          echo "Starting download of installation script"
          wget http://linuxsat-support.com/addons/debianauto/osccdeb.tar --output-document=$TEMPDIR/$PACKNAME > /dev/null 2>&1
          
          if [ ! -f $TEMPDIR/$PACKNAME ] ; then
          echo "##  WARNING !! !! !! ##"
          echo "Download of the installation package seems to have failed"
          echo "Please check you're network settings and make sure the server is connected to the internet"
          
          else
          echo "Download successfull"
          sleep 5
          	echo "Creating folders (if needed)"
          	if [ ! -e $EMUDIR ]
          		then
          		mkdir $EMUDIR
          	fi
          	if [ ! -e $EMUDIR/cccam ]
          		then
          		mkdir $EMUDIR/cccam
          	fi
          	if [ ! -e $EMUDIR/oscam ]
          		then
          		mkdir $EMUDIR/oscam
          	fi
          	if [ ! -e $EMUDIR/log ]
          		then
          		mkdir $EMUDIR/log
          	fi
          	if [ ! -e $EMUDIR/script ]
          		then
          		mkdir $EMUDIR/script
          	fi
          	if [ ! -e /var/etc ]
          		then
          		mkdir -p /var/etc
          	fi
              if [ ! -e /home/cccam ]
          		then
          		mkdir -p /home/cccam
          	fi
          	echo "Unpacking installation files"
          	tar -xvf $TEMPDIR/$PACKNAME -C $TEMPDIR
          	echo "Moving script files to their right directory"
          	mv -f $TEMPDIR/*.sh $EMUDIR/script
          	chmod 755 $EMUDIR/script/*.sh
          	VER=$(exec uname -r|grep amd64)
          	if [ "$VER" = "" ]
          		then VER="i386"
          		else VER="AMD64"
          	fi
          	if [ "$VER" = "i386" ]
          		then
          		mv $TEMPDIR/CCcam.x86 $EMUDIR/cccam
          		chmod 755 $EMUDIR/cccam/CCcam.x86
          		else
          		mv $TEMPDIR/CCcam.x86_64 $EMUDIR/cccam
          		chmod 755 $EMUDIR/cccam/CCcam.x86_64
          	fi
          	if [ "$VER" = "i386" ]
          		then
          		mv $TEMPDIR/oscam $EMUDIR/oscam
          		chmod 755 $EMUDIR/oscam/oscam
          		else
          		mv $TEMPDIR/oscam $EMUDIR/oscam
          		chmod 755 $EMUDIR/oscam/oscam
          	fi
          
          echo "00 3   * * *   root    $EMUDIR/script/./configupdate.sh >> $EMUDIR/log/configupdate.log 2>&1" >> /etc/crontab
          echo "15,45 *        * * *   root    $EMUDIR/script/./illegal.sh >> $EMUDIR/log/illegal.log 2>&1" >> /etc/crontab
          echo "*/5 *  * * *   root    $EMUDIR/script/./check.sh >>/emu/log/check.log 2>&1" >> /etc/crontab
          
          
          $(exec ln $EMUDIR/script/cccam.sh /bin/cccam)
          
          
          
          echo "/bin/oscam start &" > /etc/rc.local
          echo "/bin/oscript start &" > /etc/rc.local
          echo "/bin/cccam start &" > /etc/rc.local
          echo "/emu/script/runonce.sh &" >>/etc/rc.local
          echo "exit 0" >>/etc/rc.local
          
          echo "Downloading and installing various needed programs like apache, ftp, ssh..."
          echo "This is needed for the webinfo tool to work"
          echo "This might take some time to download and install (depending on computer and network speeds)"
          apt-get -qq update > /dev/null 2>&1
          apt-get -qq install apache2 -qy > /dev/null 2>&1
          apt-get -qq install php5 -qy > /dev/null 2>&1
          apt-get -qq install ssh -qy > /dev/null 2>&1
          apt-get -qq install vsftpd -qy > /dev/null 2>&1
          apt-get -qq install g++-4.4-multilib -qy > /dev/null 2>&1
          apt-get -qq update > /dev/null 2>&1
          apt-get install bzip2 -qy > /dev/null 2>&1
          apt-get install gcc g++ cmake libpcsclite1 libpcsclite-dev subversion -qy > /dev/null 2>&1
          mv -f $TEMPDIR/vsftpd.conf /etc/vsftpd.conf
          cp -rf $TEMPDIR/phpinfo/* /var/www/
          rm -f /var/www/index.html
          mv -f $TEMPDIR/CCcam.cfg /var/etc/
          mv -f $TEMPDIR/oscam.conf /usr/local/etc/
          mv -f $TEMPDIR/oscam.user /usr/local/etc/
          mv -f $TEMPDIR/oscam.server /usr/local/etc/
          mv -f $TEMPDIR/rc.local /etc/
          chown root /etc/rc.local
          chmod 755 /etc/rc.local
          echo "02 *   * * *   root    wget -O - http://127.0.0.1/cron_update.php?p=1 >/dev/null 2>&1" >> /etc/crontab
          echo "30 *   * * *   root    wget -O - http://127.0.0.1/cron_ping.php?p=1 >/dev/null 2>&1" >> /etc/crontab
          sleep 2
          echo "################# Congratulations #################"
          echo "You're server is ready to run."
          echo "Demo configs included"
          echo "Please reboot your machine now"
          echo "linuxsat-support.com"
          fi
          exit
          SatWaveDude

          DM500HD, DM500+ | EMP S16/1PCP-W3 | WaveFrontier T90 | 16x SMART Titanium 0.1dB LNB's
          TechniSat SkyStar S2 PCI / SkyStar USB HD
          WaveFrontier T90 rev.2 - 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 3.3E | 4/5E | 0.8W | 7/8W | 12.5W

          If you find my post usefull please press the Thanks Button

          Comment

          • cisko
            Banned
            • Sep 2012
            • 237

            #6
            Re: Need Automated install script for Oscam/CCcam 64-bit

            I don't know what's the content of the .tar packeges, but other apt-get option are ok. If you use apt-get on 32bit machine, apt-get download and install 32bit version, on a 64bit machine, the installer will install 64bit version too.

            Then you an also use a 64bit version of oscam. You can compile them or download a precompiled version, no problem.

            Comment

            • SatWaveDude
              Board Senior Member
              • Apr 2012
              • 220

              #7
              Re: Need Automated install script for Oscam/CCcam 64-bit

              Is it also posible to compile CCcam 2.1.3 on 64-bit machine?
              Do you have some info on that or any how to's
              SatWaveDude

              DM500HD, DM500+ | EMP S16/1PCP-W3 | WaveFrontier T90 | 16x SMART Titanium 0.1dB LNB's
              TechniSat SkyStar S2 PCI / SkyStar USB HD
              WaveFrontier T90 rev.2 - 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 3.3E | 4/5E | 0.8W | 7/8W | 12.5W

              If you find my post usefull please press the Thanks Button

              Comment

              • cisko
                Banned
                • Sep 2012
                • 237

                #8
                Re: Need Automated install script for Oscam/CCcam 64-bit

                Originally posted by SatWaveDude
                Is it also posible to compile CCcam 2.1.3 on 64-bit machine?
                Do you have some info on that or any how to's
                No you can't compile any version of CCcam because CCcam is a closed source software. You can only download install and use precompiled versions made by the developers.

                If you would use CCcam protocol on device where CCcam is not available, the only way is to change software.
                Use Oscam insted or also Newcamd software or modified version of MagicCamd, like for Spark Boxes.

                Comment

                • SatWaveDude
                  Board Senior Member
                  • Apr 2012
                  • 220

                  #9
                  Re: Need Automated install script for Oscam/CCcam 64-bit

                  Do you now who are the developers of CCcam, do they have a website or forum?

                  I already have found pre-compiled 64-bit versions of Oscam but these are also easy to compile with simplebuild.
                  SatWaveDude

                  DM500HD, DM500+ | EMP S16/1PCP-W3 | WaveFrontier T90 | 16x SMART Titanium 0.1dB LNB's
                  TechniSat SkyStar S2 PCI / SkyStar USB HD
                  WaveFrontier T90 rev.2 - 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 3.3E | 4/5E | 0.8W | 7/8W | 12.5W

                  If you find my post usefull please press the Thanks Button

                  Comment

                  Working...