Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / IoT

Intel® Galileo: Getting Started – Ethernet

5.00/5 (2 votes)
15 Sep 2015CPOL3 min read 12.6K  
In this guide you’ll setup network access to your Intel® Galileo Board and obtain an IP address through ethernet.

This article is for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers

Get access to the new Intel® IoT Developer Kit, a complete hardware and software solution that allows developers to create exciting new solutions with the Intel® Galileo and Intel® Edison boards. Visit the Intel® Developer Zone for IoT.

Overview

In this guide you’ll setup network access to your Intel® Galileo Board and obtain an IP address through ethernet. Looking for the Wi-Fi* card setup? See Integrated Wi-Fi and Bluetooth card setup for the Intel® Galileo board

Requirements

  • Intel Galileo Gen 2 board with power supply
  • Micro B to Type A USB cable
  • A 6 pin Serial to Type A USB cable (FTDI cable # TTL-232R-)
  • Ethernet cable and router connection

Setup Hardware

1. Power on your board and plug in the Ethernet cable. The ethernet port should have a link light.

2. For the Intel Galileo Gen 2 board, connect the 6 pin Serial to Type A USB cable (FTDI cable # TTL-232R-).

Image 1

Figure 1. FTDI 6 pin cable, black wire towards bottom of picture correlates to GND.

3. Open Arduino or alternatively, connect with a terminal program, to your board.

4. Within Arduino, click on Tools -> Serial Monitor.

Image 2

Figure 2. Serial monitor screen from within Arduino

5. At the bottom of the Serial Monitor set to Carriage return and 115200 baud rate.

6. In the top entry area, place your cursor in so it is blinking and hit Enter.

7. You should see a prompt. If the prompt begins with root, proceed to the next step, otherwise type in root and a password if necessary. By default there is no root password.

8. From the root prompt type in ‘ifconfig’ and hit Enter.

9. The left column defines the connection type, eth0 is the ethernet connection (see Figure 2)

Image 3

Figure 3. Look for your eth0 entry, if no inet addr showing use step 9.

10. If you do not see this entry, do the following command:

Enter ‘ifup eth0’

Image 4

Figure 4. After issuing the ifup eth0 command you should see the network negotiate.

11. Enter in ifconfig again, if you see e look to see if an IP address is showing.

Image 5

Figure 5. Look for the entry of inet addr: and take note of the IP address that follows.

12. To confirm the connection, you may want to take the IP address and open a web browser of a computer on the same network and enter the IP address into a web browser and hit enter. Alternately a ping test can be used.

Next Steps

Install your IDE:

Troubleshooting

Resources

Looking for the Wi-Fi* card setup? See Integrated Wi-Fi and Bluetooth card setup for Intel® Galileo board

Intel® Developer Zone for IoT

Start inventing today with the Intel® IoT Developer Program which offers knowledge, tools, kits and a community of experts to quickly and easily turn your innovative ideas into IoT Solutions.

Dream it, Build it with the Intel® IoT Developer Kit for Intel® Edison and Intel® Galileo platforms. These kits are versatile, performance-optimized and fully integrated end-to-end IoT solutions supporting a variety of programming environments, tools, security, cloud connectivity and hardware.

For more resources and to learn how the new Intel® IoT Developer Kit v1.0 can help streamline your IoT projects:

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)