I'm using a Rpi B+ and A+. I have the same problem.
I've got this Realtek WLAN adapter :
ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
I've seen many people with the same problem as me but no answer. So I try again....
My driver is installed correctly as I have (lsmod):
Code: Select all
8192cu 528381 0
Code: Select all
wlan0 IEEE 802.11bgn ESSID:"Mat" Nickname:"<[email protected]>"
Mode:Managed Frequency:2.462 GHz Access Point: E2:CA:94:22:F7:5E
Bit Rate:65 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=100/100 Signal level=100/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
But I don't get any IP adress...
When I do ifdown wlan0: ifup wlan0, it looks for a DHCP lease that fails:
Code: Select all
sudo ifup wlan0
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/40:a5:ef:03:11:e7
Sending on LPF/wlan0/40:a5:ef:03:11:e7
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
uname -a gives:
Code: Select all
Linux XXXXX 4.0.6-v7+ #798 SMP PREEMPT Tue Jun 23 18:06:01 BST 2015 armv7l GNU/Linux
Code: Select all
more /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet dhcp
#iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
I don't understand why I don't get any IP adress?
I've tried with other network adaptors and it's ok...
Could someone help ?
Thanks in advance,
Mat