MATLAB Answers

Abhijna
0

Raspberry Pi connection error in a different work station

Asked by Abhijna
on 11 Dec 2014
Latest activity Answered by Murat Belge on 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 Comments

Sign in to comment.

1 Answers

Answer by Murat Belge on 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 Comments

Sign in to comment.



Translated by