-
3 Attachment(s)
HOWTO: Fingerprint reading in Ubuntu with fprint
Getting your fingerprint reader to work in Ubuntu
Project fprint homepage: http://reactivated.net/fprint/wiki/Main_Page
Packages for fprint: http://www.madman2k.net/comments/105
Quote:
The fprint project aims to plug a gap in the Linux desktop: support for consumer fingerprint reader devices.
Previously, Linux support for such devices has been scattered amongst different projects (many incomplete) and inconsistent in that application developers would have to implement support for each type of fingerprint reader separately. For more information on where we came from, see the project history page.
We're trying to change that by providing a central system to support all the fingerprint readers we can get our hands on. The software is open source and in the long term we're shooting for adoption by distributions, integration into common desktop environments, etc.
Note: These instructions are intended for Ubuntu Jaunty.
First off, remember that fprint is not entirely stable, and may not work all the time. A list of supported devices is here, and the list of unsupported devices is here.
1. Next, update your sources and install fprint:
Code:
sudo apt-get update
sudo apt-get install fprint-demo libfprint-dev libfprint0 libpam-fprint aes2501-wy
2. Now you can enroll your fingers using either the terminal or a graphical user interface.
Terminal:
GUI:
3. Last thing to do is configure PAM so that the fingerprint reader can be useful. Open up your PAM authentication file and edit it:
Code:
sudo gedit /etc/pam.d/common-auth
4. If you want the fingerprint to be sufficient, add this at the top of the commands (do it multiple times for however many attempts you want to allow):
Quote:
auth sufficient pam_fprint.so
Use this if you want to require the fingerprint and the password.
Quote:
auth required pam_fprint.so
5. For programs using gksudo/gksu, you should get the wrapper attached to this post and to add fingerprint support and enter the following code:
Code:
sudo mv ./gksu.py /usr/local/bin/gksu
sudo chmod 755 /usr/local/bin/gksu
sudo apt-get install python-gnome2-extras python-pexpect
7. Enjoy your fingerprint reader support!
Steps 4 and 5 tell Ubuntu to check your fingerprint, and if that fails, then ask your password. This rule has some exceptions, one that I have encountered is on the login screen. I have to scan my fingerprint before typing my password. One thing I did notice is that when you use sudo in the terminal, it asks for your fingerprint, which I thought was pretty cool. One disadvantage is that anything using gksu does not seem to work properly, specifically because it does not tell you to scan your finger when needed.
Troubleshooting:
The one problem I ran into when using fprint was that I could not run fprint_demo without sudo. It failed with the error message below:
Quote:
uru4000:error [dev_init] interface claim failed
fp:error [fp_dev_open] device initialisation failed, driver=uru4000
I decided to post my problem here on the forums.
Here is the solution. You have to add yourself to the plugdev group and then change the permissions of the usb folder to allow access to the plugdev group. You can verify you are in the plugdev group by using groups:
Code:
sudo usermod -a -G plugdev $USER
groups | grep plugdev # Make sure there is output from this
sudo chgrp -R plugdev /dev/bus/usb/
Then try running fprint_demo, and hopefully it will work:
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Everything works fine for me UNTIL i try to enroll, and then it tells me no device found. I knwo it's there because it shows up in verbose mode bootup. Help?
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Quote:
Originally Posted by
Evil Wayz
Everything works fine for me UNTIL i try to enroll, and then it tells me no device found. I knwo it's there because it shows up in verbose mode bootup. Help?
Same problem here...
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Everything worked great for me, except I had to change
to
Otherwise, fprint_demo couldn't open the fingerprint reader (a Microsoft reader, btw). Works great, last time I tried this it couldn't recognize the device.
[EDIT] After a reboot I've got some strange behavior. Anything that requires a password now requires a password, a fingerprint scan, then the password again before anything can continue. Any ideas?
[EDIT2] Fixed it. Reordering the entries in /etc/pam.d/common-auth to list the fingerprint reader first eliminated the multiple password entries.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Quote:
Originally Posted by
Evil Wayz
Everything works fine for me UNTIL i try to enroll, and then it tells me no device found. I knwo it's there because it shows up in verbose mode bootup. Help?
Try following the steps in troubleshooting to fix this.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Thanks, that worked almost perfect for me.
I have only one problem: Since I installed my fingerprint reader, I cannot change network or user settings using the GUI.
If I click on "Unlock" the window freezes for ~20sec and then it shows an error message saying approximately: "authentification failed! an unexpected error has occurred." (German version: "Authentifizierung fehlgeschlagen! Es ist ein unerwarteter Fehler aufgetreten.")
Has anyone an idea?
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Quote:
Originally Posted by
Nurionn
Thanks, that worked almost perfect for me.
I have only one problem: Since I installed my fingerprint reader, I cannot change network or user settings using the GUI.
If I click on "Unlock" the window freezes for ~20sec and then it shows an error message saying approximately: "authentification failed! an unexpected error has occurred." (German version: "Authentifizierung fehlgeschlagen! Es ist ein unerwarteter Fehler aufgetreten.")
Has anyone an idea?
This is just one of the bugs in fprint; I get this error too. If you find a fix, let me know.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Quote:
Originally Posted by
master_kernel
Try following the steps in troubleshooting to fix this.
I have similar problem like Evil Wayz has. I was googling in I-mess. But i still can't find reason.
I know that my fprintreader is working propertly (i used it in Vista).
When I type su:
Code:
Could not locate any suitable fingerprints matched with available hardware.
pam_fprint_enroll:
Code:
No devices detected.
What kind of information do you need from my side?
Thank you.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Quote:
Originally Posted by
Gotterdammerung
up
What do you mean by this? You mean your fprint is working? How did you solved it?
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Quote:
Originally Posted by
moob
What do you mean by this? You mean your fprint is working? How did you solved it?
No, my fingerprint is not working. This "up" means that I wanted the thread to go up on the forum and call attention to somebody who may have the solution.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Quote:
Originally Posted by
moob
What do you mean by this? You mean your fprint is working? How did you solved it?
I have the same problem as you do.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Hello,
it works without problems on my HP Compaq 6710b with AuthenTec AES2501 device. Now I login to Linux with my finger :-)
Thank you.
p.s: isn't possible to use it also for keyring manager?
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
hi, i followed this thread to get the fingerprint reader working. which it did. however, i didnt read all the posts that describe exactly what it did.
so i thought it was going to just replace the login rather than now require name fingerprint and password.
i deleted the stuff that was originally in common-auth and inserted the stuff from the post. i was just wondering if anyone could help me out with replacing that original content so i could remove the fingerprint section.
i basically want to turn the fingerprint reading requirement off because other people use my computer frequently and i dont want to have to register all their fingerprints. so yeah. thx if anyone can help.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Original content of your common-auth file woulda/shoulda been:
auth requisite pam_unix.so nullok_secure
auth optional pam_smbpass.so migrate
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
This is unrelated.. and probably shouldnt be in this thread.. however I came across this recently..
People that are using there finger print reader... here is some food for thought on security.
http://www.ccc.de/biometrie/fingerab...ml?language=en
http://www.ccc.de/updates/2007/umson...kt?language=en
now.. many of you will be using your finger print reader on your laptop.. how secure is you device that has your finger prints all over it? If your using your fingerprint for novelity or bragging rights.. awesome I did for a few months.. but anything that needs to be secured should not be done with your finger prints.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Thanks for the guide, I'm an idiot in linux so your guide helped me a lot. It worked for my Fujitsu S6310 with AES2501.
I'm using Ubuntu 8 and Gnome, just some problems... I don't know when do I need to scan the fingerprints. I enrolled all my fingers with fprint_demo, and I also enrolled with pam_fprint_enroll, I edited common_auth and appended the 2 lines below what I have in the file.
While login (with GUI), I cannot see anything prompt for my fingerprint, so I typed my lengthy password and then the login seems stucked, I swiped my fingerprint and then it prompted my for the password again (OMFG, I screwed the installation), I typed the password again, luckily I logged on the system.
And then I have problem in updates, I can see 1 update available. I clicked download on the update window and typed my password, the system frozen (seems waiting for something), I swiped my fingerprint, it came back to life and goes back to the update window with 1 update available, I clicked download again and the process just looped (click -> password -> frozen -> fingerprint -> back to life)
I just can't do any updates, any workarounds?
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Works like a charm. I just followed exact instructions on my HP 8710W with the Authentec AES2501 reader. I didn't need the extra permissions. I can now use it to log in, unlock my screen. Great! I enrolled four fingers on both hands. When unlocking my screen it consistently asks for the same finger. Is there a way of changing this?
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Edit May 27, 2008. Since the installation of the fingerprint reader, the Update Manager hangs. It doesn't show the password pop-up screen, nor does it ask for a fingerprint. The only way of ending this, is killing the process. There are some posts saying the hosts file is incorrect. I changed the /etc/pam.d/common-auth file back to it's original state and the update manager works like before. Perhaps needless to say that fingerprint authentication is now disabled. Hope this helps someone.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Hi There,
I'm relatively new to Ubuntu (8) although messing with linux distros for years.
I have an HP Compaq 6710b and have got the fingerprint reader working - sort of.
Hears the deal - theres no message box asking for my finger print, if i'm quick enough then i can get a fingerprint logon instead. Is this as it should be or should i have a pop up box requesting a fingerprint first before the password.
Is there any way of determining when a fingerprint is needed as synaptics and a few other things don't open atm unless i intuatively swipe my finger at the right time.
my current /etc/pam.d/common-auth reads:
auth sufficient pam_fprint.so
auth required pam_unix.so try_first_pass likeauth nullok
auth required pam_deny.so
Any info would be appreciated. Especially on how to get Ubuntu to tell me when it wants a fingerprint read (incidentally it asks for one in the terminal - although the time out is ridiculous)
Also can the timeout on the fingerprint reader be changed?
Thanks
PieEater :D
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Hi PieEater,
I wanted to use my fingerprint reader too. I was searching an discovering. I've found few projects dealing with this. The bigges (I think) is fprint. I'm subscribed in fprint mailing list and I can tell it is still in developement mode and it can provide you just logging into system. There are no more other special program supporting it yet. But during last month it has few devel-jumps and this fprint project is growing up. We have to be patient.
BTW: Trust that finger print method isn't as secure as you think. Everyone can make copy of your fingermark. I will try it too in close future and I will tell you if my girlfriend can log into my pc throught fingerprint reader.
There is little HOWTO: How to fake fingerprints?
Interesting. Isn't it?
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Quote:
Originally Posted by
rplancius
Edit May 27, 2008. Since the installation of the fingerprint reader, the Update Manager hangs. It doesn't show the password pop-up screen, nor does it ask for a fingerprint. The only way of ending this, is killing the process. There are some posts saying the hosts file is incorrect. I changed the /etc/pam.d/common-auth file back to it's original state and the update manager works like before. Perhaps needless to say that fingerprint authentication is now disabled. Hope this helps someone.
That is normal at the moment, I suppose. It does work, even if it doesn't show any message.
But you might have only one try... ;)
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Working, sort of, with HP 6910 Ubuntu Hardy 64-bit, 2.6.24-18-generic
Freezes trying to configure users via gui.
Logon requires finger scan as well as password.
The two issues above kind of defeat the purpose for me, as I'd like to scan and not type. It is an extra step. I guess it is more secure.
But thanks to the folks responsible for writing and testing this. Hopefully the bugs can get worked out.
Cheers,
CS
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Great Tutorial. Works perfect for me and my Microsoft Fingerprint Reader :) .
It even works better than under Vista.
z3r0
PS: Sorry 4 my bad English :(
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Hi guys,
Any news on updates on displaying scan requests in gui?
Cheers
PieEater
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
This worked for me, if I ran but if I ran just It would not work.
I tried the workaround of adding my user to the plugdev group and the I got
Code:
error loading enrolled prints
This turned out to be because the /home/user/.fprints directory was owned by root, so I did
Code:
sudo chown -R $USER /home/user/.fprints
it started working.
Is this correct, or have I opened a security hole?
Although fprint_demo works on my Tecra A9, it does report a couple of errors while scanning or verifying
Code:
upekts:error [read_msg] non-zero bytes in cmd response
upekts:error [read_msg28] expected response, got -1 seq=0
Both messages are produced for each action.
I get this every time the scanner is used, eg verifying your finger and enrolling your finger produce this error, but deleting a fingerprint file does not. Also on enrolling, I only get the error once, not three times.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
I followed the directions as posted, and they seem to work, but sadly I get a segfault whenever sudo is used. However, the fingerprint auth works when logging in. I can't seem to figure this out, any suggestions?
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Quote:
Originally Posted by
Nurionn
Thanks, that worked almost perfect for me.
I have only one problem: Since I installed my fingerprint reader, I cannot change network or user settings using the GUI.
If I click on "Unlock" the window freezes for ~20sec and then it shows an error message saying approximately: "authentification failed! an unexpected error has occurred." (German version: "Authentifizierung fehlgeschlagen! Es ist ein unerwarteter Fehler aufgetreten.")
Has anyone an idea?
I was having the same problem until I realized that I can insert the
auth sufficient pam_fprint.so
into any pam.d file. So instead of entering this into the common-auth which is pulled by most files/auth methods I insert this line into the functions I wish to have my finger reader. For example if I want my finger reader to unlock my screensaver I inserted it into the gnome-screensaver (above the include common-auth section). The final product looks like this.
auth sufficient pam_fprint.so
@include common-auth
auth optional pam_gnome_keyring.so
Now my finger reader works for just my gnome-screensaver and doesn't cause my policy kit to lock up. I have a feeling the pam_fprint.so has not been developed for the new policy kit in 8.04. Hope this helps, you can explore with different pam.d files and turn the finger reader on or off.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
I have a problem
Code:
fbrun_demo
** Message: now monitoring fd 4
upeksonly:error [dev_init] could not set configuration 1
async:error [fp_async_dev_open] device initialisation failed, driver=upeksonly
** Message: no longer monitoring fd 4
And message in fprint_demo "Could not open device."
Using libfprint-20080810-6b8b17f5 and fprint_demo-20080319-5d86c3f7
libusb is 0.9.2
lsusb
it is UPEK TouchStrip
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Quote:
Originally Posted by
moob
I have similar problem like
Evil Wayz has. I was googling in I-mess. But i still can't find reason.
I know that my fprintreader is working propertly (i used it in Vista).
When I type su:
Code:
Could not locate any suitable fingerprints matched with available hardware.
pam_fprint_enroll:
Code:
No devices detected.
What kind of information do you need from my side?
Thank you.
I get the same responce in the terminal. I cant use my passwords at all to unlock any admin rights, I am not able to save the common-ath file. I just want this off my computer, PLEASE HELP total noob
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Quote:
Thanks, that worked almost perfect for me.
I have only one problem: Since I installed my fingerprint reader, I cannot change network or user settings using the GUI.
If I click on "Unlock" the window freezes for ~20sec and then it shows an error message saying approximately: "authentification failed! an unexpected error has occurred." (German version: "Authentifizierung fehlgeschlagen! Es ist ein unerwarteter Fehler aufgetreten.")
Has anyone an idea?
anything about this, i have the same problem.
I do not know much about ubuntu but maybe there is anyway to disable the figerprint on this "unlock" and use regular password.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Thanks master_kernel :-)
Using your guide I have managed to get the Authentec 2501 fingerprint sensor working on my Lenovo 3000 N200 laptop running Intrepid!
Thanks once again.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
for me worked fine.
This is my device Bus 002 Device 003: ID 08ff:1600 AuthenTec, Inc. AES1600
Everything worked fine until the point password chceks on menus such as network user and groups etc.
Also i could find the file gksu.py
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Quote:
Originally Posted by
micdhack
Also i could find the file gksu.py
mee too, fresh install 8.10 and couden't boot after following the #1 post
but I changed the files back, but how do I use the fingerprint reader in gdm and in gksu?
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Hi I have a motion m1400 tablet and it uses a authentec 2501. I actually contacted the fprint developers and they were able to add support for this device. I have the latest release version but I cannot figure out how to get the cvs or devel release that incorporates the code update to get the fix. Can anyone tell me how to get this for hardy heron. I dont know how to compile or build a deb. I can add a software source and follow directions.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
hello,
i am trying to install fprint on my laptop. at the moment i've got problem with placing the two lines in the common.auth file. this is the file:
Code:
#
# /etc/pam.d/common-auth - authentication settings common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of the authentication modules that define
# the central authentication scheme for use on the system
# (e.g., /etc/shadow, LDAP, Kerberos, etc.). The default is to use the
# traditional Unix authentication mechanisms.
#
# As of pam 1.0.1-5, this file is managed by pam-auth-update by default.
# To take advantage of this, it is recommended that you configure any
# local modules either before or after the default block, and use
# pam-auth-update to manage selection of other modules. See
# pam-auth-update(8) for details.
# here are the per-package modules (the "Primary" block)
auth [success=1 default=ignore] pam_unix.so nullok_secure
# here's the fallback if no module succeeds
auth requisite pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
auth required pam_permit.so
# and here are more per-package modules (the "Additional" block)
# end of pam-auth-update config
can somebody tell me where should i place those two lines?
Code:
auth sufficient pam_fprint.so
auth required pam_unix.so nullok_secure.
thank you
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Intrepid doesn't seem to like pam_unix.so, at least not in my tests.
Add the auth sufficient pam_fprint.so above the auth required pam_permit.so line. I added the nullok_secure to the existing required line:
auth required pam_permit.so nullok_secure
On occasion, it will ask for a password and then the fingerprint instead of one or the other...
Thinkfinger worked perfectly in Hardy but has a known bug in Intrepid where you have to press enter after a finger swipe. With that fixed, (http://www.thinkwiki.org/wiki/How_to...th_ThinkFinger) thinkfinger works much better than fprint. The only thing it is missing is a cool fingerprint enrollment gui.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
I think I have a problem with the finger print reader after I resume from hibernation.
When I run fprint-demo I get the following message:
Quote:
Status: could not open device
Also if I try to run a command using sudo I get this:
Quote:
sudo synaptic
aeslib:error [do_write_regv] bulk write error -2
fp:error [fp_dev_open] device initialisation failed, driver=aes2501
If I reboot then everything is fine.
Any ideas anyone?
Thanks in advance.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
The packages are included in Ubuntu 8.10, I guess the guide should be updated for that.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
the program is working great for me, the bad thing is that i can my fingerprint and after that i want to verify it...and guess what ? doesn´t recognized it
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Trying to use the versions in the Intrepid repo of both fprint and thinkfinger results in hardware not found, even using sudo, on my Vaio VGN-TZ130N. Any ideas?
Everything else works splendidly with minimal effort which says a lot about the impact of this thread! :)
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Trying to use the versions in the Intrepid repo of both fprint and thinkfinger results in hardware not found, even using sudo, on my Vaio VGN-TZ130N. Any ideas?
Everything else works splendidly with minimal effort which says a lot about the impact of this thread! :)
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Hey thanks chase809
I was looking long time for the causes about that problem
A real help that appear like a surprise and in a place looking for other subject..
http://ubuntuforums.org/showthread.p...54#post6307354
Quote:
Originally Posted by
chase809
I was having the same problem until I realized that I can insert the
auth sufficient pam_fprint.so
into any pam.d file. So instead of entering this into the common-auth which is pulled by most files/auth methods I insert this line into the functions I wish to have my finger reader. For example if I want my finger reader to unlock my screensaver I inserted it into the gnome-screensaver (above the include common-auth section). The final product looks like this.
auth sufficient pam_fprint.so
@include common-auth
auth optional pam_gnome_keyring.so
Now my finger reader works for just my gnome-screensaver and doesn't cause my policy kit to lock up. I have a feeling the pam_fprint.so has not been developed for the new policy kit in 8.04. Hope this helps, you can explore with different pam.d files and turn the finger reader on or off.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
I have an ASUS F6A with this fingerprint reader :
Code:
Bus 002 Device 002: ID 04f2:b029 Chicony Electronics Co., Ltd
The first time I have used the reader, it worked well :
Code:
campo@enterprise:/usr/src/fprint_demo-0.4$ sudo pam_fprint_enroll
This program will enroll your finger, unconditionally overwriting any selected print that was enrolled previously. If you want to continue, press enter, otherwise hit Ctrl+C
Found device claimed by AuthenTec AES1610 driver
Opened device. It's now time to enroll your finger.
You will need to successfully scan your Right Index Finger 1 times to complete the process.
Scan your finger now.
Enroll complete!
Enrollment completed!
but the second time it didn't work :
Code:
campo@enterprise:/usr/src/fprint_demo-0.4$ sudo pam_fprint_enroll
This program will enroll your finger, unconditionally overwriting any selected print that was enrolled previously. If you want to continue, press enter, otherwise hit Ctrl+C
Found device claimed by AuthenTec AES1610 driver
aeslib:error [do_write_regv] bulk write error -2
fp:error [fp_dev_open] device initialisation failed, driver=aes1610
Could not open device.
Someone can help me ? Thanks in advice for the answer and sorry for my english.
P.S. I have a Kubuntu 8.04 with custom kernel ( 2.6.28 )
P.P.S. I think that the reader remains locked so fprint_demo couldn't open device.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
i did that, first i couldnt log on, and then the X server failed on me!
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Nicely done... seems to (almost) work. I have a AES1610, supposedly support. I use sudo to execute both pam_fprint_enroll and/or fprint_demo:
$ sudo pam_fprint_enroll
This program will enroll your finger, unconditionally overwriting any selected print that was enrolled previously. If you want to continue, press enter, otherwise hit Ctrl+C
Found device claimed by AuthenTec AES1610 driver
Opened device. It's now time to enroll your finger.
You will need to successfully scan your Right Index Finger 1 times to complete the process.
Scan your finger now.
Segmentation fault
$
The segmentation fault occurs in both the gui and with pam when I swipe my finger. Any ideas?
Ubuntu 8.10:
$ uname -a
Linux server 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686 GNU/Linux
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
I can't run aes2501 on my HP nc8430, ubuntu 8.10 amd64.
Here are the details:
$ lsusb
Bus 003 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
$ sudo apt-get install aes2501-wy
$ sudo apt-get install libfprint0 libpam-fprint fprint-demo
All went fine.
$ sudo aes2501
argc=1 Initializing, please standby...
No device found
$ sudo fprint_demo
aeslib:error [do_write_regv] bulk write error -2
fp:error [fp_dev_open] device initialisation failed, driver=aes2501
It shows the device with a status message "Could not open the device".
Any idea? Thanks!
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Quote:
Originally Posted by
washakie
Nicely done... seems to (almost) work. I have a AES1610, supposedly support. I use sudo to execute both pam_fprint_enroll and/or fprint_demo:
$ sudo pam_fprint_enroll
This program will enroll your finger, unconditionally overwriting any selected print that was enrolled previously. If you want to continue, press enter, otherwise hit Ctrl+C
Found device claimed by AuthenTec AES1610 driver
Opened device. It's now time to enroll your finger.
You will need to successfully scan your Right Index Finger 1 times to complete the process.
Scan your finger now.
Segmentation fault
$
The segmentation fault occurs in both the gui and with pam when I swipe my finger. Any ideas?
Ubuntu 8.10:
$ uname -a
Linux server 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686 GNU/Linux
same problem here with AES1610 on Intrepid 64 bit :(
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
I didn't read all the posts here and don't know if anyone already has mentioned it. I think that in point 5 of the Howto it should be
Code:
auth sufficient pam_fprint.so
auth requisite pam_unix.so nullok_secure
instead of auth required in the second line.
When there is auth required, my computer asks me always to enroll my finger AND to insert a password. When I change it to auth requisite, it only asks me my password if the fingerprint authentication failes.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Hi,
I just installed Ubuntu 8.10 64bit on my Dell Studio 1735.
I am trying to configure my finger print reader for authentication. I tried fprint, thinkfinger 0.3 etc..but i am not able to get it working :(.
When i did fprint_demo, it says "No Device Found"..
can anyone who have successfully configured it .. plz share your solution..
thanks,
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Hi,
type:
and visit this pages: Unsupported devices and supported devices. And even more try to explore Fprint wiki. ;)
With regards.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Thanks Moob,
This is what i get with sudo lsusb
Bus 007 Device 002: ID 05ca:18a1 Ricoh Co., Ltd
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 08ff:2810 AuthenTec, Inc.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
My computer does have,
5 usb ports, 1 hdmiii, 1 vga and 1394 port...
i did see AuthenTec in unsupported page that u had..
its using AES 2810
i wonder if there is something I can do to make it work coz i did see in some other thread that people did have it working on their Dell Studio..
(perhaps diff driver?)
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Heh
I had only the one problem - my fingerprints doesn't match to enrolled samples 9 out of 10 times :)))
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
r u using Dell 1735? the hardware manufacturer is Ricoh.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Hi,
I just installed Ubuntu 9.04 32bit on my acer 6930
I am trying to configure my finger print reader for authentication. I tried fprint, thinkfinger 0.3 etc..but i am not able to get it working .
When i did fprint_demo, it says "No Device Found"..
lsusb:
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 005: ID 5986:0105 Acer, Inc
Bus 007 Device 003: ID 0bda:0158 Realtek Semiconductor Corp. Mass Stroage Device
Bus 007 Device 002: ID 07ca:a309 AVerMedia Technologies, Inc.
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 046d:c50e Logitech, Inc. MX-1000 Cordless Mouse Receiver
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 147e:1000
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
in vista, fingerprint works fine and it's called uptek touchstrip (so supported by fprint)..any solution?
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
I also receive a segmentation fault on my Samsung X360, the print device appears to be a "AuthenTec AES1610". Not sure if this helps, but this was found in dmesg:
Code:
[ 2235.737874] fprint_demo[7918]: segfault at 21e3000 ip 00007fc97e5c6830 sp 00007fff898ae2e0 error 4 in libfprint.so.0.0.0[7fc97e5b8000+29000]
[ 2287.678945] pam_fprint_enro[7928]: segfault at 1290000 ip 00007fd3a999e830 sp 00007fffb4c85af0 error 4 in libfprint.so.0.0.0[7fd3a9990000+29000]
[ 2296.288041] pam_fprint_enro[7929]: segfault at 2357000 ip 00007fe2c2282830 sp 00007fffcd56b3d0 error 4 in libfprint.so.0.0.0[7fe2c2274000+29000]
[ 2394.992738] fprint_demo[7932]: segfault at 197e000 ip 00007f51e253d830 sp 00007fffed825260 error 4 in libfprint.so.0.0.0[7f51e252f000+29000]
[ 2446.427221] pam_fprint_enro[7942]: segfault at 2117000 ip 00007f2502134830 sp 00007fff0d41d280 error 4 in libfprint.so.0.0.0[7f2502126000+29000]
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
So I think I found out why the segmentation faults were happening. My friend actually has the exact same computer (and print reader) as well as the same version of ubuntu, but he didn't experience any seg faults. Anyways the conclustion we came to was this:
When scanning a print, you absolutely have to swipe your finger across the reader. Place the bottom of your "print" at the top of the reader, and drag it across (top to bottom) until the top of your "print" passes over the reader. Think of it like a scanner that scans from one end of a page to the other.
The way I was getting the seg faults was just putting my finger on the reader and removing it. I have no idea why it seg faulted, but apparently using the print reader correctly fixed it :). So all in all, everything is working fine for me now.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
What a harsh teacher, eh :)
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Quote:
Originally Posted by
biasquez
Hi,
I just installed Ubuntu 9.04 32bit on my acer 6930
I am trying to configure my finger print reader for authentication. I tried fprint, thinkfinger 0.3 etc..but i am not able to get it working .
When i did fprint_demo, it says "No Device Found"..
lsusb:
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 005: ID 5986:0105 Acer, Inc
Bus 007 Device 003: ID 0bda:0158 Realtek Semiconductor Corp. Mass Stroage Device
Bus 007 Device 002: ID 07ca:a309 AVerMedia Technologies, Inc.
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 046d:c50e Logitech, Inc. MX-1000 Cordless Mouse Receiver
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 147e:1000
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
in vista, fingerprint works fine and it's called uptek touchstrip (so supported by fprint)..any solution?
That's the same case to me (same ID address 147e:1000).
Till I see this step-by-step howto.
It works great ... check this out :
http://rvshiro.wordpress.com/2009/01...on-asus-n10jc/
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Great How-To guide. Followed it to the letter and it worked perfectly for me first go.
I noticed a few small problems with it though...
The fprint_demo allows you to enroll all your digits, but the PAM module only allows you use one of the digits for authentication. For example: if the left thumb is the very first digit enrolled through the fprint_demo interface, it becomes the default digit for authentication. All other enrolled digits are ignored.
Is there anyway to force the PAM module to cross reference the scanned digit against all enrolled digits?
Also, because only one digit is accepted for authentication, it leaves the possibility of being locked out of the system should anything happen to the required digit (such as: cuts, burns, amputation, etc).
Is there anyway to fall back to logging in using a password should something like this occur (like a hot-key or something)?
-- Edit 23/03/09 @ 3:11am --
Another problem has turned up in the form of "gksudo" and other privilege escalation / authentication dialogs (like the one used by Services applet) no longer appearing for applications that require root access.
I have the "gksu.py" script installed as per the instructions in the How-To.
Here is my "/etc/pam.d/common-auth" file:
Code:
#
# /etc/pam.d/common-auth - authentication settings common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of the authentication modules that define
# the central authentication scheme for use on the system
# (e.g., /etc/shadow, LDAP, Kerberos, etc.). The default is to use the
# traditional Unix authentication mechanisms.
#
# As of pam 1.0.1-5, this file is managed by pam-auth-update by default.
# To take advantage of this, it is recommended that you configure any
# local modules either before or after the default block, and use
# pam-auth-update to manage selection of other modules. See
# pam-auth-update(8) for details.
# Fingerprint reader
auth sufficient pam_fprint.so
# here are the per-package modules (the "Primary" block)
auth [success=1 default=ignore] pam_unix.so nullok_secure
# here's the fallback if no module succeeds
auth requisite pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
auth required pam_permit.so
# and here are more per-package modules (the "Additional" block)
# end of pam-auth-update config
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Interesting thing happening:
The first time I use a terminal screen, it will ask me to scan finger. But after that all I got was segfaults.... :(
Code:
louie@lrc-laptop:~$ sudo ifup wlan0
Scan right index finger on AuthenTec AES4000
Ignoring unknown interface wlan0=wlan0.
louie@lrc-laptop:~$ sudo ifup wlan0
Segmentation fault
louie@lrc-laptop:~$ sudo test
Segmentation fault
louie@lrc-laptop:~$ sudo test
Segmentation fault
louie@lrc-laptop:~$ sudo gedit
Segmentation fault
louie@lrc-laptop:~$
Right now my /etc/pam.d/common-auth looks like so:
Code:
#
# /etc/pam.d/common-auth - authentication settings common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of the authentication modules that define
# the central authentication scheme for use on the system
# (e.g., /etc/shadow, LDAP, Kerberos, etc.). The default is to use the
# traditional Unix authentication mechanisms.
#
#auth sufficient pam_fprint.so
#auth required pam_unix.so try_first_pass likeauth nullok
#auth required pam_deny.so
#auth sufficient pam_fprint.so
#auth requisite pam_unix.so nullok_secure
auth requisite pam_unix.so nullok_secure
auth optional pam_smbpass.so migrate missingok
What I have been doing is commenting those two lines, and then uncommenting the two middle lines, then commenting them and uncommenting the first three lines. So far, same result:
The first time this will work but any time after that, segfault.
So I have my common-auth open and I am trying different things.... so far nothing seems to be working. Any help would be appreciated!
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Hi,
ic installed fprint like it is said in the first post and it works fine, but now everythings needs a password AND the Fingerprint. What do I have to do that the Fingerprint is sufficient?
thx
Jonas
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Hi I am running Debian 5.0 (all problems i've had so far have been solvable with ubuntu answers, and the ubuntu community seems far more developed especially in this issue), and cannot get my laptop to find enrolled fingerprints.
I used to use vista so i know my fingerprint scanner works and how to use one.
So far I've been having issues with not being able to open the device; I have configured my common-auth file to look like:
auth sufficient pam_fprint.so
auth required pam_unix.so nullok_secure
which makes the login screen try to use the scanning first. However it says it cannot find any enrolled fingerprints, so i have to login via password. Also any system setting i try to access through the gui in gnome that requires root password crashes - i get the same cannot open device error and then it doesnt ask for my password. I can work around this with su root in my terminal, which give me an error message then asks for my password.
I cannot seem to find where i need to enroll my fingerprint, i need to be root to do it, but so far i have enrolled my fingerprint in: /, /root, /home/manetheran, /home/manetheran/Documents. The last one being a test, i have discovered i cannot override any enrolled fingerprints - it says it cannot open the device, but i can enroll a fingerprint in each folder i desire.
I suspect the locking up of the fingerprint scanner might have something do with it.
So for starters, where should i be enrolling my fingerprint that it will access it at the login screen? How do i override enrolled fingerprints and unlock the device? How do i get around the gui asking for a fingerprint and failing?
Thanks,
Manetheran
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
It would be nice to have this howto updated and corrected. The packages are now in main repo, I guess the pam stuff needs fixing, as well as the permission fix for plugdev group.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
I am used this howto to make the fingerprint reader in my "HP TX2650ED" work... its just fine now.
I can login and unlock the computer from the screensaver... i can use it to install software and update the computer without needing a password... but 2 things do not work at all..
- when i wish to change to time&date settings and wish to unlock the interface with the "unlock" button... everything hangs and minutes later it fails and says "unable to authenticate" eventhough i swiped my finger 10 times or more.
- The same happens with the gnome network manager, whenever i need to authenticate myself as the root it hangs for minute on end an doesn't unlock the interface at all.
I am using the 64bit version of Ubuntu 9.04... any suggestions ?
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
sudo_fprint_demo works grrrrrreat, but when i try fprint_demo it goes to the screen where i would enroll my prints, but it won't let me enroll them, the buttons are just gray...
What did i do wrong? i tried the troubleshoot directions that were given in the beginning, but that didn't work either... and it says
Error opening directory in my home folder...
Permission DENIED!
and then after that is won't let me do anything in terminal.
Any help would be greatly appreciated.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Ok, this is driving me crazy..
I enroll my fingers with fprint_demo, but when I try to validate any of them, even though the program detects ~20-30 minutiae, validation fails 19 out of 20 times. What am I doing wrong?
Edit:
Nevermind, I think I figured it out
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Quote:
Originally Posted by
andreselsuave
Ok, this is driving me crazy..
I enroll my fingers with fprint_demo, but when I try to validate any of them, even though the program detects ~20-30 minutiae, validation fails 19 out of 20 times. What am I doing wrong?
Edit:
Nevermind, I think I figured it out
Well, gee... thanks for sharing the solution with us. :sad:
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Oh! Sorry, I forgot to post the solution, yeah ^_^. For sure I will share it with you. But it is not a software problem.
The problem is that it is difficult to validate the fingers. My fingerprint reader is Authentec. The problem was that fprint recognized it 1 out of 20 times, and it was driving me mad.
Now I have improved it to 1 out of 4-5 times. The thing is that when u scan your finger you have to try to swipe it in the same angle, with the same speed, and applying the same pressure as you did when you enrolled it. It is a bit annoying, but I imagine that with practice I will be able to succeed validating it everytime.
Thats it =)
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Is it an Authentec AES2501? That's a fairly common model and what I have in my HP notebook. But in my case the validation is extremely accurate and I wasn't even fussy about how I enrolled my digits and I don't have to be particular when swiping them day to day.
This may sound overly simple but have you tried cleaning the scanning surface? I don't think it's any inherent problem with the design of the reader.
tgeer
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Hmm, I haven't :/
Do you know what to clean it with? Maybe alcohol or distilled water?
thankyou
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Updated the post. Added aes2501-wy driver requisite.
-
Re: HOWTO: Fingerprint reading in Ubuntu with fprint
Quote:
Originally Posted by
baily-jane
sudo_fprint_demo works grrrrrreat, but when i try fprint_demo it goes to the screen where i would enroll my prints, but it won't let me enroll them, the buttons are just gray...
What did i do wrong? i tried the troubleshoot directions that were given in the beginning, but that didn't work either... and it says
Error opening directory in my home folder...
Permission DENIED!
and then after that is won't let me do anything in terminal.
Any help would be greatly appreciated.
I need the exact output.