Re: Kartensetup mit aqhbci-tool

Johannes Kapune <[email protected]>
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
Hallo nochmal.

> > Hallo,
> > ich versuche gerade eine Dresdner Bank Karte zum mitspielen zu bewegen.
> > 
> > die Ausgaben in der shell sind:
> > 
> > [...]
> > johannes@johannes-02:~> aqhbci-tool adduser -m 0
> > 3:2005/11/21 14-30-57:(null)(6975):adduser.c:  276: No bank id stored
> > and none given
> > johannes@johannes-02:~> aqhbci-tool adduser -m 0 -s 193.194.7.124
> > 3:2005/11/21 14-36-37:(null)(6980):adduser.c:  276: No bank id stored
> > and none given
> > johannes@johannes-02:~>
> > 
> > Ich bin davon ausgegangen, die SERVER-ADDRESS ist die IP der Bank.
> > Da scheine ich was falsch zu verstehen.
> 
> Nein, das war vermutlich schon richtig so. Das Problem ist vermutlich
> eher, dass Deine Karte nicht vorpersonalisiert ist, d.h. noch keine
> Benutzerkennung gespeichert hat. Versuch mal, noch die Bankleitzahl mit
> -b, die Benutzerkennung mit -u und die Kundenkennung mit -c anzugeben.
> 
> Gruß
>   Micha
> 
Das habe ich  versucht, leider mit Fehlermeldung. Was kann ich noch
versuchen?



der Libchipcadd2-Server meckert nichts aber auf der shell:


----snip

3:2005/11/24 10-53-03:(null)(6715):addmedium.c:  146: Medium is already
listed
johannes@johannes-02:~> aqhbci-tool adduser -m 0 -s 193.194.7.124 -b
50080000 -u                                                  70nnnnnnnn
-c 34nnnnnnnnnnn
3:2005/11/24 10-54-08:chipcard2-client(6718):ct_card.c:  457: Unable to
read sta                                                 tus of pin 90
(3)
3:2005/11/24 10-54-08:chipcard2-client(6718):ct_card.c:  457: Unable to
read sta                                                 tus of pin 90
(3)
3:2005/11/24 10-54-08:chipcard2-client(6718):ct_card.c:  457: Unable to
read sta                                                 tus of pin 90
(3)
3:2005/11/24 10-54-08:chipcard2-client(6718):ct_card.c:  457: Unable to
read sta                                                 tus of pin 90
(3)
johannes@johannes-02:~> aqhbci-tool getkeys -c 34nnnnnnnnnnn
  <MESSAGE name="open" crypt="0" sign="0" nosysid="1">
    <SEG name="ident" type="Ident">
    </SEG>
    <SEG name="prepare" type="Prepare">
    </SEG>
    <SEG type="getKey" name="cryptkey">
    </SEG>
    <SEG type="getKey" name="signKey">
    </SEG>
    <VALUES>
      <VALUE path="ident/customerId">
        9999999999
      </VALUE>
      <VALUE path="ident/status">
        0
      </VALUE>
      <VALUE path="ident/systemId">
        0
      </VALUE>
      <VALUE path="cryptkey/key/keytype">
        V
      </VALUE>
      <VALUE path="cryptkey/key/keynum">
        999
      </VALUE>
      <VALUE path="cryptkey/key/keyversion">
        999
      </VALUE>
      <VALUE path="cryptkey/key/userid">
        999
      </VALUE>
      <VALUE path="signkey/key/keytype">
        S
      </VALUE>
      <VALUE path="signkey/key/keynum">
        999
      </VALUE>
      <VALUE path="signkey/key/keyversion">
        999
      </VALUE>
      <VALUE path="signkey/key/userid">
        999
      </VALUE>
    </VALUES>
  </MESSAGE>
