Recently I updated and flushed the dev board with mendel-enterprise-day-13 according to the coral AI official documentation. After that, when I want to connect from my desktop Ubuntu 19.04 using mdt shell
or mdt shell <ip>
, it does not work and gives an error message as follows. 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.
Even though my coral board is connected via both USB C and USB A, it cannot see USB as connected. I ran nmtui from the board terminal to see all active connections and it shows that the board is connected only for USB0 and USB1 and no internet (please see the results below): active connections
I also would like to share one strange thing that I found after running dmesg | grep ttyUSB
. It shows several failures and disconnections.
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
Please suggest me what went wrong.
I could connect via mendel development tool to coral dev board from freshly installed Ubuntu.
Procedure:
mdt devices
on host PC to see if dev board is already connected (should output 192.168.100.2)4. shell from host PC terminalmdt shell
If coral board needs to be connected to another host PC, only mdt shell will give some errors, I believe it's because it cannot append keys to authorized_keys folder.
cd ~/.ssh/
and remove authorized keys file byrm authorized_keys
.mdt shell
again from host PC terminal and this will create keys automatically and then let you into the board.