Posts by csr1

    Hi,
    woke up to find readers were offline so went to var/log/user.log and believe i have captured the issue:


    May 5 06:55:59 csr1-desktop pcscd: winscard_svc.c:96:CreateContextThread() No more context available (max: 256)
    May 5 06:55:59 csr1-desktop pcscd: pcscdaemon.c:151:SVCServiceRunLoop() Problem during the context thread creation
    May 5 06:55:59 csr1-desktop pcscd: winscard.c:331:SCardConnect() Error Reader Exclusive
    May 5 06:56:59 csr1-desktop pcscd: last message repeated 15239 times
    May 5 06:56:59 csr1-desktop pcscd: winscard_svc.c:96:CreateContextThread() No more context available (max: 256)
    May 5 06:56:59 csr1-desktop pcscd: pcscdaemon.c:151:SVCServiceRunLoop() Problem during the context thread creation
    May 5 06:56:59 csr1-desktop pcscd: winscard.c:331:SCardConnect() Error Reader Exclusive
    May 5 06:57:31 csr1-desktop pcscd: last message repeated 7949 times
    May 5 06:57:31 csr1-desktop pcscd: commands.c:1301:CCID_Receive Card absent or mute

    Hi,
    am trying to resolve why my 2 Omnikey Readers everyday go offline once rebooted they are ok have looked in var/log/user.log
    which showed:
    May 1 12:04:59 csr1-desktop pcscd: winscard_svc.c:96:CreateContextThread() No more context available (max: 256)
    Can someone explain this i had already stopped logging in the pcscd file this did not resolve the problem so have reverted back to the standard unmodified pcscd file.
    thanks
    csr1

    Hi,
    have had issue with 2 Omnikey readers on unbuntu 10.04 server running Oscam i have altered the pscd folder to stop logging with DAEMON_ARGS="-e".
    When they stop i can reboot and issue goes away but comes back also i have reloaded drivers what is best way to fault the issue going to rebuild server and stop updates is one idea i have.
    thanks
    csr1


    Hi,
    i tried to alter my script but have not succeeded in restoring IP table after reboot however if i manually enter iptables-restore </var/etc/iptables.conf the ip's i saved return.
    One other thing i tried was to take out my script and using scheduled tasks i put in / iptables-restore </var/etc/iptables.conf to kick in at reboot this did not work so still very confused how to automate restoring blocked ip's after reboot.
    thanks
    csr1

    Hi,
    thanks for response so instead of:


    RESTORE=/sbin/iptables-restore

    It should be RESTORE=/sbin/iptables-restore</var/etc/iptables.conf


    sorry for my query but not great with command lines.
    csr1

    Hi,
    i have made up a IP Table for Blocking some incoming IP's as one of my users was hacked however after entering some IP's after Reboot they are saved but when i enter a new IP it overwrites all of the old entries where am i going wrong?
    Here is my config:


    I used a script in the following location /etc/network/if-pre-up.d/iptables



    This script is:


    #!/bin/sh


    # Load iptables rules before interfaces are brought online
    # This ensures that we are always protected by the firewall
    #
    # Note: if bad rules are inadvertently (or purposely) saved it could block
    # access to the server except via the serial tty interface.
    #


    RESTORE=/sbin/iptables-restore
    STAT=/usr/bin/stat
    IPSTATE=/etc/iptables.conf


    test -x $RESTORE || exit 0
    test -x $STAT || exit 0


    # Check permissions and ownership (rw------- for root)
    if test `$STAT --format="%a" $IPSTATE` -ne "600"; then
    echo "Permissions for $IPSTATE must be 600 (rw-------)"
    exit 0
    fi


    # Since only the owner can read/write to the file, we can trust that it is
    # secure. We need not worry about group permissions since they should be
    # zeroed per our previous check; but we must make sure root owns it.
    if test `$STAT --format="%u" $IPSTATE` -ne "0"; then
    echo "The superuser must have ownership for $IPSTATE (uid 0)"
    exit 0
    fi


    # Now we are ready to restore the tables
    $RESTORE < $IPSTATE



    when i save an entry i do the following:


    iptables-save > /etc/iptables.up.rules


    as stated earlier after reboot old entries are in the iptables.up.rules


    but when a new entry is saved the old are wiped?




    Thanks
    csr1

    Hi,
    have been having issue of Omnikeys going offline so as suggested in earlier post have added this line to the pcscd file:


    [DAEMON_ARGS='-e']


    however on reboot my Omnikeys will not restart all the time really scratching my head on this one
    thanks
    csr1

    Hi,
    i have an issue with my Omnikeys going offline running Unbuntu 10.04 with 6089 stable Bin currently have 2 Omnikeys connected unfortunately when it has occurred didn't catch any error codes however saw the potential issue of logging and changed my pcscd file with:
    DAEMON_ARGS="--your-option"
    however i do an auto reboot everyday and this morning my Omnikey readers did not initialise the following was captured:


    2012/04/04 7:33:01 B6F11B70 r Cannot open device: 1
    2012/04/04 7:33:01 B7712B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:33:01 B7712B70 r Cannot open device: 0
    2012/04/04 7:34:01 B6F11B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:34:01 B6F11B70 r Cannot open device: 1
    2012/04/04 7:34:01 B7712B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:34:01 B7712B70 r Cannot open device: 0
    2012/04/04 7:35:01 B6F11B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:35:01 B6F11B70 r Cannot open device: 1
    2012/04/04 7:35:01 B7712B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:35:01 B7712B70 r Cannot open device: 0
    2012/04/04 7:36:01 B6F11B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:36:01 B6F11B70 r Cannot open device: 1
    2012/04/04 7:36:01 B7712B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:36:01 B7712B70 r Cannot open device: 0
    2012/04/04 7:37:01 B6F11B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:37:01 B6F11B70 r Cannot open device: 1
    2012/04/04 7:37:01 B7712B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:37:01 B7712B70 r Cannot open device: 0
    2012/04/04 7:38:01 B6F11B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:38:01 B6F11B70 r Cannot open device: 1
    2012/04/04 7:38:01 B7712B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:38:01 B7712B70 r Cannot open device: 0
    2012/04/04 7:39:01 B6F11B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:39:01 B6F11B70 r Cannot open device: 1
    2012/04/04 7:39:01 B7712B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:39:01 B7712B70 r Cannot open device: 0
    2012/04/04 7:40:01 B6F11B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:40:01 B6F11B70 r Cannot open device: 1
    2012/04/04 7:40:01 B7712B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:40:01 B7712B70 r Cannot open device: 0
    2012/04/04 7:41:01 B6F11B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:41:01 B6F11B70 r Cannot open device: 1
    2012/04/04 7:41:01 B7712B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:41:01 B7712B70 r Cannot open device: 0
    2012/04/04 7:42:01 B6F11B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:42:01 B6F11B70 r Cannot open device: 1
    2012/04/04 7:42:01 B7712B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:42:01 B7712B70 r Cannot open device: 0
    2012/04/04 7:43:01 B6F11B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:43:01 B6F11B70 r Cannot open device: 1
    2012/04/04 7:43:01 B7712B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:43:01 B7712B70 r Cannot open device: 0
    2012/04/04 7:44:01 B6F11B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:44:01 B6F11B70 r Cannot open device: 1
    2012/04/04 7:44:01 B7712B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:44:01 B7712B70 r Cannot open device: 0
    2012/04/04 7:45:01 B6F11B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:45:01 B6F11B70 r Cannot open device: 1
    2012/04/04 7:45:01 B7712B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:45:01 B7712B70 r Cannot open device: 0
    2012/04/04 7:46:01 B6F11B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:46:01 B6F11B70 r Cannot open device: 1
    2012/04/04 7:46:01 B7712B70 r PCSC failed establish context (8010001d)
    2012/04/04 7:46:01 B7712B70 r Cannot open device: 0



    Switch Debug from 0 to 0 1 2 4 8 16 32 64 128 255


    --------------------------------------------------------------------------------




    OSCAM Webinterface developed by Streamboard Team - 04.04.12 07:46:24 | Access from 192.168.1.66


    Start: 04.04.12 - 04:00:01 | UpTime: 03:46:23 | Process ID: 1529



    I have reverted back to the default pcscd file to restore service the Omnikeys go off sometimes singularly or both
    any ideas?


    many thanks
    csr1

    Hi,
    can confirm i had v1.3 firmware this is what i did Kernal setting was auto and i clicked apply then went to fixed where i could change the freq to 6 Mhz on Auto Kernal is normal when i go to fixed it shows 6Mhz.
    How do i know if the Smargo is set to 6Mhz.
    thanks
    csr1


    Hi,
    thanks for the reply could you give me the link for the windows utility and is the current firmware ok the symptoms i also have are with the freezing the ECM times spike and the reader stops reading the card before i pass over logs will try to change config via utility.
    thanks
    csr1

    Hi,
    i have Linux server running with Unbuntu 10.04 on 6089 stable Bin configured a Smargo which is brand new but has bad freezing on ##y card tried altering poundage and clock and MHZ with no success my reader config is below:


    [reader]
    label = smargo
    description =
    protocol = smartreader
    device = 002:002
    pincode =
    boxid =
    showcls = 0
    caid = 0963
    ecmwhitelist = 0963:3E,42,44,45,47,4E,4F,53,54,61,62,67,68,69,6A,6B,6D,6F,71,72,73,77,78,79,7C,7D,7E,80,8B
    detect = cd
    mhz = 600
    cardmhz = 600
    group = 9
    emmcache = 1,3,2
    blockemm-unknown = 1
    blockemm-u = 1
    blockemm-s = 1
    blockemm-g = 1
    audisabled = 1



    Really scratching my head how to tackle this have reverted back to my Omnikey till i solve this.


    many thanks
    csr1