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

Oscam Startup Syntax

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mirny
    Experienced Board Member
    • Nov 2011
    • 707

    Oscam Startup Syntax

    Usage: oscam [-a] [-b] [-c <config dir>] [-d <level>] [-g <mode>] [-h] [-p <num>] [-r <level>] [-s] [-t <tmp dir>] [-u] [-w <secs>]

    -a : write oscam.crash on segfault (needs installed GDB and OSCam compiled with debug infos -ggdb)

    -b : start in background

    -c <dir> : read configuration from <dir>
    default = /var/tuxbox/config

    -d <level> : debug level mask
    0 = no debugging (default)
    1 = detailed error messages
    2 = ATR parsing info, ECM, EMM and CW dumps
    4 = traffic from/to the reader
    8 = traffic from/to the clients
    16 = traffic to the reader-device on IFD layer
    32 = traffic to the reader-device on I/O layer
    64 = EMM logging
    128 = DVBAPI logging
    256 = Loadbalancer logging
    512 = CACHEEX logging
    1024 = Client ECM logging
    65535 = Debug all

    -g <mode> : garbage collector debug mode (1=immediate free, 2=check for double frees), these options are intended for debug only!

    -h : show this help

    -p <num> : maximum number of pending ECM packets, default:32, maximum:255

    -r <level> : restart level
    0 = disabled, restart request sets exit status 99
    1 = restart activated, web interface can restart oscam (default)
    2 = like 1, but also restart on segmentation faults

    -s : capture segmentation faults

    -t <dir> : tmp dir <dir>
    default = /tmp/.oscam

    -u : enable output of web interface in UTF-8 charset

    -w <secs> : wait up to <secs> seconds for the system time to be set correctly, default:60
    HD-BOX FS-9200,SkyStar HD2 USB CI, Skystar2 90Fe Motor, 85Al Multifeed

    If you like my post, or was helpful, don't be shy and press the Thanks Button.
  • cisko
    Banned
    • Sep 2012
    • 237

    #2
    Re: Oscam Startup Syntax

    Originally posted by mirny
    -b : start in foreground
    -b : start in background

    Comment

    • mirny
      Experienced Board Member
      • Nov 2011
      • 707

      #3
      Re: Oscam Startup Syntax

      of course, i miss that, now its correct
      HD-BOX FS-9200,SkyStar HD2 USB CI, Skystar2 90Fe Motor, 85Al Multifeed

      If you like my post, or was helpful, don't be shy and press the Thanks Button.

      Comment

      • cisko
        Banned
        • Sep 2012
        • 237

        #4
        Re: Oscam Startup Syntax

        You can also have this help and more writing ./oscam-xx --help in your terminal under linux, where oscam-xx is the name of your oscam binary file when you are in the same directory of binary file.

        Comment

        • mirny
          Experienced Board Member
          • Nov 2011
          • 707

          #5
          Re: Oscam Startup Syntax

          hmm i'm trying to run this help, but it wont work.
          i'm trying it on my box, binary is in the /var/bin/oscam
          so i go to telnet wrote cd /var, cd /bin, oscam --help
          but it wont work, do you think i can run it on my box in telnet?
          HD-BOX FS-9200,SkyStar HD2 USB CI, Skystar2 90Fe Motor, 85Al Multifeed

          If you like my post, or was helpful, don't be shy and press the Thanks Button.

          Comment

          • cisko
            Banned
            • Sep 2012
            • 237

            #6
            Re: Oscam Startup Syntax

            yes, oscam --help is works, also oscam -h, but you must be in your oscam file directory, or you must use full path.
            For example, if you have your oscam binary into /var/local folder and oscam name is simple oscam you can have two way, fist:
            Code:
            cd /var/local
            ./oscam --help
            second:
            Code:
            /var/local/oscam --help
            Here an output:
            Code:
            $/var/local/oscam --help
            Various info about your builded binary version then:
            
             Usage: oscam [-a] [-b] [-c <config dir>] [-d <level>] [-g <mode>] [-h] [-p <num>] [-r <level>] [-S] [-s] [-t <tmp dir>] [-u] [-w <secs>]
            
            	-a         : write oscam.crash on segfault (needs installed GDB and OSCam compiled with debug infos -ggdb)
            
            	-b         : start in background
            
            	-c <dir>   : read configuration from <dir>
            	             default = /usr/local/etc
            
            	-d <level> : debug level mask
            	                   0 = no debugging (default)
            	                   1 = detailed error messages
            	                   2 = ATR parsing info, ECM, EMM and CW dumps
            	                   4 = traffic from/to the reader
            	                   8 = traffic from/to the clients
            	                  16 = traffic to the reader-device on IFD layer
            	                  32 = traffic to the reader-device on I/O layer
            	                  64 = EMM logging
            	                 128 = DVBAPI logging
            	                 256 = Loadbalancer logging
            	                 512 = CACHEEX logging
            	                1024 = Client ECM logging
            	               65535 = Debug all
            
            	-g <mode>  : garbage collector debug mode (1=immediate free, 2=check for double frees), these options are intended for debug only!
            
            	-h         : show this help
            
            	-p <num>   : maximum number of pending ECM packets, default:32, maximum:255
            
            	-r <level> : restart level
            	               0 = disabled, restart request sets exit status 99
            	               1 = restart activated, web interface can restart oscam (default)
            	               2 = like 1, but also restart on segmentation faults
            
            	-S         : do not filter sensitive info (card serial numbers) from the logs
            
            	-s         : capture segmentation faults
            
            	-t <dir>   : tmp dir <dir>
            	             default = /tmp/.oscam
            
            	-u         : enable output of web interface in UTF-8 charset
            
            	-w <secs>  : wait up to <secs> seconds for the system time to be set correctly, default:60

            Comment

            • mirny
              Experienced Board Member
              • Nov 2011
              • 707

              #7
              Re: Oscam Startup Syntax

              I've tryied it with both ways when i was in that directory and with path aswell, i think its not suported in sh4 oscam version, i mean its workin just in proper linux pc based build
              HD-BOX FS-9200,SkyStar HD2 USB CI, Skystar2 90Fe Motor, 85Al Multifeed

              If you like my post, or was helpful, don't be shy and press the Thanks Button.

              Comment

              • cisko
                Banned
                • Sep 2012
                • 237

                #8
                Re: Oscam Startup Syntax

                I think is a problem of your version.
                Now I'm entered into my sh4 decoder with telnet and this is working fine:
                Code:
                # /var/bin/oscam-1.20-unstable_svn7698-sh4-linux-ssl [B]-h[/B]
                  ___  ____   ___
                 / _ \/ ___| / __|__ _ _ __ ___
                | | | \___ \| |  / _` | '_ ` _ \
                | |_| |___) | |_| (_| | | | | | |
                 \___/|____/ \___\__,_|_| |_| |_|
                
                OSCam cardserver v1.20-unstable_svn, build #7698 (sh4-linux-ssl)
                Copyright (C) 2009-2012 OSCam developers.
                This program is distributed under GPLv3.
                OSCam is based on Streamboard mp-cardserver v0.9d written by dukat
                Visit http://www.streamboard.tv/oscam/ for more details.
                
                .....a long string with builded features....
                
                 Usage: oscam [-a] [-b] [-c <config dir>] [-d <level>] [-g <mode>] [-h] [-p <num>] [-r <level>] [-S] [-s] [-t <tmp dir>] [-u] [-w <secs>]
                
                        -a         : write oscam.crash on segfault (needs installed GDB and OSCam compiled with debug infos -ggdb)
                
                        -b         : start in background
                
                        -c <dir>   : read configuration from <dir>
                                     default = /root/plugin/var/tuxbox/config
                
                        -d <level> : debug level mask
                                           0 = no debugging (default)
                                           1 = detailed error messages
                                           2 = ATR parsing info, ECM, EMM and CW dumps
                                           4 = traffic from/to the reader
                                           8 = traffic from/to the clients
                                          16 = traffic to the reader-device on IFD layer
                                          32 = traffic to the reader-device on I/O layer
                                          64 = EMM logging
                                         128 = DVBAPI logging
                                         256 = Loadbalancer logging
                                         512 = CACHEEX logging
                                        1024 = Client ECM logging
                                       65535 = Debug all
                
                        -g <mode>  : garbage collector debug mode (1=immediate free, 2=check for double frees), these options are intended for debug only!
                
                        -h         : show this help
                
                        -p <num>   : maximum number of pending ECM packets, default:32, maximum:255
                
                        -r <level> : restart level
                                       0 = disabled, restart request sets exit status 99
                                       1 = restart activated, web interface can restart oscam (default)
                                       2 = like 1, but also restart on segmentation faults
                
                        -S         : do not filter sensitive info (card serial numbers) from the logs
                
                        -s         : capture segmentation faults
                
                        -t <dir>   : tmp dir <dir>
                                     default = /tmp/.oscam
                
                        -u         : enable output of web interface in UTF-8 charset
                
                        -w <secs>  : wait up to <secs> seconds for the system time to be set correctly, default:60

                Comment

                Working...