Automated Oscam/CCcam 2.1.3 Install Package For Debian 6

There are 252 replies in this Thread which was already clicked 60,739 times. The last Post () by ilk.

    • Official Post

    [fade]Automated Oscam/CCcam 2.1.3 Install Package For Debian 6[/fade]



    This will install Automated Oscam Rev7209 & CCcam 2.1.3 on any machine running Debian 6, demo configs are included so you can see it working as soon as installation completes.


    ################################################################
    Updated 26th July 2012
    ################################################################


    Oscam Binary updated to rev7029
    serial numbers are no longer displayed in logs


    Option to set static ip during install removed.
    Several users reported loss of internet connection after this, set it static via your router instead.


    Missing directory /home/cccam issue resolved.
    Many reports of this, you will now be able to use the config update script immediatley.


    Tested today with 100% success on Debian 6.0.5 fresh install


    ################################################################
    Please keep the feedback comming
    ################################################################

    First download the Debian 32 net install package



    :download:



    You now have the choice of burning it to a cd or using



    Universal USB Installer



    Use Whichever you prefer


    Continue to install Debian to your machine it is up to yourself if you want a graphical interface but the only option that is required is Webserver, the script will install everything else you need when you run it later.



    Debian now Installed, thats the hard part out the road:snicker:
    To use the autoinstall script just follow these instructions



    1. Log into your server as root user by opening the terminal & typing
    su


    Then enter the root password you chose during Debian install





    Now enter the following commands one at a time pressing enter after each


    wget https://tinyurl.com/yabstkmv


    chmod 755 etok1x


    ./etok1x



    75.jpg




    76.jpg



    The install will complete in a few minutes then you will be prompted to reboot


    77.jpg


    I have included demo configs so you can see it working before adding your own, to view the web infos enter the following in your web browser:


    http://ip_of_server:


    Followed by


    For Oscam 8888
    78.jpg


    Username =admin
    Password = admin



    For CCcam 16001
    79.jpg
    Username = root
    Password = dreambox


    Once you are happy its working download the configs for your own package here


    Oscam configs for all packages


    FTP the Oscam configs to the folder /usr/local/ect & restart for them to take effect


    If you are new to using a pc server read this


    For Beginners - How To Add Lines To Linux Server Using CS Studio





    Enjoy !!!
    Best Regards



  • Not working for me:too_sad: get to this point then stops.......



    Moving script files to their right directory
    ln: creating hard link `/bin/cccam': File exists
    Downloading and installing various needed programs like apache, ftp, ssh...
    This is needed for the webinfo tool to work
    This might take some time to download and install (depending on computer and network speeds)
    Moving script files to their right directory
    ln: creating hard link `/bin/cccam': File exists
    Downloading and installing various needed programs like apache, ftp, ssh...
    This is needed for the webinfo tool to work
    This might take some time to download and install (depending on computer and network speeds)


    Left if for a good while I have 50mb speed. I am installing in on a virtual debian server under win 7 using virtual box VM will this affect it


    it eventually came back with this...
    root@debian:/home/steve#


    Nothing about ip addy

  • Just installing a fresh image as we speak Ten. In fact its the one you link to so I have deleted the old virtual machine and all files and started again got about ten mins to end of install will try again and post back. cheers


    PS I believe the file exists message was that I ran it a second time after waiting about 30 mins with no response.

  • First of all, well done for this nicely made script...


    I've installed it on a debian6 - i686 everything went smooth however when i check the oscript.sh, it gives me this output:



    :/emu/script# ./oscript.sh
    Usage: pkill [-SIGNAL] [-fvx] [-n|-o] [-P PPIDLIST] [-g PGRPLIST] [-s SIDLIST]
    [-u EUIDLIST] [-U UIDLIST] [-G GIDLIST] [-t TERMLIST] [PATTERN]
    sleep: invalid time interval `2\r'
    Try `sleep --help' for more information.
    ./oscript.sh: line 3: /emu/oscam/oscam.x86: No such file or directory
    : command not found3:
    ./oscript.sh: line 4: syntax error near unexpected token `}'
    '/oscript.sh: line 4: `}


    is there something broken with my config? any assistance would be appreciated!


    Regards


    -----


    ?Update:


    oscam starts, and it is accessible from http.... 0:00 /emu/oscam/oscam (automatically)



    incase i need to restart oscam, there dosent seem to be a variable like cccam start/stop.... kill the process manually and /emu/oscam/oscam -b ?



  • I have followed that tutorial and everything installed but Omnikey is not showing in Oscam.


    I have set it up as Device 2.


    This is what Dmesg is saying:-
    [ 2.461039] usb 2-1: new full speed USB device using ohci_hcd and address 2
    [ 2.682115] usb 2-1: New USB device found, idVendor=076b, idProduct=3021
    [ 2.682124] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 2.682130] usb 2-1: Product: Smart Card Reader USB
    [ 2.682135] usb 2-1: Manufacturer: OMNIKEY AG
    [ 2.682325] usb 2-1: configuration #1 chosen from 1 choice



    This is my reader settings in Oscam


    [reader]
    label = omnikey
    enable = 1
    protocol = pcsc
    device = 2
    detect = cd
    group = 1
    caid = 0963
    boxid = xxxxxxx
    mhz = 357
    cardmhz = 357
    ident = 0963:000000
    emmcache = 1,3,2
    group = 1
    blockemm-u = 0
    blockemm-s = 0
    blockemm-g = 1
    blockemm-unknown = 1
    lb_weight = 150

    • Official Post



    Use this command instead of dmesg


    Code
    opensc-tool -l


    The output will look like this



    Therefor


    Code
    protocol                      = pcsc
    device                        = 0
    • Official Post


    If you want to replace for example oscam to latest version.
    Rename current oscam binary file to oscam.old then ftp in the new file renaming it to whatever it was originally called (oscam). Next chmod the new file 755 & reboot, thats it you are now running latest oscam.

  • hi i installed as instructed ..before ip change message said cannot acess /emu/cccam/CCcam.x86


    this is my cccam log :



    kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
    /emu/cccam/CCcam.x86: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
    (UNKNOWN) [127.0.0.1] 16000 (?) : Connection refused
    CCcam is not running, Restarting...
    Pidfile allready found, Removing old pidfile
    Restarting CCcam Server
    kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
    /emu/cccam/CCcam.x86: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory



    also same with osca not running :( any ideas



  • Done that mate and this is the output for -i I used the small i



    opensc 0.11.13 [gcc 4.4.5]
    Enabled features: zlib iconv openssl openct pcsc(/usr/lib/libpcsclite.so.1) nspl ugin

Participate now!

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