Ethernet and Wi-Fi Networks
Wired and wireless networks using Internet Protocol (IP) provide the most versatile means for ARTIK to communicate with other devices. You will use these connections to load programs to ARTIK, communicate with edge devices, and download software to ARTIK from the Internet.
These instructions discuss setting up a wired or wireless local area network (LAN). The Ethernet LAN (hard-wired) port is always available. A wireless LAN (WLAN) circuit is separately available, and can be configured in one of three ways:
- Wi-Fi® Client – connecting to an access point that is connected to the Internet. This is the mode you will need for most development work.
- Wi-Fi Access Point – connecting to the Internet through the ARTIK Ethernet LAN, and providing wireless connectivity to other devices.
- Wi-Fi Direct or Wi-Fi Point-to-Point (P2P) – connecting as a peer to a Wi-Fi client device (with no access point needed).
We suggest you start with a Wi-Fi client connection, as this path will be used for procedures described in the Tutorials.
In these articles, you will come across items mentioning various Linux® services:
Wi-Fi Protected Access (WPA) Supplicant services (
wpa_supplicant), supporting authentication and encryption for a wireless LAN (WLAN)
Dynamic Host Configuration Protocol (DHCP), a way to request automatic dynamic IP address assignment rather than manually assigning a static IP address (you are invoking DHCP services when you enter
dhclient wlan0, for example)
Connection Manager (
connman), a service to automatically run
dhclient wlan0as explained here
Host Access Point Daemon (
hostapd), for making the WLAN an Access Point (connecting other Wi-Fi devices to the Internet by way of an Ethernet connection)
DNS Masquerade server (
dnsmasq), for translating IP address and port numbers coming from external assignments (such as by DHCP) to and from internal private addresses.
Refer to the corresponding Linux man pages for more details on these services.