Posts by Boxaren

    The clients are connected as long as they are connected to my lan, but when i change my configuration/move the clients outside my lan to use them via the dyndns i am getting this result Host name missmatch or invalid IP /encrypted newcamd:client "ip" xxxxxxxxxx rejected, and in the log:




    Hi Guys
    Ok now i have a new computer and installed the oscam in win environment, everything is up and running including the web if.
    First are there anything needed to be added in the different settings like reader etc in the webif?
    If i checking in the log i have the following errors, could you explain whats wrong?
    2012/12/23 13:47:57 C1C348 r viasat [mouse] ERROR: Opening device dev/ttyS13 (errno=2 No such file or directory)
    2012/12/23 13:47:57 C1C348 r viasat [mouse] Cannot open device: dev/ttyS13
    2012/12/23 13:48:57 C1AB78 r cd [mouse] ERROR: Opening device device/ttyS12 (errno=2 No such file or directory)
    0 s newcamd: Bind request failed (Address already in use), waiting another 55 seconds

    Hmmm confused
    If i log in via web if for the linux Pc which should be the server 192.168.1.3:9999 it fails but if remove :9999 it says it works but strange
    It works!


    This is the default web page for this server.


    The web server software is running but no content has been added, yet


    Therfore it was a little confused and not so little (Boxaren is a jerk
    ) probably beacuse of all the fiddeling with ........
    Sorry for this mess......

    2012/12/22 13:12:47 C111E8 r cd [mouse] Cannot open device: device/ttyS12
    2012/12/22 13:13:47 C111E8 r cd [mouse] ERROR: Opening device device/ttyS12 (errno=2 No such file or directory)
    2012/12/22 13:13:47 C111E8 r cd [mouse] Cannot open device: device/ttyS12
    2012/12/22 13:13:47 C12DC0 r viasat [mouse] ERROR: Opening device dev/ttyS13 (errno=2 No such file or directory)
    2012/12/22 13:13:47 C12DC0 r viasat [mouse] Cannot open device: dev/ttyS13
    Reader log:
    cd mouse 0 / 0 / 0 / 0 0 / 0 / 0 / 0 0 / 0 / 0 / 0 0 / 0 / 0 / 0 0 (0.00%) 0 (0.00%) 0 / 0 100 Edit Reader Show Entitlement Reset and reload Entitlement Write EMM Loadbalancer statistics Delete Reader
    disable this reader viasat mouse 0 / 0 / 0 / 0 0 / 0 / 0 / 0 0 / 0 / 0 / 0 0 / 0 / 0 / 0 0 (0.00%) 0 (0.00%) 0 / 0 100


    I see something strange here dev/ttyS13 i have the config dev/ttyUSB0 and 1 in my oscam but in the webif it says S12&13 hmmm?

    I have connected to the webif through my dreambox which information is needed?
    Reader?
    Status from first screen?


    By the way thanks a lot for all help so far:mrg:


    I am giving up...cant use the webif, cant get in contact with my readers and are trying everything i can find in the forum and also with all other help i'm getting from the members. It must be the pc that is not working as it should do even if i have updated it with the latest kernels and version of Ubuntu with other words it's a disaster.
    I will buy a new computer beacuse now i will through it out through the window next to me and i hope that Santa is not entering below the window.
    I will start all over with the new one with window configuration.


    Thanks a lot all of you who tried to help out, i will come back with new question when i'm up and running with the win pc.
    Merry Christmas and Happy New Year


    To keep you posted;
    Santa was not under the window thank good for that, but the man next to me (onkel Bill G) was there ooooppppps.
    I have already started my win pc to debug so i will be back rather soon with more tricky ques...............


    I am running the latest oscam-->oscam-1.20-unstable_svn7944-x86_64-linux-gnu-ssl-libusb-pcsc
    If i am running this commando-->proc/tty/driver/serial i am recieving-->
    serinfo:1.0 driver revision:
    0: uart:16550A port:000003F8 irq:4 tx:0 rx:0
    1: uart:16550A port:000002F8 irq:3 tx:0 rx:0
    And if im running this commando-->opensc-tool --list-readers
    No smart card readers found.
    And if im running this comando-->setserial -G /dev/ttyUSB0
    /dev/ttyUSB0 uart unknown port 0x0000 irq 0 baud_base 24000000 spd_normal low_latency


    Reader firmware version 1,3


    Very confused, probably my brain or the Pc are f*cked up
    More info i installed the oscam on my win pc and there is now problem with the reader, they are connected to the USB ports in a proper way and are identified in the oscam etc. but the only problem with that one is i cant use the computer since i'am using that one for my profession but at least i know that the readers are not f*cked up



    I made this corrections as suggested but im still struggling with the reader connection and can not get out any info from the log since the readers are not "connected" if i start the oscam with the commando -->/usr/sbin/oscam -b i can find this info on the screen:
    ^@^@/usr/src/oscam/oscam-svn/oscam-config-reader.c^@^@ERROR: '%s' is unsupported reader protocol!
    ^@^@^@Configuration newcamd: Error in Key
    ^@^@^@^@Determined local mac address for mg-encrypted as %s^@Configuration reader: corrected label to %s
    ^@^@^@^@Configuration reader: Error in rsakey
    ^@^@Configuration reader: Error in ins7E
    ^@^@^@Configuration reader: Error in ins7E
    ^@^@/usr/src/oscam/oscam-svn/oscam-config-reader.c^@^@ERROR: '%s' is unsupported reader protocol!

    Code
    Bus 001 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 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
    Bus 001 Device 006: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
    Bus 001 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC


    Hi
    Soon i will get realy bananas, i have tried to configure my Linux pc-->Linux Klient 3.2.0-34-generic #53-Ubuntu SMP Thu Nov 15 10:49:02 UTC 2012 i686 i686 i386 GNU/Linux
    and added 2 smargos frpm argolis.


    When i'm running dmesg | grep ttyS i get this result


    Code
    [    0.457488] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    [    0.593579] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    [    0.651725] 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    [    0.734599] 00:0b: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A


    when im running
    pc/sc scanner i'm getting this result
    Scanning present readers...
    Waiting for the first reader...


    It seams that i have no connection to my readers and i have been looking in the forum and found a lot of helpful things but still struggling with this issue
    When i'm running dmesg i'm getting this result



    I have aslo latency timer which i think is beacuse there is no or readers are not found.


    When i'm running -->opensc-tool --reader 0 --atr i recieve the following
    No smart card readers found


    root@Klient:~# setserial -G /dev/ttyUSB0
    /dev/ttyUSB0 uart unknown port 0x0000 irq 0 baud_base 24000000 spd_normal low_latency


    //Please could any one help me to configure my linux so the readers are connecting to the USB

    I have configured by oscam and are trying to debug my oscam settings but since i cant get in contact with the readers i cant debug the settings based on the commands lsusb&dmesg etc. i'm getting the following log.
    The log file belows tells me they are disconnected and i have a message latency timer -32 every time i check with the command lsusb
    Looking in different forums to find out how to come around this small issue but i can't find any answers anywhere.........
    I have installed the latest Ubuntu including the latest oscam but nothing helps.
    Please could anyone help me out with a hint or a command where i could change the settings for the latency timer etc if this is the real problem?
    I have tried with a separate hub for the USB powered by separate power connector, nop didn't help.
    Now im totaly lost.........



    Dec 2 15:05:28 Klient modem-manager[448]: <info> (ttyUSB0) opening serial port...
    Dec 2 15:05:41 Klient modem-manager[448]: <info> (ttyUSB0) closing serial port...
    Dec 2 15:05:41 Klient modem-manager[448]: <info> (ttyUSB0) serial port closed
    Dec 2 15:05:41 Klient modem-manager[448]: <info> (ttyUSB0) opening serial port...
    Dec 2 15:05:47 Klient modem-manager[448]: <info> (ttyUSB0) closing serial port...
    Dec 2 15:05:47 Klient modem-manager[448]: <info> (ttyUSB0) serial port closed
    Dec 2 15:05:47 Klient kernel: [ 238.354006] usb 1-2.1: new full speed USB device number 4 using uhci_hcd
    Dec 2 15:05:47 Klient kernel: [ 238.477559] ftdi_sio 1-2.1:1.0: FTDI USB Serial Device converter detected
    Dec 2 15:05:47 Klient kernel: [ 238.477843] usb 1-2.1: Detected FT232BM
    Dec 2 15:05:47 Klient kernel: [ 238.477913] usb 1-2.1: Number of endpoints 2
    Dec 2 15:05:47 Klient kernel: [ 238.477924] usb 1-2.1: Endpoint 1 MaxPacketSize 64
    Dec 2 15:05:47 Klient kernel: [ 238.477934] usb 1-2.1: Endpoint 2 MaxPacketSize 64
    Dec 2 15:05:47 Klient kernel: [ 238.477943] usb 1-2.1: Setting MaxPacketSize 64
    Dec 2 15:05:47 Klient kernel: [ 238.479045] ftdi_sio ttyUSB1: Unable to read latency timer: -32
    Dec 2 15:05:47 Klient kernel: [ 238.481122] usb 1-2.1: FTDI USB Serial Device converter now attached to ttyUSB1
    Dec 2 15:05:47 Klient mtp-probe: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:04.2/usb1/1-2/1-2.1"
    Dec 2 15:05:47 Klient mtp-probe: bus: 1, device: 4 was not an MTP device
    Dec 2 15:05:47 Klient modem-manager[448]: <info> (ttyUSB1) opening serial port...
    Dec 2 15:06:00 Klient modem-manager[448]: <info> (ttyUSB1) closing serial port...
    Dec 2 15:06:00 Klient modem-manager[448]: <info> (ttyUSB1) serial port closed
    Dec 2 15:06:00 Klient modem-manager[448]: <info> (ttyUSB1) opening serial port...
    Dec 2 15:06:06 Klient modem-manager[448]: <info> (ttyUSB1) closing serial port...
    Dec 2 15:06:06 Klient modem-manager[448]: <info> (ttyUSB1) serial port closed


    My card settings bye using try&error


    label = sat1
    enable = 1
    protocol = smartreader+
    device = /dev/ttyUSB0
    detect = ring
    mhz = 357
    cardmhz = 357
    aeskey = 0102030405060708090a0b0c0d0e0f10
    group = 1
    caid = 0B00
    emmcache = 1,3,2



    [reader]


    label = sat2
    enable= 1
    protocol = smartreader+
    device = /dev/ttyUSB1
    detect = ring
    mhz = 357
    cardmhz = 357
    aeskey = 0102030405060708090a0b0c0d0e0f10
    group = 2
    boxid = 823F4B8F #fake number
    caid = 093E
    emmcache = 1,3,2