gpt4 book ai didi

ubuntu - 更新到 4.0 后无法连接到珊瑚开发板 : mdt shell does not work

转载 作者:太空宇宙 更新时间:2023-11-03 17:03:21 25 4
gpt4 key购买 nike

最近我根据 coral AI 官方文档使用 mendel-enterprise-day-13 更新并刷新了开发板。之后,当我想使用 mdt shell 从我的桌面 Ubuntu 19.04 连接时或 mdt shell <ip> , 它不起作用并给出如下错误信息。 mdt shell does not work

Connecting to 192.168.101.2 at 192.168.101.2 Key not present on 192.168.101.2 -- pushing

It looks like you're trying to connect to a device that isn't connected to your workstation via USB and doesn't have the SSH key this MDT generated. To connect with mdt shell you will need to first connect to your device ONLY via USB.

Cowardly refusing to attempt to push a key to a public machine. Connecting to 192.168.101.2 at 192.168.101.2 Key not present on 192.168.101.2 -- pushing

It looks like you're trying to connect to a device that isn't connected to your workstation via USB and doesn't have the SSH key this MDT generated. To connect with mdt shell you will need to first connect to your device ONLY via USB.

Cowardly refusing to attempt to push a key to a public machine.

即使我的珊瑚板通过 USB C 和 USB A 连接,它也看不到 USB 已连接。我从开发板终端运行 nmtui 以查看所有事件连接,它显示开发板仅连接 USB0 和 USB1,没有互联网(请参见下面的结果): active connections

我还想分享我在运行 dmesg | grep ttyUSB 后发现的一件奇怪的事情.它显示了几个故障和断开连接。 usb

[  371.021431] usb 3-1.4: cp210x converter now attached to ttyUSB0
[ 371.023282] usb 3-1.4: cp210x converter now attached to ttyUSB1
[ 3326.853419] cp210x ttyUSB0: failed set request 0x12 status: -19
[ 3326.853423] cp210x ttyUSB0: failed set request 0x0 status: -19
[ 3326.853563] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
[ 3326.853728] cp210x ttyUSB1: cp210x converter now disconnected from ttyUSB1
[ 3332.837337] usb 3-1.4: cp210x converter now attached to ttyUSB0
[ 3332.839815] usb 3-1.4: cp210x converter now attached to ttyUSB1
[ 4001.567889] cp210x ttyUSB0: failed set request 0x12 status: -19
[ 4001.567897] cp210x ttyUSB0: failed set request 0x0 status: -19
[ 4001.568103] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
[ 4001.572366] cp210x ttyUSB1: cp210x converter now disconnected from ttyUSB1
[ 4013.647342] usb 3-1.4: cp210x converter now attached to ttyUSB0
[ 4013.650435] usb 3-1.4: cp210x converter now attached to ttyUSB1

请告诉我哪里出了问题。

最佳答案

我打这个也升级到“天”。有几种方法可以给这只猫换皮,但使用 mdt 的技巧是将生成的私钥放在 ~/.config/mdt/keys/mdt.key 中,这必须是 mdt 被硬编码以查找它的地方。

所以对于 mdt 和 ssh 访问,我这样做了:

1) 使用 ssh-keygen 创建私钥和公钥文件。

2) 附加(或复制)公钥文件到目标/home/mendel/.ssh/authorized_keys

3) 复制私钥文件到~/.config/mdt/keys/mdt.key

4) 添加到本地 .ssh/config 如下:

Host tpu
IdentityFile ~/.config/mdt/keys/mdt.key
IdentitiesOnly=yes
User mendel

关于ubuntu - 更新到 4.0 后无法连接到珊瑚开发板 : mdt shell does not work,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59325078/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com