博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
linux常用外设-打印机指纹和蓝牙的安装管理
阅读量:4041 次
发布时间:2019-05-24

本文共 1804 字,大约阅读时间需要 6 分钟。

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

转载地址:http://ssodi.baihongyu.com/

你可能感兴趣的文章
openstack网络总结
查看>>
excel 查找一个表的数据在另一个表中是否存在
查看>>
centos 7 上配置dnsmasq 同时支持ipv4和ipv6的DHCP服务
查看>>
AsyncTask、View.post(Runnable)、ViewTreeObserver三种方式总结frame animation自动启动
查看>>
Android中AsyncTask的简单用法
查看>>
解决跨网场景下,CAS重定向无法登录的问题(无需修改现有代码)
查看>>
java反编译命令
查看>>
activemq依赖包获取
查看>>
概念区别
查看>>
final 的作用
查看>>
在Idea中使用Eclipse编译器
查看>>
idea讲web项目部署到tomcat,热部署
查看>>
IDEA Properties中文unicode转码问题
查看>>
Idea下安装Lombok插件
查看>>
zookeeper
查看>>
Idea导入的工程看不到src等代码
查看>>
技术栈
查看>>
Jenkins中shell-script执行报错sh: line 2: npm: command not found
查看>>
8.X版本的node打包时,gulp命令报错 require.extensions.hasownproperty
查看>>
Jenkins 启动命令
查看>>