AqHBCI gestartet
3:2005/11/24 10-55-49:gwen(6721):nettransportsock.c:  152:  Severity:
Error Type: Socket Code: Das Netzwerk ist nicht erreichbar (101)
3:2005/11/24 10-55-49:aqhbci(6721):hbci.c: 1590: Could not connect to
bank (-1)
3:2005/11/24 10-55-49:aqhbci(6721):outbox.c: 1324: Error performing
queue (-6)
Aufträge werden ausgeführt: 1 of 1
AqHBCI abgeschlossen.
3:2005/11/24 10-55-49:aqbanking(6721):banking.c:  951: No progress
context open
3:2005/11/24 10-55-49:(null)(6721):getkeys.c:  163: Job has errors
(error)
johannes@johannes-02:~> aqhbci-tool listmedia
Medium 0: "0002107544" (starcoscard/starcos)
johannes@johannes-02:~> aqhbci-tool adduser -m 0 -s 193.194.7.124 -b
50080000 -u 70nnnnnnnn -c 34nnnnnnnnnnn
3:2005/11/24 11-53-45:(null)(6870):adduser.c:  300: User 70nnnnnnnn
already exists
johannes@johannes-02:~> aqhbci-tool adduser -m 0 -s 193.194.7.124 -b
50080000 -u 70nnnnnnnn -c 34nnnnnnnnnnn
3:2005/11/24 11-53-58:(null)(6873):adduser.c:  300: User 70nnnnnnnn
already exists
johannes@johannes-02:~> aqhbci-tool getkeys -c 34nnnnnnnnnnn
  <MESSAGE name="open" crypt="0" sign="0" nosysid="1">
    <SEG name="ident" type="Ident">
    </SEG>
    <SEG name="prepare" type="Prepare">
    </SEG>
    <SEG type="getKey" name="cryptkey">
    </SEG>
    <SEG type="getKey" name="signKey">
    </SEG>
    <VALUES>
      <VALUE path="ident/customerId">
        9999999999
      </VALUE>
      <VALUE path="ident/status">
        0
      </VALUE>
      <VALUE path="ident/systemId">
        0
      </VALUE>
      <VALUE path="cryptkey/key/keytype">
        V
      </VALUE>
      <VALUE path="cryptkey/key/keynum">
        999
      </VALUE>
      <VALUE path="cryptkey/key/keyversion">
        999
      </VALUE>
      <VALUE path="cryptkey/key/userid">
        999
      </VALUE>
      <VALUE path="signkey/key/keytype">
        S
      </VALUE>
      <VALUE path="signkey/key/keynum">
        999
      </VALUE>
      <VALUE path="signkey/key/keyversion">
        999
      </VALUE>
      <VALUE path="signkey/key/userid">
        999
      </VALUE>
    </VALUES>
  </MESSAGE>
AqHBCI gestartet
3:2005/11/24 11-54-06:gwen(6876):nettransportsock.c:  152:  Severity:
Error Type: Socket Code: Das Netzwerk ist nicht erreichbar (101)
3:2005/11/24 11-54-06:aqhbci(6876):hbci.c: 1590: Could not connect to
bank (-1)
3:2005/11/24 11-54-06:aqhbci(6876):outbox.c: 1324: Error performing
queue (-6)
Aufträge werden ausgeführt: 1 of 1
AqHBCI abgeschlossen.
3:2005/11/24 11-54-06:aqbanking(6876):banking.c:  951: No progress
context open
3:2005/11/24 11-54-06:(null)(6876):getkeys.c:  163: Job has errors
(error)
johannes@johannes-02:~> aqhbci-tool getkeys
  <MESSAGE name="open" crypt="0" sign="0" nosysid="1">
    <SEG name="ident" type="Ident">
    </SEG>
    <SEG name="prepare" type="Prepare">
    </SEG>
    <SEG type="getKey" name="cryptkey">
    </SEG>
    <SEG type="getKey" name="signKey">
    </SEG>
    <VALUES>
      <VALUE path="ident/customerId">
        9999999999
      </VALUE>
      <VALUE path="ident/status">
        0
      </VALUE>
      <VALUE path="ident/systemId">
        0
      </VALUE>
      <VALUE path="cryptkey/key/keytype">
        V
      </VALUE>
      <VALUE path="cryptkey/key/keynum">
        999
      </VALUE>
      <VALUE path="cryptkey/key/keyversion">
        999
      </VALUE>
      <VALUE path="cryptkey/key/userid">
        999
      </VALUE>
      <VALUE path="signkey/key/keytype">
        S
      </VALUE>
      <VALUE path="signkey/key/keynum">
        999
      </VALUE>
      <VALUE path="signkey/key/keyversion">
        999
      </VALUE>
      <VALUE path="signkey/key/userid">
        999
      </VALUE>
    </VALUES>
  </MESSAGE>
AqHBCI gestartet
3:2005/11/24 11-55-18:gwen(6879):nettransportsock.c:  152:  Severity:
Error Type: Socket Code: Das Netzwerk ist nicht erreichbar (101)
3:2005/11/24 11-55-18:aqhbci(6879):hbci.c: 1590: Could not connect to
bank (-1)
3:2005/11/24 11-55-18:aqhbci(6879):outbox.c: 1324: Error performing
queue (-6)
Aufträge werden ausgeführt: 1 of 1
AqHBCI abgeschlossen.
3:2005/11/24 11-55-18:aqbanking(6879):banking.c:  951: No progress
context open
3:2005/11/24 11-55-18:(null)(6879):getkeys.c:  163: Job has errors
(error)
johannes@johannes-02:~>     
-----snap

Wie kann ich die fehlende Verbindung zur Bank sonst noch testen? Warum
wird die  <VALUE path="ident/customerId"> 9999999999 auf 9999999999
gesetzt? Bin ich auf dem richtigen Weg?

Gruß
Johannes



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
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.