The phyCORE-i.MX7 comes equipped with a mini-PCIe connector capable of interfacing a WiFi/Bluetooth Card. This guide will use an Intel Dual Band Wireless-AC 8265 WiFi Card and the M.2 to Mini-PCIe Adapter. It is also highly recommend to utilize a compatible WiFi antenna to make connecting to your network as easy as possible. These can be found at the following links:

Step-by-Step Guide

  • A 'wpa_supplicant' file must contain the necessary credentials to connect to your network.

    Target (Linux)

    vi /etc/wpa_supplicant.conf
    CODE
  • Ensure that this file reflects the following contents (replace NETWORKNAME and NETWORKPASSWORD to the corresponding credentials for your target network): 

    /etc/wpa_supplicant.conf

    ctrl_interface=/var/run/wpa_supplicant
    ctrl_interface_group=0
    update_config=1
    
    network={
            ssid="NETWORKNAME"
            key_mgmt=WPA-PSK
            psk="NETWORKPASSWORD"
    }
    CODE

    The vi text editor begins in "Command Mode" and you must first hit the 'i' key in order to enter "Insert Mode". Using the arrow keys to navigate, make the necessary changes and then hit ESC to go back to "Command mode". Now enter ":wq" to write the file and quit.

Setup the Interface

  • Load the credentials from the previous step:

    Target (Linux)

    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
    CODE
  • Launch the WiFi client 

    Target (Linux)

    udhcpc -i wlan0
    CODE
  • Wait until you obtain an IP address.
  • Test your connection 

    Target (Linux)

    ping google.com -c 10
    CODE