Lego Mindstorm EV wifi connection in R2014a in Ubuntu 14.04

1 view (last 30 days)
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 Comments
Lode
Lode on 4 Dec 2014
Sorry, I found out Ubuntu 14.04 is not supported by R2014a
Lode
Lode on 10 Dec 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).

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!