Posts by s3n0

    You sure? What you sent above is displayed in the LOG when the satellite card is in the reader, but the ATR string is not read from your card. That is why I thought it might be a similar problem. Oscam must retrieve your card info (ATR string), but it has not read anything. The reader is also functional according to LOG records.


    You probably need the keys to a functional Oscam-Emu. It may be necessary to pair new NDS cards with the device. I really do not know. But the card should answer - at least what kind of satellite card (pass the ATR string).


    We don't even know which CAID you have in your satellite card. Without these data, communication with the card is not possible. The card must provide it and should be visible in the Oscam LOG.


    Try it with "boxid" and "ins7e11" entries, like this:

    (unfortunately, I don't know your provider's CAID because you didn't list it and it wasn't read from your satellite card with the help of Oscam)

    Hello,

    everything depends on which Enigma distribution you use. Is there an original Enigma? And so it depends on what trigger for Softcam (Oscam) is used there.


    The easiest way - replace the oscam binary file in your set-top box :

    1. check the name of the oscam service (the name of binary file), e.g. using the Shell (command-line):
      top | grep cam
    2. shoot down the oscam service:
      killall -9 recognized_oscam_service_name
    3. replace the oscam binary with a new file one, downloaded from the internet
      - use the binary file for sh4 chipset and for Enigma which do you use
      - copy and replace file via an FTP connection
      - the binary file should always be placed in the "/usr/bin" folder
      - if the file name is different from the original one, please rename it according to the original file name already in the set-top box
    4. as finally, restart the set-top box to restart the new Oscam (since I don't know which type of Oscam trigger is used in your Enigma)


    Or you may use the search button also :) : How do i install oscam vix4 image amiko alien 2


    You can install an extensions with a new feed sources for your Enigma: Softcam Feeds . Then, as first uninstall your old oscam version and then, as second, install the new one Oscam via the new included feed source, which is usually visible in the Plugin-MENU as the new entry - "Softcams" ... or use the command-line / Shell (opkg update && opkg list | grep oscam, then install what you need with the command: opkg install oscam_package_name).


    Your device uses the chipset "sh_4" what is not popular ... unfortunatelly. But oscam binary files exists also for sh4 chipsets.


    One way to manually install Oscam according to my own startup bash-script file, you can found here:

    Tutorial : How to install softcam (OSCam/CCCam) manually, if you hate ipk packages

    Hello.


    Probably the satellite card is inserted in the universal reader incorrectly ?


    Try to insert the card with the chip down / up and also with the chip in front / back. This may require a restart of the set-top box. Ideally, the satellite card should be inserted with the device turned off ! This avoids possible problems with card-reader damaging on cheaper set-top boxes.

    You have to describe the problem in detail.


    I'm sorry, but I don't understand what a server is, what a client is, and what happened where (what in the case of the client and what in the case of the server you mention).

    Sorry, but you have to write what you want first, because I'm not a fortune teller. :-/ Do you want to assign a button on the RCU to a bash script with deleting inactive readers? Do you want to schedule (into CRON daemon for example) as I mentioned above, auto-scan every 3 days of inactive readers and delete them from the oscam.server file? Do you want to do this (delete invalid readers) only at your instruction, manually, once a week for example?


    Of course, it would be a good idea to add an Oscam restart to the CRON scheduler. Alternatively, after checking inactive inactive Oscam readers every 3 days, for example, they will also be deleted + Oscam will restart.


    There are indeed many possibilities to do this. If I don't know what you intend, I can't even help you.

    Hello.


    LB weight is difficult to adjust. First you have to make the basic settings in the "oscam.conf" file (global section, all the "lb_......." entries).

    http://www.streamboard.tv/wiki…g/oscam.conf#Loadbalancer

    I recommend also to use (to enable) the lb_save option.


    Only then set the LB weight manually in the "oscam.server" file (reader all sections). You should also set the "fallback" condition for jump to another reader.

    http://www.streamboard.tv/wiki…ig/oscam.server#lb_weight


    You should also be aware of other settings that are related to or affect the behavior of the LB scale, such as preferlocards:

    http://www.streamboard.tv/wiki…cam.conf#preferlocalcards

    Or:

    http://www.streamboard.tv/wiki…fig/oscam.server#services

    Quote

    services

    HakenGruen.png Parameter ist optional

    WarningS.png Attention: If loadbalancing is enabled in oscam.conf [global] among lb_mode, then there may be no entries!


    Read and don't ask :). If you can't solve a problem for a long time, worry about yourself for a week ... then ask then :).


    There are many ways to configure it correctly. You have to choose a way that only suits you.

    :)

    Hi,


    of course ... in Linux you can do everything ... ha ha ... really anything. But after deleting broken readers, you also need to restart Oscam and if you own an Oscam server it can be a problem for connected clients (frequent reboot).


    For example, the Bash script could test for three days, the operation of all Oscam readers, and if one is always offline for three days, the entire configuration block will be deleted (can be deleted directly in the "oscam.server" file but also via interface / OscamWebif using the "wget" command, but the latter is more complicated to send "OK" confirmation by POST HTTP, when deleting the reader).

    If you are asking for a binary file, surely the best is the latest version of Oscam, according to your device's chipset (arm, mipsel, sh_4).

    How to install Oscam manually:

    Tutorial : How to install softcam (OSCam/CCCam) manually, if you hate ipk packages


    If you can not install Oscam yourself with a binary downloaded from the Internet, then you need an IPK package, but there have been changes recently in OpenATV:

    OpenATV SoftCam Feed Discussion Thread

    If you're asking for an installation package (IPK), then it's more difficult. If you only want an ipk package, I recommend extending your feed list with a softcam source in OpenATV and installing Oscam through this source (also shown in the Plugins menu). Softcam Resources / Feeds for OpenATV:

    OpenATV SoftCam Feed

    Discussion about OpenATV softcam feeds:

    OpenATV SoftCam Feed Discussion Thread

    Which exactly inactivity do you mean ? Are you picking the right file ? :)


    Check where your configuration files are stored to see if the path to them has changed:


    Oscam Webif -> Files -> oscam.version -> and there please check the entry named as "ConfigDir"

    You can try to produce an Oscam binary for your router/firmware via some Linux-PC. Download the appropriate toolchain (SDK for creating and developing the Oscam). Then you download the latest Oscam source code. And finally you compile the Oscam binary file. However, this is a more complex procedure.

    http://www.streamboard.tv/oscam/wiki/BuildingOscam

    http://www.streamboard.tv/oscam/wiki/crosscompiling


    If you would like to compile sources right under the set top box, so it will fail, because there is really-really chopped Linux.


    Toolchains also exist specifically for OpenWrt with mipsel chipsets:

    http://www.streamboard.tv/osca…osscompiling#mips_openwrt

    Hello. Say perhaps to the Tp-Link router TL-MR3020v.1 with openwrt on board install the oscam?

    Hello.


    OpenWrt does not include Oscam on its feed server, but can be installed by any method that can be found via Google :). The OpenWrt full package database is here:

    https://openwrt.org/packages/start


    OpenWrt for TL-MR3020:

    https://openwrt.org/toh/tp-link/tl-mr3020


    For other or derived versions of firmware, such as dd-wrt, asuswrt-merlin and some similar, you must install the Entware or Optware extension. However, not every router and not every "wrt" based open-source firmware supports this extension (Entware or Optware). Entware extension is more popular and often praised.


    Finding a binary or compiling your own Oscam on a poor linux used in WiFi routers is ridiculous. I have found the binaries for my new Asus RT-AC66U-B1 but it's unnecessarily complicated. The Entware feed already includes an Oscam package. I use AsusWrt-Merlin firwmare and I can install Entware into it. Then I just need to install the Oscam package.

    I still didn't understand, sorry.


    I think you're talking about the inactivity of a client connected to your server (the time after which the user will be automatically disconnected from the server).

    -file: oscam.server

    -block: [reader]

    -entry: inactivitytimeout = 30

    http://www.streamboard.tv/wiki….server#inactivitytimeout


    Or do you write about this ?

    -file: oscam.conf

    -block: [global]

    -entry: clientmaxidle = 30

    http://www.streamboard.tv/wiki…/oscam.conf#clientmaxidle


    Try changing the contents of the corresponding configuration file while Oscam is stopped. Let Oscam run again. However, this should not be a problem.


    If you are using an FTP client, try to verify that the edited file has actually been saved to disk (verify its contents after saving) !


    Try to change and save the configuration directly in Oscam Webif and not just by editing the file on your PC via FTP client.


    Have you tried to check what I wrote above ?

    Here:

    http://www.streamboard.tv/wiki…en/Config/oscam.user#uniq


    I also recommend setting "penalty = 2" for example, let the user learn :). Then the user starts using the reshare. So then you have to do everything possible to limit or completely prohibit re-share. There are several ways. The one way is unfortunately breakable (BUG in Oscam), but I don't remember which one it is. But surely you should also disable re-share. Try searching in config manuals (oscam.user, oscam.conf, oscam.server), here:

    http://www.streamboard.tv/wiki/OSCam/en


    It can also be a potential user error if he accidentally ran 2 x Oscam in his set-top box. I recommend contacting the user first and compromising him. If he wants, then create him some other accounts. And don't forget to disable re-share (there are many ways to do this).

    LOL, so it doesn't work. This is the scripting language and the Linux shell respectively. You have to write what you don't understand and then can't explain it to you. It would take a long time to explain all the lines. You just need to learn how to use the Linux Shell (command-line) and then learn the POSIX syntax for writing Bash or Sh or other scripts :).


    If you knew at least the basics, you would know what to do. The start of your functional Oscam is on this line (the binary file is called the same - ie as "oscam"):

    /usr/bin/oscam -b &

    And it stops by hard blasting the service, on this line:

    killall -9 oscam 2>/dev/null


    Running a service like a daemon in the background using the character "&" at the end of the command is not the best solution, in my opinion. Correctly, Oscam as a daemon runs in the background via the argument "-b", so together:

    -b -r 2 -c /etc/tuxbox/config/oscam (of course, configuration path you can change as you need, or set to none)


    More info:

    http://www.streamboard.tv/wiki/OSCam/en/ShellCommands


    If you'd like, you can find my improved Oscam start script (folder "/etc/init.d") here:

    https://github.com/s3n0/e2scripts/raw/master/softcam


    It also depends on the distribution of the Enigma which you use, as the support of softcams or even the startup script itself may differ a bit (not always used to run such "init.d" script).


    Running another daemon is a bit of a long explanation. Editing and copying the start script (so caled "init.d" script) is not enough. After copying, renaming and modifying ("oscam" binary filename to "cccam" for example), you have to assign this script from the "/etc/init.d" folder to the run-level system.

    Which exactly inactivity do you mean ? Are you picking the right file ? :)


    Check where your configuration files are stored to see if the path to them has changed:

    Oscam Webif -> Files -> oscam.version -> and there please check the entry named as "ConfigDir"


    Will your configured value be lost after Oscam restart (with Oscam Webif restart) also ?

    Yes, maybe it's an old post (more than 365 days ago), but NOBODY answer. If someone is looking for an answer in the future, I will consider one of the possible solutions :).


    Add the following line into the CRON config-file "/etc/cron/crontab/root" (depending on the Enigma2 distribution, the path to the CRON configuration file may differ).

    0 6 */10 * *       /usr/bin/wget -q -O - "http://loginname:password@127.0.0.1:8888/readers.html?action=reread&label=reader_sci0"

    The configuration entry at the beginning of the line means that refresh-entitlements in Oscam Webif will start automatically every 10 days, at 06:00.


    Please change :

    • login name
    • password
    • port number (if you changed it)
    • card-reader name ("reader_sci0" used in the example)

    ...as you need.


    If you do not use any login and password (set in the file "oscam.conf"), then of course you can omit the entry "loginname:password" from the link.