Not Registered Login | Register

Fprint Packages for Gutsy

Fprint Packages for Gutsy28. November 2007, 18:36

Fprint is a fingerprint reading library, which allows using the fingerprint reader found of many of the more decent notebooks. The package also includes a PAM module, which enables you to authenticate(log-in etc.) using the fingerprint reader.

In order to enable fprint authentication on Ubuntu install the libpam and libfprint packages and then edit your /etc/pam.d/common-auth so it contains

auth    sufficient    pam_fprint.so
auth    required      pam_unix.so nullok_secure

this will first try to read your fingerprint before asking your password. Do not try to disable password login completely; this is alpha software and you might lock out yourself. But at least on my hp nx6325(AES2501) it works fine.

libpam-fprint + libfprint + fprint-demo Packages

Hardy Packages are now in my PPA
deb http://ppa.launchpad.net/madman2k/ubuntu hardy main restricted universe multiverse

Anonymous 28. November 2007, 21:28

Hi,

why you don't subscribe to the Launchpad package system here? https://launchpad.net/ubuntu/+ppas

It can be a good idea, since you are able to create very useful packages like this one (I have an HP Compaq nw9440 with a fingerprint reader too).

bye ;-)
NJ

Anonymous 06. December 2007, 11:06

Thanx for the work
On Lenovo 3000 N200 and Ubuntu 7.10 it worked out of the box with your deb files.

I mention your deb packages in my wiki for getting fingerprint reader to work on lenovo...
http://study.2030.tk/wiki/Enable_AuthenTec_Fingerprint_Reader_as_PAM_modul#Using_Debian_packages_from_Madman2k

Anonymous 27. December 2007, 22:12

Pavel,

Looks great,


but how about amd64 packages? I also suggest using the launchpad ppa service in order to have packages for all relevant architectures with ease.

What about the source for repacking the stuff? I assume that the software comes with a GPL or similar license?

Thank you again for your work!

I would like to add your report as a link to my HowTo and to the Ubuntu NX6325 wiki.

http://vale.homelinux.net/wordpress/?p=202

MadMan2k 28. December 2007, 01:05

you can actually find the source packages in my PPA ;-).

they just did not build cleanly and I did not have the time to investigate why. Thats why I decided to relese them as is...

Anonymous 29. December 2007, 01:23

I'm trying to manually compile the packages for amd64.

Fprint_demo and libfprint are fine but the ./configure of libpam-fprint gets stuck on this:

checking security/pam_modules.h usability... no
checking security/pam_modules.h presence... no
checking for security/pam_modules.h... no
configure: error: PAM headers missing

Is this similar to what you are getting?

Locate pam_modules.h got me nothing so a dependency is missing, but I can't find which one.

Anonymous 30. December 2007, 00:59

HP/Compaq 6715b here. I did an ugly and used dpkg -i --force-architecture to install the i386 versions of the packages on an amd64 install of Gutsy, but pam_fprint_enroll couldn't find libMagick.so.9 so I tried symlinking it from the lib32 to the lib64 directory, but it has the wrong ELF class. (I just converted from Gentoo a week or so ago, so I haven't really gotten the hang of apt-get and Ubuntu yet, maybe this is a relatively easy problem to solve).

/ Richie

Anonymous 30. December 2007, 01:36

apt-get install libpam-dev solves the PAM header dependency. From there, it's smooth sailing. :-)

/ Richie

Anonymous 30. December 2007, 11:37

quote

I'm trying to manually compile the packages for amd64.



Fprint_demo and libfprint are fine but the ./configure of libpam-fprint gets stuck on this:



checking security/pam_modules.h usability... no

checking security/pam_modules.h presence... no

checking for security/pam_modules.h... no

configure: error: PAM headers missing



Is this similar to what you are getting?



Locate pam_modules.h got me nothing so a dependency is missing, but I can't find which one.
/quote

You should copy the file in libfprint to a directory once installed.
# cp libfprint.pc /usr/lib/pkgconfig/

Anonymous 30. December 2007, 16:56

Thx since I posted (the amd compile thing), I got the fingerprint scanner up and running. Nice efforts! A full blown integration in gnome would be nice, because I think there are still some issues (like the keyring thing). But for now I'm more than happy to say that this is yet another piece of hardware that works fine in Linux.

Anonymous 30. December 2007, 18:05

hello, I have it working, but only with root user, when I use with a normal user it says me that could not load fingerprint hardware:

~$ pam_fprint_enroll --enroll-finger 7
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
aes1610:error dev_init could not claim interface 0
fp:error fp_dev_open device initialisation failed, driver=aes1610
Could not open device.

In root, it works.

Here you have the documentation (in spanish) that I have writed.
http://blackhold.blogspot.com/2007/12/thinkfinger-lenovo-3000-v100.html

Anonymous 30. December 2007, 19:23

here you have one solution, is in spanish, so that use a translator to knows what is saying... :P

