Connect RPI Zero W to Wifi

About: my name is Matthew, I love programming, I also like building stuff and have won the coolest projects in 2016

1.sudo iwlist wlan0 scan (this lets you see all the available wifi networks in your area)

2. Get the ssid and password from your router

3. sudo nano /etc/wpa_supplicant/wpa_supplicant.conf (this is where you add the wifi network)

4. Go to the bottom of the file and add the following:

network={ ssid="the_name_of_your_router"

psk="Your_wifi_password"

}

5.Sub in your password and router name above

6.sudo wpa_cli reconfigure(this will restart the wpa-supplicant)

7.restart the rpi zero w, if you are talking over usb pull out the one not being used for the power.

*. You can find the ip address of the rpi by going to your default gateway it will ask you for a password and a username which should be on the back of your router with this you should be able to find the ip address.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Microcontroller Contest 2017

Participated in the
Microcontroller Contest 2017

Share

    Recommendations

    • Indoor Lighting Contest

      Indoor Lighting Contest
    • Make It Fly Challenge

      Make It Fly Challenge
    • Growing Beyond Earth Maker Contest

      Growing Beyond Earth Maker Contest

    3 Discussions

    0
    None
    MaykeS1

    2 years ago

    As far as I know the Pi Zero does not have wifi connection. You should start by explaining how you solved that, then go onto explaining how to set up wpa_supplicant.

    1 reply
    0
    None
    Matthews_TipsMaykeS1

    Reply 2 years ago

    Sorry its pi zero w the new one that came out about two weeks ago