Lego Mindstorm EV wifi connection in R2014a in Ubuntu 14.04

2 vues (au cours des 30 derniers jours)
Lode
Lode le 27 Nov 2014
Commenté : Lode le 10 Déc 2014
Dear,
I can not connect Lego Mindstorm EV in R2014a in Ubuntu 14.04. The only connection option in R2014a is a network cable or Wifi. Ping in a terminal to the EV3 works fine over Wifi, so network should be OK.
"h = legoev3('192.168.0.135')" gives an error message :
"Error using legoev3 (line 89) Failed to connect to '192.168.0.135'. Please check your network settings."
I checked on the internet and I found R2014b has a dfferent syntax and possibility for Bluetooth and USB cable as well, but I can not upgrade my student version.
Any ideas how to get it working in R2014a ? (I am fine with Wifi, even though I would prefer Bluetooth)
Thank you!
  2 commentaires
Lode
Lode le 4 Déc 2014
Sorry, I found out Ubuntu 14.04 is not supported by R2014a
Lode
Lode le 10 Déc 2014
Thanks to Matlab support, I could solve the issue : 1- sshpass was not installed 2- I needed a WIFI dongle also on the PC (I expected it would go through the PC-LAN)
What I did in detail : 1.sudo apt-get install sshpass 2.sudo apt-get install openssh-server (is it needed ?) 3.sudo apt-get install openssh-client > it was already installed (but unclear before or after step 2.)
ssh localhost is working, but Mindstorm not yet.
Then... I plugged in WIFI adapter to my desktop PC Checked in a terminal : 'ssh root@192.168.0.135' (no password)
It worked! (1st time I had to accept the certificate).

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur LEGO MINDSTORMS EV3 Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by