RaspberryPi 03: Connecting RPi to WiFi

Overview

For these tutorials we will not use the Emily Carr Wifi network as it is problematic, instead we’ll be using my own network for this course, here is the login:

  • SSID: wifi network name: ecu-ixd
  • Password: babelfish67

To connect your Raspberry Pi to this network, you’ll need to edit:
/etc/wpa_supplicant/wpa_supplicant.conf

We’re going to use nano to do this. Nano is a text editor for Unix-like computing systems or operating environments using a command line interface.

  1. Type
    sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
  2. type or copy/paste the following at the bottom
    network={
        ssid="ecu-ixd"
        psk="password"
    }
    
  3. press ctrl+o to save and ctrl+x to exit
  4. restart with sudo reboot
    • the raspberry pi should now reboot and try to connect to the wifi network – check with lanscan or in your router’s setup panel like before
    • if the raspberry pi could connect to wifi, you can now disconnect the ethernet cable

Now that we’re connected to Wifi let’s connect our computer to the RPI


Posted

in

by

Tags:

Comments

One response to “RaspberryPi 03: Connecting RPi to WiFi”

  1. Haig Avatar
    Haig

    Adding multiple wireless network configurations

    On recent versions of Raspbian, it is possible to set up multiple configurations for wireless networking. For example, you could set up one for home and one for school.

    For example

    network={
    ssid=”SchoolNetworkSSID”
    psk=”passwordSchool”
    id_str=”school”
    }

    network={
    ssid=”HomeNetworkSSID”
    psk=”passwordHome”
    id_str=”home”
    }

Leave a Reply

Your email address will not be published. Required fields are marked *