Hi,

games I'd like to play are unfortunately 32Bit, so I thought I could give
something else a try, that might be a bit more useful to get to work.

So downloaded the Ausweisapp from here:
https://www.ausweisapp.bund.de/download

starting the .msi I see:
00a4:err:ntoskrnl:ZwLoadDriver failed to create driver
L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\winebth":
c00000e5
003c:fixme:service:scmdatabase_autostart_services Auto-start service
L"winebth" failed to start: 1359
00e4:fixme:file:NtLockFile I/O completion on lock not implemented yet
00e4:fixme:ntdll:NtQuerySystemInformation info_class
SYSTEM_PERFORMANCE_INFORMATION

but at least a window shows up; telling me; i at least need a 64 Bit
Windows 10 or Server 2016.

So I did:
winecfg -v win10
wine reg query "HKLM\Software\Microsoft\Windows NT\CurrentVersion" /v
ProductName
00a4:err:ntoskrnl:ZwLoadDriver failed to create driver
L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\winebth":
c00000e5
003c:fixme:service:scmdatabase_autostart_services Auto-start service
L"winebth" failed to start: 1359

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion
    ProductName    REG_SZ    Microsoft Windows 10


but trying again the .msi same error.

Given that, I extracted, and started again:
msiexec /a AusweisApp-2.6.2.msi /qb TARGETDIR="C:\AusweisApp"

Then I was able to start it alike:
wine ${HOME}/.wine/drive_c/AusweisApp/PFiles64/AusweisApp/AusweisApp.exe

AusweisApp2 on the iPhone installed, and then in pairing mode I just found
it not working out of the box. After some debugging, I finally found the
iphone talks to my networks broadcast IP UDP port 24727.

fstat -p and also netstat -f inet and netstat -f inet6
on my desktop showed, that the AusweisApp running in Wine was listening on
IPv6 UDP port 24727 only, not on IPv4. :/

With attached python script, that redirects received IPv4 broadcasts to
AusweisApp listening on IPv6.
With the script running, pairing worked, as well as I was able to change
the PIN, retrieve the personal data from my ID, and with AusweisApp
running, I was able to use firefox to log on to BundID secured services, as
well as the German Elster service using the Ausweis App.

alternatively to the python script, could us socat alike:
socat UDP4-RECVFROM:24727,broadcast,fork UDP6-SENDTO:[::1]:24727

Even with disabling IPv6 on the interface: ifconfig rge0 -inet6
the AusweisApp opened an IPv6 listener only :/

So it's nice I eventually got it to work, but still, with that crude python
script, or socat, it's a bit cumbersome, besides could script it.

is this a (known) problem in wine, or a problem of how the AusweisApp is
opening the network socket? I can assume, networked games might have
similar issues?


cheers,
Sebastian


-- 
https://buzzdeee.reitenba.ch

Attachment: relay.py
Description: Binary data

Reply via email to