Search code examples
serial-portwirelessgoogle-coral

How to send and receive a file from Coral dev board to a Windows laptop using the serial port OR wireless connection?


I have connected the Coral dev board (linux) to a Windows machine using a COM port (COM3). In the image A it is shown my network architecture. So, there are 2 options:

  • a) serial port
  • b) wireless

In Image B you will see what I have tried with the COM port. COM3 rejected the file (I guess because it is already using COM3 with the dev board). COM4 worked. But I cannot find the file in Coral.

I cannot use SSH because of a problem with the public key.

Please tell me your suggestions

Thank you

Image A enter image description here

Image B

enter image description here

EDIT

PUBLIC KEY PUSHED FROM LINUX PC TO CORAL BOARD USING MDT TOOL PUBLIC KEY PUSHED FROM LINUX PC TO CORAL BOARD USING MDT TOOL

PUBLIC KEY GENERATED WITH PUTTYGEN AND COPIED AND PASTED TO CORAL BOARD enter image description here

PUBLIC KEY GENERATED WITH PUTTYGEN AND COPIED AND PASTED TO CORAL BOARD. BUT A FORMAT HAS BEEN APPLIED enter image description here enter image description here

THIS IS WHAT I GET WHEN TRYING TO USE THE PUBLIC KEY FOR AUTHENTICATION enter image description here

THIS THE MESSAGE THAT I GOT WHEN TRYING TO PUSH A KEY TO THE BOARD USING THE MDT TOOL (I INSTALLED LINUX ON A USB KEY) enter image description here


Solution

  • @Aizzaac

    I wonder what actual problem do you have with the public key? As far as I know, you can generate a public key on putty and paste that key to /home/mendel/authorized_keys file in the dev board and instantly gain ssh access. If the key pair is still an issue, you can always enable password logins on the dev board.

    There are also other solutions like uploading it to some server online and then download it in the dev board using wget or curl. You can also copy it to an sdcard and then access the sdcard in the board.

    Edit:

    Copy your files form window to a USB device (make sure it formatted to be readable from both window and linux like NTFS for instance). Plug that into dev board, find the device with

    $ fdisk -l 
    

    Mount it:

    $ sudo mount /dev/your-device /where/you/want
    

    And then you can access that file there!!