Users Guide
然后,创建新的终端实例,以屏蔽蓝牙串行上的数据。
$ cat /dev/rfcomm0
客户端设备
$ bluez.sdptool add --channel=22 SP
$ ./rfcomm -r connect /dev/rfcomm0 YY:YY:YY:YY:YY:YY 22
然后,创建新的终端实例以发送数据,例如,新的 ssh 实例。
$ echo "test" > /dev/rfcomm0
注: rfcomm 命令在此命令中不可用。如果需要,您可以将二进制文件从运行 Ubuntu 16.04 或更高版本且基于 AMD64 的系统
复制到 Edge Gateway。
安全性
可信平台模块 (TPM)
注: 有关 TPM 的更多信息,请参阅 https://developer.ubuntu.com/en/snappy/guides/security-whitepaper/。
TPM 仅在安装了 TPM 硬件的产品上以及那些提供 Snappy 增强型安全支持的设备上受支持。可在 BIOS 中配置 TPM 开/关设置,并
且可在操作系统中管理。
如果 TPM 处于关闭状态,设备节点 (/dev/tpm0) 不存在。
(plano)ubuntu@localhost:~$ ls /dev/tpm0
ls: cannot access /dev/tpm0: No such file or directory
如果 TPM 处于打开状态,那么设备节点 (/dev/tpm0) 存在。
(plano)ubuntu@localhost:~$ ls /dev/tpm0
/dev/tpm0
Watchdog Timer (WDT)
注: 有关 Watchdog Timer (WDT) 命令的更多信息,请参阅 www.sat.dundee.ac.uk/~psc/watchdog/Linux-Watchdog.html。
Dell 建议您默认启用 WDT,以激活故障保险电路。Snappy 是一个兼容 WDT 的操作系统,提供检测并从故障或意外崩溃中恢复的功
能。
要检查守护程序状态,请运行命令:
admin@localhost:$ systemctl show | grep –i watchdog
返回:
RuntimeWatchdogUSec=1min
ShutdownWatchdogUSec=10min
注: 默认值为 10。实际值应该大于 0。
要配置 WDT,请运行命令:
admin@localhost:$ sudo vi /etc/systemd/system.conf.d/watchdog.conf
54
设置操作系统