Posts by hislitermos

    hi,


    how could I make warning.txt file and fail2ban.log file date format the same?
    It's essential to run fail2ban for CCcam.


    /var/log/warning.txt :
    Date format:
    hour:minute:second


    Code
    23:54:22.663 Connection from IP: **.252.119.183 Login Failed!
    [COLOR='#FF0000']23:54:23.129[/COLOR] Connection from IP: 2.**.49.127 Login Failed!
    [COLOR='#FF0000']23:54:25.306[/COLOR] Connection from IP: 94.**.59.146 Login Failed!
    [COLOR='#FF0000']23:54:25.533[/COLOR] Connection from IP: 83.**.221.172 Login Failed!
    [COLOR='#FF0000']23:54:28.402[/COLOR] Connection from IP: 82.**.127.149 Login Failed!
    [COLOR='#FF0000']23:54:28.405[/COLOR] Connection from IP: 82.**.105.216 Login Failed!
    [COLOR='#FF0000']23:54:29.100[/COLOR] Connection from IP: 86.**.144.154 Login Failed!


    /var/log/fail2ban.log :
    Date format:
    year-month-day hour:minute:second


    Code
    [COLOR='#FF0000']2012-02-14 19:14:43,007 [/COLOR]fail2ban.actions: WARNING [ssh] Ban **.129.227.211
    [COLOR='#FF0000']2012-02-14 19:24:43,933[/COLOR] fail2ban.actions: WARNING [ssh] Unban **.129.227.211
    [COLOR='#FF0000']2012-02-14 22:15:30,179 [/COLOR]fail2ban.actions: WARNING [ssh] Ban **.63.249.42
    2012-02-14 22:25:31,019 fail2ban.actions: WARNING [ssh] Unban **.63.249.42
    2012-02-14 22:51:50,707 fail2ban.filter : INFO   Log rotation detected for /var/log/auth.log
    2012-02-14 23:00:01,362 fail2ban.filter : INFO   Log rotation detected for /var/log/auth.log




    thanks in advance
    Hislitermos

    Hi,


    Aim: I would like to run my pcsc (omnikey) readers with usb powered hub.
    System Configuration:


    Ubuntu 11.04 PC
    2 pcs NDS cards
    2 pcs Omnikey3021 reader
    1stcard is in usb hub, device 0
    2nd card is in usb hub, device 1


    Case 1:
    Both cards working normally.
    Omnikey readers are inserted into usb ports.
    There is no question.


    Here is my oscam conf:


    [reader]
    label = s*y**
    protocol = pcsc
    device = 0
    caid = 0963
    boxid = ********
    detect = cd
    ident = 0963:000000
    group = 1
    blockemm-unknown = 1
    blockemm-u = 1
    blockemm-s = 1
    blockemm-g = 1
    audisabled = 1


    [reader]
    label = s*y**
    protocol = pcsc
    device = 1
    caid = 09cd
    boxid = ********
    detect = cd
    ident = 09cd:000000
    group = 2
    blockemm-unknown = 1
    blockemm-u = 1
    blockemm-s = 1
    blockemm-g = 1
    audisabled = 1


    Case2:
    At this step, I will try to run powered usb hub.
    When I intend to run a powered usb hub which has eight slots:
    I remove both omnikey readers from usb port, then insert both them into powered usb hub.
    Then I type "lsusb" on ssh panel.


    Here is the result:


    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 006: ID 076b:3021 OmniKey AG CardMan 3121
    Bus 001 Device 005: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
    Bus 001 Device 004: ID 076b:3021 OmniKey AG CardMan 3121
    Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



    This is my oscam conf file:


    [reader]
    label = s*y**
    protocol = pcsc
    device = xxx
    caid = 0963
    boxid = ********
    detect = cd
    ident = 0963:000000
    group = 1
    blockemm-unknown = 1
    blockemm-u = 1
    blockemm-s = 1
    blockemm-g = 1
    audisabled = 1


    [reader]
    label = s*y**
    protocol = pcsc
    device = yyy
    caid = 09cd
    boxid = ********
    detect = cd
    ident = 09cd:000000
    group = 2
    blockemm-unknown = 1
    blockemm-u = 1
    blockemm-s = 1
    blockemm-g = 1
    audisabled = 1



    My question is that what should be xxx and yyy parameters for this system?
    -Should I run two different powered usb hub for two omnikey readers or may I use the same usb hub for both nds cards?
    -As I am gonna run two cards, should I reduce usb port reading speed from 480Mhz to 12Mhz?



    Thanks in advance
    Hislitermos

    Start CCcam and log to /home/debug.txt


    Hi,
    Thanks for your reply.
    I am struggling with fail2ban and not working.
    I see failed peer in emu/log/debug.txt file but I can not see his IP as "banned".
    Also check /var/log/auth.log and fail2ban.log files.


    PC: Debian 5.0


    illegal.sh :



    CCcam.cfg file:

    Code
    CHANNELINFO FILE : /var/etc/CCcam.channelinfo
    PROVIDERINFO FILE : /var/etc/CCcam.providers
    LOG WARNINGS : /emu/log/debug.txt
    CAID PRIO FILE : /var/etc/CCcam.prio
    DEBUG : yes
    WEBINFO USERNAME : admin
    WEBINFO PASSWORD : password
    WEBINFO LISTEN PORT : 9222
    SERVER LISTEN PORT : 9999
    SHOW TIMING : YES


    rc.local :

    Code
    /var/bin/CCcam.x86 -dv > /emu/log/debug.txt -C /var/etc/CCcam.cfg &



    Thanks in advance
    Hislitermos

    Code
    [cccam]
    port                          = 52000
    reshare                       = 1
    version                       = 2.1.2
    keepconnected                 = 0


    above you have keepconnected to = 0
    try changing it to = 1


    also there is no need to put expiry dates in your user accounts, I think you and your peers will probably be doing other things in 10 years time beer10


    Thanks for your reminder but I am running the card through Nlines to CCcam so you can ommit that "CCcam" phrases. About omnikey reader driver, I am in doubt that if I did not install the correct one.
    Whats the difference between "omnikey usb driver file" and "omnikey board usb driver file" ?



    Regards
    H.

    Hi,


    I am running ubuntu installed 64bit pc, omnikey 3121 and 0963 card. When I run it, clients be disconnected occasionally. It stops within ten minutes then come alive again and again..


    Oscam.Log:




    Oscam.conf:


    oscam.server:



    oscam.user:
    All users are similar notation:



    Any idea why it has been happening?



    H.

    update your sats.xml or as I do ,use catseye settings ..it could do the trick ;)



    Hi,
    Just an info: As far as I know, ready to use .xml files (channel frequencies) differantiates depending on your location in the world. If you are in UK, .xml parameters are different than that of the guy who is living in north africa or east Europe.
    If I were you, I would rather do manual rescan of your satellites.


    Regards
    Hislitermos

    hi,
    I was running the same system with 0963 and solved it.
    Was using newest ubuntu version 11.04 at notebook pc. It worked well at the beginning. Then recognition problem came out when I rebooted.
    Be sure that your pc type / ubuntu version compatibility and try to install pcsc drivers in another computer.
    I am running desktop pc (not notebook) and compatible ubuntu desktop version .


    One note: Be sure that you installed correct driver of omnikey usb driver. (there should be two different usb driver at omnikey's offical data download page)


    regards
    hislitermos