本文來源於 Alliotcloud 物聯雲 與 Makee.io 專欄 - 作者 Archer Huang @ Makee.io
當使用者將 Linkit Smart 7688 接上電源後,如何透過電腦登入到 Linkit Smart 7688 中或在電腦中寫完的程式、檔案要如何傳送到 Linkit Smart 7688,本文描述 MacOS 與 Windows 兩個平台如何登入與如何將寫完的程式或檔案從電腦傳送到 Linkit Smart 7688 開發板中。
前置準備作業
準備一片 Linkit Smart 7688 開發板
將 Linkit Smart 7688 連接至電腦
登入到開發板
【 Mac OS 】
開啟終端機
輸入 IP 與密碼
ssh [email protected]
e.g., ssh [email protected]
Ref: 當 Login 發生 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! 錯誤時
- 【 Windows 】
下載 Putty 軟體 https://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
開啟 Putty 並輸入 IP 與密碼
傳送檔案到開發板
【 Mac OS 】
開啟終端機
透過 scp 傳送檔案
SCP 在電腦中的檔案位置 [email protected]:要傳送到 Linkit Smart 7688 中的位置
再輸入密碼
【 Windows 】
開啟 Putty 並輸入 IP 與密碼再安裝 Sftp
opkg update opkg install openssh-sftp-server
下載 FileZilla Client 軟體
開啟 FileZilla 並輸入 IP 與密碼