How to Connect Wifi on IGT-30D Using wpasupplicant

The default OS images of IGT-20 and IGT-21 have ConnMan pre-installed. However, the connection manager has been removed from the OS image of IGT-30 series. Without ConnMan, a few more steps are required to configure WiFi. Here’s the step-by-step introduction.

iwconfig can be used to configure WIFI only under WEP mode. However, WPA is popular now. You’ll get the following message if iwconfig is used to connect to WPA ap.

Error for wireless request “Set Encode” (8B2A) :
SET failed on device wlan0 ; Invalid argument.

In this case, wpasupplicant has to be used for WPA verification.

First, turn on your WiFi and scan for available AP

sudo ip link set wlan0 up
sudo iwlist wlan0 scan

According to the result of scan, wet up a configuration file. Put the found SSID in Your_SSID and Key in Your_WPA-Key_ASCII in the configuration file

cat << EOF > /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1

network={
ssid="Your_SSID"
scan_ssid=1
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
psk="Your_WPA-Key_ASCII"
}
EOF

Append the following content into the network configuration file /etc/network/interfaces

...

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

...

Then turn on your WiFi. Note that if you’re using SSH to connect to IGT series, the SSH will be disconnected.

sudo ifup wlan0

You can check the result by ifconfig to see if IP is assigned to the WiFi interface.

Apply to: IGT-22, IGT-30D, IGT-31D, IGT-33V, IGT-34C

Comments are closed.