[ How-To ] Raspberry Pi Setup

To connect a Raspberry Pi to a Wi-Fi network using the WID340, follow the steps below.

  1. Plug in the WID340: Plug the WID340 into an available port on the Raspberry Pi. If not enough ports are available, a USB hub can be used.
  2. Edit the Wi-Fi settings: Open a terminal and run the command:

    sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

    You can substitute “leafpad” for “nano” if you prefer a graphical text editor on most Raspberry Pi installations.

  3. Add your Network: In the wpa_supplicant.conf file, add the following text:

    network={
    ssid="<network name>"
    psk="<password>"
    }

    Replace <network name> with the name of your network, and <password> with the password for your network.

  4. (optional) Restart the connection: The new information should be detected automatically, but if not, you can restart the WLAN0 interface to reload the wpa_supplicant.conf file using the command below:

    sudo ifdown wlan0
    sudo ifup wlan0