Problem on detecting raspberry Pi on 2016a
Mostrar comentarios más antiguos
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.
Respuestas (1)
Walter Roberson
el 24 de Mayo de 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.
Categorías
Más información sobre MATLAB Support Package for Raspberry Pi Hardware en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!