Tag Archives: wpa_supplicant: /sbin/wpa_supplicant daemon failed to start

How to setup a USB wlan connection on a Raspberry Pi – alternative method

Last week I received a new Raspberry PI model B with 512MB ram. I tried to enable WLAN using my own instructions for the Edimax WLAN Hi-Speed USB 2.0 EW-7811Un Nano and it didn’t work!?!? Huh?

Some how I got the following error message:

wpa_supplicant: /sbin/wpa_supplicant daemon failed to start

but after some google-ing I found a solution for the problem. In many posts on the web, it is suggested that the problem relates to a “lack of power” issue on the RPi USB. I found out that it is really a configuration issue. Here is how I solved it:

The setup assumes working from a clean Rasbian Wheezy image and applying the latest updates.

Configure the network adapter interface

sudo nano /etc/network/interfaces

you have to make the content of /etc/network/interfaces look like this:

auto lo

iface lo inet loopback
iface eth0 inet dhcp

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp

wpa-ssid “YOUR NETWORK SSID HERE”
wpa-psk “YOUR NETWORK PASWORD HERE”

ctrl-x and Y to save the changes

Now just restart your network connections

sudo /etc/init.d/networking restart

or alternatively reboot

sudo reboot

That is it! You don’t have to use the  “/etc/wpa_supplicant/wpa_supplicant.conf” with this setup.

new RPi with Edimax EW-7811Un

Advertisements