Oscam auto update script for ubuntu

There are 31 replies in this Thread which was already clicked 25,985 times. The last Post () by weejake.

    • Official Post

    Hi all,


    I have prepeared a script that automatically checks and updates oscam to the latest version and I want to share it with you...
    (I use this on Ubuntu Server 10.10)


    In terminal


    Code
    sudo mkdir /var/local/bin/


    1) create a file named: oscam_update.sh (or watever you want)


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


    2) insert the following content


    3) chmod oscam_update.sh to 755


    PHP
    sudo chmod 755 oscam_update.sh


    4) run it!!!


    PHP
    sudo ./oscam_update.sh


    Also you can add it as cron job and run it in a specific time of the day.
    example:


    PHP
    sudo nano /etc/crontab


    add this line (this runs at 04:00 every day)

    PHP
    # m h dom mon dow user  command
    01 04 * * * root /var/local/bin/oscam_update.sh


    Thanks to billyk for this script..

  • 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

    • Official Post

    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


    Log in as root & use this command first to create the directory

    Code
    mkdir /var/local/bin/


    Then Copy & paste in the code in step 1.
    A new window will open, copy & paste in the code from step 2.
    Press ctrl & o then ctrl & x, this will save and exit back to original screen.
    From there just copy & paste in the rest of the codes.


    Tested this myself just now it will work, i will edit the original guide with this info.






    Yes that will create it, copy & paste the info from step 2 in the terminal window

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

  • 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

  • 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


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


    Regards

  • Im just wondering would i need to update my scripts? Sorry never done is b4. Im using ubuntu 10.4 oscam 6003 & cccam 213. I have updated my oscam birary files

  • 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

  • Well ,as you can see by the amount of responses you got ,,not many could help you out with your particular query,
    so the next obvious step would be to share your knowledge and experience so as to help others out too and if possible with screencaptures or shots.
    thanks,

  • 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

    • Official Post

    My assumption is that the script assumes you have previously compiled oscam on this server. All the error files you have posted point to the missing folders & files which are present should you manually compile so i guess you have used auto install & this is the problem. Last week was a tough one for admin with 2 of us spending 18 hours a day trying to get the forum back online meeting all sorts of problems.
    Is the script good or is there something that needs changing for it to work?

OSCam Support Forum

Configs, discussion, downloads and guides for OSCam Softcam.

Participate now!

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