Problem on detecting raspberry Pi on 2016a
Mostra commenti meno recenti
After adding Raspberry support package following online tutorial I am facing error shown as bellow:
" Warning: Error while adding a route to Raspberry Pi: Connection not possible or there is an existing connection.
Failure establishing SSH session..
Error using matlabshared.internal.ssh2client
Error connecting to SSH server at 169.254.0.2
Error in raspi (line 156) obj.Ssh = matlabshared.internal.ssh2client(obj.IpNode.Hostname, ...
Error in rpi (line 61) obj.rpi_obj = raspi(varargin{1},...
Error in morseCode (line 28) myPi = rpi('169.254.0.2','pi','raspberry'); "
Pi is connected to computer (windows) by Ethernet cable directly.
Risposte (1)
Walter Roberson
il 24 Mag 2016
1 voto
The entire 169.254 block is for self-assigned IP addresses that are subject to change at any time.
If you enable Ethernet Sharing (Port Sharing?) on the ethernet port that the PI is connected to then that will automatically enable DHCP server on the Windows machine, which will allow an IP address to be negotiated that should be more stable.
Categorie
Scopri di più su MATLAB Support Package for Raspberry Pi Hardware in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!