Serverprobleme mit Kobil Kaan Standard Plus

Philipp Sternberg <[email protected]>
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
Hallo,

ich versuche nun seit ca. einer Woche mit gnucash mit HBCI zu benutzen 
(mittels Kobil Kaan Standrad Plus) unter Verwendung folgender 
Debian-Softwarepakete:
libchipcard: 1.9.11.99+1.9.12beta-2
libgwenhywfar17: 1.11.0-1
libaqbanking: 1.0.8-1

Allerdings habe ich immer wieder mit Problemen zu kämpfen. Das Schlimme ist, 
es scheint immer wieder was anderes zu sein, was nicht funktioniert.
Quasi nach jedem Neustart was Neues..

Dieses mal siehts wenn ich mit dem kde_wizard zur HBCI 
Konteneinrichtungsassistent bei der Modulüberprüfung so aus (Server log)
der Server ist mittels start-stop-daemon mit --user root --chuid root 
gestartet.
 
6:2005/04/17 22-48-09:chipcardd(6257):cs_driver.c:  833: Arguments are: " 
-l /usr/lib/libct.so --logtype file 
--logfile /var/log/chipcard2/drivers/kobil_ctapi/@[email protected] -t local 
-a /tmp/.chipcard2/chipcard2.sock -p 7392 -i 4262cb77"
6:2005/04/17 22-48-09:chipcardd(6257):cs_driver.c:  847: Process started
6:2005/04/17 22-48-09:chipcardd(6257):cardserver.c: 1235: Sending notification 
driver:start to all clients
6:2005/04/17 22-48-09:chipcardd(6257):cardserver.c: 1235: Sending notification 
reader:start to all clients
6:2005/04/17 22-48-09:chipcardd(6257):cardserver.c:  905: Command 
"DriverReady"
6:2005/04/17 22-48-09:chipcardd(6257):cs_driver.c: 1183: Driver 4262cb7b: 
DriverReady
5:2005/04/17 22-48-09:chipcardd(6257):cs_driver.c: 1353: Driver "4262cb77" is 
up (Library loaded)
6:2005/04/17 22-48-09:chipcardd(6257):cardserver.c: 1235: Sending notification 
driver:up to all clients
3:2005/04/17 22-48-10:chipcardd(6257):cs_driver.c:  521: Driver reported error 
on startup of reader "auto1-ko_kaan_plus_usb": Invalid port number
6:2005/04/17 22-48-10:chipcardd(6257):cardserver.c: 1235: Sending notification 
reader:error to all clients


Der Client sagt in der Zeit gar nichts..
Ach so, im Anhang noch mal meine Konfigurationsdateien:

Für jede Art von Hilfe bin ich euch dankbar !

Schöne Grüße, Philipp Sternberg
chipcardc2.conf (text/plain, 2.7 KB)
# config derived from chipcardc2.conf example
#    copyright   : (C) 2004 by Martin Preuss
#
# Each server section tells a chipcard2 client where a chipcard2-server
# is sitting.
#
server {
  #
  # Connection type the server uses, currently supported are these:
  #
  # - "local"
  #   local server, using Unix Domain Sockets which can only be
  #   connected from the very same machine. In this case "addr" must point
  #   to the socket file used by the server.
  #   Some systems to not support these kinds of sockets (most notably
  #   Win32 systems).
  #   On all other systems this is the recommended type if no authentification
  #   is needed.
  # 
  # - "public"
  #   server using TCP sockets (not encrypted, for security reasons you should
  #   not use such a server with chipcard2)
  #
  # - "private"
  #   server using SSL secured sockets.
  #   New certificates are stored in the folder given by "newcertdir",
  #   received certificates are checked against those in "certdir"
  #   This is the recommended type if "local" is not available.
  #
  # - "secure"
  #   server using SSL secured sockets. In addition to mode
  #   "private" the certificate of the server is checked against
  #   those stored in the "certdir". If the server certificate could
  #   not be found or is invalid the connection is aborted.
  #
  typ="local"

  #
  # address the server is listening on (or socket file if type is "local")
  #
  addr="/tmp/.chipcard2/chipcard2.sock"
  
  #
  # TCP port the server is listening on (not used if type is "local")
  #
  #port="55555"


  # if type is "private" or "secure" the following variables are used
  
  #
  # folder which contains valid SSL certificates (if the certificate of the
  # server is amongst those stored there then the connection is regarded as
  # secure).
  # Please note that this folder must be readable by every user who wants
  # to use libchipcard2-client programs.
  #
  #certdir="/etc/chipcard2-client/certificates/valid"
  
  #
  # this is the folder where newly received SSL certificates are stored.
  # By copying a file from this folder to the one given as "certdir" you
  # tell the SSL code that the certificates inside those files are to be
  # accepted
  #
  #newcertdir="/home/martin/.chipcard2/certificates/new"
  
  #
  # if type is "secure" then the client needs to send a certificate to the
  # server in order to identify itself. This file should be in PEM format.
  # (see OpenSSL documentation)
  # When creating a certificate you should set the "commonName" field in the
  # certificate to the name used to identify yourself to the chipcard2 
  # server (most likely your username or real name)
  #
  #certfile="/etc/chipcard2/client/cert.pem"
  
} # service
chipcardd2.conf (text/plain, 1.2 KB)
# derived from chipcardd2.conf example file
#    copyright   : (C) 2004 by Martin Preuss

# This is the chipcardd2.conf specially modified by Philipp Sternberg for the use of USB readers

# if this is "0" then the server won't start
enabled="1"

server {
  # local server, using Unix Domain Sockets which can only be
  # connected from the very same machine
  typ="local"                 
  addr="/tmp/.chipcard2/chipcard2.sock"
} # server



#Autokonfiguration aktivieren:
int disableAutoConf="0"

#Nicht ttyUSBx devieces werden nur beim Serverstart abgefragt:
int usbScanInterval="0"

#ttyUSBx devices werden alle zehn Sekunden abgefragt:
int usbTtyScanInterval="10"

#Remote Clients (betrifft auch einige lokalen Programme) zulassen
allowRemote="1"

#
# timeout when starting a driver (in seconds)
#
int driverStartTimeout="10"

#
# timeout when starting a reader (including driverStartTimeout, in seconds)
#
int readerStartTimeout="20"

#
# time after which a driver is shut down when idle (in seconds)
#
int driverIdleTimeout="60"

#
# time after which a reader is shut down when idle (in seconds)
#
int readerIdleTimeout="30"

#
# maximum execution time for a command (in seconds)
#
readerCommandTimeout="60"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.