Raspberry Pi: Wireless Network

How to get wifi work on your Raspberry Pi Raspbian Wheezy Linux distribution.

You have to edit your interfaces file:

/etc/network/interfaces

This kind of interfaces file works for me:

auto lo
     
iface lo inet loopback
iface eth0 inet dhcp
     
allow-hotplug wlan0
auto wlan0     
     
iface wlan0 inet dhcp
wpa-ssid "Change your network name here"
wpa-psk "Change your network password here"

This will leave ETH0 and WLAN0 both on DHCP

If you mess up something here is the default /etc/network/interfaces file:

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

So if you have done something wrong you can always delete that interfaces file and copy/paste that to your new interfaces file.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>