Skip to content
embeē edited this page Jun 13, 2024 · 6 revisions

Connection Issues

General

If all else fails, try rebooting everything.

macOS

Problem: Fails to connect with EHOSTUNREACH

Full error message: Failed to connect to ev3dev: connect EHOSTUNREACH fdc5:f7b4:b130::210:60ff:fedd:3845:22 - Local (:::49165)

Solution: Reconfigure IPv6 on your network interface.

  1. Go to System Preferences > Networking.
  2. Select the network connection you are trying to use, e.g. Wi-Fi.
  3. Select Advanced....
  4. Switch to the TCP/IP tab.
  5. Change Configure IPv6 to Local-link only.
  6. Click OK.
  7. Click the Apply button.
  8. Click Advanced... again.
  9. Switch to the TCP/IP tab again.
  10. Change Configure IPv6 back to Automatically.
  11. Click OK again.
  12. Click the Apply button again.

Linux

Problem: The list of devices does not appear when trying to connect to a device

Solution: Make sure avahi-daemon is installed and running.

Problem: USB Connection disconnects after a few minutes

Solution: NetworkManager will disable the IPv6 interface when no IPv4 connection is made. Either disable IPv4 in Network Manager or setup an IPv4 connection in Brickman.

Windows

Problem: Device will not connect via bluetooth

Solution: Enter the IP address directly into VS Code

  1. Ensure you have renamed your EV3 device or you know the default name
  2. On VS Code, in the 'EV3 Device Browser' tab, click on connect to device
  3. A drop-down appears that searches for your device
  4. If you don't see your device, enter your device name manually
  5. Then, enter the IP address. You can get it from the top of the EV3 screen
  6. It should connect.

In case after some days of programming, it doesn't connect to your device, repeat the process. I don't know why VS Code does this.

Clone this wiki locally