WTware - using chip card reader terminal with Raspberry v3

All about WTware on Raspberry. WTware works with Raspberry Pi 4, Raspberry Pi 3B+, Pi 3 and Pi 2 devices
http://www.winterminal.com
jktz90
Posts: 14
Joined: Tue Oct 24, 2017 1:19 am

Re: WTware - using chip card reader terminal with Raspberry v3

Post by jktz90 »

Any news? I would really appreciate your help.
akatik
SUPPORT
SUPPORT
Posts: 630
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: WTware - using chip card reader terminal with Raspberry v3

Post by akatik »

This log is completely different. Please, make me the same log with working reader. Perform the same task (test?).
jktz90
Posts: 14
Joined: Tue Oct 24, 2017 1:19 am

Re: WTware - using chip card reader terminal with Raspberry v3

Post by jktz90 »

Hello,

I did the exact same operation on the server but the two devices are different. On the USB version I have to enter a pin on the device when the server application tries to communicate with the device. Thats not necessary on the R232 version. Other than that, I did the same read operation.

Is there anything I can do to give you a log out of Ubuntu mate/rdesktop? I always thought both use the same rdp protocol - so it's confusing to me why it works with Ubuntu and not with WTware.

Would it make any difference the specify the device path to /dev/ttyUSB0 ? Thats how I successfully redirect the r232 version using rdesktop.
akatik
SUPPORT
SUPPORT
Posts: 630
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: WTware - using chip card reader terminal with Raspberry v3

Post by akatik »

strace is a tool to log everyting in linux. But it's linux... In theory, simply run:

Code: Select all

 strace rdesktop options-to-rdesktop
and it should produce tons of log.

Can you attach device to old 32-bit windows? There is easy to use microsoft tool: https://docs.microsoft.com/en-us/sysint ... ds/portmon It sniffs all serial traffic. As I remember, it also sniffs virtual COM.
jktz90
Posts: 14
Joined: Tue Oct 24, 2017 1:19 am

Re: WTware - using chip card reader terminal with Raspberry v3

Post by jktz90 »

I set up an old Widows XP machine with RS232 port to monitor both the original (RS232) and RS232 to USB connection. I add them as attachment. I had to shorten the log due to personal informations.
Thanks.
Serial0 SUCCESS Rate: 115200
13 0.00001006 medView.exe IOCTL_SERIAL_CLR_RTS Serial0 SUCCESS
14 0.00001062 medView.exe IOCTL_SERIAL_CLR_DTR Serial0 SUCCESS
15 0.00001620 medView.exe IOCTL_SERIAL_SET_LINE_CONTROL Serial0 SUCCESS StopBits: 1 Parity: EVEN WordLength: 8
16 0.00000726 medView.exe IOCTL_SERIAL_SET_CHAR Serial0 SUCCESS EOF:0 ERR:0 BRK:0 EVT:0 XON:11 XOFF:13
17 0.00000922 medView.exe IOCTL_SERIAL_SET_HANDFLOW Serial0 SUCCESS Shake:0 Replace:0 XonLimit:2048 XoffLimit:512
Last edited by jktz90 on Mon Nov 13, 2017 2:21 am, edited 1 time in total.
jktz90
Posts: 14
Joined: Tue Oct 24, 2017 1:19 am

Re: WTware - using chip card reader terminal with Raspberry v3

Post by jktz90 »

I reinstalled Ubuntu MATE and wasn't able to redirect my smartcard reader. Then I realized i had to give the ttyUSB device permissions-
sudo chmod go+rw /dev/ttyUSB0
After that, it worked without problems.

Any chance this is related to the problem WTware has?


Readme:

The installation requires root access rights.

If medCompact terminal devices will be connected via RS232 to the system, the
administrator shall enable write access to the corresponding devices (e.g.
/dev/ttyS0 for COM1). Regarding COM1 this can be done using the command:

sudo chmod go+rw /dev/ttyS0

This command asks for the root password.


Supported distributions
This tool has been tested successfully on SuSE 10.3 and Ubuntu 8.4 ("hardy heron").

aka
SUPPORT
SUPPORT
Posts: 939
Joined: Fri Dec 03, 2004 2:05 pm
Contact:

Re: WTware - using chip card reader terminal with Raspberry v3

Post by aka »

Try this on Ubuntu:

http://pxe.ru/files/testing/201711111721.zip

./rdesktop ...options..it..need.. > /tmp/log.txt
jktz90
Posts: 14
Joined: Tue Oct 24, 2017 1:19 am

Re: WTware - using chip card reader terminal with Raspberry v3

Post by jktz90 »

Here the rdesktop log.
Clean Ubuntu MATE installation - nothing added besides rdesktop and permission for ttyUSB0.
Attachments
rdesktoplog.txt
(132.75 KiB) Downloaded 433 times
aka
SUPPORT
SUPPORT
Posts: 939
Joined: Fri Dec 03, 2004 2:05 pm
Contact:

Re: WTware - using chip card reader terminal with Raspberry v3

Post by aka »

Please, try this: http://pxe.ru/files/testing/201711130123.zip
And show me the log.
jktz90
Posts: 14
Joined: Tue Oct 24, 2017 1:19 am

Re: WTware - using chip card reader terminal with Raspberry v3

Post by jktz90 »

Works perfectly.
Much appreciated.
Attachments
logworking.txt
(238.08 KiB) Downloaded 462 times
jktz90
Posts: 14
Joined: Tue Oct 24, 2017 1:19 am

Re: WTware - using chip card reader terminal with Raspberry v3

Post by jktz90 »

Is it safe for me to update to the current version of WTware or is the protocol not implemented?

Thanks
aka
SUPPORT
SUPPORT
Posts: 939
Joined: Fri Dec 03, 2004 2:05 pm
Contact:

Re: WTware - using chip card reader terminal with Raspberry v3

Post by aka »

jktz90 wrote: Thu Feb 08, 2018 1:48 pm Is it safe for me to update to the current version of WTware
Yes.
Post Reply