In the last post, I explained how to install the Raspbian operating system without a monitor or keyboard, and how to establish an SSH connection to your Raspberry Pi over an ethernet connection. Now I’ll explain how to use that SSH connection to setup a WiFi dongle so you can run your Raspberry Pi wirelessly from a remote desktop application. This is a really useful way to set up your Raspberry Pi, because you will be able to access your it over the internet from anywhere in the world. You can use it from your iPhone, iPad, or Laptop from anywhere with an internet connection.
We have already established an SSH connection to our Raspberry Pi with an ethernet cable, and that is fine if you want to leave it connected to your router with a physical cable. However, I prefer to use a WiFi dongle, which gives me more flexibility with the physical locations I can store the Raspberry Pi while it is running. Be careful when choosing a WiFi dongle for the Raspberry Pi though, because not all WiFi dongles will work without a lot of configuration and headaches. I found that this one from Kootek works great without any driver installations needed.
Still, there are some things that need to be done in order to set up the WiFi dongle to work properly with your Raspberry Pi. I will go through them step by step in this article. You should already have set up the SSH over ethernet connection I described in part one of this post.
For more details: How to Set Up WiFi on the Raspberry Pi