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 apt-mark hold fprint-demo
- Run the following commands IN THIS ORDER
sudo ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/libssl.so.0.9.8
sudo ln -s /usr/lib/libcryptopp.so.9 /usr/lib/libcrypto.so.0.9.8
- Create init script using these commands IN THIS ORDER
wget https://raw.githubusercontent.com/PetreBoboc/vfs495_ubuntu/master/vcsFPServiceDaemon
sudo mv vcsFPServiceDaemon /etc/init.d/
sudo chmod 0755 /etc/init.d/vcsFPServiceDaemon
sudo update-rc.d vcsFPServiceDaemon defaults
sudo /etc/init.d/vcsFPServiceDaemon start
- Enable fingerprint login using these commands IN THIS ORDER
wget https://raw.githubusercontent.com/PetreBoboc/vfs495_ubuntu/master/fingerprint_auth/modified/common-auth
sudo mv common-auth /etc/pam.d
-
Enroll a finger using fprint_demo with
sudo fprint_demo
- Reboot
- In the log-in screen press Enter and scan your finger. Press Enter once again to log-in (or to rescan your finger).
- For GNOME Shell press Enter, in the password input prompt type any character, press Enter again and scan your finger.
- For XFCE press two times the log-in button and scan your finger.
Ako ne radi :
milan@EliteBook-840-G2-Ubuntu:~$ sudo apt-get purge fprintd libfprint0 libpam-fprintd fprint-demo
password for milan:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package 'fprintd' is not installed, so not removed
Package 'libpam-fprintd' is not installed, so not removed
The following package was automatically installed and is no longer required:
libllvm7
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
fprint-demo* libfprint0*
The following held packages will be changed:
fprint-demo
0 upgraded, 0 newly installed, 2 to remove and 13 not upgraded.
After this operation, 611 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database … 184313 files and directories currently installed.)
Removing fprint-demo (0.4-1) …
Removing libfprint0:amd64 (1:0.7.0-1) …
Processing triggers for libc-bin (2.27-3ubuntu1) …
/sbin/ldconfig.real: /usr/lib/libMagickCore-6.Q16.so.2 is not a symbolic link
milan@EliteBook-840-G2-Ubuntu:~$ sudo fprint_demo
sudo: fprint_demo: command not found
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
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting 'libpam0g-dev' instead of 'libpam-dev'
libgtk2.0-dev is already the newest version (2.24.32-1ubuntu1).
libusb-dev is already the newest version (2:0.1.12-31).
libglib2.0-dev is already the newest version (2.56.4-0ubuntu0.18.04.4).
libmagickcore-dev is already the newest version (8:6.9.7.4+dfsg-16ubuntu6.7).
libpam0g-dev is already the newest version (1.1.8-3.6ubuntu2.18.04.1).
libssl-dev is already the newest version (1.1.1-1ubuntu2.1~18.04.4).
libssl1.0.0 is already the newest version (1.0.2n-1ubuntu5.3).
The following package was automatically installed and is no longer required:
libllvm7
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
milan@EliteBook-840-G2-Ubuntu:~$ wget https://github.com/PetreBoboc/vfs495_ubuntu/raw/master/Packages/1704/libMagickCore-6.Q16.so.2.0.0
--2019-11-05 22:32:25-- https://github.com/PetreBoboc/vfs495_ubuntu/raw/master/Packages/1704/libMagickCore-6.Q16.so.2.0.0
Resolving github.com (github.com)… 140.82.118.3
Connecting to github.com (github.com)|140.82.118.3|:443… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location: https://github.com/PetreBoboc/vfs495/raw/master/Packages/1704/libMagickCore-6.Q16.so.2.0.0 [following]
--2019-11-05 22:32:25-- https://github.com/PetreBoboc/vfs495/raw/master/Packages/1704/libMagickCore-6.Q16.so.2.0.0
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response… 302 Found
Location: https://raw.githubusercontent.com/PetreBoboc/vfs495/master/Packages/1704/libMagickCore-6.Q16.so.2.0.0 [following]
--2019-11-05 22:32:26-- https://raw.githubusercontent.com/PetreBoboc/vfs495/master/Packages/1704/libMagickCore-6.Q16.so.2.0.0
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.192.133, 151.101.128.133, 151.101.64.133, …
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 2707304 (2.6M) [application/octet-stream]
Saving to: ‘libMagickCore-6.Q16.so.2.0.0’
libMagickCore-6.Q16 100%[===================>] 2.58M 15.2MB/s in 0.2s
2019-11-05 22:32:26 (15.2 MB/s) - ‘libMagickCore-6.Q16.so.2.0.0’ saved [2707304/2707304]
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
ln: failed to create hard link '/usr/lib/libMagickCore-6.Q16.so.2': File exists
milan@EliteBook-840-G2-Ubuntu:~$ sudo apt-mark hold fprint-demo
fprint-demo set on hold.
milan@EliteBook-840-G2-Ubuntu:~$ sudo ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/libssl.so.0.9.8
milan@EliteBook-840-G2-Ubuntu:~$ sudo ln -s /usr/lib/libcryptopp.so.9 /usr/lib/libcrypto.so.0.9.8
ln: failed to create symbolic link '/usr/lib/libcrypto.so.0.9.8': File exists
milan@EliteBook-840-G2-Ubuntu:~$ wget https://raw.githubusercontent.com/PetreBoboc/vfs495_ubuntu/master/vcsFPServiceDaemon
--2019-11-05 22:34:25-- https://raw.githubusercontent.com/PetreBoboc/vfs495_ubuntu/master/vcsFPServiceDaemon
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.192.133, 151.101.128.133, 151.101.64.133, …
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1425 (1.4K) [text/plain]
Saving to: ‘vcsFPServiceDaemon’
vcsFPServiceDaemon 100%[===================>] 1.39K --.-KB/s in 0s
2019-11-05 22:34:25 (58.1 MB/s) - ‘vcsFPServiceDaemon’ saved [1425/1425]
milan@EliteBook-840-G2-Ubuntu:~$ sudo mv vcsFPServiceDaemon /etc/init.d/
milan@EliteBook-840-G2-Ubuntu:~$ sudo chmod 0755 /etc/init.d/vcsFPServiceDaemon
milan@EliteBook-840-G2-Ubuntu:~$ sudo update-rc.d vcsFPServiceDaemon defaults
milan@EliteBook-840-G2-Ubuntu:~$ sudo /etc/init.d/vcsFPServiceDaemon start
[ ok ] Starting vcsFPServiceDaemon (via systemctl): vcsFPServiceDaemon.service.
milan@EliteBook-840-G2-Ubuntu:~$ wget https://raw.githubusercontent.com/PetreBoboc/vfs495_ubuntu/master/fingerprint_auth/modified/common-auth
--2019-11-05 22:35:01-- https://raw.githubusercontent.com/PetreBoboc/vfs495_ubuntu/master/fingerprint_auth/modified/common-auth
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.192.133, 151.101.128.133, 151.101.64.133, …
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1319 (1.3K) [text/plain]
Saving to: ‘common-auth’
common-auth 100%[===================>] 1.29K --.-KB/s in 0s
2019-11-05 22:35:01 (212 MB/s) - ‘common-auth’ saved [1319/1319]
milan@EliteBook-840-G2-Ubuntu:~$ sudo mv common-auth /etc/pam.d
milan@EliteBook-840-G2-Ubuntu:~$ sudo fprint_demo
milan@EliteBook-840-G2-Ubuntu:~$