Raspberry Pi connection error in a different work station

1 回表示 (過去 30 日間)
Abhijna
Abhijna 2014 年 12 月 11 日
回答済み: Murat Belge 2014 年 12 月 22 日
I have installed Raspberry pi B+ support packages in a different work station as it was throwing ' sdwriter.exe windows error ' error in my laptop (but software packages got installed properly).How can i connect raspberry pi B+ to my workstation now... i tried with h = raspberrypi('169.254.0.2') & h.connect and got error : Error using realtime.internal.linuxservices/connect (line 59) SSH connection to host 169.254.0.2 failed:

回答 (1 件)

Murat Belge
Murat Belge 2014 年 12 月 22 日
I assume you chose direct connection option for network configuration. To connect to your Raspberry Pi using a different computer:
1. Connect an Ethernet cable between your host computer and the Raspberry Pi. 2. Power on your Raspberry Pi 3. Open Network and Sharing center and identify the network connection for Raspberry Pi. Click on the network connection (such as Local Areas Connection 11). This will open a window. On this window click "Properties". Choose "Internet Protocol Version 4 (TCP/IPv4)". Click on "Properties". On the window that opens check the Following options:
Obtain IP address automatically Obtain DNS server automatically
Click OK.
4. Wait about 1 minute and then ping your Raspberry Pi from the DOS command line:
> ping 169.254.0.2
This should return successful. Then connect to your Raspberry Pi from MATLAB.
Make sure that your network card on the laptop / workstation

カテゴリ

Help Center および File ExchangeMATLAB Support Package for Raspberry Pi Hardware についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by