Home Interests Networking

How to Set up the Edimax EW-7811Un USB WiFi Adapter on Your Raspberry Pi

howchoo   (467)
August 25, 2023
6 minutes


You'll Need 2

What you'll need
Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.
Posted in these interests:
linux • 12 guides
networking • 8 guides
pi • 92 guides

The Edimax WiFi adapter is popular because it’s small, cheap, and most common pi distros come with the drivers already installed. Setting this up via the command line is simple.

1 – Connect your Edimax WiFi adapter and ethernet cable

Before booting up the Pi, plug in the USB WiFi adapter as well as the ethernet cable.

2 – Boot up the Pi

To boot the Pi, simply plug in the power cable.

3 – SSH into the Pi

By default, the raspberry pi uses the hostname “raspberrypi”. So you can SSH using:

ssh pi@raspberrypi

The default username is pi, and the default password is raspberryRefer to this guide for more information on the default username and password..

If you’re having trouble with the hostname, follow this guide to find the IP address of your Raspberry Pi.

4 – Make sure the Pi recognizes the device and the drivers are loaded

Once you’re logged in to the Pi, check to see if the Pi recognizes the USB device using the following command:


You should see the following:

Bus 001 Device 004: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Notice the first line.

Now we’ll check to see if the device drivers are loaded. To list the kernal modules use:


You should see something like:

Module                                   Size              Used by

8192cu is what we’re looking for, and it looks like it’s installed.

As a final check, run:


And you should see the wireless adapter here:

wlan0     unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency:2.462 GHz  Access Point: 20:3D:66:44:C6:70
          Bit Rate:72.2 Mb/s   Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=100/100  Signal level=100/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

5 – Configure the wpa_supplicant with your wifi credentials

Now, open the following file to add our network credentials.

sudo vim /etc/wpa_supplicant/wpa_supplicant.conf

Add the following to the end of this file:

For Raspbian Jessie:

pairwise=CCMP TKIP

For Raspbian Stretch:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    pairwise=CCMP TKIP
    group=CCMP TKIP

Of course, you’ll need to substitute your SSID and password.

6 – Reboot

Remove the ethernet cable, and reboot with the following command:


Now you should be able to connect over WiFi.


How to Run a Minecraft Server on the Raspberry Pi

A whole world trapped inside your Pi.
howchoo   (467)
December 7, 2023

There are several ways to go about running a Minecraft server on the Raspberry Pi. In this guide, I’ll cover how to install Nukkit—a cross-platform Minecraft server that’s super easy to set up on the Raspberry Pi. This server should work with PCs, consoles, and tablets running Minecraft 1.14. I’ll be using a Raspberry Pi

Continue Reading


 467 guides

Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words. With an insatiable appetite for knowledge and a love for exploration, Howchoo's writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.

Discover interesting things!

Explore Howchoo's most popular interests.