MATLAB Answers

Raspberry Pi connection error in a different work station

조회 수: 1(최근 30일)
Abhijna
Abhijna 11 Dec 2014
Answered: Murat Belge 22 Dec 2014
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:

  댓글 수: 0

로그인 to comment.

답변 수 (1)

Murat Belge
Murat Belge 22 Dec 2014
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

  댓글 수: 0

로그인 to comment.

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by