Getting started with Access Point (AP) Mode for the Intel® Edison board

Access Point (AP) Mode is a feature available on firmware releases as of January 2015. The initial release provides a means to perform the initial setup of your board, as well as upgrade firmware as it becomes available. 

Notes:

  • Running a VPN can interfere with connecting to your board via hostname.
  • It may be necessary to shut off a local machine firewall when connecting to your board via hostname.

Requirements

  • You have already set up your board and connected the board to your host system. This includes assembling your board, installing the appropriate drivers (if your host system has Windows*), and flashing your firmware. For steps, see the appropriate guide for Windows 64-bit, Windows 32-bit, Mac* OS X*, and Linux*.
  • A laptop/desktop with Wi-Fi* capabilities
  • An available Wi-Fi network, with network name, encryption type, and passcode
  • Bonjour* Print Services, for systems with Windows. This is required for Windows users to enable mDNS capabilities. To download the Bonjour installer, go to the Bonjour Print Services for Windows page at http://support.apple.com/kb/DL999 and run the installer as an administrator.

The following instructions work best on an Intel® Edison board assembled with the Arduino expansion board. To enter AP Mode with the Intel® Edison mini breakout board, you must establish a serial communication session with your board and use the command line: configure_edison --enableOneTimeSetup.

Entering AP mode and connecting to a Wi-Fi network

  1. On your board, hold down the button labeled PWR for more than 2 seconds but no longer than 7 seconds. Around 4 seconds is sufficient.

    The LED at JS2 near the center of the board should now be blinking. It will remain blinking as long as your board is in AP mode.
  2. In a few moments, a Wi-Fi network hotspot appears. Typically, its name is in the form of: Edison-xx-xx, where xx-xx is the last two places of your board's Wi-Fi mac address. This mac address is on a label within the plastic chip holder that contained the Intel® Edison chipset within the packaging. However, if you have given your board a name, the Wi-Fi hotspot has the same name.
  3. When you find your board's Wi-Fi hotspot, attempt to connect.  The passcode necessary to connect is the chipset serial number, which is also on the label in the plastic chip holder beneath the mac address.  Additionally, a small white label on the Intel® Edison chipset itself also states the serial number. The passcode is case-sensitive.
  4. Once you have connected to the hotspot, open a browser (preferably Firefox or Chrome) and enter Edison.local in the URL bar. The following screen displays:

    Edison-ap-setup

    Note: If you cannot access Edison.local in your browser, type your board’s IP address directly into the URL bar. To find your board’s IP address, establish a serial communication session with your board and enter the command:

    ifconfig

    The IP address is displayed next to inet addr.

  5. In the New Device Name field, type a host/device name that is unique to your board.  To connect to your board in the future, enter devicename.local in your browser’s URL bar, where devicename is the name of your device.
  6. If required, provide a password. This password replaces the current Wi-Fi password for AP Mode.
  7. From the Network Name drop-down list, select the Wi-Fi network to connect your board to.
  8. Select your network protocol and provide any required credentials, such as your user name and password.
  9. Click Submit to apply your changes and exit AP Mode.  You can re-enter AP Mode by holding the PWR button down for about 4 seconds.  This allows access to the update link.

    Edison-ap-complete

Flashing your board

This section contains steps to flash (update) the Yocto* image on your Intel® Edison board using AP Mode.

  1. Download the image to update your board with, or supply your own image in the form of a .zip file. You can download the latest image for the Intel® Edison board from the following location: https://software.intel.com/iot/hardware/edison/downloads.
  2. On the board, hold the PWR button down for about 4 seconds. The LED at JS2 near the center of the board blinks to signal that your board is in AP Mode.
  3. Connect your system to your board's Wi-Fi network.
  4. Enter devicename.local in your browser’s URL bar, where devicename is the name of your device.
  5. Click the Upgrade link beneath the Intel logo.

    Example of updating a board

  6. Click Choose File, navigate to the .zip file location, and then click OK.
  7. Click Upgrade. Your .zip file is uploaded and the board is updated locally. Follow the on-screen instructions to reconnect to your board’s network when required.
  8. If prompted, re-enter any required configuration settings, such as a password for your board.
  9. Click Submit to apply your changes.

Connecting outside of AP Mode

Once AP Mode setup has been completed, you can connect to the board by entering devicename.local in your browser’s URL bar, where devicename is the name you gave your board during setup. Your board turns this into the hostname for the board and web purposes.

If you are having difficulties connecting using a system with Windows, you may not have Bonjour Print Services set up.  Download Bonjour as described in the Requirements section and reboot your system.  Once complete, you should be able to connect.

  1. On the board, hold the PWR button down for about 4 seconds. The LED at JS2 near the center of the board blinks to signal that your board is in AP Mode.
  2. Connect your system to your board's Wi-Fi network.
  3. Enter devicename.local in your browser’s URL bar, where devicename is the name of your device.

    Edison-ap-index-page

For more complete information about compiler optimizations, see our Optimization Notice.