Al usar este programa se accede a /dev/bus/usb/00* pero nuestro usuario no tiene permiso para leer estos ficheros así que deberemos definir un grupo al que nuestro usuario pertenezca para poderlo hacer, estos ficheros cada vez que se inicia el sistema se les definen los permisos, así que deberemos definir los permisos de estos ficheros desde udev.
# ls -l /dev/bus/usb/00*

me han dicho que antes cuando se quería montar algo manualmente se tenían que editar estos ficheros! y con un programa no tan user-friendly como este que tiene ficheros de configuración y tal.

# touch /etc/udev/rules.d/fprint.rules
# vi /etc/udev/rules.d/fprint.rules
SUBSYSTEM=="usb_device",                MODE="0664", GROUP="plugdev"

también debemos asegurarnos que nuestro usuario está en el grupo plugdev, podemos mirarlo de 2 formas

$ groups
laura adm dialout cdrom floppy audio dip video plugdev scanner netdev lpadmin powerdev admin vboxusers

$ cat /etc/group |grep plugdev
plugdev:x:46:haldaemon,laura

Hasta aquí tenemos ya el programa funcionando, pero ahora nos encontramos que nuestro usuario al grabar la huella no tiene permisos para leerla, porqué el programa usa en algun momento el usuario root para guardar la huella.

Nuestras huellas se guardan en:
~/.fprint/prints/0006/00000000

así que deberemos fijarnos que nuestro usuario tiene derechos de lectura, escritura y ejecución en este directorio y los otros usuarios no lo tienen.

Con esto ya tenemos mas o menos funcionando el fingerprint!

Anonymous 30. December 2007, 21:06

Just use sudo, a normal user can't claim /dev

Anonymous 08. January 2008, 13:06

Good work! All worked first time for me on a Lenovo 3000 N100!

Many many thanks.

Troyski.
http://troyski.homeip.net

Anonymous 09. January 2008, 16:26

Great work :)
Working fine on HP Pavillion 6663ca. fprint_demo depends on libpango1.0-0 (>= 1.18.3) and my Ubuntu 7.10 installed 1.18.2 so the packaging manager didn't like it and keeps telling me the index is broken.
Would be nice to see it collect more than one enrollment for each finger, cause sometimes it takes a couple times before my fingerprint is recognized.

Edmond

Anonymous 12. January 2008, 02:19

Hey,
fprint works fine on my hp6125. ;-)
I installed all the packages and made the changes. So far so good. But the identifikation of my fprint worked not so good as i thought. However i have some troubles with important software like synaptic or update-manager in gutsy gnome. I am using ubuntu 7.10. (gutsy). Its more often, that my fprint isnt recognized than it works and synaptic didnt let me work. So i have to start synaptic in terminal to have access to write my password. Is there any possibility to exclude certain programs, like synaptic? Perhaps i didnt handle the fprint_demo right; i have only scanned one of my fingers.... and the last question i have is; Are there more possibilities to configure the fprint software?
I appreciate your help.

Thx to you and the others for a great job...hoping for answer my questions...
knuutsen

MadMan2k 13. January 2008, 01:03

unfortunately no. the fprint_pam module is still very incomplete. But synaptic actually works. You have to just sweep your finger blindly and hope that fprint recognizes it.

Anonymous 13. January 2008, 13:30

Does fprint PAM module replace standard login, or does these two work together ?

Anonymous 22. January 2008, 20:34

Great, I'm getting close to having all the features on my cheap lenovo 3000 N100 to work. Never thought it would be so easy in the end. Nice work!

rikxik 10. February 2008, 02:42

Hi,

Firstly, this is great work - finally the reader in my HP nx6320 works!

Secondly, what is the step for disabling password login? Will it work if I comment out this entry in /etc/pam.d/common-auth:

auth required pam_unix.so nullok_secure

Since the scanner works perfectly fine for me, I can't think of any scenario where this could cause an issue - anything you can suggest?

Finally, are you aware of any work on tighter GDM integration (e.g. displaying a message to scan finger instead of greying out the login box)?

Thanks again for this excellent work.

Anonymous 12. February 2008, 16:59

Could you please look into providing 64bit packages? I couldn't find where to download the source :/

Anonymous 16. February 2008, 08:31

First, I of course was hoping to find a Gutsy x64 deb package. Though, it seems there are only 32bit packages so far. Thus, I have been trying to compile your libfprint (0.0.5) and pam_fprint (0.2) source on Gutsy x64. Unfortunately though, there seems to be a problem. Compiling libfprint with:

CFLAGS="-fPIC" ./configure --prefix=/usr --with-pic
..and them:
make

