I'm very excited to get into my Raspberry Pi, but I am pretty useless when it comes to most hardware and networking issues.
I purchased a Edimax Wi-Fi Adapter, but I am having trouble getting it to work. I using the latest version of Raspbian (“Wheezy”) and have done full updates of the firmware and software.
When I go into the Wi-Fi configuration in the GUI, I can scan for and connect to my Wi-Fi router. So far so good.
However when I go to a web page I get an error saying:
Cannot resolve hostname.
I have also noticed that in the Wi-Fi configuration no IP address has been assigned (or at least no IP address is being displayed).
When I run ifconfig -a, I get the following:
eth0 Link encap:Ethernet HWaddr b8:27:eb:cc:0d:97
inet addr:192.168.1.88 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:52 errors:0 dropped:1 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5875 (5.7 KiB) TX bytes:5868 (5.7 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 80:1f:02:82:c1:ce
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:34 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:155 (155.0 B) TX bytes:155 (155.0 B)
Running sudo cat /etc/wpa_supplicant/wpa_supplicant.conf also seems to show everything correctly:
network={
ssid="correct_ssid"
psk="correct_password"
proto=RSN
key_mgmt=WPA-PSK
pairwise=TKIP
auth_alg=OPEN
}
How do I fix this problem?