Skip to content

Instantly share code, notes, and snippets.

@jasonpilz
Last active September 18, 2016 15:25
Show Gist options
  • Save jasonpilz/da39c1c78e7bbe3a793dfd51c5661407 to your computer and use it in GitHub Desktop.
Save jasonpilz/da39c1c78e7bbe3a793dfd51c5661407 to your computer and use it in GitHub Desktop.
Installing and configuring the Edimax USB WiFi adapter for Raspberry Pi
# Verify the dongle is recognized
lsusb

# Check the Kernel driver is loaded (should see 8192cu)
lsmod

# Check if wireless lan adapter(wlan0) is present
iwconfig

# Configuration

# Open the network interfaces configuration options file:
sudo vim /etc/network/interfaces

# Make sure the following lines are added to (or un-commented in) your file
auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

# Modify the wireless configuration file:
sudo vim /etc/wpa_supplicant/wpa_supplicant.conf

# Adjust as needed:
network={
ssid="_SSID_"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="_WPA_SHARED_KEY_"
}

# Restart the wireless adapter/interface
sudo ifdown wlan0
sudo ifup wlan0

# Verify
ifconfig wlan0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment