Intel® Edison - Ethernet over USB
Overview
- This document will guide you through obtaining an IP address for the Intel® Edison board so you can program your board offline using the Intel® IoT Developer Kit IDEs.
- When you are in a busy or restricted network environment, you can connect to the Intel Edison board using the device mode micro-USB cable and a virtual Ethernet connection known as "Ethernet over USB". Ethernet over USB uses the RNDIS protocol.
Requirements
- Using this method will disable your computer's Wi-Fi* connection as long as Ethernet over USB is being used. This means that you will be working offline.
- To use Ethernet over USB, your Intel Edison board must have the micro switch toggled down towards the micro-USB ports and the top micro-USB cable plugged in.
Choose your Operating System:
Windows*
OS X*
Linux*
Instructions for Windows*
If you have the Intel Edison drivers installed, update your computer’s Network Adapter configuration with a static IP address to use Ethernet over USB.
If you have not already installed the drivers, visit the Intel Edison Download and Support Page.
- View your Network Connections.
In Windows 7 and below, go to Control Panel. Under Network and Internet, click View network status and tasks. Click Change Adapter Settings in the sidebar. In Windows 8, right-click the Windows Start menu button and select Network Connections. - Plug in the device mode micro-USB cable from your Intel Edison board to your computer (Figure 1).
Figure 1. Plug in your board
- Look for a network adapter with the label RNDIS. Right-click, then select Properties to configure its IP address.
- From the list, select IPV4.
- Change the IP information as follows:
- IP: 192.168.2.2
If you get a system notification that 192.168.2.2 is taken, try any IP address from 192.168.2.1 to 192.168.2.14. Do not use 192.168.2.15. - Mask: 255.255.255.0
- IP: 192.168.2.2
- You can now ping your Intel Edison board on address 192.168.2.15 from your computer's command line. You can now also use PuTTY to SSH into the board at the same IP address.
Note: The Intel® XDK IoT Edition IDE should automatically detect your board. Select 192.168.2.15 to upload your programs.
Instructions for OS X*
First, install the HoRNDIS (pronounced "horrendous") kernel extension to use Ethernet over USB via the RNDIS protocol on your Mac*. Then configure the network settings.
Install HoRNDIS
- Get the latest version of HoRNDIS. Visit http://joshuawise.com/horndis#available_versions and click the HoRNDIS-rel[version].pkg (bytes) link for the latest version.
- Double-click the downloaded HoRNDIS-rel[version].pkg to start the installation wizard.
- Follow the installation wizard prompts. Click Next where needed.
- Once you have finished with the installation wizard, you must restart your system for the changes to take effect.
Configure network settings
- Open your Network preference settings (System Preferences → Network).
- Plug in the device mode micro-USB cable from your Intel Edison board to your computer.
- You should see a "Multifunction Composite Gadget" show up in the Network settings side panel with a yellow dot status.
- Click the "Multifunction Composite Gadget" device with a yellow status dot.
- For "Configure IPv4", choose "Using DHCP with manual address"
- Change the IP information as follows:
- IP Address: 192.168.2.2
If you get a system notification that 192.168.2.2 is taken, try any IP address from 192.168.2.1 to 192.168.2.14. Do not use 192.168.2.15.
- IP Address: 192.168.2.2
- Subnet Mask: Keep at 255.255.255.0
- You should then see the yellow status dot turn to green.
- You can now ping your board on address 192.168.2.15 from a Terminal. You can now also use Terminal to SSH into the board at the same IP address.
- The Intel XDK IoT Edition IDE should automatically detect your board. Select 192.168.2.15 to upload your programs.
- If you are on Mavericks, you may see numbered "Multifunction Composite Gadget" entries show up each time you plug in the same Intel Edison board. It is safe to delete old ones when done.
Instructions for Linux*
Use Terminal and the ifconfig command to forward connections to the IP address 192.168.2.2 through the USB cable.
- Open a new Terminal window.
- Plug in the device mode micro-USB cable from your Intel Edison board to your computer.
- Use the ifconfig command to forward connections to the IP address 192.168.2.2 through the USB cable.
$ sudo ifconfig usb0 192.168.2.2
You may be prompted for your user password.
You can now ping your board on address 192.168.2.15 from a Terminal. You can now also use Terminal to SSH into the board at the same IP address.
The Intel XDK IoT Edition IDE should automatically detect your Intel Edison board. Select 192.168.2.15 to upload your programs.
Troubleshooting
If you have any issues or questions, please go to Intel Edison Forum to post your questions and look for solutions.