Finger Print on Toshiba Portege M500

จาก OpenTLE Wiki

ข้ามไปที่: ป้ายบอกทาง, ค้นหา

เนื้อหา

อุปกรณ์

  • Toshoba Portege M500
  • 0483:2016 SGS Thomson Microelectronics Fingerprint Reader

Software

วิธีทำ

ติดตั้งโดยใช้ binary

 wget http://ftp.opentle.org/people/mrchoke/tle8/thinkfinger-0.3-bin-tle8.tar.gz
  • ทำการแตกแฟ้มด้วย
 $ sudo  tar vxzf thinkfinger-0.3-bin-tle8.tar.gz -C /
  • ให้ระบบ load module uinput ตอนเปิดเครื่องทุกครั้ง
 $ sudo sh -c "echo uinput >> /etc/modules"
  • ถ้าจะใช้งานทันทีให้
 $ sudo modprobe uinput

ติดตั้งด้วยตัวเอง

 $ sudo apt-get install  build-essential libpam-dev libusb-dev
  • แตกแฟ้ม thinkfinger-0.3.tar.gz
 $ tar vxzf thinkfinger-0.3.tar.gz
  • เข้าไปยัง directory นั้น
 $ cd thinkfinger-0.3
 $ ./configure --prefix=/usr --sysconfdir=/etc --libdir=/lib
 หรือ 
 $ ./configure --with-securedir=/lib/security --with-birdir=/etc/pam_thinkfinger
 $ make 
 $ sudo make install
  • ให้ระบบ load module uinput ตอนเปิดเครื่องทุกครั้ง
 $ sudo sh -c "echo uinput >> /etc/modules"
  • ถ้าจะใช้งานทันทีให้
 $ sudo modprobe uinput
  • แก้แฟ้ม /etc/pam.d/common-auth
 $ sudo pico -w /etc/pam.d/common-auth
  • ใส่ข้อความต่อไปนี้
 auth    sufficient      pam_thinkfinger.so
 auth    required        pam_unix.so try_first_pass nullok_secure

การใช้งาน

การทดสอบ

  • บันทึกลายนิ้วมือ
 $ sudo tf-tool --acquire
  ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
  Copyright (C) 2006, 2007 Timo Hoenig <thoenig@suse.de>
  
  Initializing... done.
  Please swipe your finger (successful swipes 3/3, failed swipes: 2)... done.
  Storing data (/tmp/test.bir)... done.
  • อ่านลายนิ้วมือ
 $ sudo tf-tool --verify
 ThinkFinger 0.3 (http://thinkfinger.sourceforge.net/)
 Copyright (C) 2006, 2007 Timo Hoenig <thoenig@suse.de>
 
 Initializing... done.
 Please swipe your finger (successful swipes 1/1, failed swipes: 0)... done.
 Result: Fingerprint does match.

การใช้งานจริง

  • บันทึกให้กับ user
$ sudo tf-tool --add-user <login>
  • ทดสอบอ่าน
$ sudo tf-tool --verify-user <login>

หลังจากนี้ก็สามารถใช้งาน login เข้าระบบด้วยลายนิ้วมือได้ ซึ่งสนับสนุน GDM และ KDM ด้วย หรือถ้าไม่ได้ให้ reboot ระบบ 1 ครั้ง

หมายแหตุ

วิธีนี้ยังสามารถใช้ได้กับ Notebook อื่นๆ ที่ใช้ตัวอ่านรุ่นเดียวกันนี้

เอกสารอ้างอิง

รับข้อมูลจาก "http://wiki.opentle.org/Finger_Print_on_Toshiba_Portege_M500"
เครื่องมือส่วนตัว