Posts by Jeffzapp

    Hi


    Just caught it. Oscam is defo staying on line and cccam is just stoping. (unable to connect to 127.0.0.1:16001) If I leave it CCcam will restart it's self after about 4 mins. Any ideas why?


    Regards

    Hi Ten


    I assumed both but I never tried to open the Oscam web interface to see if it was running. I did read somewhere once that the setup in the config.php file in the var/www folder can cause this problem but if the setup was wrong then surely the problem would be there all the time and not intermitant. If I can catch it happening tonight I will check if Oscam has stopped and I will report back.


    Regards

    Morning everyone


    I have Ubuntu 11.04, Oscam/CCcam 2.1.3. It has been runing with no problems at all now all of a sudden Oscam and CCcam just disconects (everything freezes) I have checked with cccam info by Togoody and when I try to manualy update it says cannot conect to 127.0.0.1. If I dont touch anything it will reconect after a couple of mins. It is like the internet has disconected but it defo hasn't as I can open a web page. Any ideas on a fix would be most welcome.


    Regards

    Hi master G


    I assumed that you and the rest of the team where very busy and well done for all your hard work getting this great forum back up and running. I will explain now how I got it working in the end. I formatted with a fresh install of ubuntu 10.10 and I did use the CCcam/Oscam auto install file. It installed with no problems whatsoever and ran very well. I decided I wanted to install the Oscam Auto Update script as I wanted to use the latest build and after following the instructions I could not get it to run as it should. However I searched high and low for reasons why it wouldn't run properly and I came up with this bit of info. When you install a fresh Ubuntu op system it doesn't for whatever reason even after updating it fully install all the applications you need to build the files, directory's etc u need to run the script. You have to install them yourself. Here is the list I had to install before it would run. (These words are not mine I found them elsewhere but they worked for me)


    This is a little howto for compiling oscam on some linux computers (debian, ubuntu, ...)


    you need these prerequisites before starting (they can be installed with this command sudo apt-get install <package_name> or with synaptic) :


    build-essential
    g++
    libssl-dev
    libusb-1.0-0-dev
    libpcsclite-dev
    cmake


    sample : sudo apt-get install libssl-dev


    After I had installed these I followed the instructions at the start of this thread.


    sudo mkdir /var/local/bin/


    I then did


    sudo nano /var/local/bin/oscam_update.sh


    I then went to the above file and inserted the following content bellow. (The only thing I changed was the http address it go's to for the latest oscam version)


    ###### #### ##### ##### ### ###
    ## ## ## ## ## ## ## ## ##
    ## ## ##### ## ####### ## ## ##
    ## ## ## ## ## ## ## ##
    ###### #### ##### ## ## ## ## R


    ####################################################################
    # 18 Jan 2011
    # By: billyk
    # Description: Automaticaly check and update to latest oscam version
    # Also restars it after update
    ####################################################################
    # - You can modify it to fit your needs :)
    # - Add # infront of any line that you don't want to execute
    ####################################################################
    echo "--> 1rst go to oscam's dir"
    cd /usr/local/bin
    echo " [ OK ] "
    echo "--> Backup previus version"
    #you must create a folder named: oscam_backups under /usr/local/bin
    sudo mv ./oscam ./oscam_backups/oscam_$(date +%m-%d-%Y-%H:%M)
    echo " [ OK ] "
    echo "--> Let's remove old folder..."
    sudo rm -rf oscam-svn
    echo " [ OK ] "
    echo "--> Checking for latest version and create oscam-svn dir..."
    sudo svn co http://streamboard.gmc.to/svn/oscam/trunk oscam-svn
    echo " [ OK ] "
    echo "--> Change dir to: oscam-svn"
    cd oscam-svn/
    echo " [ OK ] "
    echo "--> Create new folder: build_dir"
    sudo mkdir build_dir
    echo " [ OK ] "
    echo "Change dir to: build_dir"
    cd build_dir
    echo " [ OK ] "
    echo "--> Compile new version with Smargo smartreader support"
    sudo cmake -DHAVE_LIBUSB=1 /usr/local/bin/oscam-svn


    # You must have the needed libs to run smartreader with oscam.
    # If you do not want smartreader support...
    # ...simply remove [-DHAVE_LIBUSB=1]
    # so you will have this line:
    # sudo cmake /usr/local/bin/oscam-svn


    echo " [ OK ] "
    echo "--> Now... make!"
    sudo make
    echo " [ OK ] "
    echo "--> Finally we install the latest fersion..."
    sudo make install
    echo " [ OK ] "
    echo "---> ...so it's time to clean..."
    sudo make clean
    echo "OK. Now you have the latest oscam version!"


    #########################################################################
    # Also you can stop and start oscam from this script
    # The only thing you have to do is to remove the # from following lines...
    ##########################################################################
    if ps x |grep -v grep |grep -c oscam >/dev/null
    then
    echo "Oscam is running so we will stop it & restart it"
    sudo killall -9 oscam
    echo "Oscam killed"
    sleep 1
    echo "...so going to start it"
    sudo /usr/local/bin/oscam -b &
    echo "Done. Oscam is running!"
    echo "If oscam's settings are OK, you will have picture at 5 to 10 seconds!"
    echo "Chears! :)"
    else
    echo "Starting oscam..."
    sudo /usr/local/bin/oscam -b &
    fi
    ##########################################################################


    I then went to /usr/local/bin and created a folder called oscam_backups


    I then used the command


    sudo chmod 755 /var/local/bin/oscam_update.sh


    Then I ran it using the command


    sudo /var/local/bin/oscam_update.sh


    It ran removed the old oscam, placed it in the oscam_backups folder and then placed the latest version of oscam with Smartreader support in it's place and restarted everything.


    Hope this helps someone out


    Regards

    Hi Cazuela


    Thanks for your reply. I will obviously post the knowlage I have obtained ASAP. I am shocked that no one on this forum knew how to help me along my journey with this difficult task though as I am sure a few people must have known where I was going wrong but never mind i'm sure they had more pressing matters to attend to.


    Regards

    svn co h**p://streamboard.gmc.to/svn/oscam/trunk oscam-svn


    Hi M8


    Thanks for the reply and your help but still getting this in Oscam web info


    2012/03/15 15:29:10 0 s loadbalancer: can't read from file /tmp/.oscam/stat
    2012/03/15 15:29:10 0 s waiting for local card init
    2012/03/15 15:29:10 B7608418 r ERROR, you have specified 'protocol = smartreader' in oscam.server,
    2012/03/15 15:29:10 B7608418 r recompile with SmartReader support.
    2012/03/15 15:29:10 B7608418 r Cannot open device: 008:002
    2012/03/15 15:30:10 B7608418 r ERROR, you have specified 'protocol = smartreader' in oscam.server,
    2012/03/15 15:30:10 B7608418 r recompile with SmartReader support.
    2012/03/15 15:30:10 B7608418 r Cannot open device: 008:002
    2012/03/15 15:31:10 B7608418 r ERROR, you have specified 'protocol = smartreader' in oscam.server,
    2012/03/15 15:31:10 B7608418 r recompile with SmartReader support.
    2012/03/15 15:31:10 B7608418 r Cannot open device: 008:002
    2012/03/15 15:32:10 B7608418 r ERROR, you have specified 'protocol = smartreader' in oscam.server,
    2012/03/15 15:32:10 B7608418 r recompile with SmartReader support.
    2012/03/15 15:32:10 B7608418 r Cannot open device: 008:002
    2012/03/15 15:33:02 8BCC210 h Restart requested by WebIF from 192.168.0.10
    2012/03/15 15:33:02 8BCC210 h restart oscam requested
    2012/03/15 15:33:02 8BCC210 h HTTP Server: Shutdown requested.
    2012/03/15 15:33:10 B7608418 r ERROR, you have specified 'protocol = smartreader' in oscam.server,
    2012/03/15 15:33:10 B7608418 r recompile with SmartReader support.
    2012/03/15 15:33:10 B7608418 r Cannot open device: 008:002
    2012/03/15 15:34:10 B7608418 r ERROR, you have specified 'protocol = smartreader' in oscam.server,
    2012/03/15 15:34:10 B7608418 r recompile with SmartReader support.
    2012/03/15 15:34:10 B7608418 r Cannot open device: 008:002



    Regards


    Dont know why the http:// address my post is being changed and highlighted in yellow. As its not the one I am typing.


    Regards

    I've got it running now but Oscam web info is giving me this error


    2012/03/14 00:01:16 81F91B0 h HTTP Server listening on port 8888
    2012/03/14 00:01:16 81D8DE0 r ERROR, you have specified 'protocol = smartreader' in oscam.server,
    2012/03/14 00:01:16 81D8DE0 r recompile with SmartReader support.
    2012/03/14 00:01:16 81D8DE0 r Cannot open device: 008:002
    2012/03/14 00:02:16 81D8DE0 r ERROR, you have specified 'protocol = smartreader' in oscam.server,
    2012/03/14 00:02:16 81D8DE0 r recompile with SmartReader support.
    2012/03/14 00:02:16 81D8DE0 r Cannot open device: 008:002


    So obviously this address the script file is pointing at (oscam - Revision 6514: /trunk oscam-svn) is wrong as it is not building Oscam with Smargo Smartreader support. Any help with this problem???


    Regards

    Update.


    I changed the svn co oscam - Revision 6514: /trunk oscam-svn to svn co oscam - Revision 6514: /trunk oscam-svn and now my terminal is saying this.....


    **********@**********:~$ sudo /var/local/bin/oscam_update.sh
    --> 1rst go to oscam's dir
    [ OK ]
    --> Backup previus version
    mv: cannot move `./oscam' to `./oscam_backups/oscam_03-13-2012-22:56': No such file or directory
    [ OK ]
    --> Let's remove old folder...
    [ OK ]
    --> Checking for latest version and create oscam-svn dir...
    A oscam-svn/module-cccam.h
    A oscam-svn/Distribution
    A oscam-svn/Distribution/doc
    A oscam-svn/Distribution/doc/txt
    A oscam-svn/Distribution/doc/txt/oscam.cacheex.txt
    A oscam-svn/Distribution/doc/txt/oscam.txt
    A oscam-svn/Distribution/doc/txt/oscam.provid.txt
    A oscam-svn/Distribution/doc/txt/oscam.dvbapi.txt
    A oscam-svn/Distribution/doc/txt/oscam.server.txt
    A oscam-svn/Distribution/doc/txt/oscam.whitelist.txt
    A oscam-svn/Distribution/doc/txt/oscam.ird.txt
    A oscam-svn/Distribution/doc/txt/oscam.user.txt
    A oscam-svn/Distribution/doc/txt/list_smargo.txt
    A oscam-svn/Distribution/doc/txt/oscam.ac.txt
    A oscam-svn/Distribution/doc/txt/oscam.services.txt
    A oscam-svn/Distribution/doc/txt/oscam.conf.txt
    A oscam-svn/Distribution/doc/txt/oscam.guess.txt
    A oscam-svn/Distribution/doc/txt/oscam.tiers.txt
    A oscam-svn/Distribution/doc/txt/oscam.srvid.txt
    A oscam-svn/Distribution/doc/txt/oscam.cert.txt
    A oscam-svn/Distribution/doc/html
    A oscam-svn/Distribution/doc/html/oscam.whitelist.5.html
    A oscam-svn/Distribution/doc/html/list_smargo.1.html
    A oscam-svn/Distribution/doc/html/oscam.ird.5.html
    A oscam-svn/Distribution/doc/html/oscam.user.5.html
    A oscam-svn/Distribution/doc/html/oscam.ac.5.html
    A oscam-svn/Distribution/doc/html/oscam.services.5.html
    A oscam-svn/Distribution/doc/html/oscam.conf.5.html
    A oscam-svn/Distribution/doc/html/oscam.guess.5.html
    A oscam-svn/Distribution/doc/html/oscam.tiers.5.html
    A oscam-svn/Distribution/doc/html/oscam.srvid.5.html
    A oscam-svn/Distribution/doc/html/oscam.1.html
    A oscam-svn/Distribution/doc/html/oscam.cert.5.html
    A oscam-svn/Distribution/doc/html/oscam.cacheex.5.html
    A oscam-svn/Distribution/doc/html/oscam.provid.5.html
    A oscam-svn/Distribution/doc/html/oscam.dvbapi.5.html
    A oscam-svn/Distribution/doc/html/oscam.server.5.html
    A oscam-svn/Distribution/doc/example
    A oscam-svn/Distribution/doc/example/oscam.ird
    A oscam-svn/Distribution/doc/example/oscam.user
    A oscam-svn/Distribution/doc/example/oscam.cacheex
    A oscam-svn/Distribution/doc/example/oscam.ac
    A oscam-svn/Distribution/doc/example/oscam.provid
    A oscam-svn/Distribution/doc/example/oscam.services
    A oscam-svn/Distribution/doc/example/oscam.conf
    A oscam-svn/Distribution/doc/example/oscam.dvbapi
    A oscam-svn/Distribution/doc/example/oscam.guess
    A oscam-svn/Distribution/doc/example/oscam.server
    A oscam-svn/Distribution/doc/example/oscam.tiers
    A oscam-svn/Distribution/doc/example/oscam.srvid
    A oscam-svn/Distribution/doc/example/oscam.whitelist
    A oscam-svn/Distribution/doc/example/oscam.cert
    A oscam-svn/Distribution/doc/man
    A oscam-svn/Distribution/doc/man/oscam.whitelist.5
    A oscam-svn/Distribution/doc/man/list_smargo.1
    A oscam-svn/Distribution/doc/man/oscam.ird.5
    A oscam-svn/Distribution/doc/man/oscam.user.5
    A oscam-svn/Distribution/doc/man/oscam.ac.5
    A oscam-svn/Distribution/doc/man/oscam.services.5
    A oscam-svn/Distribution/doc/man/oscam.conf.5
    A oscam-svn/Distribution/doc/man/oscam.guess.5
    A oscam-svn/Distribution/doc/man/oscam.tiers.5
    A oscam-svn/Distribution/doc/man/oscam.srvid.5
    A oscam-svn/Distribution/doc/man/oscam.1
    A oscam-svn/Distribution/doc/man/oscam.cert.5
    A oscam-svn/Distribution/doc/man/oscam.cacheex.5
    A oscam-svn/Distribution/doc/man/oscam.provid.5
    A oscam-svn/Distribution/doc/man/oscam.dvbapi.5
    A oscam-svn/Distribution/doc/man/oscam.server.5
    A oscam-svn/Distribution/monitor
    A oscam-svn/Distribution/monitor/mpcsmon.sh
    A oscam-svn/Distribution/monitor/mpcsmon-src-0.5b.tar
    A oscam-svn/Maketype
    A oscam-svn/module-camd35.c
    A oscam-svn/cmake
    A oscam-svn/cmake/Modules
    A oscam-svn/cmake/Modules/FindLibusb.cmake
    A oscam-svn/cmake/Modules/UseConfig.cmake
    A oscam-svn/cmake/Modules/FindLibrt.cmake
    A oscam-svn/openxcas
    A oscam-svn/openxcas/openxcas_api.h
    A oscam-svn/openxcas/libOpenXCASAPI.a
    A oscam-svn/openxcas/openxcas.conf
    A oscam-svn/openxcas/openxcas_smartcard.h
    A oscam-svn/openxcas/openxcas_message.h
    A oscam-svn/reader-viaccess.c
    A oscam-svn/VERSION
    A oscam-svn/reader-cryptoworks.c
    A oscam-svn/module-coolapi.c
    A oscam-svn/module-coolapi.h
    A oscam-svn/reader-videoguard-common.c
    A oscam-svn/oscam-log.c
    A oscam-svn/toolchains
    A oscam-svn/toolchains/toolchain-arm-dockstar-openwrt.cmake
    A oscam-svn/toolchains/toolchain-mips-dir825.cmake
    A oscam-svn/toolchains/toolchain-arm-coolstream.cmake
    A oscam-svn/toolchains/toolchain-arm-friendlyarm.cmake
    A oscam-svn/toolchains/toolchain-mips-azbox.cmake
    A oscam-svn/toolchains/toolchain-tripledragon.cmake
    A oscam-svn/toolchains/toolchain-mips-agv2_w.cmake
    A oscam-svn/toolchains/toolchain-mips-tuxbox.cmake
    A oscam-svn/toolchains/toolchain-sh4-amino.cmake
    A oscam-svn/toolchains/toolchain-sparc-padre.cmake
    A oscam-svn/toolchains/toolchain-mips-fonera2.cmake
    A oscam-svn/toolchains/toolchain-mips-wrt54g.cmake
    A oscam-svn/toolchains/toolchain-arm-wrt350nv2-openwrt.cmake
    A oscam-svn/toolchains/toolchain-powerpc-tuxbox.cmake
    A oscam-svn/toolchains/toolchain-arm-nslu2-unslung.cmake
    A oscam-svn/toolchains/toolchain-arm-nslu2-openwrt.cmake
    A oscam-svn/toolchains/toolchain-arm-none.cmake
    A oscam-svn/toolchains/toolchain-mipsel-tuxbox.cmake
    A oscam-svn/toolchains/toolchain-sh4-qboxhd.cmake
    A oscam-svn/module-gbox.c
    A oscam-svn/reader-videoguard-common.h
    A oscam-svn/module-dvbapi.c
    A oscam-svn/Makefile
    A oscam-svn/module-dvbapi.h
    A oscam-svn/oscam.c
    A oscam-svn/module-serial.c
    A oscam-svn/reader-tongfang.c
    A oscam-svn/oscam-config.c
    A oscam-svn/cscrypt
    A oscam-svn/cscrypt/bn_lcl.h
    A oscam-svn/cscrypt/rc6.h
    A oscam-svn/cscrypt/bn_asm.c
    A oscam-svn/cscrypt/idea_lcl.h
    A oscam-svn/cscrypt/i_ecb.c
    A oscam-svn/cscrypt/bn_div.c
    A oscam-svn/cscrypt/bn_add.c
    A oscam-svn/cscrypt/bn_print.c
    A oscam-svn/cscrypt/crc32.c
    A oscam-svn/cscrypt/bn_mul.c
    A oscam-svn/cscrypt/bn_sqr.c
    A oscam-svn/cscrypt/md5.c
    A oscam-svn/cscrypt/aes
    A oscam-svn/cscrypt/aes/aes_core.c
    A oscam-svn/cscrypt/aes/aes.h
    A oscam-svn/cscrypt/bn_word.c
    A oscam-svn/cscrypt/CMakeLists.txt
    A oscam-svn/cscrypt/Makefile
    A oscam-svn/cscrypt/i_cbc.c
    A oscam-svn/cscrypt/bn.h
    A oscam-svn/cscrypt/idea.h
    A oscam-svn/cscrypt/openssl_mods.h
    A oscam-svn/cscrypt/bn_exp.c
    A oscam-svn/cscrypt/des.c
    A oscam-svn/cscrypt/bn_ctx.c
    A oscam-svn/cscrypt/buffer.h
    A oscam-svn/cscrypt/mem.c
    A oscam-svn/cscrypt/des.h
    A oscam-svn/cscrypt/i_skey.c
    A oscam-svn/cscrypt/bn_lib.c
    A oscam-svn/cscrypt/rc6.c
    A oscam-svn/cscrypt/sha
    A oscam-svn/cscrypt/sha/sha1.h
    A oscam-svn/cscrypt/sha/sha1.c
    A oscam-svn/cscrypt/bn_shift.c
    A oscam-svn/cscrypt/cscrypt.h
    A oscam-svn/reader-conax.c
    A oscam-svn/oscam-config.h
    A oscam-svn/reader-videoguard1.c
    A oscam-svn/global-functions.h
    A oscam-svn/oscam-simples.c
    A oscam-svn/module-radegast.c
    A oscam-svn/oscam-http.c
    A oscam-svn/oscam-http.h
    A oscam-svn/reader-i*****.c
    A oscam-svn/oscam-garbage.c
    A oscam-svn/reader-common.c
    A oscam-svn/reader-nagra.c
    A oscam-svn/reader-videoguard12.c
    A oscam-svn/reader-common.h
    A oscam-svn/module-newcamd.c
    A oscam-svn/csctapi
    A oscam-svn/csctapi/ifd_smartreader.h
    A oscam-svn/csctapi/ifd_phoenix.h
    A oscam-svn/csctapi/smartreader_types.h
    A oscam-svn/csctapi/sci_global.h
    A oscam-svn/csctapi/ifd_azbox.c
    A oscam-svn/csctapi/ifd_mp35.c
    A oscam-svn/csctapi/ifd_azbox.h
    A oscam-svn/csctapi/ifd_pcsc.c
    A oscam-svn/csctapi/ifd_mp35.h
    A oscam-svn/csctapi/ifd_pcsc.h
    A oscam-svn/csctapi/defines.h
    A oscam-svn/csctapi/icc_async_exports.h
    A oscam-svn/csctapi/atr.c
    A oscam-svn/csctapi/atr.h
    A oscam-svn/csctapi/icc_async.c
    A oscam-svn/csctapi/Makefile
    A oscam-svn/csctapi/CMakeLists.txt
    A oscam-svn/csctapi/t1_block.c
    A oscam-svn/csctapi/icc_async.h
    A oscam-svn/csctapi/ifd_sci.c
    A oscam-svn/csctapi/t1_block.h
    A oscam-svn/csctapi/protocol_t0.c
    A oscam-svn/csctapi/ifd_sci.h
    A oscam-svn/csctapi/protocol_t1.c
    A oscam-svn/csctapi/io_serial.c
    A oscam-svn/csctapi/protocol_t0.h
    A oscam-svn/csctapi/ifd_smargo.c
    A oscam-svn/csctapi/io_serial.h
    A oscam-svn/csctapi/sci_ioctl.h
    A oscam-svn/csctapi/ifd_cool.c
    A oscam-svn/csctapi/ifd_cool.h
    A oscam-svn/csctapi/mc_global.h
    A oscam-svn/csctapi/ifd_sc8in1.c
    A oscam-svn/csctapi/ifd_smartreader.c
    A oscam-svn/csctapi/ifd_sc8in1.h
    A oscam-svn/csctapi/ifd_phoenix.c
    A oscam-svn/module-pandora.c
    A oscam-svn/reader-dre.c
    A oscam-svn/oscam-http-helpers.c
    A oscam-svn/LICENCE
    A oscam-svn/oscam-ac.c
    A oscam-svn/module-lcd.c
    A oscam-svn/CMakeLists.txt
    A oscam-svn/config.sh
    A oscam-svn/module-cccshare.c
    A oscam-svn/module-stat.c
    A oscam-svn/algo
    A oscam-svn/algo/lzoconf.h
    A oscam-svn/algo/minilzo.c
    A oscam-svn/algo/minilzo.h
    A oscam-svn/algo/CMakeLists.txt
    A oscam-svn/algo/Makefile
    A oscam-svn/oscam-reader.c
    A oscam-svn/module-constcw.c
    A oscam-svn/module-cccshare.h
    A oscam-svn/oscam-chk.c
    A oscam-svn/module-csp.c
    A oscam-svn/oscam-types.h
    A oscam-svn/module-monitor.c
    A oscam-svn/reader-videoguard2.c
    A oscam-svn/reader-seca.c
    A oscam-svn/README
    A oscam-svn/OSCam.xcodeproj
    A oscam-svn/OSCam.xcodeproj/project.pbxproj
    A oscam-svn/utils
    A oscam-svn/utils/list_smargo.c
    A oscam-svn/utils/CMakeLists.txt
    A oscam-svn/cygwin
    A oscam-svn/cygwin/WinSCard.h
    A oscam-svn/cygwin/SCardErr.h
    A oscam-svn/cygwin/WinSmCrd.h
    A oscam-svn/.gitignore
    A oscam-svn/module-datastruct-llist.c
    A oscam-svn/globals.h
    A oscam-svn/module-cccam.c
    A oscam-svn/module-datastruct-llist.h
    A oscam-svn/module-camd33.c
    U oscam-svn
    Checked out revision 6514.
    [ OK ]
    --> Change dir to: oscam-svn
    [ OK ]
    --> Create new folder: build_dir
    [ OK ]
    Change dir to: build_dir
    [ OK ]
    --> Compile new version with Smargo smartreader support
    -- The C compiler identification is GNU
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Looking for pthread.h
    -- Looking for pthread.h - found
    -- pthread found. Adding pthread support
    -- Looking for openssl/aes.h
    -- Looking for openssl/aes.h - found
    -- openssl found.
    -- Looking for time.h
    -- Looking for time.h - found
    -- librt found (needed by libusb).
    -- static libusb 1.0 not found (not in /usr/local/lib/ or /usr/lib/). No smartreader support
    -- Looking for PCSC/wintypes.h
    -- Looking for PCSC/wintypes.h - found
    -- PCSC headers found (/usr/include/PCSC). Adding PCSC support
    -- The CXX compiler identification is unknown
    CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
    CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
    CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
    --
    -- operating system: Linux
    -- system type: i686-pc-linux
    -- system: linux
    -- cpu: i686
    -- hw: pc
    -- use libcrypto functions
    -- use system pcsc functions
    -- use system pthread functions
    --
    -- Configuring incomplete, errors occurred!
    [ OK ]
    --> Now... make!
    make: *** No targets specified and no makefile found. Stop.
    [ OK ]
    --> Finally we install the latest fersion...
    make: *** No rule to make target `install'. Stop.
    [ OK ]
    ---> ...so it's time to clean...
    make: *** No rule to make target `clean'. Stop.
    OK. Now you have the latest oscam version!
    Oscam is running so we will stop it & restart it
    Oscam killed
    ...so going to start it
    Done. Oscam is running!
    If oscam's settings are OK, you will have picture at 5 to 10 seconds!
    Chears! :)
    **********@**********:~$


    It has made folders in /usr/local/bin build_dir & oscam_svn (both with locks on. Can anyone explain if it's worked or not please??


    Regards

    Hi Everyone.


    I'm still trying to get this script to run and still no joy. Is there anyone on here who can help??? Here is where I am up to now.


    **********@***********:~$ sudo /var/local/bin/oscam_update.sh
    --> 1rst go to oscam's dir
    [ OK ]
    --> Backup previus version
    mv: cannot move `./oscam' to `./oscam_backups/oscam_03-13-2012-22:40': No such file or directory
    [ OK ]
    --> Let's remove old folder...
    [ OK ]
    --> Checking for latest version and create oscam-svn dir...
    svn: Repository moved temporarily to 'http://www.oscam.to/svn/oscam/trunk'; please relocate
    [ OK ]
    --> Change dir to: oscam-svn
    cd: 30: can't cd to oscam-svn/
    [ OK ]
    --> Create new folder: build_dir
    mkdir: cannot create directory `build_dir': File exists
    [ OK ]
    Change dir to: build_dir
    [ OK ]
    --> Compile new version with Smargo smartreader support
    CMake Error: The source directory "/usr/local/bin/oscam-svn" does not exist.
    Specify --help for usage, or press the help button on the CMake GUI.
    [ OK ]
    --> Now... make!
    make: *** No targets specified and no makefile found. Stop.
    [ OK ]
    --> Finally we install the latest fersion...
    make: *** No rule to make target `install'. Stop.
    [ OK ]
    ---> ...so it's time to clean...
    make: *** No rule to make target `clean'. Stop.
    OK. Now you have the latest oscam version!
    Oscam is running so we will stop it & restart it
    Oscam killed
    ...so going to start it
    Done. Oscam is running!
    If oscam's settings are OK, you will have picture at 5 to 10 seconds!
    Chears! :)
    **********@**********:~$


    Thanks in advance.


    Regards

    Hi There


    I have done a bit of tweeking and now my terminal is saying this


    root@********-desktop:~# /var/local/bin/oscam_update.sh
    --> 1rst go to oscam's dir
    [ OK ]
    --> Backup previus version
    [ OK ]
    --> Let's remove old folder...
    [ OK ]
    --> Checking for latest version and create oscam-svn dir...
    svn: Repository moved temporarily to 'http://www.oscam.to/svn/oscam/trunk'; please relocate
    [ OK ]
    --> Change dir to: oscam-svn
    /var/local/bin/oscam_update.sh: line 30: cd: oscam-svn/: No such file or directory
    [ OK ]
    --> Create new folder: build_dir
    mkdir: cannot create directory `build_dir': File exists
    [ OK ]
    Change dir to: build_dir
    [ OK ]
    --> Compile new version with Smargo smartreader support
    CMake Error: The source directory "/usr/local/bin/oscam-svn" does not exist.
    Specify --help for usage, or press the help button on the CMake GUI.
    [ OK ]
    --> Now... make!
    make: *** No targets specified and no makefile found. Stop.
    [ OK ]
    --> Finally we install the latest fersion...
    make: *** No rule to make target `install'. Stop.
    [ OK ]
    ---> ...so it's time to clean...
    make: *** No rule to make target `clean'. Stop.
    OK. Now you have the latest oscam version!
    Oscam is running so we will stop it & restart it
    Oscam killed
    ...so going to start it
    Done. Oscam is running!
    If oscam's settings are OK, you will have picture at 5 to 10 seconds!
    Chears! :)
    root@********-desktop:~# sudo: /usr/local/bin/oscam: command not found
    root@********-desktop:~#


    Can anyone see what is wrong please?


    Regards

    Hi There


    I have run the script now and this is what happened. I dont think it's updated Oscam. Could someone take a look and let me know if it's worked or not please?



    root@*********-desktop:~# /var/local/bin/./oscam_update.sh
    --> 1rst go to oscam's dir
    [ OK ]
    --> Backup previus version
    mv: cannot move `./oscam' to `./oscam_backups/oscam_03-07-2012-21:06': No such file or directory
    [ OK ]
    --> Let's remove old folder...
    [ OK ]
    --> Checking for latest version and create oscam-svn dir...
    sudo: svn: command not found
    [ OK ]
    --> Change dir to: oscam-svn
    /var/local/bin/./oscam_update.sh: line 30: cd: oscam-svn/: No such file or directory
    [ OK ]
    --> Create new folder: build_dir
    mkdir: cannot create directory `build_dir': File exists
    [ OK ]
    Change dir to: build_dir
    [ OK ]
    --> Compile new version with Smargo smartreader support
    sudo: cmake: command not found
    [ OK ]
    --> Now... make!
    make: *** No targets specified and no makefile found. Stop.
    [ OK ]
    --> Finally we install the latest fersion...
    make: *** No rule to make target `install'. Stop.
    [ OK ]
    ---> ...so it's time to clean...
    make: *** No rule to make target `clean'. Stop.
    OK. Now you have the latest oscam version!
    Oscam is running so we will stop it & restart it
    Oscam killed
    ...so going to start it
    Done. Oscam is running!
    If oscam's settings are OK, you will have picture at 5 to 10 seconds!
    Chears! :)
    root@*******-desktop:~#


    Regards

    Hi There


    I have tried endless times to install this script and failed. I dont seem to have a BIN file in /var/local it is just empty. Will Command 1 ( sudo nano /var/local/bin/oscam_update.sh) create a BIN file in /var/local? I dont use putty. Will the instuctions above work using the ubuntu terminal as root?


    Regards