WiFi Problems


4 posts
by TeaAddict » Fri Dec 28, 2012 5:48 pm
Hi I'm trying to setup WiFi on my Raspberry Pi, and I'm having an issue.

Following the instructions in the Raspberry Pi User Guide, I connected to internet through the ethernet port, installed the firmware (Realtek firmware) and it worked. I went through the steps to configure the WiFi, and it seemed to work fine. I run the iwconfig command, the output, such as the ESSID, matches my router so I know the WiFi dongle itself is working and it detects the network.

But, when I run "sudo ifup wlan0" to refresh without rebooting, this is the output:

Code: Select all
Listening on LPF/wlan0/ff:ff:ff:ff:ff:ff
Sending on LPF/wlan0/ff:ff:ff:ff:ff:ff
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
No DHCPOFFERS recieved.
Unable to obtain a lease on first try. Exiting.
Failed to bring up wlan0.


And then it exits. How do I fix this?
n00b at electronics, n00b at programming...

But EXPERT at asking questions
Posts: 27
Joined: Mon Oct 15, 2012 11:12 pm
Location: Florida, USA
by outofjungle » Thu Jan 03, 2013 1:58 pm
I was seeing this same exact issue when the RPi is connected to 600mA power supply. Switching power supply fixed the problem.
Posts: 1
Joined: Thu Jan 03, 2013 1:55 pm
by pjc123 » Thu Jan 03, 2013 2:47 pm
I don't know what the Raspberry Pi User Guide has you do (Assuming that is the book you have to pay for), but a common reason for those DHCP errors are that there is a mismatch between your router's settings and the pi. You will also may get that if you are using a hidden SSID and/or are using special characters in your psk password without taking measures to accommodate those. Take a look at your /etc/wpa_supplicant/wpa_supplicant.conf file if it is being used, otherwise check your /etc/network/interfaces file.
My Project Website:
http://www.flaminghellmet.com/
Posts: 910
Joined: Thu Mar 29, 2012 3:37 pm
by TeaAddict » Fri Jan 04, 2013 8:07 pm
OK well I have a different problem now: I deleted Debian off my SD card and installed the newest package, and decided to just use the GUI WiFi manager, and it seemed to connect fine, but when I try to connect to internet using the browser, it just hangs. I rebooted, got no error warnings, but even apt-get just hangs at 0% complete. It reads the package list and the size of the file being downloaded, but it just hangs at 0% after that. Whats this?
n00b at electronics, n00b at programming...

But EXPERT at asking questions
Posts: 27
Joined: Mon Oct 15, 2012 11:12 pm
Location: Florida, USA