produces the error:
/usr/lib/libcrypto.a(aes_core.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libcrypto.a: could not read symbols: Bad value

Does any one by chance have a suggestion?

Thanks!

Anonymous 18. February 2008, 15:14

If anyone can create 64bit packages, please make them available for download. I'm a newb to the command line...having a tough time. Thanks!

MadMan2k 19. February 2008, 22:24

at least if you are on hardy, I have 32bit and 64bit packages in my PPA now.

Anonymous 20. February 2008, 23:27

Hey, thanks a lot! The packages work great with my microsoft fingerprint reader. -rryan

Anonymous 01. March 2008, 12:46

Hi,

I am trying to use fprint on Kubuntu 7.10 (gutsy). Installation of libpam and libfprint works fine, but when I try to install fprint-demo it says
Dependency is not satisfiable: libpango1.0-0
.
However, libpango1.0-0 is installed on my system.

Any hints?

Anonymous 12. March 2008, 18:26

Ok this is all new to all of this, but my computer won't let me edit the common-auth file. help please?

Anonymous 13. March 2008, 02:25

It seems not to work with lenovo r61, reading device is not found/recognised ... or I miss smthing?

Anonymous 25. March 2008, 19:25

hey man .. i love your fprint-packages !

but there's still one problem:
When trying to unlock a policy-kit-dialog within hardy no password-prompt appears.
Also pulling the finger across the reader or typing the password into thin air doesn't help. Disabling the fprint-pam-module solves the problem.

My device: Bus 003 Device 003: ID 08ff:2580 AuthenTec, Inc.

Anonymous 26. March 2008, 04:38

theocollectivism mesogaster candelilla lymphorrhea facetely bathala build gastrohyperneuria
<a href= http://www.cyberstorewoodblinds.com/ >Cyber Store Woodblinds</a>
http://www.bowesrailway.co.uk/

Anonymous 02. April 2008, 01:35

Great stuff!
But logging in with gdm is a little problematic. It tells me which finger to scan _after_ successfully logging in. So I have to guess...

Seems like it always wants the same finger ?

Anonymous 03. April 2008, 15:10

You have to use a GDM theme, which displays some status text ..
like this one:

http://www.gnome-look.org/content/show.php/Ubuntu+Studio+v2+GDM+(Unofficial)?content=68486

or the built-in "Happy-GNOME". Then it tells you the finger to scan.

Anonymous 05. April 2008, 17:18

Thank you - this worked effortlessly on my Fujitsu Lifebook P1510 running Gutsy.

Anonymous 15. April 2008, 14:25

hey,

pretty cool stuff. i used your debs with my nw8440 and everything is smooth. is there any way, that the pam chooses randomly from all recorded fingertipsß

cheers
tim

Anonymous 18. April 2008, 02:13

Hi, I'm really new to Ubuntu and Linux in general so if you could help me I'd appreciate that. I have a U are U 4000 from digital Persona and was trying to get it to work now that I have switched from "That horribleXP OS;)" I came across your site and was hopeful that I might get this to work. I searched Synaptic for the packages but they weren't there. I added your "DEB" to my repository and there they were! so I went to install them and this is what I got when I tried to install "fprint-demo" :

fprint-demo:
Depends: libc6 (>=2.7-1) but 2.6.1-1ubuntu10 is to be installed
Depends: libcairo2 (>=1.5.8) but 1.4.10-1ubuntu4.4 is to be installed
Depends: libfprint0 but it is not going to be installed
Depends: libglib2.0-0 (>=2.15.5) but 2.14.1-1ubuntu1 is to be installed
Depends: libpango1.0-0 (>=1.19.3) but 1.18.3-0ubuntu1 is to be installed

I get similar output as I try and Mark any of the packages for install.
I have a HP with AMD Athlon 3700+ 64 Processor and am running Ubuntu 7.10.

Thanks

Anonymous 19. April 2008, 15:06

theocollectivism mesogaster candelilla lymphorrhea facetely bathala build gastrohyperneuria
<a href= http://www.freestylas.org/ >Freestyle</a>
http://www.longleaf-retrievers.com/

Anonymous 25. April 2008, 10:29

"deb http://ppa.launchpad.net/madman2k/ubuntu hardy main restricted universe multiverse"

As you can see, it is a repository for hardy heron, the new ubuntu dist.
When you made the dist-upgrade, all will work quite fine.

Anonymous 30. April 2008, 10:33

Just found a gksu wrapper, displaying some message to scan the finger:

http://ubuntuforums.org/showpost.php?p=4835513&postcount=10

Anonymous 01. May 2008, 14:24

Was soll ich sagen, it simply works.
Verdammt gute Arbeit. Gratz.
achja, und, VIELEN DANK

Anonymous 01. May 2008, 22:18

Hi all,
Running 64bit Hardy at lenovo 3000 n200 install your software from PPA but must need to uninstall it due big problems when trying to run programs like update manager or any thing else need root password, all of they die when try to ask for password.
all my finger was enroll but all time ask for little right one, when use any other finger or the little just ask for write the password, always need to sweep any finger before write password.

will keep waiting for next version
Carlos

Anonymous 07. May 2008, 17:29

When unlocking workstation, only my password is accepted (no fprint promtp) AND Network Manager can't get authorized.

Any tips?
More info here:
http://ubuntuforums.org/showpost.php?p=4902682&postcount=16

Anonymous 10. May 2008, 11:17

Hi
know someone where i can download the packages for opensuse 10.3??