Why do I need this?
To access my VPN i need to use code from RSA Secure ID token. Sometime VPN disconnects and i need to enter token again and again. It is annoying. Also i am afraid that once i will lost my token and it will take a lot of time to restore it.
So i decided to automate the process. There is no USB port on this token type, so only way to read digits is to “scan” LCD. I decided to do this with my old Logitech Webcam C200. This article shows how to do this. To backlight token i used IKEA lamp.
I used “cheese” tool to setup camera and token. Make sure that token is highlighted, numbers are big and readable.