-
Notifications
You must be signed in to change notification settings - Fork 11
Troubleshooting
If all else fails, try rebooting everything.
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.
- Go to System Preferences > Networking.
- Select the network connection you are trying to use, e.g. Wi-Fi.
- Select Advanced....
- Switch to the TCP/IP tab.
- Change Configure IPv6 to Local-link only.
- Click OK.
- Click the Apply button.
- Click Advanced... again.
- Switch to the TCP/IP tab again.
- Change Configure IPv6 back to Automatically.
- Click OK again.
- Click the Apply button again.
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.
Problem: Device will not connect via bluetooth
Solution: Enter the IP address directly into VS Code
- Ensure you have renamed your EV3 device or you know the default name
- On VS Code, in the 'EV3 Device Browser' tab, click on connect to device
- A drop-down appears that searches for your device
- If you don't see your device, enter your device name manually
- Then, enter the IP address. You can get it from the top of the EV3 screen
- 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.