Configuring Wi-Fi on RPi Gateway

The Gateway Quick Development Guide, page 16, says that it is possible to configure the WiFi directly on the microSD card even before inserting it into RPi and booting from it:

Copy the following in the wpa_supplicant.conf file previously created, altering the ssid and psk field with your network credentials.

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
network={
ssid=“YOUR_NETWORK_NAME”
psk=“YOUR_PASSWORD”
key_mgmt=WPA-PSK
}

However, as far as I know WPA_PSK is not secure - I checked it:

  • WPA-PSK (TKIP) : This uses the original version of the WPA protocol (essentially WPA1). It has been superseded by WPA2 and isn’t secure.
  • WPA-PSK (AES) : This uses the original WPA protocol, but replaces TKIP with the more modern AES encryption. It’s offered as a stopgap, but devices that support AES will almost always support WPA2, while devices that require WPA will almost never support AES encryption. So, this option makes little sense.

Question:
Can I change it to WPA2-PSK ? Is it supported?

Hi Leon,

I think it should work. If not, please try to get help from the Raspbian community.

Cheers,
TDK