Introduction: How to Connect a Raspberry Pi to a Wi-Fi Network

So you want to connect a Raspberry Pi to the internet, but your computer lacks an ethernet connection, or you lack an ethernet cable. What to do?

What you need:

Step 1: Set Up Your Raspberry Pi

Follow the instructions in your Raspberry Pi "Quick Start Guide and Safety Instruction Manual" to plug in your Raspberry Pi. You can find the microSD card INSIDE the SD card.

  1. Put your microSD card in the microSD slot in the Raspberry Pi (underneath). It will only fit one way.
  2. Plug in the USB keyboard and mouse into the USB slots on the Raspberry Pi.
  3. Turn on your monitor
  4. Connect the HDMI cable to the Raspberry Pi
  5. Finally, plug in the USB power supply, which will turn on (and boot) the Raspberry Pi.
  6. Choose to install Raspbian (the recommended choice)
  7. Wait for the install to finish.

Step 2: Configure the Raspberry Pi

  • The configuration (raspi-config) program should automatically come up
  • If you're going to put your Raspberry Pi on the network, it's a good idea to change the default password. Choose Option 2 to do this.
  • In Option 3, choose "desktop login."
  • At this point, enable SSH under "advanced options" (to allow another computer to connect to the Raspberry Pi over the Wi-Fi network).
  • Finally, choose <Finish> at the bottom of the screen.

After you choose <Finish>, the Raspberry Pi will reboot.

Step 3: Add Wi-Fi Adapter

  1. Turn off your Raspberry Pi, and plug in the Wi-Fi into one of the USB ports.
  2. Turn it back on. The Wi-Fi adapter may turn on during boot-up, but it's not working yet.
  3. Follow this tutorial to configure the Wi-Fi adapter.