{"id":633,"date":"2019-11-05T23:03:40","date_gmt":"2019-11-05T22:03:40","guid":{"rendered":"https:\/\/notiz.comanet.xyz\/?p=633"},"modified":"2019-11-05T23:05:40","modified_gmt":"2019-11-05T22:05:40","slug":"finger-scanner-validity-vfs495-138a003f-ubuntu-18-04-18-10","status":"publish","type":"post","link":"https:\/\/notiz.comanet.xyz\/?p=633","title":{"rendered":"Finger Scanner Validity VFS495 (138a:003f) &#8211; Ubuntu 18.04\/18.10"},"content":{"rendered":"\n<ul class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"783\" height=\"572\" src=\"https:\/\/notiz.comanet.xyz\/wp-content\/uploads\/2019\/11\/Selection_004.png\" alt=\"\" data-id=\"634\" data-link=\"https:\/\/notiz.comanet.xyz\/?attachment_id=634\" class=\"wp-image-634\" srcset=\"https:\/\/notiz.comanet.xyz\/wp-content\/uploads\/2019\/11\/Selection_004.png 783w, https:\/\/notiz.comanet.xyz\/wp-content\/uploads\/2019\/11\/Selection_004-300x219.png 300w, https:\/\/notiz.comanet.xyz\/wp-content\/uploads\/2019\/11\/Selection_004-768x561.png 768w\" sizes=\"auto, (max-width: 783px) 100vw, 783px\" \/><\/figure><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/PetreBoboc\/vfs495\/blob\/master\/vfs495_ubuntu_18.04.md#almost-auto-setup\"><\/a><\/h3>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/PetreBoboc\/vfs495\/blob\/master\/vfs495_ubuntu_18.04.md#manual-setup\"><\/a><\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Manual setup<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>\nInstall dependencies with <code>sudo apt install libssl1.0.0 libusb-dev libssl-dev libglib2.0-dev libmagickcore-dev  libgtk2.0-dev libpam-dev<\/code> <br>\n<\/li><li>\nDownload and install <a href=\"https:\/\/github.com\/PetreBoboc\/vfs495_ubuntu\/raw\/master\/Packages\/libcrypto%2B%2B9_5.6.1-6%2Bdeb8u3_amd64.deb\">this<\/a> package <br>\n<\/li><li>\nRun these commands <strong>IN THIS ORDER<\/strong> <br>\n<\/li><\/ol>\n\n\n\n<ul class=\"wp-block-list\"><li><code>wget https:\/\/github.com\/PetreBoboc\/vfs495_ubuntu\/raw\/master\/Packages\/1704\/libMagickCore-6.Q16.so.2.0.0<\/code> <br><\/li><li><code>sudo mv libMagickCore-6.Q16.so.2.0.0 \/usr\/lib\/<\/code> <br><\/li><li><code>sudo ln \/usr\/lib\/libMagickCore-6.Q16.so.2.0.0 \/usr\/lib\/libMagickCore-6.Q16.so.2<\/code><\/li><\/ul>\n\n\n\n<ol class=\"wp-block-list\"><li>Download and install the following packages <strong>IN THIS ORDER<\/strong><\/li><\/ol>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/github.com\/PetreBoboc\/vfs495_ubuntu\/blob\/master\/Packages\/validity-sensor-setup_4.5-119_amd64.deb?raw=true\">validity-sensor-setup_4.5-119_amd64.deb<\/a><\/li><li><a href=\"https:\/\/github.com\/PetreBoboc\/vfs495_ubuntu\/blob\/master\/Packages\/libfprint_0.0.6-1_amd64.deb?raw=true\">libfprint_0.0.6-1_amd64.deb<\/a><\/li><li><a href=\"https:\/\/github.com\/PetreBoboc\/vfs495_ubuntu\/blob\/master\/Packages\/fprint-demo_0.4-1_amd64.deb?raw=true\">fprint-demo_0.4-1_amd64.deb<\/a><\/li><li><a href=\"https:\/\/github.com\/PetreBoboc\/vfs495_ubuntu\/blob\/master\/Packages\/pam-fprint_0.2-1_amd64.deb?raw=true\">pam-fprint_0.2-1_amd64.deb<\/a><\/li><\/ul>\n\n\n\n<ol class=\"wp-block-list\"><li>\nPrevent fprint_demo from updating usign <code>sudo apt-mark hold fprint-demo<\/code>\n<\/li><li>\nRun the following commands <strong>IN THIS ORDER<\/strong>\n<\/li><\/ol>\n\n\n\n<ul class=\"wp-block-list\"><li><code>sudo ln -s \/usr\/lib\/x86_64-linux-gnu\/libssl.so \/usr\/lib\/libssl.so.0.9.8<\/code><\/li><li><code>sudo ln -s \/usr\/lib\/libcryptopp.so.9 \/usr\/lib\/libcrypto.so.0.9.8<\/code><\/li><\/ul>\n\n\n\n<ol class=\"wp-block-list\"><li>Create init script using these commands <strong>IN THIS ORDER<\/strong><\/li><\/ol>\n\n\n\n<ul class=\"wp-block-list\"><li><code>wget https:\/\/raw.githubusercontent.com\/PetreBoboc\/vfs495_ubuntu\/master\/vcsFPServiceDaemon<\/code><\/li><li><code>sudo mv vcsFPServiceDaemon \/etc\/init.d\/<\/code><\/li><li><code>sudo chmod 0755 \/etc\/init.d\/vcsFPServiceDaemon<\/code><\/li><li><code>sudo update-rc.d vcsFPServiceDaemon defaults<\/code><\/li><li><code>sudo \/etc\/init.d\/vcsFPServiceDaemon start<\/code><\/li><\/ul>\n\n\n\n<ol class=\"wp-block-list\"><li>Enable fingerprint login using these commands <strong>IN THIS ORDER<\/strong><\/li><\/ol>\n\n\n\n<ul class=\"wp-block-list\"><li><code>wget https:\/\/raw.githubusercontent.com\/PetreBoboc\/vfs495_ubuntu\/master\/fingerprint_auth\/modified\/common-auth<\/code><\/li><li><code>sudo mv common-auth \/etc\/pam.d<\/code><\/li><\/ul>\n\n\n\n<ol class=\"wp-block-list\"><li>\nEnroll a finger using fprint_demo with <code>sudo fprint_demo<\/code>\n<\/li><li>\nReboot\n<\/li><li>\nIn the log-in screen press Enter and scan your finger. Press Enter once again to log-in (or to rescan your finger).\n<\/li><\/ol>\n\n\n\n<ul class=\"wp-block-list\"><li>For GNOME Shell press Enter, in the password input prompt type any character, press Enter again and scan your finger.<\/li><li>For XFCE press two times the log-in button and scan your finger.<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Ako ne radi :<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>milan@EliteBook-840-G2-Ubuntu:~$ sudo apt-get purge fprintd libfprint0 libpam-fprintd fprint-demo <\/code><\/pre>\n\n\n\n<p><code> password for milan: <br> Reading package lists\u2026 Done<br> Building dependency tree       <br> Reading state information\u2026 Done<br> Package 'fprintd' is not installed, so not removed<br> Package 'libpam-fprintd' is not installed, so not removed<br> The following package was automatically installed and is no longer required:<br>   libllvm7<br> Use 'sudo apt autoremove' to remove it.<br> The following packages will be REMOVED:<br>   fprint-demo* libfprint0*<br> The following held packages will be changed:<br>   fprint-demo<br> 0 upgraded, 0 newly installed, 2 to remove and 13 not upgraded.<br> After this operation, 611 kB disk space will be freed.<br> Do you want to continue? [Y\/n] y<br> (Reading database \u2026 184313 files and directories currently installed.)<br> Removing fprint-demo (0.4-1) \u2026<br> Removing libfprint0:amd64 (1:0.7.0-1) \u2026<br> Processing triggers for libc-bin (2.27-3ubuntu1) \u2026<br> \/sbin\/ldconfig.real: \/usr\/lib\/libMagickCore-6.Q16.so.2 is not a symbolic link <\/code><\/p>\n\n\n\n<p><code>milan@EliteBook-840-G2-Ubuntu:~$ sudo fprint_demo<br> sudo: fprint_demo: command not found<br> milan@EliteBook-840-G2-Ubuntu:~$ sudo apt install libssl1.0.0 libusb-dev libssl-dev libglib2.0-dev libmagickcore-dev libgtk2.0-dev libpam-dev<br> Reading package lists\u2026 Done<br> Building dependency tree       <br> Reading state information\u2026 Done<br> Note, selecting 'libpam0g-dev' instead of 'libpam-dev'<br> libgtk2.0-dev is already the newest version (2.24.32-1ubuntu1).<br> libusb-dev is already the newest version (2:0.1.12-31).<br> libglib2.0-dev is already the newest version (2.56.4-0ubuntu0.18.04.4).<br> libmagickcore-dev is already the newest version (8:6.9.7.4+dfsg-16ubuntu6.7).<br> libpam0g-dev is already the newest version (1.1.8-3.6ubuntu2.18.04.1).<br> libssl-dev is already the newest version (1.1.1-1ubuntu2.1~18.04.4).<br> libssl1.0.0 is already the newest version (1.0.2n-1ubuntu5.3).<br> The following package was automatically installed and is no longer required:<br>   libllvm7<br> Use 'sudo apt autoremove' to remove it.<br> 0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.<br> milan@EliteBook-840-G2-Ubuntu:~$ wget https:\/\/github.com\/PetreBoboc\/vfs495_ubuntu\/raw\/master\/Packages\/1704\/libMagickCore-6.Q16.so.2.0.0 <br> --2019-11-05 22:32:25--  https:\/\/github.com\/PetreBoboc\/vfs495_ubuntu\/raw\/master\/Packages\/1704\/libMagickCore-6.Q16.so.2.0.0<br> Resolving github.com (github.com)\u2026 140.82.118.3<br> Connecting to github.com (github.com)|140.82.118.3|:443\u2026 connected.<br> HTTP request sent, awaiting response\u2026 301 Moved Permanently<br> Location: https:\/\/github.com\/PetreBoboc\/vfs495\/raw\/master\/Packages\/1704\/libMagickCore-6.Q16.so.2.0.0 [following]<br> --2019-11-05 22:32:25--  https:\/\/github.com\/PetreBoboc\/vfs495\/raw\/master\/Packages\/1704\/libMagickCore-6.Q16.so.2.0.0<br> Reusing existing connection to github.com:443.<br> HTTP request sent, awaiting response\u2026 302 Found<br> Location: https:\/\/raw.githubusercontent.com\/PetreBoboc\/vfs495\/master\/Packages\/1704\/libMagickCore-6.Q16.so.2.0.0 [following]<br> --2019-11-05 22:32:26--  https:\/\/raw.githubusercontent.com\/PetreBoboc\/vfs495\/master\/Packages\/1704\/libMagickCore-6.Q16.so.2.0.0<br> Resolving raw.githubusercontent.com (raw.githubusercontent.com)\u2026 151.101.192.133, 151.101.128.133, 151.101.64.133, \u2026<br> Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443\u2026 connected.<br> HTTP request sent, awaiting response\u2026 200 OK<br> Length: 2707304 (2.6M) [application\/octet-stream]<br> Saving to: \u2018libMagickCore-6.Q16.so.2.0.0\u2019<\/code><\/p>\n\n\n\n<p><code>libMagickCore-6.Q16 100%[===================&gt;]   2.58M  15.2MB\/s    in 0.2s    <\/code><\/p>\n\n\n\n<p><code>2019-11-05 22:32:26 (15.2 MB\/s) - \u2018libMagickCore-6.Q16.so.2.0.0\u2019 saved [2707304\/2707304]<\/code><\/p>\n\n\n\n<p><code>milan@EliteBook-840-G2-Ubuntu:~$ sudo mv libMagickCore-6.Q16.so.2.0.0 \/usr\/lib\/ milan@EliteBook-840-G2-Ubuntu:~$ sudo ln \/usr\/lib\/libMagickCore-6.Q16.so.2.0.0 \/usr\/lib\/libMagickCore-6.Q16.so.2<br> ln: failed to create hard link '\/usr\/lib\/libMagickCore-6.Q16.so.2': File exists<br> milan@EliteBook-840-G2-Ubuntu:~$ sudo apt-mark hold fprint-demo<br> fprint-demo set on hold.<br> milan@EliteBook-840-G2-Ubuntu:~$ sudo ln -s \/usr\/lib\/x86_64-linux-gnu\/libssl.so \/usr\/lib\/libssl.so.0.9.8<br> milan@EliteBook-840-G2-Ubuntu:~$ sudo ln -s \/usr\/lib\/libcryptopp.so.9 \/usr\/lib\/libcrypto.so.0.9.8<br> ln: failed to create symbolic link '\/usr\/lib\/libcrypto.so.0.9.8': File exists<br> milan@EliteBook-840-G2-Ubuntu:~$ wget https:\/\/raw.githubusercontent.com\/PetreBoboc\/vfs495_ubuntu\/master\/vcsFPServiceDaemon<br> --2019-11-05 22:34:25--  https:\/\/raw.githubusercontent.com\/PetreBoboc\/vfs495_ubuntu\/master\/vcsFPServiceDaemon<br> Resolving raw.githubusercontent.com (raw.githubusercontent.com)\u2026 151.101.192.133, 151.101.128.133, 151.101.64.133, \u2026<br> Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443\u2026 connected.<br> HTTP request sent, awaiting response\u2026 200 OK<br> Length: 1425 (1.4K) [text\/plain]<br> Saving to: \u2018vcsFPServiceDaemon\u2019<\/code><\/p>\n\n\n\n<p><code>vcsFPServiceDaemon  100%[===================&gt;]   1.39K  --.-KB\/s    in 0s      <\/code><\/p>\n\n\n\n<p><code>2019-11-05 22:34:25 (58.1 MB\/s) - \u2018vcsFPServiceDaemon\u2019 saved [1425\/1425]<\/code><\/p>\n\n\n\n<p><code>milan@EliteBook-840-G2-Ubuntu:~$ sudo mv vcsFPServiceDaemon \/etc\/init.d\/<br> milan@EliteBook-840-G2-Ubuntu:~$ sudo chmod 0755 \/etc\/init.d\/vcsFPServiceDaemon<br> milan@EliteBook-840-G2-Ubuntu:~$ sudo update-rc.d vcsFPServiceDaemon defaults<br> milan@EliteBook-840-G2-Ubuntu:~$ sudo \/etc\/init.d\/vcsFPServiceDaemon start<br> [ ok ] Starting vcsFPServiceDaemon (via systemctl): vcsFPServiceDaemon.service.<br> milan@EliteBook-840-G2-Ubuntu:~$ wget https:\/\/raw.githubusercontent.com\/PetreBoboc\/vfs495_ubuntu\/master\/fingerprint_auth\/modified\/common-auth<br> --2019-11-05 22:35:01--  https:\/\/raw.githubusercontent.com\/PetreBoboc\/vfs495_ubuntu\/master\/fingerprint_auth\/modified\/common-auth<br> Resolving raw.githubusercontent.com (raw.githubusercontent.com)\u2026 151.101.192.133, 151.101.128.133, 151.101.64.133, \u2026<br> Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443\u2026 connected.<br> HTTP request sent, awaiting response\u2026 200 OK<br> Length: 1319 (1.3K) [text\/plain]<br> Saving to: \u2018common-auth\u2019<\/code><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><code>common-auth         100%[===================&gt;]   1.29K  --.-KB\/s    in 0s      <\/code><\/p>\n\n\n\n<p><code>2019-11-05 22:35:01 (212 MB\/s) - \u2018common-auth\u2019 saved [1319\/1319]<\/code><\/p>\n\n\n\n<p><code>milan@EliteBook-840-G2-Ubuntu:~$ sudo mv common-auth \/etc\/pam.d<br> milan@EliteBook-840-G2-Ubuntu:~$ sudo fprint_demo<br> milan@EliteBook-840-G2-Ubuntu:~$ <\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Manual setup Install dependencies with sudo apt install libssl1.0.0 libusb-dev libssl-dev libglib2.0-dev libmagickcore-dev libgtk2.0-dev libpam-dev Download and install this package Run these commands IN THIS ORDER wget https:\/\/github.com\/PetreBoboc\/vfs495_ubuntu\/raw\/master\/Packages\/1704\/libMagickCore-6.Q16.so.2.0.0 sudo mv libMagickCore-6.Q16.so.2.0.0 \/usr\/lib\/ sudo ln \/usr\/lib\/libMagickCore-6.Q16.so.2.0.0 \/usr\/lib\/libMagickCore-6.Q16.so.2 Download and install the following packages IN THIS ORDER validity-sensor-setup_4.5-119_amd64.deb libfprint_0.0.6-1_amd64.deb fprint-demo_0.4-1_amd64.deb pam-fprint_0.2-1_amd64.deb Prevent fprint_demo from updating usign sudo&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,6],"tags":[],"class_list":["post-633","post","type-post","status-publish","format-standard","hentry","category-how-to-s","category-linux"],"_links":{"self":[{"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/posts\/633","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=633"}],"version-history":[{"count":2,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/posts\/633\/revisions"}],"predecessor-version":[{"id":636,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/posts\/633\/revisions\/636"}],"wp:attachment":[{"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=633"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=633"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}