如何通过命令行无头通过蓝牙接收文件?

如何通过命令行无头通过蓝牙接收文件?

我已经安装了几个蓝牙包:

sudo apt-get install bluetooth bluez bluez-tools rfkill

然后尝试服务BT:

$sudo bt-obex -s /NAS/media/ScanInbox
bt-obex: obex service is not found
Did you forget to run obexd?

我所说的安装

sudo apt install obexd-server

它安装了许多 Unity 和 Gnome 软件包,尽管我的机器是无头的,我可能不需要它。

之后我还是不能

$ sudo service obex start
obex: unrecognized service
$ sudo service obexd start
obexd: unrecognized service
$ sudo service obexd-server start
obexd-server: unrecognized service
$ sudo service obexd-service start
obexd-service: unrecognized service
$ sudo bt-obex -s /NAS/media/ScanInbox
bt-obex: obex service is not found
Did you forget to run obexd?

如何实现?没有任何名称像 obex 的服务。安装程序obex-server做了什么?

相关内容