linux常用外设-打印机指纹和蓝牙的安装管理

1打印机=安装CUPS,print-manager ,启动CUPS,访问http://localhost:631/printers/

2指纹Fingerprint GUI Packages for Fingerprint GUI (http://www.ullrich-online.cc/fingerprint/)
**Installation Check /var/log/auth.log for any clues. Fingerprint GUI is set up to run in debugging mode by default.
=========**
0. First of all, if you have installed Fingerprint GUI manually before, get rid of it completely. Remove all binaries, shared libraries, any other files and undo all the changes you have made to your system config files (especially to files under /etc/pam.d/).

  1. Add this PPA to your sources:
    sudo add-apt-repository ppa:fingerprint/fingerprint-gui
    sudo apt-get update
  2. Install the packages:
    sudo apt-get install libbsapi policykit-1-fingerprint-gui fingerprint-gui
  3. Log out of your session and log back in (we need the new session defaults to be picked up).

3蓝牙
#systemctl start bluetooth
#systemctl enable bluetooth
#lsusb
root@ll-kali-1:~# lsusb 
Bus 001 Device 007: ID 147e:1002 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 001 Device 006: ID 5986:0397 Acer, Inc
Bus 001 Device 005: ID 05e3:0745 Genesys Logic, Inc. Logilink CR0012
Bus 001 Device 004: ID 8087:07dc Intel Corp. Bluetooth wireless interface
运行hciconfig可以看到:
root@ll-kali-1:~# hciconfig
hci0: Type: Primary Bus: USB
BD Address: 80:19:34:C4:C4:A2 ACL MTU: 1021:5 SCO MTU: 96:5
UP RUNNING
RX bytes:104861 acl:13 sco:0 events:1211 errors:0
TX bytes:8234 acl:18 sco:0 commands:459 errors:0
从上图可以看出,我们的蓝牙设备是hci0
运行hcitool dev可以看到我们的蓝牙设备的硬件地址
运行hcitool --help 可以查看更多相关命令
然后我们激活它:
#hciconfig hci0 up
然后我们开始扫描了:
#hcitool scan
$sudo rfcomm bind /dev/rfcomm0 00:0C:BF:05:7C:50
接着我们连接它:
$sudo cat >/dev/rfcomm0
这时目的蓝牙主机就会弹出一个对话框要求输入pin码,输入0000,然后主机就会弹出一个对话框,只要输入的和刚才一致就可以通过验证。
在配对完成之后我们需要删除绑定(否则在下次使用时会提示设备正忙),命令如下:
$sudo rfcomm release /dev/rfcomm0

猜你喜欢

转载自blog.csdn.net/seaship/article/details/109516367
今日推荐