If you are using OS X version 10.11, this may or may not work. Let us know about your experience on Issue #471.
These instructions were written using OS X version 10.9, but should work for other versions as well.
Use the USB cable provided with the EV3 to connect the EV3 to your Mac. On your Mac, open up System Preferences and select Network.
Once you get the Network dialog, click on the +
icon in the lower left
area to add a new network device. You’ll need to select the CDC Composite
Gadget in the drop down box. The name will be similar to what is shown
below. I have renamed the service “ev3dev” so it’s easier to keep track of
later. Click Create when you are done.
Click Apply to save your changes. After a short time, the ev3dev entry (or whatever you named it) should show connected and have a Self-Assigned IP address.
To share our Internet connection with the EV3, go back to System Preferences and select Sharing.
Click Internet Connection on the left, but don’t check the box yet. On the right, Share your connection from: will be Wi-Fi (or Ethernet if you have a wired connection). Also check the box next to CDC Composite Gadget
Now, check the box next to Internet Connection on the left to enable it. Read the warning and then click Start.
Time to switch to the EV3. On the EV3, go to Wireless and Networks and select All Network Connections, then select the Wired connection.
The Status should change to Connecting and then Online to indicate that you are in fact connected to the Internet. You can also check the Connect automatically box so that this connection will come up automatically in the future.
These instructions were written using Ubuntu 15.10 and the default desktop
(aka Unity). However, the instructions should work for other versions of Ubuntu
and its derivatives as well as other desktops like GNOME Shell, Cinnamon
and MATE. Ubuntu 17.05 needs to have the dnsmasq
package installed for this
to work (it is not installed by default).
On your host computer, with the EV3 connected via USB, open up the
network application indicator (1). You should already see an entry for
LEGO Group EV3+ev3dev (2). Click Edit Connections… (3) to open
nm-connection-manager
. If you are using a different desktop environment
that does not have this menu, you can run nm-connection-editor
from
a terminal instead.
In the Network Connections dialog, click the Add… button.
Make sure Ethernet is selected (1) and then click Create… (2).
Enter a Connection Name (1) and select the Device MAC Address of your
EV3 from the list (2). The name can be anything you like. The MAC address
will always start with 12:16:53
, so choose that one.
Be sure to delete the network interface name (e.g. bnep0
or enp0s20f0u4c2
)
in (2), leaving only the MAC address. Otherwise, the connection may not work
if you plug the EV3 into a different USB port later.
If the MAC address starts with 32:16:53
instead of 12:16:53
, this means
it is using the wrong USB configuration (technically speaking it is
trying to use RNDIS instead of CDC, which kind of works but is not as good).
Unplug your USB cable and plug it back in.
Then click on the IPv4 Settings tab (1) and change the Method to Shared to other computers (2). Click Save (3) when you are done.
There may be a message that the network is connected. Don’t believe it. We still have to tell the EV3 to connect. You can close the Network Connections dialog. We are done with it.
Now, we need to assign an IP address to our EV3. In brickman, go to Wireless and Networks and select All Network Connections, then select the Wired connection with the USB icon.
Then select Connect.
The Status should change to Connecting and then Online to indicate that you are in fact connected to the Internet. You can also check the Connect automatically box so that this connection will come up automatically in the future.
These instructions were written using Windows 10, but should work on Windows 7 and 8 as well.
Before connecting the USB cable, go ahead and open Devices and Printers on your computer. It is in the Control Panel under Hardware and Sound. (Or just type Devices and Printers in the start menu.)
Connect your EV3 to your Windows computer using the USB cable that came with the EV3. You should see an unknown device pop up right away.
Wait a minute for Windows install the driver. It will detect the EV3 as a Remote NDIS Compatible Device.
PROTIP: You can get an icon that looks like an actual EV3 by installing Programmable Brick Icons. Follow the link for more information.
Right-click the Remote NDIS Compatible Device and select Network Settings. This takes you to the Network and Sharing Center.
In the Network and Sharing Center, make a note of which connection is your Internet connection (1) and then click on Change adapter settings (2). In this example, our Internet connection is Network 5.
There will be a connection that says Remote NDIS Compatible Device (1). This is the EV3. Let’s rename it so it is easy to identify. Right-click the adapter and select Rename (2). Call it EV3 or whatever you like.
To share our Internet connection with the EV3, double-click the Internet network connection that you noted earlier (not the one we just renamed). This will show the connection status.
If you have more than one other connection, you will want to verify that this connection is indeed the Internet connection (1). Then, click on the Properties button (2).
In the window that opens, select the Sharing tab (1) and check the box that says Allow other network users to connect through this computer’s Internet connection (2).
If you have more than two network connections, it will ask for a “Home networking connection”. If you see this, select your EV3’s network adapter from the list (this will be called EV3 if you renamed it earlier in the guide).
Windows Internet Connection Sharing is temperamental. Sometimes it just stops working for no reason. If this happens, just turn it off (by unchecking Allow other… and clicking OK) and then turn it back on. It should start working again.
Click OK when you are done and close the status window as well. Windows will automatically reconfigure your other network connections.
Now, we need to do some setting up on the EV3. Go to Networking and select Manage connections…, then select the Wired connection.
Check the box for Connect automatically. This way you don’t have to connect manually after you reboot. Then select Connect. State should change to Online to indicate that your EV3 is connected to the Internet.
Now that you have a network connection, you should connect to your EV3 with SSH if you haven’t done so already.