Tag Archives: Edimax

NEW Airpi images for 2GB SD Cards

I’ve just published new images for the AirPi with iOS6 support, that fit on a 2GB SD card.
For everyone that wants to save the time, you can download the image directly from my public dropbox.
Both images are based on Rasbian Wheezy and configured withthe following default settings:
– SSH enabled
– User = pi
– Password = raspberry
– locale = en_US.UTF8
– timezone = Europe.Berlin
– broadcast name = AirPi
The file names are:
20130416 Wheezy AirPi with WLAN (works via onboard 3.5mm sound jack)
20130416 Wheezy AirPi with WLAN and USB sound
Write the image to a 2GB SD card using Win32DiskImager.
In case that you prefer to use the USB sound it might be wise to use a USB extension cable for the wifi dongle, in order to place it at a distance from the USB sound dongle. In my setup I experienced quite some interference when the WLAN dongle was close the USB Sound dongle.
 
How to set the WLAN
Both images work with both LAN or WLAN
connect to the Raspeberry Pi via SSH or connect keyboard & monitor directly to the Raspberry Pi
WLAN configuration can be set using the following command:
sudo nano /etc/network/interfaces
look for the lines with
wpa-ssid “YOUR SSID”
wpa-psk “YOUR PASSWORD”
and replace YOUR SSID with the SSID of your network and replace YOUR PASSWORD with the password of your network.
ctrl-x and Y to save changes
sudo reboot
ready!
If there is no WLAN connection the Raspberry Pi will use the LAN connection if available.
How to set the broadcast name of the Airpi
The broadcast name of the Raspberry AirPi can easily by changed, at the command prompt type:
sudo nano /etc/init.d/shairport 
look for the following line
DAEMON_ARGS=”-w $PIDFILE -a AirPi”
and change AirPi in what ever you like.
ctrl-x and Y to save changes
sudo reboot
ready!
I have tested the setup with the Edimax EW-7811Un, the Logilink UA0053 USB soundcard and a generic C-Media USB soundcardUSB Sound
Advertisements

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