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

20 篇文章 1 订阅
3 篇文章 0 订阅

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值